tx · Bp1X984TttFFfuDZiM1Xa7y1M9168t2smRZDasQDhUJT

3MsWjZnJQ153rbLHvn6hqKELqn35R472VpQ:  -0.05000000 Waves

2021.09.10 21:42 [1697323] smart account 3MsWjZnJQ153rbLHvn6hqKELqn35R472VpQ > SELF 0.00000000 Waves

{ "type": 13, "id": "Bp1X984TttFFfuDZiM1Xa7y1M9168t2smRZDasQDhUJT", "fee": 5000000, "feeAssetId": null, "timestamp": 1631299377550, "version": 2, "chainId": 84, "sender": "3MsWjZnJQ153rbLHvn6hqKELqn35R472VpQ", "senderPublicKey": "CdNy1QDsxM9o785GEAVwFCkE3kkrhgdcZ8VFAm6Nu8nx", "proofs": [ "XeRpco6AnghoUDP9Dos4HJV5BSPKxJLDUxHbUABSjfTQKHUcr14MfsuGDZs7CuFK94XjePovjfG7Av3NJyxtskZ" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAgEAAAAYcHJpdmF0ZUdldEFjY291bnRCYWxhbmNlAAAAAQAAAAdhc3NldElkAwkAAAAAAAACBQAAAAdhc3NldElkAgAAAAVXQVZFUwgJAAPvAAAAAQUAAAAEdGhpcwAAAAlhdmFpbGFibGUJAAPwAAAAAgUAAAAEdGhpcwkAAlkAAAABBQAAAAdhc3NldElkAQAAAAtnZXRCYWxhbmNlcwAAAAAEAAAACnd2c0JhbGFuY2UJAQAAABhwcml2YXRlR2V0QWNjb3VudEJhbGFuY2UAAAABAgAAAAVXQVZFUwQAAAAKdGtuQmFsYW5jZQkBAAAAGHByaXZhdGVHZXRBY2NvdW50QmFsYW5jZQAAAAECAAAALDVTaDlLZ2hma1p5aGp3dW9kb3ZEaEI2UGdoRFVHQkhpQVBaNE1rclBnS3RYCQAETAAAAAIFAAAACnd2c0JhbGFuY2UJAARMAAAAAgUAAAAKdGtuQmFsYW5jZQUAAAADbmlsAAAAAQAAAAFpAQAAAARjYWxsAAAAAAQAAAABYgkBAAAAC2dldEJhbGFuY2VzAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFd2F2ZXMJAAGRAAAAAgUAAAABYgAAAAAAAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAEdXNkbgkAAZEAAAACBQAAAAFiAAAAAAAAAAABBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tled1p0H4=", "height": 1697323, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4Nr4quFBJr36rC87S5ncAx2m9d7iXNReXQMfdRspiqxb Next: 8W9XsVN32Fe9hVEKhhrMju1rHpr2aPK836oj4b52shig Diff:
OldNewDifferences
88
99 func getBalances () = {
1010 let wvsBalance = privateGetAccountBalance("WAVES")
11- let tknBalance = privateGetAccountBalance("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT")
11+ let tknBalance = privateGetAccountBalance("5Sh9KghfkZyhjwuodovDhB6PghDUGBHiAPZ4MkrPgKtX")
1212 [wvsBalance, tknBalance]
1313 }
1414
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")
11- let tknBalance = privateGetAccountBalance("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT")
11+ let tknBalance = privateGetAccountBalance("5Sh9KghfkZyhjwuodovDhB6PghDUGBHiAPZ4MkrPgKtX")
1212 [wvsBalance, tknBalance]
1313 }
1414
1515
1616 @Callable(i)
1717 func call () = {
1818 let b = getBalances()
1919 [IntegerEntry("waves", b[0]), IntegerEntry("usdn", b[1])]
2020 }
2121
2222
2323 @Verifier(tx)
2424 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2525

github/deemru/w8io/026f985 
22.78 ms