tx · BCb4UpFyCvTXMzXzyjqN7uSt71cxy95ELS5vvypn53dP

3N6R3zx6GwHZKR1HGeJB7USXXnStVcxyr1r:  -0.01000000 Waves

2023.07.03 10:19 [2649419] smart account 3N6R3zx6GwHZKR1HGeJB7USXXnStVcxyr1r > SELF 0.00000000 Waves

{ "type": 13, "id": "BCb4UpFyCvTXMzXzyjqN7uSt71cxy95ELS5vvypn53dP", "fee": 1000000, "feeAssetId": null, "timestamp": 1688368822301, "version": 2, "chainId": 84, "sender": "3N6R3zx6GwHZKR1HGeJB7USXXnStVcxyr1r", "senderPublicKey": "4SsVm6HKFR71CMtLCEEtb6Rn8rxHUyaELDhv1vL9ACRy", "proofs": [ "31PCnLss72v4C8MtMFcrZMTBjnFrfoGdFbEt1EavzW4wQ7SkQX9KrR9nCS1acioMMsbpfMtoPBqFdeudSPKm1a9E" ], "script": "base64:AAIFAAAAAAAAAA0IAhIDCgEIEgQKAggIAAAAAAAAAAIAAAABaQEAAAAPZ2V0V2F2ZXNCYWxhbmNlAAAAAQAAAAt1c2VyQWRkcmVzcwkABRQAAAACBQAAAANuaWwJAAPvAAAAAQkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAALdXNlckFkZHJlc3MAAAABaQEAAAAPZ2V0QXNzZXRCYWxhbmNlAAAAAgAAAAdhc3NldElkAAAAC3VzZXJBZGRyZXNzCQAFFAAAAAIFAAAAA25pbAkAA/AAAAACCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABBQAAAAt1c2VyQWRkcmVzcwkAAlkAAAABBQAAAAdhc3NldElkAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkb1Dq4", "height": 2649419, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: xqqohc4NNac3J26CaS3LrahUyU8T9cEbJv9rDQ8YayN Next: none Diff:
OldNewDifferences
44
55
66 @Callable(i)
7-func checkBalances (userAddress) = $Tuple2(nil, wavesBalance(addressFromStringValue(userAddress)))
7+func getWavesBalance (userAddress) = $Tuple2(nil, wavesBalance(addressFromStringValue(userAddress)))
8+
9+
10+
11+@Callable(i)
12+func getAssetBalance (assetId,userAddress) = $Tuple2(nil, assetBalance(addressFromStringValue(userAddress), fromBase58String(assetId)))
813
914
1015 @Verifier(tx)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func checkBalances (userAddress) = $Tuple2(nil, wavesBalance(addressFromStringValue(userAddress)))
7+func getWavesBalance (userAddress) = $Tuple2(nil, wavesBalance(addressFromStringValue(userAddress)))
8+
9+
10+
11+@Callable(i)
12+func getAssetBalance (assetId,userAddress) = $Tuple2(nil, assetBalance(addressFromStringValue(userAddress), fromBase58String(assetId)))
813
914
1015 @Verifier(tx)
1116 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1217

github/deemru/w8io/026f985 
63.91 ms