tx · ES9FvYdsHrZewz11gKBzx7LkEYT4dcsoXMAYvJt5nVPv
3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB: -0.01400000 Waves
2021.06.03 07:25 [1553702] smart account 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB > SELF 0.00000000 Waves
{
"type": 13,
"id": "ES9FvYdsHrZewz11gKBzx7LkEYT4dcsoXMAYvJt5nVPv",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1622694361905,
"version": 2,
"chainId": 84,
"sender": "3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB",
"senderPublicKey": "CQ7vntBAYh2QZcKcqiiyEnQWWXsr98ysDptD23Wgxmvb",
"proofs": [
"4x3D3X5tGeUMWggiMx2MmAkUJXRqgE1RcjKFAjYrsSFSVkNZYeM6yBfq4YoZUtAw3DUcNro8S2ePD3eBhtmfvyFE"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAAMcGFyc2VJbnRMaXN0AAAAAQAAAApzdHJpbmdMaXN0BAAAAAdsaXN0SW50BQAAAANuaWwDCQAAAAAAAAIFAAAAB2xpc3RJbnQFAAAAB2xpc3RJbnQKAQAAAAdpbnRMaXN0AAAAAgAAAARsaXN0AAAAAWEKAQAAAAtpbnRMaXN0RnVuYwAAAAAJAARNAAAAAgUAAAAHbGlzdEludAkABLYAAAABBQAAAAFhBAAAAAFjCQEAAAALaW50TGlzdEZ1bmMAAAAAAwkAAAAAAAACBQAAAAFjBQAAAAFjCQAETQAAAAIFAAAABGxpc3QFAAAAAWEJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuBAAAAAFiBAAAAAskbGlzdDMyNDM1NgUAAAAKc3RyaW5nTGlzdAQAAAALJHNpemUzMjQzNTYJAAGQAAAAAQUAAAALJGxpc3QzMjQzNTYEAAAACyRhY2MwMzI0MzU2BQAAAANuaWwDCQAAAAAAAAIFAAAACyRzaXplMz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lZCA1AwkAAAAAAAACBQAAAAFiBQAAAAFiBQAAAAdsaXN0SW50CQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAWkBAAAABGNhbGwAAAAABAAAAAVjb3VudAAAAAAAAAAAAQQAAAAFYXNzZXQJAARDAAAABwIAAAAFQXNzZXQCAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAYFAAAABHVuaXQAAAAAAAAAAAAEAAAABGxpc3QJAQAAAAxwYXJzZUludExpc3QAAAABCQAETAAAAAICAAAAAjExCQAETAAAAAICAAAAAjEyCQAETAAAAAICAAAAAjEzCQAETAAAAAICAAAAAjE0CQAETAAAAAICAAAAAjE1BQAAAANuaWwDCQAAAAAAAAIFAAAABWNvdW50AAAAAAAAAAABCQAAAgAAAAEJAAEsAAAAAgIAAAALL2xpc3RbMF09PT4JAAGRAAAAAgUAAAAEbGlzdAAAAAAAAAAAAAkABEwAAAACBQAAAAVhc3NldAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkS7qaE",
"height": 1553702,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: ESPXiFzV2cNiv3BctT2wH1PEiqcnbSXSfkzDinhjatRi
Next: DJYJCFSWpvC42au3Sc6w4UyxziCFAtj732zWjbx1co62
Diff:
Old | New | | Differences |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func parseIntList (stringList) = { |
---|
5 | 5 | | let listInt = nil |
---|
6 | | - | func intList (list,a) = { |
---|
7 | | - | func intListFunc () = (listInt :+ parseInt(a)) |
---|
| 6 | + | if ((listInt == listInt)) |
---|
| 7 | + | then { |
---|
| 8 | + | func intList (list,a) = { |
---|
| 9 | + | func intListFunc () = (listInt :+ parseInt(a)) |
---|
8 | 10 | | |
---|
9 | | - | let c = intListFunc() |
---|
10 | | - | (list :+ a) |
---|
11 | | - | } |
---|
| 11 | + | let c = intListFunc() |
---|
| 12 | + | if ((c == c)) |
---|
| 13 | + | then (list :+ a) |
---|
| 14 | + | else throw("Strict value is not equal to itself.") |
---|
| 15 | + | } |
---|
12 | 16 | | |
---|
13 | | - | let b = { |
---|
14 | | - | let $list319351 = stringList |
---|
15 | | - | let $size319351 = size($list319351) |
---|
16 | | - | let $acc0319351 = nil |
---|
17 | | - | if (($size319351 == 0)) |
---|
18 | | - | then $acc0319351 |
---|
19 | | - | else { |
---|
20 | | - | let $acc1319351 = intList($acc0319351, $list319351[0]) |
---|
21 | | - | if (($size319351 == 1)) |
---|
22 | | - | then $acc1319351 |
---|
| 17 | + | let b = { |
---|
| 18 | + | let $list324356 = stringList |
---|
| 19 | + | let $size324356 = size($list324356) |
---|
| 20 | + | let $acc0324356 = nil |
---|
| 21 | + | if (($size324356 == 0)) |
---|
| 22 | + | then $acc0324356 |
---|
23 | 23 | | else { |
---|
24 | | - | let $acc2319351 = intList($acc1319351, $list319351[1]) |
---|
25 | | - | if (($size319351 == 2)) |
---|
26 | | - | then $acc2319351 |
---|
| 24 | + | let $acc1324356 = intList($acc0324356, $list324356[0]) |
---|
| 25 | + | if (($size324356 == 1)) |
---|
| 26 | + | then $acc1324356 |
---|
27 | 27 | | else { |
---|
28 | | - | let $acc3319351 = intList($acc2319351, $list319351[2]) |
---|
29 | | - | if (($size319351 == 3)) |
---|
30 | | - | then $acc3319351 |
---|
| 28 | + | let $acc2324356 = intList($acc1324356, $list324356[1]) |
---|
| 29 | + | if (($size324356 == 2)) |
---|
| 30 | + | then $acc2324356 |
---|
31 | 31 | | else { |
---|
32 | | - | let $acc4319351 = intList($acc3319351, $list319351[3]) |
---|
33 | | - | if (($size319351 == 4)) |
---|
34 | | - | then $acc4319351 |
---|
| 32 | + | let $acc3324356 = intList($acc2324356, $list324356[2]) |
---|
| 33 | + | if (($size324356 == 3)) |
---|
| 34 | + | then $acc3324356 |
---|
35 | 35 | | else { |
---|
36 | | - | let $acc5319351 = intList($acc4319351, $list319351[4]) |
---|
37 | | - | if (($size319351 == 5)) |
---|
38 | | - | then $acc5319351 |
---|
| 36 | + | let $acc4324356 = intList($acc3324356, $list324356[3]) |
---|
| 37 | + | if (($size324356 == 4)) |
---|
| 38 | + | then $acc4324356 |
---|
39 | 39 | | else { |
---|
40 | | - | let $acc6319351 = intList($acc5319351, $list319351[5]) |
---|
41 | | - | throw("List size exceed 5") |
---|
| 40 | + | let $acc5324356 = intList($acc4324356, $list324356[4]) |
---|
| 41 | + | if (($size324356 == 5)) |
---|
| 42 | + | then $acc5324356 |
---|
| 43 | + | else { |
---|
| 44 | + | let $acc6324356 = intList($acc5324356, $list324356[5]) |
---|
| 45 | + | throw("List size exceed 5") |
---|
| 46 | + | } |
---|
42 | 47 | | } |
---|
43 | 48 | | } |
---|
44 | 49 | | } |
---|
45 | 50 | | } |
---|
46 | 51 | | } |
---|
47 | 52 | | } |
---|
48 | | - | } |
---|
49 | | - | listInt |
---|
| 53 | + | if ((b == b)) |
---|
| 54 | + | then listInt |
---|
| 55 | + | else throw("Strict value is not equal to itself.") |
---|
| 56 | + | } |
---|
| 57 | + | else throw("Strict value is not equal to itself.") |
---|
50 | 58 | | } |
---|
51 | 59 | | |
---|
52 | 60 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func parseIntList (stringList) = { |
---|
5 | 5 | | let listInt = nil |
---|
6 | | - | func intList (list,a) = { |
---|
7 | | - | func intListFunc () = (listInt :+ parseInt(a)) |
---|
| 6 | + | if ((listInt == listInt)) |
---|
| 7 | + | then { |
---|
| 8 | + | func intList (list,a) = { |
---|
| 9 | + | func intListFunc () = (listInt :+ parseInt(a)) |
---|
8 | 10 | | |
---|
9 | | - | let c = intListFunc() |
---|
10 | | - | (list :+ a) |
---|
11 | | - | } |
---|
| 11 | + | let c = intListFunc() |
---|
| 12 | + | if ((c == c)) |
---|
| 13 | + | then (list :+ a) |
---|
| 14 | + | else throw("Strict value is not equal to itself.") |
---|
| 15 | + | } |
---|
12 | 16 | | |
---|
13 | | - | let b = { |
---|
14 | | - | let $list319351 = stringList |
---|
15 | | - | let $size319351 = size($list319351) |
---|
16 | | - | let $acc0319351 = nil |
---|
17 | | - | if (($size319351 == 0)) |
---|
18 | | - | then $acc0319351 |
---|
19 | | - | else { |
---|
20 | | - | let $acc1319351 = intList($acc0319351, $list319351[0]) |
---|
21 | | - | if (($size319351 == 1)) |
---|
22 | | - | then $acc1319351 |
---|
| 17 | + | let b = { |
---|
| 18 | + | let $list324356 = stringList |
---|
| 19 | + | let $size324356 = size($list324356) |
---|
| 20 | + | let $acc0324356 = nil |
---|
| 21 | + | if (($size324356 == 0)) |
---|
| 22 | + | then $acc0324356 |
---|
23 | 23 | | else { |
---|
24 | | - | let $acc2319351 = intList($acc1319351, $list319351[1]) |
---|
25 | | - | if (($size319351 == 2)) |
---|
26 | | - | then $acc2319351 |
---|
| 24 | + | let $acc1324356 = intList($acc0324356, $list324356[0]) |
---|
| 25 | + | if (($size324356 == 1)) |
---|
| 26 | + | then $acc1324356 |
---|
27 | 27 | | else { |
---|
28 | | - | let $acc3319351 = intList($acc2319351, $list319351[2]) |
---|
29 | | - | if (($size319351 == 3)) |
---|
30 | | - | then $acc3319351 |
---|
| 28 | + | let $acc2324356 = intList($acc1324356, $list324356[1]) |
---|
| 29 | + | if (($size324356 == 2)) |
---|
| 30 | + | then $acc2324356 |
---|
31 | 31 | | else { |
---|
32 | | - | let $acc4319351 = intList($acc3319351, $list319351[3]) |
---|
33 | | - | if (($size319351 == 4)) |
---|
34 | | - | then $acc4319351 |
---|
| 32 | + | let $acc3324356 = intList($acc2324356, $list324356[2]) |
---|
| 33 | + | if (($size324356 == 3)) |
---|
| 34 | + | then $acc3324356 |
---|
35 | 35 | | else { |
---|
36 | | - | let $acc5319351 = intList($acc4319351, $list319351[4]) |
---|
37 | | - | if (($size319351 == 5)) |
---|
38 | | - | then $acc5319351 |
---|
| 36 | + | let $acc4324356 = intList($acc3324356, $list324356[3]) |
---|
| 37 | + | if (($size324356 == 4)) |
---|
| 38 | + | then $acc4324356 |
---|
39 | 39 | | else { |
---|
40 | | - | let $acc6319351 = intList($acc5319351, $list319351[5]) |
---|
41 | | - | throw("List size exceed 5") |
---|
| 40 | + | let $acc5324356 = intList($acc4324356, $list324356[4]) |
---|
| 41 | + | if (($size324356 == 5)) |
---|
| 42 | + | then $acc5324356 |
---|
| 43 | + | else { |
---|
| 44 | + | let $acc6324356 = intList($acc5324356, $list324356[5]) |
---|
| 45 | + | throw("List size exceed 5") |
---|
| 46 | + | } |
---|
42 | 47 | | } |
---|
43 | 48 | | } |
---|
44 | 49 | | } |
---|
45 | 50 | | } |
---|
46 | 51 | | } |
---|
47 | 52 | | } |
---|
48 | | - | } |
---|
49 | | - | listInt |
---|
| 53 | + | if ((b == b)) |
---|
| 54 | + | then listInt |
---|
| 55 | + | else throw("Strict value is not equal to itself.") |
---|
| 56 | + | } |
---|
| 57 | + | else throw("Strict value is not equal to itself.") |
---|
50 | 58 | | } |
---|
51 | 59 | | |
---|
52 | 60 | | |
---|
53 | 61 | | @Callable(i) |
---|
54 | 62 | | func call () = { |
---|
55 | 63 | | let count = 1 |
---|
56 | 64 | | let asset = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
57 | 65 | | let list = parseIntList(["11", "12", "13", "14", "15"]) |
---|
58 | 66 | | if ((count == 1)) |
---|
59 | 67 | | then throw(("/list[0]==>" + list[0])) |
---|
60 | 68 | | else [asset] |
---|
61 | 69 | | } |
---|
62 | 70 | | |
---|
63 | 71 | | |
---|
64 | 72 | | @Verifier(tx) |
---|
65 | 73 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
66 | 74 | | |
---|