tx · 751d6XsShSJ97x6Wq8Gsnoikapqn6wR2Y337sSV92GNC 3N49shcErzZepEy7HDR1fjAce8humpL7QiH: -0.01000000 Waves 2022.12.14 22:01 [2360373] smart account 3N49shcErzZepEy7HDR1fjAce8humpL7QiH > SELF 0.00000000 Waves
{ "type": 13, "id": "751d6XsShSJ97x6Wq8Gsnoikapqn6wR2Y337sSV92GNC", "fee": 1000000, "feeAssetId": null, "timestamp": 1671044516349, "version": 2, "chainId": 84, "sender": "3N49shcErzZepEy7HDR1fjAce8humpL7QiH", "senderPublicKey": "9frGdXQHcSntKXRWwZ4YJZWnnKREWwYH4cEzMVQwcwYj", "proofs": [ "5gNAe2KE9eG4QYoYJmGfXR7mty7RQ3GPJSSSCycRxhu9oq3t2nUuW6gGzVJ69dEaMeyewLdeni87C9HiRdFj9kSm" ], "script": "base64:BgIMCAISAwoBCBIDCgEIAAIBaQEBdgEBZgMJAQIhPQIIBQFpBmNhbGxlcgUEdGhpcwkAAgECEm9ubHkgYWRtaW4gYWxsb3dlZAQDaW52CQD8BwQJARFAZXh0ck5hdGl2ZSgxMDYyKQEFAWYCAnZmCQDMCAIHCQDMCAIGBQNuaWwFA25pbAMJAAACBQNpbnYFA2ludgUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAWkBBHZmYTUBCWFkZHJlc3NlcwoBAXcCBWFjY3VtB2FkZHJlc3MEA3JlcwkA/AcECQERQGV4dHJOYXRpdmUoMTA2MikBBQdhZGRyZXNzAgJ2ZgkAzAgCBwkAzAgCBgUDbmlsBQNuaWwDCQAAAgUDcmVzBQNyZXMFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgMJAQIhPQIIBQFpBmNhbGxlcgUEdGhpcwkAAgECEm9ubHkgYWRtaW4gYWxsb3dlZAQEbGlzdAkAtQkCBQlhZGRyZXNzZXMCASwEBGZvbGQKAAIkbAUEbGlzdAoAAiRzCQCQAwEFAiRsCgAFJGFjYzACAAoBBSRmMF8xAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQEBdwIFAiRhCQCRAwIFAiRsBQIkaQoBBSRmMF8yAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQACAQITTGlzdCBzaXplIGV4Y2VlZHMgNQkBBSRmMF8yAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgUFJGFjYzAAAAABAAIAAwAEAAUDCQAAAgUEZm9sZAUEZm9sZAUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAEJZ/6s=", "height": 2360373, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8TWxLcstf1RBfFoyctxm6jjMVZZzf9xAS59ZASUHwpGd Next: F7Una8HMpMRRtASbWs4FRQAegsqm4xUQcdDSW8DWUAPA Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | func w (accum,address) = { | |
5 | - | let res = invoke(addressFromStringValue(address), "vf", [false, true], nil) | |
6 | - | if ((res == res)) | |
7 | - | then nil | |
8 | - | else throw("Strict value is not equal to itself.") | |
9 | - | } | |
10 | 4 | ||
11 | 5 | ||
12 | 6 | @Callable(i) | |
22 | 16 | ||
23 | 17 | ||
24 | 18 | @Callable(i) | |
25 | - | func vfa5 (addresses) = if ((i.caller != this)) | |
26 | - | then throw("only admin allowed") | |
27 | - | else { | |
28 | - | let list = split(addresses, ",") | |
29 | - | let fold = { | |
30 | - | let $l = list | |
31 | - | let $s = size($l) | |
32 | - | let $acc0 = "" | |
33 | - | func $f0_1 ($a,$i) = if (($i >= $s)) | |
34 | - | then $a | |
35 | - | else w($a, $l[$i]) | |
36 | - | ||
37 | - | func $f0_2 ($a,$i) = if (($i >= $s)) | |
38 | - | then $a | |
39 | - | else throw("List size exceeds 5") | |
40 | - | ||
41 | - | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
42 | - | } | |
43 | - | if ((fold == fold)) | |
19 | + | func vfa5 (addresses) = { | |
20 | + | func w (accum,address) = { | |
21 | + | let res = invoke(addressFromStringValue(address), "vf", [false, true], nil) | |
22 | + | if ((res == res)) | |
44 | 23 | then nil | |
45 | 24 | else throw("Strict value is not equal to itself.") | |
46 | 25 | } | |
26 | + | ||
27 | + | if ((i.caller != this)) | |
28 | + | then throw("only admin allowed") | |
29 | + | else { | |
30 | + | let list = split(addresses, ",") | |
31 | + | let fold = { | |
32 | + | let $l = list | |
33 | + | let $s = size($l) | |
34 | + | let $acc0 = "" | |
35 | + | func $f0_1 ($a,$i) = if (($i >= $s)) | |
36 | + | then $a | |
37 | + | else w($a, $l[$i]) | |
38 | + | ||
39 | + | func $f0_2 ($a,$i) = if (($i >= $s)) | |
40 | + | then $a | |
41 | + | else throw("List size exceeds 5") | |
42 | + | ||
43 | + | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
44 | + | } | |
45 | + | if ((fold == fold)) | |
46 | + | then nil | |
47 | + | else throw("Strict value is not equal to itself.") | |
48 | + | } | |
49 | + | } | |
47 | 50 | ||
48 | 51 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | func w (accum,address) = { | |
5 | - | let res = invoke(addressFromStringValue(address), "vf", [false, true], nil) | |
6 | - | if ((res == res)) | |
7 | - | then nil | |
8 | - | else throw("Strict value is not equal to itself.") | |
9 | - | } | |
10 | 4 | ||
11 | 5 | ||
12 | 6 | @Callable(i) | |
13 | 7 | func v (f) = if ((i.caller != this)) | |
14 | 8 | then throw("only admin allowed") | |
15 | 9 | else { | |
16 | 10 | let inv = invoke(addressFromStringValue(f), "vf", [false, true], nil) | |
17 | 11 | if ((inv == inv)) | |
18 | 12 | then nil | |
19 | 13 | else throw("Strict value is not equal to itself.") | |
20 | 14 | } | |
21 | 15 | ||
22 | 16 | ||
23 | 17 | ||
24 | 18 | @Callable(i) | |
25 | - | func vfa5 (addresses) = if ((i.caller != this)) | |
26 | - | then throw("only admin allowed") | |
27 | - | else { | |
28 | - | let list = split(addresses, ",") | |
29 | - | let fold = { | |
30 | - | let $l = list | |
31 | - | let $s = size($l) | |
32 | - | let $acc0 = "" | |
33 | - | func $f0_1 ($a,$i) = if (($i >= $s)) | |
34 | - | then $a | |
35 | - | else w($a, $l[$i]) | |
36 | - | ||
37 | - | func $f0_2 ($a,$i) = if (($i >= $s)) | |
38 | - | then $a | |
39 | - | else throw("List size exceeds 5") | |
40 | - | ||
41 | - | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
42 | - | } | |
43 | - | if ((fold == fold)) | |
19 | + | func vfa5 (addresses) = { | |
20 | + | func w (accum,address) = { | |
21 | + | let res = invoke(addressFromStringValue(address), "vf", [false, true], nil) | |
22 | + | if ((res == res)) | |
44 | 23 | then nil | |
45 | 24 | else throw("Strict value is not equal to itself.") | |
46 | 25 | } | |
26 | + | ||
27 | + | if ((i.caller != this)) | |
28 | + | then throw("only admin allowed") | |
29 | + | else { | |
30 | + | let list = split(addresses, ",") | |
31 | + | let fold = { | |
32 | + | let $l = list | |
33 | + | let $s = size($l) | |
34 | + | let $acc0 = "" | |
35 | + | func $f0_1 ($a,$i) = if (($i >= $s)) | |
36 | + | then $a | |
37 | + | else w($a, $l[$i]) | |
38 | + | ||
39 | + | func $f0_2 ($a,$i) = if (($i >= $s)) | |
40 | + | then $a | |
41 | + | else throw("List size exceeds 5") | |
42 | + | ||
43 | + | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
44 | + | } | |
45 | + | if ((fold == fold)) | |
46 | + | then nil | |
47 | + | else throw("Strict value is not equal to itself.") | |
48 | + | } | |
49 | + | } | |
47 | 50 | ||
48 | 51 |
github/deemru/w8io/026f985 28.12 ms ◑