tx · 8W9XsVN32Fe9hVEKhhrMju1rHpr2aPK836oj4b52shig

3MsWjZnJQ153rbLHvn6hqKELqn35R472VpQ:  -0.05000000 Waves

2021.09.10 21:45 [1697328] smart account 3MsWjZnJQ153rbLHvn6hqKELqn35R472VpQ > SELF 0.00000000 Waves

{ "type": 13, "id": "8W9XsVN32Fe9hVEKhhrMju1rHpr2aPK836oj4b52shig", "fee": 5000000, "feeAssetId": null, "timestamp": 1631299550855, "version": 2, "chainId": 84, "sender": "3MsWjZnJQ153rbLHvn6hqKELqn35R472VpQ", "senderPublicKey": "CdNy1QDsxM9o785GEAVwFCkE3kkrhgdcZ8VFAm6Nu8nx", "proofs": [ "v4rfhuceWfCu4Twdh44CaxKVRzftCdKqeafy9qU5WAeRJHinTpP8YT3HCinpnLEM8UuTFPVqAqb5D7wUXqD1dKj" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAgEAAAAYcHJpdmF0ZUdldEFjY291bnRCYWxhbmNlAAAAAQAAAAdhc3NldElkAwkAAAAAAAACBQAAAAdhc3NldElkAgAAAAVXQVZFUwgJAAPvAAAAAQUAAAAEdGhpcwAAAAlhdmFpbGFibGUJAAPwAAAAAgUAAAAEdGhpcwkAAlkAAAABBQAAAAdhc3NldElkAQAAAAtnZXRCYWxhbmNlcwAAAAAEAAAACnd2c0JhbGFuY2UJAQAAABhwcml2YXRlR2V0QWNjb3VudEJhbGFuY2UAAAABAgAAAAVXQVZFUwQAAAAKdGtuQmFsYW5jZQkBAAAAGHByaXZhdGVHZXRBY2NvdW50QmFsYW5jZQAAAAECAAAALDVTaDlLZ2hma1p5aGp3dW9kb3ZEaEI2UGdoRFVHQkhpQVBaNE1rclBnS3RYCQAETAAAAAIFAAAACnd2c0JhbGFuY2UJAARMAAAAAgUAAAAKdGtuQmFsYW5jZQUAAAADbmlsAAAAAQAAAAFpAQAAAARjYWxsAAAAAAQAAAABYgkBAAAAC2dldEJhbGFuY2VzAAAAAAMGCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAABndhdmVzIAkAAaQAAAABCQABkQAAAAIFAAAAAWIAAAAAAAAAAAACAAAABXVzZG4gCQABpAAAAAEJAAGRAAAAAgUAAAABYgAAAAAAAAAAAQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFd2F2ZXMJAAGRAAAAAgUAAAABYgAAAAAAAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAEdXNkbgkAAZEAAAACBQAAAAFiAAAAAAAAAAABBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tledEXp8I=", "height": 1697328, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Bp1X984TttFFfuDZiM1Xa7y1M9168t2smRZDasQDhUJT Next: none Diff:
OldNewDifferences
1616 @Callable(i)
1717 func call () = {
1818 let b = getBalances()
19-[IntegerEntry("waves", b[0]), IntegerEntry("usdn", b[1])]
19+ if (true)
20+ then throw(((("waves " + toString(b[0])) + "usdn ") + toString(b[1])))
21+ else [IntegerEntry("waves", b[0]), IntegerEntry("usdn", b[1])]
2022 }
2123
2224
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func privateGetAccountBalance (assetId) = if ((assetId == "WAVES"))
55 then wavesBalance(this).available
66 else assetBalance(this, fromBase58String(assetId))
77
88
99 func getBalances () = {
1010 let wvsBalance = privateGetAccountBalance("WAVES")
1111 let tknBalance = privateGetAccountBalance("5Sh9KghfkZyhjwuodovDhB6PghDUGBHiAPZ4MkrPgKtX")
1212 [wvsBalance, tknBalance]
1313 }
1414
1515
1616 @Callable(i)
1717 func call () = {
1818 let b = getBalances()
19-[IntegerEntry("waves", b[0]), IntegerEntry("usdn", b[1])]
19+ if (true)
20+ then throw(((("waves " + toString(b[0])) + "usdn ") + toString(b[1])))
21+ else [IntegerEntry("waves", b[0]), IntegerEntry("usdn", b[1])]
2022 }
2123
2224
2325 @Verifier(tx)
2426 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2527

github/deemru/w8io/026f985 
31.92 ms