tx · Ca3ADMFCYDzAmewnNT5uTReJAsrFXqjqWtUzGXKP1R2g
3Myg9C6tNDTG6uXmwvkhAU3uLkA6WzNrTx8: -0.01000000 Waves
2023.10.21 13:31 [2808235] smart account 3Myg9C6tNDTG6uXmwvkhAU3uLkA6WzNrTx8 > SELF 0.00000000 Waves
{
"type": 13,
"id": "Ca3ADMFCYDzAmewnNT5uTReJAsrFXqjqWtUzGXKP1R2g",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1697884280615,
"version": 2,
"chainId": 84,
"sender": "3Myg9C6tNDTG6uXmwvkhAU3uLkA6WzNrTx8",
"senderPublicKey": "8EXR9gFY3exPzo6wV3v2oa96CYznA1QszMLFXiwWuptJ",
"proofs": [
"3EtMJTiYo6V9kzy3scn4crMBWmXqkiA1g6mVkbXeGbe38yHucz9hZDchBPRUqkzQQ4kWFykhJDv9qPuxgSkQKRtx"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEYAAAAAQEAAAAOYWRkU3RyaW5nRW50cnkAAAACAAAABWFjY3VtAAAACW5leHRWYWx1ZQkABE0AAAACBQAAAAVhY2N1bQkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAHV2lubmVycwkAASwAAAACBQAAAAluZXh0VmFsdWUCAAAAAV8AAAABAAAAAWkBAAAAFmFkZFRvTXVsdGlwbGVXaGl0ZUxpc3QAAAABAAAACWFkZHJlc3NlcwoAAAAAAiRsBQAAAAlhZGRyZXNzZXMKAAAAAAIkcwkAAZAAAAABBQAAAAIkbAoAAAAABSRhY2MwBQAAAANuaWwKAQAAAAUkZjBfMQAAAAIAAAACJGEAAAACJGkDCQAAZwAAAAIFAAAAAiRpBQAAAAIkcwUAAAACJGEJAQAAAA5hZGRTdHJpbmdFbnRyeQAAAAIFAAAAAiRhCQABkQAAAAIFAAAAAiRsBQAAAAIkaQoBAAAABSRmMF8yAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkAAAIAAAABAgAAABRMaXN0IHNpemUgZXhjZWVkcyAxMAkBAAAABSRmMF8yAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgUAAAAFJGFjYzAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAIAAAAAAAAAAAMAAAAAAAAAAAQAAAAAAAAAAAUAAAAAAAAAAAYAAAAAAAAAAAcAAAAAAAAAAAgAAAAAAAAAAAkAAAAAAAAAAAoAAAAArMcosA==",
"height": 2808235,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Afnj3ZYXWLbLtrbQGHZcrzwkMXMGAgfB6P1PNTFFtErQ
Next: A6Qxtzip6MU676q7JzYed7ox12j1HdgHY4ecYdUbGT55
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | func addStringEntry (accum,nextValue) = (accum :+ StringEntry("Winners", nextValue)) |
---|
| 4 | + | func addStringEntry (accum,nextValue) = (accum :+ StringEntry("Winners", (nextValue + "_"))) |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Callable(i) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | func addStringEntry (accum,nextValue) = (accum :+ StringEntry("Winners", nextValue)) |
---|
| 4 | + | func addStringEntry (accum,nextValue) = (accum :+ StringEntry("Winners", (nextValue + "_"))) |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Callable(i) |
---|
8 | 8 | | func addToMultipleWhiteList (addresses) = { |
---|
9 | 9 | | let $l = addresses |
---|
10 | 10 | | let $s = size($l) |
---|
11 | 11 | | let $acc0 = nil |
---|
12 | 12 | | func $f0_1 ($a,$i) = if (($i >= $s)) |
---|
13 | 13 | | then $a |
---|
14 | 14 | | else addStringEntry($a, $l[$i]) |
---|
15 | 15 | | |
---|
16 | 16 | | func $f0_2 ($a,$i) = if (($i >= $s)) |
---|
17 | 17 | | then $a |
---|
18 | 18 | | else throw("List size exceeds 10") |
---|
19 | 19 | | |
---|
20 | 20 | | $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) |
---|
21 | 21 | | } |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|