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(a) |
---|
7 | | - | func foo (b) = { |
---|
8 | | - | let c = ["key1", "key2", "key3"] |
---|
9 | | - | let d = ["value1", "value2", "value3"] |
---|
10 | | - | func e (f,g) = { |
---|
11 | | - | let h = f |
---|
12 | | - | let i = h._1 |
---|
13 | | - | let j = h._2 |
---|
14 | | - | $Tuple2((i :+ StringEntry(c[j], g)), (j + 1)) |
---|
| 7 | + | func foo () = { |
---|
| 8 | + | let b = ["key1", "key2", "key3"] |
---|
| 9 | + | let c = ["value1", "value2", "value3"] |
---|
| 10 | + | func d (e,f) = { |
---|
| 11 | + | let g = e |
---|
| 12 | + | let h = g._1 |
---|
| 13 | + | let i = g._2 |
---|
| 14 | + | $Tuple2((h :+ StringEntry(b[i], f)), (i + 1)) |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|
17 | | - | let k = { |
---|
18 | | - | let l = d |
---|
19 | | - | let m = size(l) |
---|
20 | | - | let n = $Tuple2(nil, 0) |
---|
21 | | - | func o (p,q) = if ((q >= m)) |
---|
22 | | - | then p |
---|
23 | | - | else e(p, l[q]) |
---|
| 17 | + | let j = { |
---|
| 18 | + | let k = c |
---|
| 19 | + | let l = size(k) |
---|
| 20 | + | let m = $Tuple2(nil, 0) |
---|
| 21 | + | func n (o,p) = if ((p >= l)) |
---|
| 22 | + | then o |
---|
| 23 | + | else d(o, k[p]) |
---|
24 | 24 | | |
---|
25 | | - | func r (p,q) = if ((q >= m)) |
---|
26 | | - | then p |
---|
| 25 | + | func q (o,p) = if ((p >= l)) |
---|
| 26 | + | then o |
---|
27 | 27 | | else throw("List size exceeds 10") |
---|
28 | 28 | | |
---|
29 | | - | r(o(o(o(o(o(o(o(o(o(o(n, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) |
---|
| 29 | + | q(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) |
---|
30 | 30 | | } |
---|
31 | | - | k._1 |
---|
| 31 | + | j._1 |
---|
32 | 32 | | } |
---|
33 | 33 | | |
---|
34 | 34 | | |
---|
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(a) |
---|
7 | | - | func foo (b) = { |
---|
8 | | - | let c = ["key1", "key2", "key3"] |
---|
9 | | - | let d = ["value1", "value2", "value3"] |
---|
10 | | - | func e (f,g) = { |
---|
11 | | - | let h = f |
---|
12 | | - | let i = h._1 |
---|
13 | | - | let j = h._2 |
---|
14 | | - | $Tuple2((i :+ StringEntry(c[j], g)), (j + 1)) |
---|
| 7 | + | func foo () = { |
---|
| 8 | + | let b = ["key1", "key2", "key3"] |
---|
| 9 | + | let c = ["value1", "value2", "value3"] |
---|
| 10 | + | func d (e,f) = { |
---|
| 11 | + | let g = e |
---|
| 12 | + | let h = g._1 |
---|
| 13 | + | let i = g._2 |
---|
| 14 | + | $Tuple2((h :+ StringEntry(b[i], f)), (i + 1)) |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|
17 | | - | let k = { |
---|
18 | | - | let l = d |
---|
19 | | - | let m = size(l) |
---|
20 | | - | let n = $Tuple2(nil, 0) |
---|
21 | | - | func o (p,q) = if ((q >= m)) |
---|
22 | | - | then p |
---|
23 | | - | else e(p, l[q]) |
---|
| 17 | + | let j = { |
---|
| 18 | + | let k = c |
---|
| 19 | + | let l = size(k) |
---|
| 20 | + | let m = $Tuple2(nil, 0) |
---|
| 21 | + | func n (o,p) = if ((p >= l)) |
---|
| 22 | + | then o |
---|
| 23 | + | else d(o, k[p]) |
---|
24 | 24 | | |
---|
25 | | - | func r (p,q) = if ((q >= m)) |
---|
26 | | - | then p |
---|
| 25 | + | func q (o,p) = if ((p >= l)) |
---|
| 26 | + | then o |
---|
27 | 27 | | else throw("List size exceeds 10") |
---|
28 | 28 | | |
---|
29 | | - | r(o(o(o(o(o(o(o(o(o(o(n, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) |
---|
| 29 | + | q(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) |
---|
30 | 30 | | } |
---|
31 | | - | k._1 |
---|
| 31 | + | j._1 |
---|
32 | 32 | | } |
---|
33 | 33 | | |
---|
34 | 34 | | |
---|