tx · 4Fo4rn1wqbPutp3aVFaNEW8VnEQvDCKXn8fk2VAFxWCV

3MsBZvw213vou7EgQwgsA24WvZpAjHS794C:  -0.01000000 Waves

2023.03.22 21:48 [2501603] smart account 3MsBZvw213vou7EgQwgsA24WvZpAjHS794C > SELF 0.00000000 Waves

{ "type": 13, "id": "4Fo4rn1wqbPutp3aVFaNEW8VnEQvDCKXn8fk2VAFxWCV", "fee": 1000000, "feeAssetId": null, "timestamp": 1679510985512, "version": 2, "chainId": 84, "sender": "3MsBZvw213vou7EgQwgsA24WvZpAjHS794C", "senderPublicKey": "2xw3ntERyy5rPfgLCmzEbdAEfXjcdW75Uce2Qig8oB6X", "proofs": [ "4hqph6AWKGnUSqAZPdALmzpCMSUFSR6wi8F4VTcmZGWTEHg6Rs7gJ3ahdhghQxfnh4ppK7CmFm9EefmhoMVAg33g" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAMBAAAAA3N1bQAAAAIAAAABYQAAAAFiCQAAZAAAAAIFAAAAAWEFAAAAAWIAAAAAA2FycgkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAIJAARMAAAAAgAAAAAAAAAAAwkABEwAAAACAAAAAAAAAAAECQAETAAAAAIAAAAAAAAAAAUFAAAAA25pbAAAAAABcwoAAAAAAiRsBQAAAANhcnIKAAAAAAIkcwkAAZAAAAABBQAAAAIkbAoAAAAABSRhY2MwAAAAAAAAAAAACgEAAAAFJGYwXzEAAAACAAAAAiRhAAAAAiRpAwkAAGcAAAACBQAAAAIkaQUAAAACJHMFAAAAAiRhCQEAAAADc3VtAAAAAgUAAAACJGEJAAGRAAAAAgUAAAACJGwFAAAAAiRpCgEAAAAFJGYwXzIAAAACAAAAAiRhAAAAAiRpAwkAAGcAAAACBQAAAAIkaQUAAAACJHMFAAAAAiRhCQAAAgAAAAECAAAAE0xpc3Qgc2l6ZSBleGNlZWRzIDUJAQAAAAUkZjBfMgAAAAIJAQAAAAUkZjBfMQAAAAIJAQAAAAUkZjBfMQAAAAIJAQAAAAUkZjBfMQAAAAIJAQAAAAUkZjBfMQAAAAIJAQAAAAUkZjBfMQAAAAIFAAAABSRhY2MwAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAACAAAAAAAAAAADAAAAAAAAAAAEAAAAAAAAAAAFAAAAAAAAAAAkMUOI", "height": 2501603, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: F877H1uBo1E47rNiJxhjg8wao3d6n4VgLf58vX7DTz4H Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+func sum (a,b) = (a + b)
5+
6+
7+let arr = [1, 2, 3, 4, 5]
8+
9+let s = {
10+ let $l = arr
11+ let $s = size($l)
12+ let $acc0 = 0
13+ func $f0_1 ($a,$i) = if (($i >= $s))
14+ then $a
15+ else sum($a, $l[$i])
16+
17+ func $f0_2 ($a,$i) = if (($i >= $s))
18+ then $a
19+ else throw("List size exceeds 5")
20+
21+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
22+ }
23+
24+

github/deemru/w8io/169f3d6 
11.93 ms