tx · Ba5Q5YQKWYGxKr359parmbYphEGFLaBsoHbB5F7GmUCy 3N7cP8YCeBzv7e7Z1Gm8J7r371K5vZUrtk7: -0.05000000 Waves 2022.04.22 11:26 [2019470] smart account 3N7cP8YCeBzv7e7Z1Gm8J7r371K5vZUrtk7 > SELF 0.00000000 Waves
{ "type": 13, "id": "Ba5Q5YQKWYGxKr359parmbYphEGFLaBsoHbB5F7GmUCy", "fee": 5000000, "feeAssetId": null, "timestamp": 1650615986633, "version": 2, "chainId": 84, "sender": "3N7cP8YCeBzv7e7Z1Gm8J7r371K5vZUrtk7", "senderPublicKey": "2nPT1a7eSYaAtLcmXZXFzeztzzRFpmy1YRiqNo4Uh6Sg", "proofs": [ "TE4NxJ1rWJLriL7XaRhAL2fWueSBcoEKMqPaVgwDimcFstnLBbeQpMfopcbYyfzAaQbQ3M9USoHtAfWKu1awhnv" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAwAAAAANZ2xvYmFsQWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABAQAAABoBVO90mqVIkubZXYy+8dsFZPkYHK0H0fmbKgEAAAAPcHJlcGFyZVBheW1lbnRzAAAAAQAAAAhwYXltZW50cwoBAAAADHBheW1lbnRzRm9sZAAAAAIAAAADYWNjAAAAB3BheW1lbnQEAAAACSR0MDMwMTM0NAUAAAADYWNjBAAAAA5wYXltZW50QW1vdW50cwgFAAAACSR0MDMwMTM0NAAAAAJfMQQAAAAPcGF5bWVudEFzc2V0SWRzCAUAAAAJJHQwMzAxMzQ0AAAAAl8yCQAFFAAAAAIJAARNAAAAAgUAAAAOcGF5bWVudEFtb3VudHMIBQAAAAdwYXltZW50AAAABmFtb3VudAkABE0AAAACBQAAAA9wYXltZW50QXNzZXRJZHMIBQAAAAdwYXltZW50AAAAB2Fzc2V0SWQKAAAAAAIkbAUAAAAIcGF5bWVudHMKAAAAAAIkcwkAAZAAAAABBQAAAAIkbAoAAAAABSRhY2MwCQAFFAAAAAIFAAAAA25pb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W1lbnRBc3NldElkcwgFAAAACiR0MDk1MTEwMTgAAAACXzIEAAAAAXIKAAAAAAFACQAD/AAAAAQFAAAADWdsb2JhbEFkZHJlc3MFAAAABWZuYW1lCQAETAAAAAIICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMJAARMAAAAAgUAAAAOcGF5bWVudEFtb3VudHMJAARMAAAAAgUAAAAPcGF5bWVudEFzc2V0SWRzBQAAAANuaWwFAAAAA25pbAMJAAABAAAAAgUAAAABQAIAAAAJTGlzdFtBbnldBQAAAAFACQAAAgAAAAECAAAAHkNvdWxkbid0IGNhc3QgQW55IHRvIExpc3RbQW55XQMJAAAAAAAAAgUAAAABcgUAAAABcgkBAAAAEXBhcnNlU3RhdGVDaGFuZ2VzAAAAAQUAAAABcgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZQ2J1I=", "height": 2019470, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4LBoDsipRWm1NqkbQz2eN8HWe16aDhYumyNRZoaGHTAw Next: E51beKMKJg6Wqhz7d2MpvHZmePW5epPNJJdhyujREhVS Diff:
Old | New | Differences | |
---|---|---|---|
72 | 72 | let h = z._1 | |
73 | 73 | let i = z._2 | |
74 | 74 | let A = { | |
75 | - | let B = invoke(a, y, [x.caller, h, i], nil) | |
75 | + | let B = invoke(a, y, [x.caller.bytes, h, i], nil) | |
76 | 76 | if ($isInstanceOf(B, "List[Any]")) | |
77 | 77 | then B | |
78 | 78 | else throw("Couldn't cast Any to List[Any]") |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = Address(base58'3NBkCxZYHAsgWzHcictPG3CyPdEqPRDRyQM') | |
5 | 5 | ||
6 | 6 | func b (c) = { | |
7 | 7 | func d (e,f) = { | |
8 | 8 | let g = e | |
9 | 9 | let h = g._1 | |
10 | 10 | let i = g._2 | |
11 | 11 | $Tuple2((h :+ f.amount), (i :+ f.assetId)) | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | let j = c | |
15 | 15 | let k = size(j) | |
16 | 16 | let l = $Tuple2(nil, nil) | |
17 | 17 | func m (n,o) = if ((o >= k)) | |
18 | 18 | then n | |
19 | 19 | else d(n, j[o]) | |
20 | 20 | ||
21 | 21 | func p (n,o) = if ((o >= k)) | |
22 | 22 | then n | |
23 | 23 | else throw("List size exceeds 10") | |
24 | 24 | ||
25 | 25 | p(m(m(m(m(m(m(m(m(m(m(l, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
26 | 26 | } | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | func q (r) = { | |
30 | 30 | func s (t,u) = { | |
31 | 31 | let v = u | |
32 | 32 | if (if ($isInstanceOf(v, "Issue")) | |
33 | 33 | then true | |
34 | 34 | else if ($isInstanceOf(v, "Burn")) | |
35 | 35 | then true | |
36 | 36 | else if ($isInstanceOf(v, "Reissue")) | |
37 | 37 | then true | |
38 | 38 | else if ($isInstanceOf(v, "ScriptTransfer")) | |
39 | 39 | then true | |
40 | 40 | else if ($isInstanceOf(v, "BinaryEntry")) | |
41 | 41 | then true | |
42 | 42 | else if ($isInstanceOf(v, "BooleanEntry")) | |
43 | 43 | then true | |
44 | 44 | else if ($isInstanceOf(v, "StringEntry")) | |
45 | 45 | then true | |
46 | 46 | else $isInstanceOf(v, "IntegerEntry")) | |
47 | 47 | then { | |
48 | 48 | let w = v | |
49 | 49 | (t :+ w) | |
50 | 50 | } | |
51 | 51 | else t | |
52 | 52 | } | |
53 | 53 | ||
54 | 54 | let j = r | |
55 | 55 | let k = size(j) | |
56 | 56 | let l = nil | |
57 | 57 | func m (n,o) = if ((o >= k)) | |
58 | 58 | then n | |
59 | 59 | else s(n, j[o]) | |
60 | 60 | ||
61 | 61 | func p (n,o) = if ((o >= k)) | |
62 | 62 | then n | |
63 | 63 | else throw("List size exceeds 10") | |
64 | 64 | ||
65 | 65 | p(m(m(m(m(m(m(m(m(m(m(l, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
66 | 66 | } | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | @Callable(x) | |
70 | 70 | func call (y) = { | |
71 | 71 | let z = b(x.payments) | |
72 | 72 | let h = z._1 | |
73 | 73 | let i = z._2 | |
74 | 74 | let A = { | |
75 | - | let B = invoke(a, y, [x.caller, h, i], nil) | |
75 | + | let B = invoke(a, y, [x.caller.bytes, h, i], nil) | |
76 | 76 | if ($isInstanceOf(B, "List[Any]")) | |
77 | 77 | then B | |
78 | 78 | else throw("Couldn't cast Any to List[Any]") | |
79 | 79 | } | |
80 | 80 | if ((A == A)) | |
81 | 81 | then q(A) | |
82 | 82 | else throw("Strict value is not equal to itself.") | |
83 | 83 | } | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | @Verifier(C) | |
87 | 87 | func D () = sigVerify(C.bodyBytes, C.proofs[0], C.senderPublicKey) | |
88 | 88 |
github/deemru/w8io/169f3d6 24.45 ms ◑