tx · 9D4uCqwWXvGkTpJ5xosdryESZe7VKdiurxsC1BpdwV57

3Myg9C6tNDTG6uXmwvkhAU3uLkA6WzNrTx8:  -0.01000000 Waves

2023.10.21 12:09 [2808153] smart account 3Myg9C6tNDTG6uXmwvkhAU3uLkA6WzNrTx8 > SELF 0.00000000 Waves

{ "type": 13, "id": "9D4uCqwWXvGkTpJ5xosdryESZe7VKdiurxsC1BpdwV57", "fee": 1000000, "feeAssetId": null, "timestamp": 1697879395215, "version": 2, "chainId": 84, "sender": "3Myg9C6tNDTG6uXmwvkhAU3uLkA6WzNrTx8", "senderPublicKey": "8EXR9gFY3exPzo6wV3v2oa96CYznA1QszMLFXiwWuptJ", "proofs": [ "5zHAm7dNb1XsHBokGwEddroEa7rSp1wUWSByGz4EFqqBU6wtHEwZUBerXNzK5MoBX1YVHRUPA3n6prHe7Xnb2Ry9" ], "script": "base64:BgIECAISAAIAAWEJAMwIAgABCQDMCAIAAgkAzAgCAAMJAMwIAgAECQDMCAIABQUDbmlsAQhmb2xkRnVuYwIDYWNjAWUJAMwIAgkAZAIFAWUAAQUDYWNjAQFpAQF4AAQBYgoAAiRsBQFhCgACJHMJAJADAQUCJGwKAAUkYWNjMAUDbmlsCgEFJGYwXzECAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAQhmb2xkRnVuYwIFAiRhCQCRAwIFAiRsBQIkaQoBBSRmMF8yAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQACAQITTGlzdCBzaXplIGV4Y2VlZHMgNQkBBSRmMF8yAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgUFJGFjYzAAAAABAAIAAwAEAAUFA25pbAANK3o8", "height": 2808153, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6ueyqcuKjcf7aUtoKWcthwB3wX84EuhH8exdTdiLGW6X Next: AzXmMMBZEyL7qwFa4j5o5z8V3xQ1KTqgE23JaZtcSpE Diff:
OldNewDifferences
66 func foldFunc (acc,e) = (e + 1) :: acc
77
88
9+@Callable(i)
910 func x () = {
10- let $l = a
11- let $s = size($l)
12- let $acc0 = nil
13- func $f0_1 ($a,$i) = if (($i >= $s))
14- then $a
15- else foldFunc($a, $l[$i])
11+ let b = {
12+ let $l = a
13+ let $s = size($l)
14+ let $acc0 = nil
15+ func $f0_1 ($a,$i) = if (($i >= $s))
16+ then $a
17+ else foldFunc($a, $l[$i])
1618
17- func $f0_2 ($a,$i) = if (($i >= $s))
18- then $a
19- else throw("List size exceeds 5")
19+ func $f0_2 ($a,$i) = if (($i >= $s))
20+ then $a
21+ else throw("List size exceeds 5")
2022
21- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
23+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
24+ }
25+ nil
2226 }
23-
2427
2528
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = [1, 2, 3, 4, 5]
55
66 func foldFunc (acc,e) = (e + 1) :: acc
77
88
9+@Callable(i)
910 func x () = {
10- let $l = a
11- let $s = size($l)
12- let $acc0 = nil
13- func $f0_1 ($a,$i) = if (($i >= $s))
14- then $a
15- else foldFunc($a, $l[$i])
11+ let b = {
12+ let $l = a
13+ let $s = size($l)
14+ let $acc0 = nil
15+ func $f0_1 ($a,$i) = if (($i >= $s))
16+ then $a
17+ else foldFunc($a, $l[$i])
1618
17- func $f0_2 ($a,$i) = if (($i >= $s))
18- then $a
19- else throw("List size exceeds 5")
19+ func $f0_2 ($a,$i) = if (($i >= $s))
20+ then $a
21+ else throw("List size exceeds 5")
2022
21- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
23+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
24+ }
25+ nil
2226 }
23-
2427
2528

github/deemru/w8io/026f985 
22.84 ms