tx · 28s8Lc7kSHdD7iLGxitbYGMq5XWHU5h23M7iTw7UKJeA

3MpQ7Dv9FfugVvQWf7kQnXU2sgY1SVYNiTX:  -0.05000000 Waves

2018.12.20 18:15 [413349] smart account 3MpQ7Dv9FfugVvQWf7kQnXU2sgY1SVYNiTX > SELF 0.00000000 Waves

{ "type": 13, "id": "28s8Lc7kSHdD7iLGxitbYGMq5XWHU5h23M7iTw7UKJeA", "fee": 5000000, "feeAssetId": null, "timestamp": 1545318933703, "version": 1, "sender": "3MpQ7Dv9FfugVvQWf7kQnXU2sgY1SVYNiTX", "senderPublicKey": "Ceg4md8EkGfjJbqwKW2WvLZXFKxXSwVJ1EuGJ533QWq9", "proofs": [ "676fMt9BMPHxpugncZ6HGuCD7H2ArxEPjWKjJoff9DKz8YyCfsqqq2Wpo43GqtbqoeTbTDKQDGUx4qQJWDRrWgJY" ], "script": "base64:AQQAAAAObWF4VXNlckJhbGFuc2UAAAAAASoF8gAEAAAACW1heEFtb3VudAAAAAAAO5rKAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAABmFtb3VudAkBAAAAB2V4dHJhY3QAAAABCAUAAAABdAAAAAZhbW91bnQEAAAADWFtb3VudENvcnJlY3QJAABnAAAAAgUAAAAJbWF4QW1vdW50BQAAAAZhbW91bnQEAAAABmFkcmVzcwkBAAAAB2V4dHJhY3QAAAABCAUAAAABdAAAAAlyZWNpcGllbnQEAAAAC3VzZXJCYWxhbmNlCQEAAAAMd2F2ZXNCYWxhbmNlAAAAAQUAAAAGYWRyZXNzBAAAAA5iYWxhbmNlQ29ycmVjdAkAAGYAAAACBQAAAA5tYXhVc2VyQmFsYW5zZQUAAAALdXNlckJhbGFuY2UEAAAADXNlbmRlckNvcnJlY3QJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5AwMFAAAADWFtb3VudENvcnJlY3QFAAAADmJhbGFuY2VDb3JyZWN0BwUAAAANc2VuZGVyQ29ycmVjdAcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFzBQAAAAckbWF0Y2gwBgdmuLw+", "chainId": 84, "height": 413349, "spentComplexity": 0 } View: original | compacted Prev: 8FyB2Vu8qg26LVveaDTqZ62zcazWorieEoMKMvGQV8N8 Next: 6ezSoAdLLYZLEpdAvqdRmfEBnadezGWoWgoFVgF3Hcj5 Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let maxUserBalanse = 500000000
4-let maxAmount = 10000000
3+let maxUserBalanse = 5000000000
4+let maxAmount = 1000000000
55 match tx {
66 case t: TransferTransaction =>
77 let amount = extract(t.amount)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let maxUserBalanse = 500000000
4-let maxAmount = 10000000
3+let maxUserBalanse = 5000000000
4+let maxAmount = 1000000000
55 match tx {
66 case t: TransferTransaction =>
77 let amount = extract(t.amount)
88 let amountCorrect = (maxAmount >= amount)
99 let adress = extract(t.recipient)
1010 let userBalance = wavesBalance(adress)
1111 let balanceCorrect = (maxUserBalanse > userBalance)
1212 let senderCorrect = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1313 if (if (amountCorrect)
1414 then balanceCorrect
1515 else false)
1616 then senderCorrect
1717 else false
1818 case s: SetScriptTransaction =>
1919 true
2020 case _ =>
2121 false
2222 }

github/deemru/w8io/026f985 
22.05 ms