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:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @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))) |
---|
8 | 13 | | |
---|
9 | 14 | | |
---|
10 | 15 | | @Verifier(tx) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @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))) |
---|
8 | 13 | | |
---|
9 | 14 | | |
---|
10 | 15 | | @Verifier(tx) |
---|
11 | 16 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
12 | 17 | | |
---|