tx · HukkxP9SGBGLdk7pYSCdWRwKzaeoJv4sAxpW3QzDXnTH
3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB: -0.01400000 Waves
2021.06.03 05:29 [1553575] smart account 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB > SELF 0.00000000 Waves
{
"type": 13,
"id": "HukkxP9SGBGLdk7pYSCdWRwKzaeoJv4sAxpW3QzDXnTH",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1622687405401,
"version": 2,
"chainId": 84,
"sender": "3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB",
"senderPublicKey": "CQ7vntBAYh2QZcKcqiiyEnQWWXsr98ysDptD23Wgxmvb",
"proofs": [
"2QRKjUyWJctCeF1CQgiRvhN7rrMJYNXEzxJUYmsyxMabx5WD6G9fw7gLsms1Ynh1yvXJZ46agrhvm5xMVbuFAhcm"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAgEAAAAQbGlzdFRvU3RyaW5nRnVuYwAAAAEAAAALSW50ZWdlckxpc3QKAQAAAAxsaXN0VG9TdHJpbmcAAAACAAAAA2FjYwAAAAFpCQAETQAAAAIFAAAAA2FjYwkAAaQAAAABCQABkQAAAAIFAAAAC0ludGVnZXJMaXN0BQAAAAFpBAAAAAskbGlzdDIzMjI3MAUAAAALSW50ZWdlckxpc3QEAAAACyRzaXplMjMyMjcwCQABkAAAAAEFAAAACyRsaXN0MjMyMjcwBAAAAAskYWNjMDIzMjI3MAUAAAADbmlsAwkAAAAAAAACBQAAAAskc2l6ZTIzMjI3MAAAAAAAAAAAAAUAAAALJGFjYzAyMzIyNzAEAAAACyRhY2MxMjMyMjcwCQEAAAAMbGlzdFRvU3RyaW5nAAAAAgUAAAALJGFjYzAyMzIyNzAJAAGRAAAAAgUAAAALJGxpc3QyMzIyNzAAAAAAAAAAAAADCQAAAAAAAAIFAAAACyRzaXplMjMyMjcwAAAAAAAAAAABBQAAAAskYWNjMTIzMjI3MAQAAAALJ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AAAAAAAAQAAAAAAAAAAAAYFAAAABHVuaXQAAAAAAAAAAAAEAAAAB2Fzc2V0SWQJAAQ4AAAAAQUAAAAFYXNzZXQEAAAABGxpc3QJAQAAAA5maWx0ZXJTdGVwRnVuYwAAAAEJAARMAAAAAgAAAAAAAAAAAgkABEwAAAACAAAAAAAAAAADCQAETAAAAAIAAAAAAAAAAAQFAAAAA25pbAMJAAAAAAAAAgUAAAAEbGlzdAUAAAAEbGlzdAMJAAAAAAAAAgUAAAAFY291bnQAAAAAAAAAAAEJAAACAAAAAQkAASwAAAACAgAAAAlsaXN0XzE9PT4JAAGkAAAAAQkAAZEAAAACBQAAAARsaXN0AAAAAAAAAAAACQAETAAAAAIFAAAABWFzc2V0BQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXl8ix0h",
"height": 1553575,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 6gPQ9QHqFZtsojcrwfccHMAMahdVZm9mJ4Jvzp5UETvz
Next: HdcAd1TUHb9rqRr3LCqWqprLidQRkzUKmus2ALQRaAJ1
Diff:
Old | New | | Differences |
---|
31 | 31 | | } |
---|
32 | 32 | | |
---|
33 | 33 | | |
---|
| 34 | + | func m (b) = { |
---|
| 35 | + | func n (o,p) = if (((p % 2) == 0)) |
---|
| 36 | + | then p :: o |
---|
| 37 | + | else o |
---|
| 38 | + | |
---|
| 39 | + | let q = b |
---|
| 40 | + | let r = q |
---|
| 41 | + | let s = size(r) |
---|
| 42 | + | let t = nil |
---|
| 43 | + | if ((s == 0)) |
---|
| 44 | + | then t |
---|
| 45 | + | else { |
---|
| 46 | + | let u = n(t, r[0]) |
---|
| 47 | + | if ((s == 1)) |
---|
| 48 | + | then u |
---|
| 49 | + | else { |
---|
| 50 | + | let v = n(u, r[1]) |
---|
| 51 | + | if ((s == 2)) |
---|
| 52 | + | then v |
---|
| 53 | + | else { |
---|
| 54 | + | let w = n(v, r[2]) |
---|
| 55 | + | if ((s == 3)) |
---|
| 56 | + | then w |
---|
| 57 | + | else { |
---|
| 58 | + | let x = n(w, r[3]) |
---|
| 59 | + | if ((s == 4)) |
---|
| 60 | + | then x |
---|
| 61 | + | else { |
---|
| 62 | + | let y = n(x, r[4]) |
---|
| 63 | + | if ((s == 5)) |
---|
| 64 | + | then y |
---|
| 65 | + | else { |
---|
| 66 | + | let z = n(y, r[5]) |
---|
| 67 | + | throw("List size exceed 5") |
---|
| 68 | + | } |
---|
| 69 | + | } |
---|
| 70 | + | } |
---|
| 71 | + | } |
---|
| 72 | + | } |
---|
| 73 | + | } |
---|
| 74 | + | } |
---|
| 75 | + | |
---|
| 76 | + | |
---|
34 | 77 | | @Callable(e) |
---|
35 | 78 | | func call () = { |
---|
36 | | - | let m = 1 |
---|
37 | | - | let n = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
38 | | - | let o = calculateAssetId(n) |
---|
39 | | - | let c = a([2, 3, 4]) |
---|
40 | | - | if ((c == c)) |
---|
41 | | - | then if ((m == 1)) |
---|
42 | | - | then throw(("list_1==>" + c[0])) |
---|
43 | | - | else [n] |
---|
| 79 | + | let A = 1 |
---|
| 80 | + | let B = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
| 81 | + | let C = calculateAssetId(B) |
---|
| 82 | + | let D = m([2, 3, 4]) |
---|
| 83 | + | if ((D == D)) |
---|
| 84 | + | then if ((A == 1)) |
---|
| 85 | + | then throw(("list_1==>" + toString(D[0]))) |
---|
| 86 | + | else [B] |
---|
44 | 87 | | else throw("Strict value is not equal to itself.") |
---|
45 | 88 | | } |
---|
46 | 89 | | |
---|
47 | 90 | | |
---|
48 | | - | @Verifier(p) |
---|
49 | | - | func q () = sigVerify(p.bodyBytes, p.proofs[0], p.senderPublicKey) |
---|
| 91 | + | @Verifier(E) |
---|
| 92 | + | func F () = sigVerify(E.bodyBytes, E.proofs[0], E.senderPublicKey) |
---|
50 | 93 | | |
---|
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 | | func c (d,e) = (d :+ toString(b[e])) |
---|
6 | 6 | | |
---|
7 | 7 | | let f = b |
---|
8 | 8 | | let g = size(f) |
---|
9 | 9 | | let h = nil |
---|
10 | 10 | | if ((g == 0)) |
---|
11 | 11 | | then h |
---|
12 | 12 | | else { |
---|
13 | 13 | | let i = c(h, f[0]) |
---|
14 | 14 | | if ((g == 1)) |
---|
15 | 15 | | then i |
---|
16 | 16 | | else { |
---|
17 | 17 | | let j = c(i, f[1]) |
---|
18 | 18 | | if ((g == 2)) |
---|
19 | 19 | | then j |
---|
20 | 20 | | else { |
---|
21 | 21 | | let k = c(j, f[2]) |
---|
22 | 22 | | if ((g == 3)) |
---|
23 | 23 | | then k |
---|
24 | 24 | | else { |
---|
25 | 25 | | let l = c(k, f[3]) |
---|
26 | 26 | | throw("List size exceed 3") |
---|
27 | 27 | | } |
---|
28 | 28 | | } |
---|
29 | 29 | | } |
---|
30 | 30 | | } |
---|
31 | 31 | | } |
---|
32 | 32 | | |
---|
33 | 33 | | |
---|
| 34 | + | func m (b) = { |
---|
| 35 | + | func n (o,p) = if (((p % 2) == 0)) |
---|
| 36 | + | then p :: o |
---|
| 37 | + | else o |
---|
| 38 | + | |
---|
| 39 | + | let q = b |
---|
| 40 | + | let r = q |
---|
| 41 | + | let s = size(r) |
---|
| 42 | + | let t = nil |
---|
| 43 | + | if ((s == 0)) |
---|
| 44 | + | then t |
---|
| 45 | + | else { |
---|
| 46 | + | let u = n(t, r[0]) |
---|
| 47 | + | if ((s == 1)) |
---|
| 48 | + | then u |
---|
| 49 | + | else { |
---|
| 50 | + | let v = n(u, r[1]) |
---|
| 51 | + | if ((s == 2)) |
---|
| 52 | + | then v |
---|
| 53 | + | else { |
---|
| 54 | + | let w = n(v, r[2]) |
---|
| 55 | + | if ((s == 3)) |
---|
| 56 | + | then w |
---|
| 57 | + | else { |
---|
| 58 | + | let x = n(w, r[3]) |
---|
| 59 | + | if ((s == 4)) |
---|
| 60 | + | then x |
---|
| 61 | + | else { |
---|
| 62 | + | let y = n(x, r[4]) |
---|
| 63 | + | if ((s == 5)) |
---|
| 64 | + | then y |
---|
| 65 | + | else { |
---|
| 66 | + | let z = n(y, r[5]) |
---|
| 67 | + | throw("List size exceed 5") |
---|
| 68 | + | } |
---|
| 69 | + | } |
---|
| 70 | + | } |
---|
| 71 | + | } |
---|
| 72 | + | } |
---|
| 73 | + | } |
---|
| 74 | + | } |
---|
| 75 | + | |
---|
| 76 | + | |
---|
34 | 77 | | @Callable(e) |
---|
35 | 78 | | func call () = { |
---|
36 | | - | let m = 1 |
---|
37 | | - | let n = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
38 | | - | let o = calculateAssetId(n) |
---|
39 | | - | let c = a([2, 3, 4]) |
---|
40 | | - | if ((c == c)) |
---|
41 | | - | then if ((m == 1)) |
---|
42 | | - | then throw(("list_1==>" + c[0])) |
---|
43 | | - | else [n] |
---|
| 79 | + | let A = 1 |
---|
| 80 | + | let B = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
| 81 | + | let C = calculateAssetId(B) |
---|
| 82 | + | let D = m([2, 3, 4]) |
---|
| 83 | + | if ((D == D)) |
---|
| 84 | + | then if ((A == 1)) |
---|
| 85 | + | then throw(("list_1==>" + toString(D[0]))) |
---|
| 86 | + | else [B] |
---|
44 | 87 | | else throw("Strict value is not equal to itself.") |
---|
45 | 88 | | } |
---|
46 | 89 | | |
---|
47 | 90 | | |
---|
48 | | - | @Verifier(p) |
---|
49 | | - | func q () = sigVerify(p.bodyBytes, p.proofs[0], p.senderPublicKey) |
---|
| 91 | + | @Verifier(E) |
---|
| 92 | + | func F () = sigVerify(E.bodyBytes, E.proofs[0], E.senderPublicKey) |
---|
50 | 93 | | |
---|