tx · DsuSuSxqWftmzUC5NozXCyhjSmN4cJJe3YiqMjTgSZvr

3MpDfDT359qSSmNFZnMeoPQpyJA2U1K51u5:  -0.00100000 Waves

2022.06.20 02:51 [2103931] smart account 3MpDfDT359qSSmNFZnMeoPQpyJA2U1K51u5 > SELF 0.00000000 Waves

{ "type": 13, "id": "DsuSuSxqWftmzUC5NozXCyhjSmN4cJJe3YiqMjTgSZvr", "fee": 100000, "feeAssetId": null, "timestamp": 1655682742050, "version": 2, "chainId": 84, "sender": "3MpDfDT359qSSmNFZnMeoPQpyJA2U1K51u5", "senderPublicKey": "4HvXfbbYdzoa25fmF92mrAKoyF4WnjbjTz9YtT1mhSoz", "proofs": [ "44qMDQi66C45GJ7PWwVGGw757ZXY1ozezjTfwZyWKi4xhqJK4Zp3gt2e7ikCrmvswB7N6uqK8tNqyrGUXnUu1RB7" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAABYQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAIJAARMAAAAAgAAAAAAAAAAAwkABEwAAAACAAAAAAAAAAAECQAETAAAAAIAAAAAAAAAAAUFAAAAA25pbAEAAAADYWRkAAAAAgAAAAF4AAAAAXkJAABkAAAAAgUAAAABeAUAAAABeQAAAAAEdGVzdAoAAAAAAiRsBQAAAAFhCgAAAAACJHMJAAGQAAAAAQUAAAACJGwKAAAAAAUkYWNjMAAAAAAAAAAAAwoBAAAABSRmMF8xAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkBAAAAA2FkZAAAAAIFAAAAAiRhCQABkQAAAAIFAAAAAiRsBQAAAAIkaQoBAAAABSRmMF8yAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkAAAIAAAABAgAAABNMaXN0IHNpemUgZXhjZWVkcyA1CQEAAAAFJGYwXzIAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACBQAAAAUkYWNjMAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAgAAAAAAAAAAAwAAAAAAAAAABAAAAAAAAAAABQAAAAEAAAABaQEAAAADc2FtAAAAAAQAAAAGZW50cmV5CQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAGcmVzdWx0BQAAAAR0ZXN0CQAETAAAAAIFAAAABmVudHJleQUAAAADbmlsAAAAAJjJjMY=", "height": 2103931, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8toDnibUaJnm2cx7in1wvvk951T8yiFvE1FmSUSVVdA6 Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = [1, 2, 3, 4, 5]
55
66 func add (x,y) = (x + y)
77
88
99 let test = {
1010 let $l = a
1111 let $s = size($l)
1212 let $acc0 = 3
1313 func $f0_1 ($a,$i) = if (($i >= $s))
1414 then $a
1515 else add($a, $l[$i])
1616
1717 func $f0_2 ($a,$i) = if (($i >= $s))
1818 then $a
1919 else throw("List size exceeds 5")
2020
2121 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
2222 }
2323
2424 @Callable(i)
2525 func sam () = {
2626 let entrey = IntegerEntry("result", test)
2727 [entrey]
2828 }
2929
3030

github/deemru/w8io/169f3d6 
25.82 ms