tx · dyUwNk5dBFgJiV8Cz1NqChRgJaHLnvxcTyMmg5QvgDj 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB: -0.01400000 Waves 2021.06.03 06:09 [1553623] smart account 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB > SELF 0.00000000 Waves
{ "type": 13, "id": "dyUwNk5dBFgJiV8Cz1NqChRgJaHLnvxcTyMmg5QvgDj", "fee": 1400000, "feeAssetId": null, "timestamp": 1622689781424, "version": 2, "chainId": 84, "sender": "3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB", "senderPublicKey": "CQ7vntBAYh2QZcKcqiiyEnQWWXsr98ysDptD23Wgxmvb", "proofs": [ "31uRBvz7pUQ6Uo3edbsC1CSsXrXrpKbWXjVzRq1jiRgYGANKdmxpVCCri8Tb7htdK7LrpvoCztiVNwCgDXtQwZUr" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAAQbGlzdFRvU3RyaW5nRnVuYwAAAAEAAAALSW50ZWdlckxpc3QKAQAAAAxsaXN0VG9TdHJpbmcAAAACAAAAB3N0ckxpc3QAAAABaQkABE0AAAACBQAAAAdzdHJMaXN0CQABpAAAAAEJAAGRAAAAAgUAAAALSW50ZWdlckxpc3QFAAAAAWkEAAAACyRsaXN0MjQ5Mjg3BQAAAAtJbnRlZ2VyTGlzdAQAAAALJHNpemUyNDkyODcJAAGQAAAAAQUAAAALJGxpc3QyNDkyODcEAAAACyRhY2MwMjQ5Mjg3BQAAAANuaWwDCQAAAAAAAAIFAAAACyRzaXplMjQ5Mjg3AAAAAAAAAAAABQAAAAskYWNjMDI0OTI4NwQAAAALJGFjYzEyNDkyODcJAQAAAAxsaXN0VG9TdHJpbmcAAAACBQAAAAskYWNjMDI0OTI4NwkAAZEAAAACBQAAAAskbGlzdDI0OTI4NwAAAAAAAAAAAAMJAAAAAAAAAgUAAAALJHNpemUyNDkyODcAAAAAAAAAAAEFAAAACyRhY2MxMjQ5Mjg3BA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NlbGYuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXl+Dnj/", "height": 1553623, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HdcAd1TUHb9rqRr3LCqWqprLidQRkzUKmus2ALQRaAJ1 Next: 34CWTMuH3omV1EEKnQ5qrtPN2ZTr1sW6dXGPwdHBenqg Diff:
Old | New | Differences | |
---|---|---|---|
39 | 39 | let list = listToStringFunc([2, 3, 4]) | |
40 | 40 | if ((list == list)) | |
41 | 41 | then if ((count == 1)) | |
42 | - | then throw(("list_1==>" + list[ | |
42 | + | then throw(("list_1==>" + list[1])) | |
43 | 43 | else [asset] | |
44 | 44 | else throw("Strict value is not equal to itself.") | |
45 | 45 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func listToStringFunc (IntegerList) = { | |
5 | 5 | func listToString (strList,i) = (strList :+ toString(IntegerList[i])) | |
6 | 6 | ||
7 | 7 | let $list249287 = IntegerList | |
8 | 8 | let $size249287 = size($list249287) | |
9 | 9 | let $acc0249287 = nil | |
10 | 10 | if (($size249287 == 0)) | |
11 | 11 | then $acc0249287 | |
12 | 12 | else { | |
13 | 13 | let $acc1249287 = listToString($acc0249287, $list249287[0]) | |
14 | 14 | if (($size249287 == 1)) | |
15 | 15 | then $acc1249287 | |
16 | 16 | else { | |
17 | 17 | let $acc2249287 = listToString($acc1249287, $list249287[1]) | |
18 | 18 | if (($size249287 == 2)) | |
19 | 19 | then $acc2249287 | |
20 | 20 | else { | |
21 | 21 | let $acc3249287 = listToString($acc2249287, $list249287[2]) | |
22 | 22 | if (($size249287 == 3)) | |
23 | 23 | then $acc3249287 | |
24 | 24 | else { | |
25 | 25 | let $acc4249287 = listToString($acc3249287, $list249287[3]) | |
26 | 26 | throw("List size exceed 3") | |
27 | 27 | } | |
28 | 28 | } | |
29 | 29 | } | |
30 | 30 | } | |
31 | 31 | } | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | @Callable(i) | |
35 | 35 | func call () = { | |
36 | 36 | let count = 1 | |
37 | 37 | let asset = Issue("Asset", "", 1, 0, true, unit, 0) | |
38 | 38 | let assetId = calculateAssetId(asset) | |
39 | 39 | let list = listToStringFunc([2, 3, 4]) | |
40 | 40 | if ((list == list)) | |
41 | 41 | then if ((count == 1)) | |
42 | - | then throw(("list_1==>" + list[ | |
42 | + | then throw(("list_1==>" + list[1])) | |
43 | 43 | else [asset] | |
44 | 44 | else throw("Strict value is not equal to itself.") | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | @Verifier(tx) | |
49 | 49 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
50 | 50 |
github/deemru/w8io/026f985 29.91 ms ◑