tx · Cb2vQfkMXRXT94NwyutEz2CV8XFvrLUohMHXRKgRH3HM 3MveEKKrkMcgMGE8YVS3JHoTho3RbMLq1dS: -0.01000000 Waves 2021.06.11 19:18 [1565928] smart account 3MveEKKrkMcgMGE8YVS3JHoTho3RbMLq1dS > SELF 0.00000000 Waves
{ "type": 13, "id": "Cb2vQfkMXRXT94NwyutEz2CV8XFvrLUohMHXRKgRH3HM", "fee": 1000000, "feeAssetId": null, "timestamp": 1623428348706, "version": 2, "chainId": 84, "sender": "3MveEKKrkMcgMGE8YVS3JHoTho3RbMLq1dS", "senderPublicKey": "3DiWMYwsvRJY63pipXV8tGGX6P4gMyWqyxZTKPVMzoiw", "proofs": [ "Pp4Ehez3wPNrLKr9eYY7a1MbazCpp1oZXeDYVLQiQkwofmXuaKwvya4Nz5ajELGLRBx1KyjVsMcax5ATboHKJ3T" ], "script": "base64:BQoBAAAAA3N1bQAAAAIAAAAFYWNjdW0AAAAEbmV4dAkAAGQAAAACBQAAAAVhY2N1bQUAAAAEbmV4dAQAAAADYXJyCQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAgkABEwAAAACAAAAAAAAAAADCQAETAAAAAIAAAAAAAAAAAQJAARMAAAAAgAAAAAAAAAABQUAAAADbmlsBAAAAAFzBAAAAAskbGlzdDE2MzE4MwUAAAADYXJyBAAAAAskc2l6ZTE2MzE4MwkAAZAAAAABBQAAAAskbGlzdDE2MzE4MwQAAAALJGFjYzAxNjMxODMAAAAAAAAAAAADCQAAAAAAAAIFAAAACyRzaXplMTYzMTgzAAAAAAAAAAAABQAAAAskYWNjMDE2MzE4MwQAAAALJGFjYzExNjMxODMJAQAAAANzdW0AAAACBQAAAAskYWNjMDE2MzE4MwkAAZEAAAACBQAAAAskbGlzdDE2MzE4MwAAAAAAAAAAAAMJAAAAAAAAAgUAAAALJHNpemUxNjMxODMAAAAAAAAAAAEFAAAACyRhY2MxMTYzMTgzBAAAAAskYWNjMjE2MzE4MwkBAAAAA3N1bQAAAAIFAAAACyRhY2MxMTYzMTgzCQABkQAAAAIFAAAACyRsaXN0MTYzMTgzAAAAAAAAAAABAwkAAAAAAAACBQAAAAskc2l6ZTE2MzE4MwAAAAAAAAAAAgUAAAALJGFjYzIxNjMxODMEAAAACyRhY2MzMTYzMTgzCQEAAAADc3VtAAAAAgUAAAALJGFjYzIxNjMxODMJAAGRAAAAAgUAAAALJGxpc3QxNjMxODMAAAAAAAAAAAIDCQAAAAAAAAIFAAAACyRzaXplMTYzMTgzAAAAAAAAAAADBQAAAAskYWNjMzE2MzE4MwQAAAALJGFjYzQxNjMxODMJAQAAAANzdW0AAAACBQAAAAskYWNjMzE2MzE4MwkAAZEAAAACBQAAAAskbGlzdDE2MzE4MwAAAAAAAAAAAwMJAAAAAAAAAgUAAAALJHNpemUxNjMxODMAAAAAAAAAAAQFAAAACyRhY2M0MTYzMTgzBAAAAAskYWNjNTE2MzE4MwkBAAAAA3N1bQAAAAIFAAAACyRhY2M0MTYzMTgzCQABkQAAAAIFAAAACyRsaXN0MTYzMTgzAAAAAAAAAAAEAwkAAAAAAAACBQAAAAskc2l6ZTE2MzE4MwAAAAAAAAAABQUAAAALJGFjYzUxNjMxODMEAAAACyRhY2M2MTYzMTgzCQEAAAADc3VtAAAAAgUAAAALJGFjYzUxNjMxODMJAAGRAAAAAgUAAAALJGxpc3QxNjMxODMAAAAAAAAAAAUJAAACAAAAAQIAAAASTGlzdCBzaXplIGV4Y2VlZCA1AwkAAGYAAAACBQAAAAFzAAAAAAAAAAAKCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQcyue3s", "height": 1565928, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | + | func sum (accum,next) = (accum + next) | |
4 | + | ||
5 | + | let arr = [1, 2, 3, 4, 5] | |
6 | + | let s = { | |
7 | + | let $list163183 = arr | |
8 | + | let $size163183 = size($list163183) | |
9 | + | let $acc0163183 = 0 | |
10 | + | if (($size163183 == 0)) | |
11 | + | then $acc0163183 | |
12 | + | else { | |
13 | + | let $acc1163183 = sum($acc0163183, $list163183[0]) | |
14 | + | if (($size163183 == 1)) | |
15 | + | then $acc1163183 | |
16 | + | else { | |
17 | + | let $acc2163183 = sum($acc1163183, $list163183[1]) | |
18 | + | if (($size163183 == 2)) | |
19 | + | then $acc2163183 | |
20 | + | else { | |
21 | + | let $acc3163183 = sum($acc2163183, $list163183[2]) | |
22 | + | if (($size163183 == 3)) | |
23 | + | then $acc3163183 | |
24 | + | else { | |
25 | + | let $acc4163183 = sum($acc3163183, $list163183[3]) | |
26 | + | if (($size163183 == 4)) | |
27 | + | then $acc4163183 | |
28 | + | else { | |
29 | + | let $acc5163183 = sum($acc4163183, $list163183[4]) | |
30 | + | if (($size163183 == 5)) | |
31 | + | then $acc5163183 | |
32 | + | else { | |
33 | + | let $acc6163183 = sum($acc5163183, $list163183[5]) | |
34 | + | throw("List size exceed 5") | |
35 | + | } | |
36 | + | } | |
37 | + | } | |
38 | + | } | |
39 | + | } | |
40 | + | } | |
41 | + | } | |
42 | + | if ((s > 10)) | |
43 | + | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
44 | + | else false |
github/deemru/w8io/169f3d6 17.19 ms ◑