tx · EoTpKbj2dVk28RdCvmJG4zjQcFyeqDx9A3Q8PFrtXsW9 3NCKEoyXnFfBhMubFw6ah24kLRHPtK1UuGb: -0.01000000 Waves 2022.11.21 18:37 [2327065] smart account 3NCKEoyXnFfBhMubFw6ah24kLRHPtK1UuGb > SELF 0.00000000 Waves
{ "type": 13, "id": "EoTpKbj2dVk28RdCvmJG4zjQcFyeqDx9A3Q8PFrtXsW9", "fee": 1000000, "feeAssetId": null, "timestamp": 1669045152337, "version": 2, "chainId": 84, "sender": "3NCKEoyXnFfBhMubFw6ah24kLRHPtK1UuGb", "senderPublicKey": "EwcZaepS323c7SG16LuqxUjEkxbE84g3mPHLvXndfmRu", "proofs": [ "3zTvhmNPX6bH115EhmpD9JE1Vi7kZLXusmLva1nmd44FBwi4ycQxyHQHh2gRCuoijWUxRkpYkLbuoW62LJUm1RBA" ], "script": "base64:BgIHCAISAwoBCAEADGFkbWluQWRkcmVzcwkBB0FkZHJlc3MBARoBVzQU33FERt8wVNH3uJxzRQyrOiubTY4mYQEBaQEIdXNkbl8xMDABBGFkZHIDCQECIT0CCAUBaQxvcmlnaW5DYWxsZXIFDGFkbWluQWRkcmVzcwkAAgECEW9ubHkgYWRtaW4gY2FuIGRvBAJhcgkAtQkCBQRhZGRyAgE7BARpbnYxCQD8BwQJARFAZXh0ck5hdGl2ZSgxMDYyKQEJAJEDAgUCYXIAAAIIdXNkbl8xMDAJAMwIAgABBQNuaWwFA25pbAMJAAACBQRpbnYxBQRpbnYxBARpbnYyCQD8BwQJARFAZXh0ck5hdGl2ZSgxMDYyKQEJAJEDAgUCYXIAAQIIdXNkbl8xMDAJAMwIAgACBQNuaWwFA25pbAMJAAACBQRpbnYyBQRpbnYyBARpbnYzCQD8BwQJARFAZXh0ck5hdGl2ZSgxMDYyKQEJAJEDAgUCYXIAAgIIdXNkbl8xMDAJAMwIAgADBQNuaWwFA25pbAMJAAACBQRpbnYzBQRpbnYzBARpbnY0CQD8BwQJARFAZXh0ck5hdGl2ZSgxMDYyKQEJAJEDAgUCYXIAAwIIdXNkbl8xMDAJAMwIAgAEBQNuaWwFA25pbAMJAAACBQRpbnY0BQRpbnY0BARpbnY1CQD8BwQJARFAZXh0ck5hdGl2ZSgxMDYyKQEJAJEDAgUCYXIABAIIdXNkbl8xMDAJAMwIAgAFBQNuaWwFA25pbAMJAAACBQRpbnY1BQRpbnY1BQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AdmWt/A==", "height": 2327065, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 6XxTzWhY5mGt5EpCQUoSdzuK98TC9Y1QztsXKDoUdUSW Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let adminAddress = Address(base58'3P6gGsVQbD2xgmaNxN7Rj3arohPsBxvo5GC') | |
5 | + | ||
6 | + | @Callable(i) | |
7 | + | func usdn_100 (addr) = if ((i.originCaller != adminAddress)) | |
8 | + | then throw("only admin can do") | |
9 | + | else { | |
10 | + | let ar = split(addr, ";") | |
11 | + | let inv1 = invoke(addressFromStringValue(ar[0]), "usdn_100", [1], nil) | |
12 | + | if ((inv1 == inv1)) | |
13 | + | then { | |
14 | + | let inv2 = invoke(addressFromStringValue(ar[1]), "usdn_100", [2], nil) | |
15 | + | if ((inv2 == inv2)) | |
16 | + | then { | |
17 | + | let inv3 = invoke(addressFromStringValue(ar[2]), "usdn_100", [3], nil) | |
18 | + | if ((inv3 == inv3)) | |
19 | + | then { | |
20 | + | let inv4 = invoke(addressFromStringValue(ar[3]), "usdn_100", [4], nil) | |
21 | + | if ((inv4 == inv4)) | |
22 | + | then { | |
23 | + | let inv5 = invoke(addressFromStringValue(ar[4]), "usdn_100", [5], nil) | |
24 | + | if ((inv5 == inv5)) | |
25 | + | then nil | |
26 | + | else throw("Strict value is not equal to itself.") | |
27 | + | } | |
28 | + | else throw("Strict value is not equal to itself.") | |
29 | + | } | |
30 | + | else throw("Strict value is not equal to itself.") | |
31 | + | } | |
32 | + | else throw("Strict value is not equal to itself.") | |
33 | + | } | |
34 | + | else throw("Strict value is not equal to itself.") | |
35 | + | } | |
36 | + | ||
37 | + |
github/deemru/w8io/026f985 16.90 ms ◑