tx · HVfMTunQnA58WvYZ8ofZxaFhH8ukt1HYyDDbgHU8zRdP
3Myg9C6tNDTG6uXmwvkhAU3uLkA6WzNrTx8: -0.01000000 Waves
2023.10.21 10:15 [2808040] smart account 3Myg9C6tNDTG6uXmwvkhAU3uLkA6WzNrTx8 > SELF 0.00000000 Waves
{
"type": 13,
"id": "HVfMTunQnA58WvYZ8ofZxaFhH8ukt1HYyDDbgHU8zRdP",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1697872559828,
"version": 2,
"chainId": 84,
"sender": "3Myg9C6tNDTG6uXmwvkhAU3uLkA6WzNrTx8",
"senderPublicKey": "8EXR9gFY3exPzo6wV3v2oa96CYznA1QszMLFXiwWuptJ",
"proofs": [
"4N98R8ZTpfxnfoyTi3WRg3UG9KBsqUj9W78v86SP5jWjJoeYuacyLtR5em8LVohLdSvQ2wJVu5hbNaw1zw4Qx9Xw"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAADZm9vAAAAAAQAAAAEa2V5cwkABEwAAAACAgAAAARrZXkxCQAETAAAAAICAAAABGtleTIJAARMAAAAAgIAAAAEa2V5MwUAAAADbmlsBAAAAAZ2YWx1ZXMJAARMAAAAAgIAAAAGdmFsdWUxCQAETAAAAAICAAAABnZhbHVlMgkABEwAAAACAgAAAAZ2YWx1ZTMFAAAAA25pbAoBAAAADmFkZFN0cmluZ0VudHJ5AAAAAgAAAAVhY2N1bQAAAAluZXh0VmFsdWUEAAAACSR0MDI3NTI5OAUAAAAFYWNjdW0EAAAABnJlc3VsdAgFAAAACSR0MDI3NTI5OAAAAAJfMQQAAAABaggFAAAACSR0MDI3NTI5OAAAAAJfMgkABRQAAAACCQAETQAAAAIFAAAABnJlc3VsdAkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAAZEAAAACBQAAAARrZXlzBQAAAAFqBQAAAAluZXh0VmFsdWUJAABkAAAAAgUAAAABagAAAAAAAAAAAQQAAAABcgoAAAAAAiRsBQAAAAZ2YWx1ZXMKAAAAAAIkcwkAAZAAAAABBQAAAAIkbAoAAAAABSRhY2MwCQAFFAAAAAIFAAAAA25pbAAAAAAAAAAAAAoBAAAABSRmMF8xAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkBAAAADmFkZFN0cmluZ0VudHJ5AAAAAgUAAAACJGEJAAGRAAAAAgUAAAACJGwFAAAAAiRpCgEAAAAFJGYwXzIAAAACAAAAAiRhAAAAAiRpAwkAAGcAAAACBQAAAAIkaQUAAAACJHMFAAAAAiRhCQAAAgAAAAECAAAAFExpc3Qgc2l6ZSBleGNlZWRzIDEwCQEAAAAFJGYwXzIAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACBQAAAAUkYWNjMAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAgAAAAAAAAAAAwAAAAAAAAAABAAAAAAAAAAABQAAAAAAAAAABgAAAAAAAAAABwAAAAAAAAAACAAAAAAAAAAACQAAAAAAAAAACggFAAAAAXIAAAACXzEAAAAAvjbYNg==",
"height": 2808040,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3yN1yEeZu5hYdPLbGUj6pcyk2dwECEQpfSenY5mmifk6
Next: 3kFxVNHwZdTR2dUiucn8e3snVLAa9dFoFcLfxSBbrqDd
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func foo (arg) = { |
---|
| 7 | + | func foo () = { |
---|
8 | 8 | | let keys = ["key1", "key2", "key3"] |
---|
9 | 9 | | let values = ["value1", "value2", "value3"] |
---|
10 | 10 | | func addStringEntry (accum,nextValue) = { |
---|
11 | | - | let $t0292315 = accum |
---|
12 | | - | let result = $t0292315._1 |
---|
13 | | - | let j = $t0292315._2 |
---|
| 11 | + | let $t0275298 = accum |
---|
| 12 | + | let result = $t0275298._1 |
---|
| 13 | + | let j = $t0275298._2 |
---|
14 | 14 | | $Tuple2((result :+ StringEntry(keys[j], nextValue)), (j + 1)) |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func foo (arg) = { |
---|
| 7 | + | func foo () = { |
---|
8 | 8 | | let keys = ["key1", "key2", "key3"] |
---|
9 | 9 | | let values = ["value1", "value2", "value3"] |
---|
10 | 10 | | func addStringEntry (accum,nextValue) = { |
---|
11 | | - | let $t0292315 = accum |
---|
12 | | - | let result = $t0292315._1 |
---|
13 | | - | let j = $t0292315._2 |
---|
| 11 | + | let $t0275298 = accum |
---|
| 12 | + | let result = $t0275298._1 |
---|
| 13 | + | let j = $t0275298._2 |
---|
14 | 14 | | $Tuple2((result :+ StringEntry(keys[j], nextValue)), (j + 1)) |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|
17 | 17 | | let r = { |
---|
18 | 18 | | let $l = values |
---|
19 | 19 | | let $s = size($l) |
---|
20 | 20 | | let $acc0 = $Tuple2(nil, 0) |
---|
21 | 21 | | func $f0_1 ($a,$i) = if (($i >= $s)) |
---|
22 | 22 | | then $a |
---|
23 | 23 | | else addStringEntry($a, $l[$i]) |
---|
24 | 24 | | |
---|
25 | 25 | | func $f0_2 ($a,$i) = if (($i >= $s)) |
---|
26 | 26 | | then $a |
---|
27 | 27 | | else throw("List size exceeds 10") |
---|
28 | 28 | | |
---|
29 | 29 | | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) |
---|
30 | 30 | | } |
---|
31 | 31 | | r._1 |
---|
32 | 32 | | } |
---|
33 | 33 | | |
---|
34 | 34 | | |
---|