tx · EX1k9r3k7ax3VLv4RoCvYfUgGFSaAWtXsXfNz3WUAbdd

3N5LuKQTLpnuibSzamYvruXsbp7YpqzKDA2:  -0.00100000 Waves

2023.04.25 19:07 [2550301] smart account 3N5LuKQTLpnuibSzamYvruXsbp7YpqzKDA2 > SELF 0.00000000 Waves

{ "type": 13, "id": "EX1k9r3k7ax3VLv4RoCvYfUgGFSaAWtXsXfNz3WUAbdd", "fee": 100000, "feeAssetId": null, "timestamp": 1682438843050, "version": 2, "chainId": 84, "sender": "3N5LuKQTLpnuibSzamYvruXsbp7YpqzKDA2", "senderPublicKey": "BgxpCm4wxbW8SKLPKZnf4KU2D6ZU29ov8MgZrkaSAqpY", "proofs": [ "3YzrdwKFdCdTPvByLRVUfQiUGZEkvra2hYnYbnaWYnxfPinWr7Kn17bwuZ8H9wccwswdUodsjnJ7qaB3TaxwUc74" ], "script": "base64:BgIICAISBAoCCAgCAQ9nZXRBc3NldEJhbGFuY2UCB2FkZHJlc3MHYXNzZXRJZAkA8AcCBQdhZGRyZXNzBQdhc3NldElkAQ9nZXRXYXZlc0JhbGFuY2UBB2FkZHJlc3MICQDvBwEFB2FkZHJlc3MJYXZhaWxhYmxlAQFpAQpnZXRCYWxhbmNlAgdhZGRyZXNzB2Fzc2V0SWQEBGFkZHIJAQdBZGRyZXNzAQkAmwMBBQdhZGRyZXNzBANhSWQJAJsDAQUHYXNzZXRJZAQHYmFsYW5jZQMJAAACBQdhc3NldElkAgVXQVZFUwkBD2dldFdhdmVzQmFsYW5jZQEFBGFkZHIJAQ9nZXRBc3NldEJhbGFuY2UCBQRhZGRyBQNhSWQJAAIBCQCkAwEFB2JhbGFuY2UAjGQg5g==", "height": 2550301, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G7PvdNS87BX3KPNarY3pFaC3SevY3XcGHEjjoATauhuw Next: 84Ux7isQ6YcM2YhafyiL8i1w9k85A9tuJPhmDSSCuFDM Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+func a (b,c) = assetBalance(b, c)
45
6+
7+func d (b) = wavesBalance(b).available
8+
9+
10+@Callable(e)
11+func getBalance (b,c) = {
12+ let f = Address(toBytes(b))
13+ let g = toBytes(c)
14+ let h = if ((c == "WAVES"))
15+ then d(f)
16+ else a(f, g)
17+ throw(toString(h))
18+ }
519
620

github/deemru/w8io/026f985 
25.85 ms