tx · AvgFWFUhwU4sjFr24mgjeUunQ4NwQfVQxDNyohjnzamR 3N7sgwhSS8xPkYAJBvrjhAu5NNM8nSVBK6d: -0.01000000 Waves 2023.10.02 10:03 [2780689] smart account 3N7sgwhSS8xPkYAJBvrjhAu5NNM8nSVBK6d > SELF 0.00000000 Waves
{ "type": 13, "id": "AvgFWFUhwU4sjFr24mgjeUunQ4NwQfVQxDNyohjnzamR", "fee": 1000000, "feeAssetId": null, "timestamp": 1696230269003, "version": 2, "chainId": 84, "sender": "3N7sgwhSS8xPkYAJBvrjhAu5NNM8nSVBK6d", "senderPublicKey": "2xepYpePcdoBmD6T455w9bKmTxgot7zSjzpg4wbQ7HLQ", "proofs": [ "4WEVPFbSvGmtcdAc8jW1UnMqBZBB2iZNUkysorU2Eat3pmggr7VvKG5NPErLk8FyrCRNf2Cd4ur2vuKikkUjMBQG" ], "script": "base64:BgIECAISAAYAA1NFUAICX18AEWtleUZhY3RvcnlBZGRyZXNzCQC5CQIJAMwIAgICJXMJAMwIAgIHZmFjdG9yeQUDbmlsBQNTRVAADmZhY3RvcnlBZGRyZXNzCQERQGV4dHJOYXRpdmUoMTA2MikBCQERQGV4dHJOYXRpdmUoMTA1MykCBQR0aGlzBRFrZXlGYWN0b3J5QWRkcmVzcwAOa2V5SW1wbEFkZHJlc3MJALkJAgkAzAgCAgIlcwkAzAgCAgRpbXBsBQNuaWwFA1NFUAALaW1wbEFkZHJlc3MJARFAZXh0ck5hdGl2ZSgxMDYyKQEJARFAZXh0ck5hdGl2ZSgxMDUzKQIFDmZhY3RvcnlBZGRyZXNzBQ5rZXlJbXBsQWRkcmVzcwEPYXNzZXRJZFRvU3RyaW5nAQdhc3NldElkBAckbWF0Y2gwBQdhc3NldElkAwkAAQIFByRtYXRjaDACCkJ5dGVWZWN0b3IEAWIFByRtYXRjaDAJANgEAQUBYgIFV0FWRVMBAWkBA3B1dAAEDWFtb3VudEFzc2V0SWQJAQ9hc3NldElkVG9TdHJpbmcBCAkAkQMCCAUBaQhwYXltZW50cwAAB2Fzc2V0SWQEEWFtb3VudEFzc2V0QW1vdW50CAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAQMcHJpY2VBc3NldElkCQEPYXNzZXRJZFRvU3RyaW5nAQgJAJEDAggFAWkIcGF5bWVudHMAAQdhc3NldElkBBBwcmljZUFzc2V0QW1vdW50CAkAkQMCCAUBaQhwYXltZW50cwABBmFtb3VudAQGcmVzdWx0CQD9BwQFC2ltcGxBZGRyZXNzAgNwdXQJAMwIAgUNYW1vdW50QXNzZXRJZAkAzAgCBRFhbW91bnRBc3NldEFtb3VudAkAzAgCBQxwcmljZUFzc2V0SWQJAMwIAgUQcHJpY2VBc3NldEFtb3VudAUDbmlsBQNuaWwDCQAAAgUGcmVzdWx0BQZyZXN1bHQEA3JlcwQHJG1hdGNoMAUGcmVzdWx0AwkAAQIFByRtYXRjaDACCUxpc3RbQW55XQQBdAUHJG1hdGNoMAUBdAkAAgECA0VSUgkAlAoCBQNuaWwFA3JlcwkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgBfBaQH", "height": 2780689, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7Y3vU7xxYyAPDWJiJsEmtBxQ31zQoKiaLQubequKT7u7 Next: 7cmNATEo5iXEkBbHWHPKzPEewQ9DmwYUjt5dc3qm7xY5 Diff:
Old | New | Differences | |
---|---|---|---|
29 | 29 | let m = f(j.payments[1].assetId) | |
30 | 30 | let n = j.payments[1].amount | |
31 | 31 | let o = reentrantInvoke(e, "put", [k, l, m, n], nil) | |
32 | - | $Tuple2(nil, o) | |
32 | + | if ((o == o)) | |
33 | + | then { | |
34 | + | let p = { | |
35 | + | let h = o | |
36 | + | if ($isInstanceOf(h, "List[Any]")) | |
37 | + | then { | |
38 | + | let q = h | |
39 | + | q | |
40 | + | } | |
41 | + | else throw("ERR") | |
42 | + | } | |
43 | + | $Tuple2(nil, p) | |
44 | + | } | |
45 | + | else throw("Strict value is not equal to itself.") | |
33 | 46 | } | |
34 | 47 | ||
35 | 48 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = makeString(["%s", "factory"], a) | |
7 | 7 | ||
8 | 8 | let c = addressFromStringValue(getStringValue(this, b)) | |
9 | 9 | ||
10 | 10 | let d = makeString(["%s", "impl"], a) | |
11 | 11 | ||
12 | 12 | let e = addressFromStringValue(getStringValue(c, d)) | |
13 | 13 | ||
14 | 14 | func f (g) = { | |
15 | 15 | let h = g | |
16 | 16 | if ($isInstanceOf(h, "ByteVector")) | |
17 | 17 | then { | |
18 | 18 | let i = h | |
19 | 19 | toBase58String(i) | |
20 | 20 | } | |
21 | 21 | else "WAVES" | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | @Callable(j) | |
26 | 26 | func put () = { | |
27 | 27 | let k = f(j.payments[0].assetId) | |
28 | 28 | let l = j.payments[0].amount | |
29 | 29 | let m = f(j.payments[1].assetId) | |
30 | 30 | let n = j.payments[1].amount | |
31 | 31 | let o = reentrantInvoke(e, "put", [k, l, m, n], nil) | |
32 | - | $Tuple2(nil, o) | |
32 | + | if ((o == o)) | |
33 | + | then { | |
34 | + | let p = { | |
35 | + | let h = o | |
36 | + | if ($isInstanceOf(h, "List[Any]")) | |
37 | + | then { | |
38 | + | let q = h | |
39 | + | q | |
40 | + | } | |
41 | + | else throw("ERR") | |
42 | + | } | |
43 | + | $Tuple2(nil, p) | |
44 | + | } | |
45 | + | else throw("Strict value is not equal to itself.") | |
33 | 46 | } | |
34 | 47 | ||
35 | 48 |
github/deemru/w8io/026f985 25.63 ms ◑