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(a) |
---|
7 | 7 | | func foo (b,c,d,e) = { |
---|
8 | | - | let f = invoke(addressFromStringValue(b), "bar", [c], [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', 1000000)]) |
---|
| 8 | + | let f = invoke(addressFromStringValue(b), "bar", [c], [AttachedPayment(unit, 1000000)]) |
---|
9 | 9 | | if ((f == f)) |
---|
10 | 10 | | then { |
---|
11 | 11 | | let g = f |
---|
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(a) |
---|
7 | 7 | | func foo (b,c,d,e) = { |
---|
8 | | - | let f = invoke(addressFromStringValue(b), "bar", [c], [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', 1000000)]) |
---|
| 8 | + | let f = invoke(addressFromStringValue(b), "bar", [c], [AttachedPayment(unit, 1000000)]) |
---|
9 | 9 | | if ((f == f)) |
---|
10 | 10 | | then { |
---|
11 | 11 | | let g = f |
---|
12 | 12 | | if ($isInstanceOf(g, "Int")) |
---|
13 | 13 | | then { |
---|
14 | 14 | | let h = g |
---|
15 | 15 | | $Tuple2([IntegerEntry(d, h), IntegerEntry(e, wavesBalance(addressFromStringValue(b)).regular)], unit) |
---|
16 | 16 | | } |
---|
17 | 17 | | else throw("Incorrect invoke result") |
---|
18 | 18 | | } |
---|
19 | 19 | | else throw("Strict value is not equal to itself.") |
---|
20 | 20 | | } |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|