tx · BMKDcZbKQk2BCdNEiQkesHbhycdhZ2rxNGRzdDaHMWb4 3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6: -0.01000000 Waves 2023.01.31 22:29 [2429543] smart account 3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6 > SELF 0.00000000 Waves
{ "type": 13, "id": "BMKDcZbKQk2BCdNEiQkesHbhycdhZ2rxNGRzdDaHMWb4", "fee": 1000000, "feeAssetId": null, "timestamp": 1675193382244, "version": 2, "chainId": 84, "sender": "3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6", "senderPublicKey": "GmYZFRssDr88KiZt3x4LsJ6qfqaTfMUycQTKZVdipUgS", "proofs": [ "5x6F2Dy3WJmdTkvPKQdhwr7ip6icseeyutb7GKUvFQ3fapnDwkzhCwmgfiQ2M1GhN6fDEAxd5hWNxNsRgY3KwB1N" ], "script": "base64:BgIICAISBAoCCAgAAQFpAQlzZXRPcHRpb24CCHZhcmlhYmxlBXZhbHVlBAlhZG1pbkxpc3QEByRtYXRjaDAJAJ0IAgUEdGhpcwILYWRtaW5fbGlzdDMDCQABAgUHJG1hdGNoMAIEVW5pdAIFdW5zZXQDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAF4BQckbWF0Y2gwBQF4CQACAQILTWF0Y2ggZXJyb3IEEGNhbGxlckFkZHJlc3NTdHIJAKUIAQgFAWkGY2FsbGVyBAd0ZXN0YWRyARoBVLmQllxSegAZJ9vIh87RjUCPE2jhfmUfPAMJAQIhPQIFCWFkbWluTGlzdAIFdW5zZXQEBHRlc3QJAJ0IAgkBB0FkZHJlc3MBBQd0ZXN0YWRyBRBjYWxsZXJBZGRyZXNzU3RyBAdpc0FkbWluBAckbWF0Y2gwBQR0ZXN0AwkAAQIFByRtYXRjaDACBlN0cmluZwQBeAUHJG1hdGNoMAUBeAMJAAECBQckbWF0Y2gwAgRVbml0AghubyBhZG1pbgkAAgECC01hdGNoIGVycm9yAwkBAiE9AgUHaXNBZG1pbgIIbm8gYWRtaW4JAJQKAgkAzAgCCQELU3RyaW5nRW50cnkCBQh2YXJpYWJsZQUFdmFsdWUFA25pbAUEdW5pdAkAAgEJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgICD1lvdSBub3QgYWRtaW46IAUJYWRtaW5MaXN0AgssIGlzQWRtaW46IAUHaXNBZG1pbgIULCBjYWxsZXJBZGRyZXNzU3RyOiAFEGNhbGxlckFkZHJlc3NTdHICAiwgCQACAQIQVW5zZXQgYWRtaW4gbGlzdAECdHgBBnZlcmlmeQAEByRtYXRjaDAFAnR4CQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5cvgZiQ==", "height": 2429543, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3fHozuthccQphc45kWqP3bSZJes9NqTjQ4UxuYtmmJCv Next: DgCJEjFWeAztV7XxKPFApK3QpSVGMWsHLSVmJ339PffL Diff:
Old | New | Differences | |
---|---|---|---|
6 | 6 | @Callable(a) | |
7 | 7 | func setOption (b,c) = { | |
8 | 8 | let d = { | |
9 | - | let e = getString(this, "admin_ | |
9 | + | let e = getString(this, "admin_list3") | |
10 | 10 | if ($isInstanceOf(e, "Unit")) | |
11 | 11 | then "unset" | |
12 | 12 | else if ($isInstanceOf(e, "String")) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | 7 | func setOption (b,c) = { | |
8 | 8 | let d = { | |
9 | - | let e = getString(this, "admin_ | |
9 | + | let e = getString(this, "admin_list3") | |
10 | 10 | if ($isInstanceOf(e, "Unit")) | |
11 | 11 | then "unset" | |
12 | 12 | else if ($isInstanceOf(e, "String")) | |
13 | 13 | then { | |
14 | 14 | let f = e | |
15 | 15 | f | |
16 | 16 | } | |
17 | 17 | else throw("Match error") | |
18 | 18 | } | |
19 | 19 | let g = toString(a.caller) | |
20 | 20 | let h = base58'3N6qFzWmhjoTvsk1bC2iN38i2qH95pqc6S7' | |
21 | 21 | if ((d != "unset")) | |
22 | 22 | then { | |
23 | 23 | let i = getString(Address(h), g) | |
24 | 24 | let j = { | |
25 | 25 | let e = i | |
26 | 26 | if ($isInstanceOf(e, "String")) | |
27 | 27 | then { | |
28 | 28 | let f = e | |
29 | 29 | f | |
30 | 30 | } | |
31 | 31 | else if ($isInstanceOf(e, "Unit")) | |
32 | 32 | then "no admin" | |
33 | 33 | else throw("Match error") | |
34 | 34 | } | |
35 | 35 | if ((j != "no admin")) | |
36 | 36 | then $Tuple2([StringEntry(b, c)], unit) | |
37 | 37 | else throw((((((("You not admin: " + d) + ", isAdmin: ") + j) + ", callerAddressStr: ") + g) + ", ")) | |
38 | 38 | } | |
39 | 39 | else throw("Unset admin list") | |
40 | 40 | } | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | @Verifier(k) | |
44 | 44 | func l () = { | |
45 | 45 | let e = k | |
46 | 46 | sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey) | |
47 | 47 | } | |
48 | 48 |
github/deemru/w8io/169f3d6 34.43 ms ◑