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 a (b) = { |
---|
5 | 5 | | let c = nil |
---|
6 | | - | func d (e,f) = { |
---|
7 | | - | func g () = (c :+ parseInt(f)) |
---|
| 6 | + | if ((c == c)) |
---|
| 7 | + | then { |
---|
| 8 | + | func d (e,f) = { |
---|
| 9 | + | func g () = (c :+ parseInt(f)) |
---|
8 | 10 | | |
---|
9 | | - | let h = g() |
---|
10 | | - | (e :+ f) |
---|
11 | | - | } |
---|
| 11 | + | let h = g() |
---|
| 12 | + | if ((h == h)) |
---|
| 13 | + | then (e :+ f) |
---|
| 14 | + | else throw("Strict value is not equal to itself.") |
---|
| 15 | + | } |
---|
12 | 16 | | |
---|
13 | | - | let i = { |
---|
14 | | - | let j = b |
---|
15 | | - | let k = size(j) |
---|
16 | | - | let l = nil |
---|
17 | | - | if ((k == 0)) |
---|
18 | | - | then l |
---|
19 | | - | else { |
---|
20 | | - | let m = d(l, j[0]) |
---|
21 | | - | if ((k == 1)) |
---|
22 | | - | then m |
---|
| 17 | + | let i = { |
---|
| 18 | + | let j = b |
---|
| 19 | + | let k = size(j) |
---|
| 20 | + | let l = nil |
---|
| 21 | + | if ((k == 0)) |
---|
| 22 | + | then l |
---|
23 | 23 | | else { |
---|
24 | | - | let n = d(m, j[1]) |
---|
25 | | - | if ((k == 2)) |
---|
26 | | - | then n |
---|
| 24 | + | let m = d(l, j[0]) |
---|
| 25 | + | if ((k == 1)) |
---|
| 26 | + | then m |
---|
27 | 27 | | else { |
---|
28 | | - | let o = d(n, j[2]) |
---|
29 | | - | if ((k == 3)) |
---|
30 | | - | then o |
---|
| 28 | + | let n = d(m, j[1]) |
---|
| 29 | + | if ((k == 2)) |
---|
| 30 | + | then n |
---|
31 | 31 | | else { |
---|
32 | | - | let p = d(o, j[3]) |
---|
33 | | - | if ((k == 4)) |
---|
34 | | - | then p |
---|
| 32 | + | let o = d(n, j[2]) |
---|
| 33 | + | if ((k == 3)) |
---|
| 34 | + | then o |
---|
35 | 35 | | else { |
---|
36 | | - | let q = d(p, j[4]) |
---|
37 | | - | if ((k == 5)) |
---|
38 | | - | then q |
---|
| 36 | + | let p = d(o, j[3]) |
---|
| 37 | + | if ((k == 4)) |
---|
| 38 | + | then p |
---|
39 | 39 | | else { |
---|
40 | | - | let r = d(q, j[5]) |
---|
41 | | - | throw("List size exceed 5") |
---|
| 40 | + | let q = d(p, j[4]) |
---|
| 41 | + | if ((k == 5)) |
---|
| 42 | + | then q |
---|
| 43 | + | else { |
---|
| 44 | + | let r = d(q, j[5]) |
---|
| 45 | + | throw("List size exceed 5") |
---|
| 46 | + | } |
---|
42 | 47 | | } |
---|
43 | 48 | | } |
---|
44 | 49 | | } |
---|
45 | 50 | | } |
---|
46 | 51 | | } |
---|
47 | 52 | | } |
---|
48 | | - | } |
---|
49 | | - | c |
---|
| 53 | + | if ((i == i)) |
---|
| 54 | + | then c |
---|
| 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 a (b) = { |
---|
5 | 5 | | let c = nil |
---|
6 | | - | func d (e,f) = { |
---|
7 | | - | func g () = (c :+ parseInt(f)) |
---|
| 6 | + | if ((c == c)) |
---|
| 7 | + | then { |
---|
| 8 | + | func d (e,f) = { |
---|
| 9 | + | func g () = (c :+ parseInt(f)) |
---|
8 | 10 | | |
---|
9 | | - | let h = g() |
---|
10 | | - | (e :+ f) |
---|
11 | | - | } |
---|
| 11 | + | let h = g() |
---|
| 12 | + | if ((h == h)) |
---|
| 13 | + | then (e :+ f) |
---|
| 14 | + | else throw("Strict value is not equal to itself.") |
---|
| 15 | + | } |
---|
12 | 16 | | |
---|
13 | | - | let i = { |
---|
14 | | - | let j = b |
---|
15 | | - | let k = size(j) |
---|
16 | | - | let l = nil |
---|
17 | | - | if ((k == 0)) |
---|
18 | | - | then l |
---|
19 | | - | else { |
---|
20 | | - | let m = d(l, j[0]) |
---|
21 | | - | if ((k == 1)) |
---|
22 | | - | then m |
---|
| 17 | + | let i = { |
---|
| 18 | + | let j = b |
---|
| 19 | + | let k = size(j) |
---|
| 20 | + | let l = nil |
---|
| 21 | + | if ((k == 0)) |
---|
| 22 | + | then l |
---|
23 | 23 | | else { |
---|
24 | | - | let n = d(m, j[1]) |
---|
25 | | - | if ((k == 2)) |
---|
26 | | - | then n |
---|
| 24 | + | let m = d(l, j[0]) |
---|
| 25 | + | if ((k == 1)) |
---|
| 26 | + | then m |
---|
27 | 27 | | else { |
---|
28 | | - | let o = d(n, j[2]) |
---|
29 | | - | if ((k == 3)) |
---|
30 | | - | then o |
---|
| 28 | + | let n = d(m, j[1]) |
---|
| 29 | + | if ((k == 2)) |
---|
| 30 | + | then n |
---|
31 | 31 | | else { |
---|
32 | | - | let p = d(o, j[3]) |
---|
33 | | - | if ((k == 4)) |
---|
34 | | - | then p |
---|
| 32 | + | let o = d(n, j[2]) |
---|
| 33 | + | if ((k == 3)) |
---|
| 34 | + | then o |
---|
35 | 35 | | else { |
---|
36 | | - | let q = d(p, j[4]) |
---|
37 | | - | if ((k == 5)) |
---|
38 | | - | then q |
---|
| 36 | + | let p = d(o, j[3]) |
---|
| 37 | + | if ((k == 4)) |
---|
| 38 | + | then p |
---|
39 | 39 | | else { |
---|
40 | | - | let r = d(q, j[5]) |
---|
41 | | - | throw("List size exceed 5") |
---|
| 40 | + | let q = d(p, j[4]) |
---|
| 41 | + | if ((k == 5)) |
---|
| 42 | + | then q |
---|
| 43 | + | else { |
---|
| 44 | + | let r = d(q, j[5]) |
---|
| 45 | + | throw("List size exceed 5") |
---|
| 46 | + | } |
---|
42 | 47 | | } |
---|
43 | 48 | | } |
---|
44 | 49 | | } |
---|
45 | 50 | | } |
---|
46 | 51 | | } |
---|
47 | 52 | | } |
---|
48 | | - | } |
---|
49 | | - | c |
---|
| 53 | + | if ((i == i)) |
---|
| 54 | + | then c |
---|
| 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(s) |
---|
54 | 62 | | func call () = { |
---|
55 | 63 | | let t = 1 |
---|
56 | 64 | | let u = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
57 | 65 | | let e = a(["11", "12", "13", "14", "15"]) |
---|
58 | 66 | | if ((t == 1)) |
---|
59 | 67 | | then throw(("/list[0]==>" + e[0])) |
---|
60 | 68 | | else [u] |
---|
61 | 69 | | } |
---|
62 | 70 | | |
---|
63 | 71 | | |
---|
64 | 72 | | @Verifier(v) |
---|
65 | 73 | | func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey) |
---|
66 | 74 | | |
---|