tx · CWgQ1Xkd2mnH6h3Hx7dgSWgfAgnYqebLmYRCmU54ASP1
3N2nEM2dL3K6ZUAbzUtgUsaBuuRGkj9UiZ4: -0.10000000 Waves
2022.04.29 04:43 [2029125] smart account 3N2nEM2dL3K6ZUAbzUtgUsaBuuRGkj9UiZ4 > SELF 0.00000000 Waves
{
"type": 13,
"id": "CWgQ1Xkd2mnH6h3Hx7dgSWgfAgnYqebLmYRCmU54ASP1",
"fee": 10000000,
"feeAssetId": null,
"timestamp": 1651196712364,
"version": 2,
"chainId": 84,
"sender": "3N2nEM2dL3K6ZUAbzUtgUsaBuuRGkj9UiZ4",
"senderPublicKey": "Bp2PoLroDxmaRm2sTZE1tHx9zTdSCNeU1MCY4hYvcAEw",
"proofs": [
"3YMfwwAa3P5evbHkm7XpqDTSbKvC9cW7z7DxPBBJKnBsJ4LCFHUpNJcUw1X7pAj17ZFtEQ9muretS3axv22tBZG9"
],
"script": "base64:AAIFAAAAAAAAAAoIAhIGCgQIAQgIAAAAAAAAAAEAAAABaQEAAAADZm9vAAAABAAAAAVkYXBwMgAAAAFhAAAABGtleTEAAAAEa2V5MgQAAAADcmVzCQAD/AAAAAQJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAABWRhcHAyAgAAAANiYXIJAARMAAAAAgUAAAABYQUAAAADbmlsCQAETAAAAAIJAQAAAA9BdHRhY2hlZFBheW1lbnQAAAACBQAAAAR1bml0AAAAAAAAD0JABQAAAANuaWwDCQAAAAAAAAIFAAAAA3JlcwUAAAADcmVzBAAAAAckbWF0Y2gwBQAAAANyZXMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABcgUAAAAHJG1hdGNoMAkABRQAAAACCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAARrZXkxBQAAAAFyCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAARrZXkyCAkAA+8AAAABCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABBQAAAAVkYXBwMgAAAAdyZWd1bGFyBQAAAANuaWwFAAAABHVuaXQJAAACAAAAAQIAAAAXSW5jb3JyZWN0IGludm9rZSByZXN1bHQJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAO3ZCxg=",
"height": 2029125,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: CUFHSsCCm4jTdEGCkTFLD8kUnabGgDLdVLSycL3ZBnqB
Next: 4HrScvmsyVkV53kxA4JgjAcTTbLFTmLwC61bRyayqgj2
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func foo (dapp2,a,key1,key2) = { |
---|
8 | | - | let res = invoke(addressFromStringValue(dapp2), "bar", [a], [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', 1000000)]) |
---|
| 8 | + | let res = invoke(addressFromStringValue(dapp2), "bar", [a], [AttachedPayment(unit, 1000000)]) |
---|
9 | 9 | | if ((res == res)) |
---|
10 | 10 | | then match res { |
---|
11 | 11 | | case r: Int => |
---|
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 | 7 | | func foo (dapp2,a,key1,key2) = { |
---|
8 | | - | let res = invoke(addressFromStringValue(dapp2), "bar", [a], [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', 1000000)]) |
---|
| 8 | + | let res = invoke(addressFromStringValue(dapp2), "bar", [a], [AttachedPayment(unit, 1000000)]) |
---|
9 | 9 | | if ((res == res)) |
---|
10 | 10 | | then match res { |
---|
11 | 11 | | case r: Int => |
---|
12 | 12 | | $Tuple2([IntegerEntry(key1, r), IntegerEntry(key2, wavesBalance(addressFromStringValue(dapp2)).regular)], unit) |
---|
13 | 13 | | case _ => |
---|
14 | 14 | | throw("Incorrect invoke result") |
---|
15 | 15 | | } |
---|
16 | 16 | | else throw("Strict value is not equal to itself.") |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|