tx · 8ppzVsw3f8qWS5oGDNa9G9FtjmSKRrckx6msebhP96mp
3MvJMBxdrVAf1nCHiarJcQVnKy91HhBKe6w: -0.04000000 Waves
2019.09.25 14:17 [691795] smart account 3MvJMBxdrVAf1nCHiarJcQVnKy91HhBKe6w > SELF 0.00000000 Waves
{
"type": 13,
"id": "8ppzVsw3f8qWS5oGDNa9G9FtjmSKRrckx6msebhP96mp",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1569410184242,
"version": 1,
"sender": "3MvJMBxdrVAf1nCHiarJcQVnKy91HhBKe6w",
"senderPublicKey": "99YVxEETpC8daMuVD1HFjz4KEx66SMyjjnCtNmptDa2u",
"proofs": [
"3FUFtq5c7ZhmSTysEFpXk5f2nGLjevD7eKK5Y48bRyTU3unCrVphbymKeCZE59zaJExiCmdFiuU7uHbWmcWisgi6"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAJAQAAABxnZXRFeHRLZXlJdGVtV2hpdGVMaXN0U3RhdHVzAAAAAQAAAAdhY2NvdW50CQABLAAAAAICAAAAEHZlcmlmaWVyX3N0YXR1c18FAAAAB2FjY291bnQBAAAAHmdldEV4dFZhbHVlSXRlbVdoaXRlTGlzdFN0YXR1cwAAAAEAAAAGc3RhdHVzBQAAAAZzdGF0dXMAAAAACHZlcmlmaWVyAgAAACMzTkNLb0ZReFJmN3pzRE5iaXZMRncxb0o3eThxSnpMbUVzNAAAAAALV0hJVEVMSVNURUQCAAAACnJlZ2lzdGVyZWQAAAAAC0JMQUNLTElTVEVEAgAAAAtibGFja2xpc3RlZAAAAAAHSU5WSVRFRAIAAAAHaW52aXRlZAAAAAALU1BFTkRJTlZJVEUCAAAADHNwZW5kX2ludml0ZQAAAAAJTU9ERVJBVE9SAgAAAAltb2RlcmF0b3IAAAAABUFETUlOAgAAAAVhZG1pbgAAAAEAAAABaQEAAAAJc2V0c3RhdHVzAAAAAgAAAAdhY2NvdW50AAAABnN0YXR1cwQAAAAGY2FsbGVyCQACWAAAAAEICAUA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tQn18zxvsYpkN2x37KYiUQNupEa5c2zbTB8
Diff:
Old | New | | Differences |
---|
30 | 30 | | else (c(m) != k) |
---|
31 | 31 | | else false) |
---|
32 | 32 | | then throw("only Kolin ADMINS or MODERATORS can manage the whitelist") |
---|
33 | | - | else if (if (if (if (if (if ((d != f)) |
---|
| 33 | + | else if (if (if (if (if (if (if ((d != f)) |
---|
34 | 34 | | then true |
---|
35 | 35 | | else (d != g)) |
---|
36 | 36 | | then true |
---|
|
41 | 41 | | else (d != k)) |
---|
42 | 42 | | then true |
---|
43 | 43 | | else (d != i)) |
---|
| 44 | + | then true |
---|
| 45 | + | else (m != e)) |
---|
44 | 46 | | then throw("status not recognised") |
---|
45 | 47 | | else WriteSet([DataEntry(c(b), d)]) |
---|
46 | 48 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func a (b) = ("verifier_status_" + b) |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | func c (d) = d |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
10 | 10 | | let e = "3NCKoFQxRf7zsDNbivLFw1oJ7y8qJzLmEs4" |
---|
11 | 11 | | |
---|
12 | 12 | | let f = "registered" |
---|
13 | 13 | | |
---|
14 | 14 | | let g = "blacklisted" |
---|
15 | 15 | | |
---|
16 | 16 | | let h = "invited" |
---|
17 | 17 | | |
---|
18 | 18 | | let i = "spend_invite" |
---|
19 | 19 | | |
---|
20 | 20 | | let j = "moderator" |
---|
21 | 21 | | |
---|
22 | 22 | | let k = "admin" |
---|
23 | 23 | | |
---|
24 | 24 | | @Callable(l) |
---|
25 | 25 | | func setstatus (b,d) = { |
---|
26 | 26 | | let m = toBase58String(l.caller.bytes) |
---|
27 | 27 | | if (if ((m != e)) |
---|
28 | 28 | | then if ((c(m) != j)) |
---|
29 | 29 | | then true |
---|
30 | 30 | | else (c(m) != k) |
---|
31 | 31 | | else false) |
---|
32 | 32 | | then throw("only Kolin ADMINS or MODERATORS can manage the whitelist") |
---|
33 | | - | else if (if (if (if (if (if ((d != f)) |
---|
| 33 | + | else if (if (if (if (if (if (if ((d != f)) |
---|
34 | 34 | | then true |
---|
35 | 35 | | else (d != g)) |
---|
36 | 36 | | then true |
---|
37 | 37 | | else (d != h)) |
---|
38 | 38 | | then true |
---|
39 | 39 | | else (d != j)) |
---|
40 | 40 | | then true |
---|
41 | 41 | | else (d != k)) |
---|
42 | 42 | | then true |
---|
43 | 43 | | else (d != i)) |
---|
| 44 | + | then true |
---|
| 45 | + | else (m != e)) |
---|
44 | 46 | | then throw("status not recognised") |
---|
45 | 47 | | else WriteSet([DataEntry(c(b), d)]) |
---|
46 | 48 | | } |
---|
47 | 49 | | |
---|
48 | 50 | | |
---|