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