tx · 6XiHx8ncfMxUg2yuRg2qhLwemFmnEkrJGCAVb4bRxTpn
3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB: -0.01400000 Waves
2021.06.03 06:21 [1553639] smart account 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB > SELF 0.00000000 Waves
{
"type": 13,
"id": "6XiHx8ncfMxUg2yuRg2qhLwemFmnEkrJGCAVb4bRxTpn",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1622690489451,
"version": 2,
"chainId": 84,
"sender": "3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB",
"senderPublicKey": "CQ7vntBAYh2QZcKcqiiyEnQWWXsr98ysDptD23Wgxmvb",
"proofs": [
"21Jpobn1rdAhY1d57g11x32AKU1wSUosnJVW2jN89Y9QaWKFoEJGjacrkqVnDjb9Nok7bwdRsADe4XZRF2sUPsZU"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAAQbGlzdFRvU3RyaW5nRnVuYwAAAAEAAAALSW50ZWdlckxpc3QKAQAAAAxsaXN0VG9TdHJpbmcAAAACAAAAB2ludExpc3QAAAABYQkABE0AAAACBQAAAAdpbnRMaXN0BQAAAAFhBAAAAAskbGlzdDIyMjI2MAUAAAALSW50ZWdlckxpc3QEAAAACyRzaXplMjIyMjYwCQABkAAAAAEFAAAACyRsaXN0MjIyMjYwBAAAAAskYWNjMDIyMjI2MAUAAAADbmlsAwkAAAAAAAACBQAAAAskc2l6ZTIyMjI2MAAAAAAAAAAAAAUAAAALJGFjYzAyMjIyNjAEAAAACyRhY2MxMjIyMjYwCQEAAAAMbGlzdFRvU3RyaW5nAAAAAgUAAAALJGFjYzAyMjIyNjAJAAGRAAAAAgUAAAALJGxpc3QyMjIyNjAAAAAAAAAAAAADCQAAAAAAAAIFAAAACyRzaXplMjIyMjYwAAAAAAAAAAABBQAAAAskYWNjMTIyMjI2MAQAAAALJGFjYzIyMjIyNjAJAQAAAAxsaXN0VG9TdHJpb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AAQIAAAALL2xpc3RbMl09PT4JAAGkAAAAAQkAAZEAAAACBQAAAARsaXN0AAAAAAAAAAACAgAAAAsvbGlzdFsyXT09PgkAAaQAAAABCQABkQAAAAIFAAAABGxpc3QAAAAAAAAAAAMJAARMAAAAAgUAAAAFYXNzZXQFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlecKeu+c=",
"height": 1553639,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: CrLjU74VvcW8L5Nfn98tJjAp7DgP6YQJBTu7QvQZGVjV
Next: ESPXiFzV2cNiv3BctT2wH1PEiqcnbSXSfkzDinhjatRi
Diff:
Old | New | | Differences |
---|
31 | 31 | | } |
---|
32 | 32 | | |
---|
33 | 33 | | |
---|
34 | | - | @Callable(e) |
---|
| 34 | + | @Callable(m) |
---|
35 | 35 | | func call () = { |
---|
36 | | - | let m = 1 |
---|
37 | | - | let n = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
38 | | - | let o = calculateAssetId(n) |
---|
39 | | - | let p = a([2, 3, 4]) |
---|
40 | | - | if ((p == p)) |
---|
41 | | - | then if ((m == 1)) |
---|
42 | | - | then throw(((((("/list[0]==>" + toString(p[0])) + "/list[1]==>") + toString(p[1])) + "/list[2]==>") + toString(p[2]))) |
---|
43 | | - | else [n] |
---|
| 36 | + | let n = 1 |
---|
| 37 | + | let o = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
| 38 | + | let p = calculateAssetId(o) |
---|
| 39 | + | let q = a([2, 3, 4]) |
---|
| 40 | + | if ((q == q)) |
---|
| 41 | + | then if ((n == 1)) |
---|
| 42 | + | then throw(((((((("/list[0]==>" + toString(q[0])) + "/list[1]==>") + toString(q[1])) + "/list[2]==>") + toString(q[2])) + "/list[2]==>") + toString(q[3]))) |
---|
| 43 | + | else [o] |
---|
44 | 44 | | else throw("Strict value is not equal to itself.") |
---|
45 | 45 | | } |
---|
46 | 46 | | |
---|
47 | 47 | | |
---|
48 | | - | @Verifier(q) |
---|
49 | | - | func r () = sigVerify(q.bodyBytes, q.proofs[0], q.senderPublicKey) |
---|
| 48 | + | @Verifier(r) |
---|
| 49 | + | func s () = sigVerify(r.bodyBytes, r.proofs[0], r.senderPublicKey) |
---|
50 | 50 | | |
---|
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 :+ 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 | | - | @Callable(e) |
---|
| 34 | + | @Callable(m) |
---|
35 | 35 | | func call () = { |
---|
36 | | - | let m = 1 |
---|
37 | | - | let n = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
38 | | - | let o = calculateAssetId(n) |
---|
39 | | - | let p = a([2, 3, 4]) |
---|
40 | | - | if ((p == p)) |
---|
41 | | - | then if ((m == 1)) |
---|
42 | | - | then throw(((((("/list[0]==>" + toString(p[0])) + "/list[1]==>") + toString(p[1])) + "/list[2]==>") + toString(p[2]))) |
---|
43 | | - | else [n] |
---|
| 36 | + | let n = 1 |
---|
| 37 | + | let o = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
| 38 | + | let p = calculateAssetId(o) |
---|
| 39 | + | let q = a([2, 3, 4]) |
---|
| 40 | + | if ((q == q)) |
---|
| 41 | + | then if ((n == 1)) |
---|
| 42 | + | then throw(((((((("/list[0]==>" + toString(q[0])) + "/list[1]==>") + toString(q[1])) + "/list[2]==>") + toString(q[2])) + "/list[2]==>") + toString(q[3]))) |
---|
| 43 | + | else [o] |
---|
44 | 44 | | else throw("Strict value is not equal to itself.") |
---|
45 | 45 | | } |
---|
46 | 46 | | |
---|
47 | 47 | | |
---|
48 | | - | @Verifier(q) |
---|
49 | | - | func r () = sigVerify(q.bodyBytes, q.proofs[0], q.senderPublicKey) |
---|
| 48 | + | @Verifier(r) |
---|
| 49 | + | func s () = sigVerify(r.bodyBytes, r.proofs[0], r.senderPublicKey) |
---|
50 | 50 | | |
---|