tx · CoQ8oyvoWHxTRqpaRUnTkkbJ9JwsVZQ28iC6v2r1HV2n 3N2kYSm5NHgsVYByuqsHEuJj3B174iw7ikP: -0.01400000 Waves 2019.07.11 10:49 [580754] smart account 3N2kYSm5NHgsVYByuqsHEuJj3B174iw7ikP > SELF 0.00000000 Waves
{ "type": 13, "id": "CoQ8oyvoWHxTRqpaRUnTkkbJ9JwsVZQ28iC6v2r1HV2n", "fee": 1400000, "feeAssetId": null, "timestamp": 1562831408732, "version": 1, "sender": "3N2kYSm5NHgsVYByuqsHEuJj3B174iw7ikP", "senderPublicKey": "EghK1ndUequAR8FfFYnK6itzJoz6XBXuBwJ9R2NBtRS4", "proofs": [ "4qoV72kcPqGUjuTe3rF6p1XcC6Uq4LJJQexQEdcUXVJbKTYQr8ujdVgJXo3U8X1UKaiccnAwZzPjeE7w8ckb79D1" ], "script": "base64:AAIDAAAAAAAAAAAAAAAIAAAAAAthbGljZVB1YktleQEAAAAgOITRcCoKNTKqAsbsI7JcjEyc+1VR5mMOpsGoUi0JKjkAAAAACWJvYlB1YktleQEAAAAgOPBOW6N2bmWmpMd/LMXIwkA2OIUQhWJH019Pc7tgpSMAAAAADGNvb3BlclB1YktleQEAAAAgy1MpMZp8+4hN9rmZPzVtqBXPXqzIJa0q68vtAj5jLAUAAAAAC290aGVyUHViS2V5AQAAACCcUW8jVT9kpF19g4OlKJR98WVU6DO1nDSGe47M+HtjPwEAAAAeZ2V0RXh0VmFsdWVJdGVtV2hpdGVMaXN0U3RhdHVzAAAAAQAAAARpdGVtCQABLAAAAAIFAAAABGl0ZW0CAAAAEF92ZXJpZmllcl9zdGF0dXMAAAAACHZlcmlmaWVyAQAAABoBVIzLvP/70jvt7zarcQfNc2HezkIyliL3SAAAAAAIVkVSSUZJRUQCAAAACHZlcmlmaWVkAAAAAAtCTEFDS0xJU1RFRAIAAAAJYmxhY2tsaXN0AAAAAQAAAAFpAQAAAAlzZXRzdGF0dXMAAAACAAAACHN1cHBsaWVyAAAABnN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kNvBgUAAAACT3QDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAEElzc3VlVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADAwMFAAAAAkFsBgUAAAACQm8GBQAAAAJDbwYFAAAAAk90AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABJSZWlzc3VlVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADAwMFAAAAAkFsBgUAAAACQm8GBQAAAAJDbwYFAAAAAk90AwMDAwMDBQAAAAJBbAUAAAACQm8HBgMFAAAAAkFsBQAAAAJDbwcGAwUAAAACQm8FAAAAAkNvBwYDBQAAAAJBbAUAAAACT3QHBgMFAAAAAkJvBQAAAAJPdAcGAwUAAAACQ28FAAAAAk90B6S3h+M=", "chainId": 84, "height": 580754, "spentComplexity": 0 } View: original | compacted Prev: 44czG8CGuqU5NwY5ERKbG61wcj2to1VhDQqtegE7Deqz Next: 2pEjguuGxQdqBDVEechtoriexTA9GyxRicXcRvxfXDJt Diff:
Old | New | Differences | |
---|---|---|---|
12 | 12 | func e (f) = (f + "_verifier_status") | |
13 | 13 | ||
14 | 14 | ||
15 | - | let g = | |
15 | + | let g = base58'3N2kYSm5NHgsVYByuqsHEuJj3B174iw7ikP' | |
16 | 16 | ||
17 | 17 | let h = "verified" | |
18 | 18 | ||
20 | 20 | ||
21 | 21 | @Callable(j) | |
22 | 22 | func setstatus (k,l) = { | |
23 | - | let m = | |
23 | + | let m = j.caller.bytes | |
24 | 24 | if ((m != g)) | |
25 | 25 | then throw("only oracle veryfier are able to manage whitelist") | |
26 | 26 | else if (if ((l != h)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'4odJB3xcaswGibZ1oQ7C9VNoBjtXMsWKexoo35zjBWUx' | |
5 | 5 | ||
6 | 6 | let b = base58'4qGMpfFhpc2L1VGrBe5tQFxCWsdYiYttdC9ZmHYJn2Lz' | |
7 | 7 | ||
8 | 8 | let c = base58'EghK1ndUequAR8FfFYnK6itzJoz6XBXuBwJ9R2NBtRS4' | |
9 | 9 | ||
10 | 10 | let d = base58'BXCd46i2Pdzu8csVsX2nknDP9D1phC4sa1anNpDHJAog' | |
11 | 11 | ||
12 | 12 | func e (f) = (f + "_verifier_status") | |
13 | 13 | ||
14 | 14 | ||
15 | - | let g = | |
15 | + | let g = base58'3N2kYSm5NHgsVYByuqsHEuJj3B174iw7ikP' | |
16 | 16 | ||
17 | 17 | let h = "verified" | |
18 | 18 | ||
19 | 19 | let i = "blacklist" | |
20 | 20 | ||
21 | 21 | @Callable(j) | |
22 | 22 | func setstatus (k,l) = { | |
23 | - | let m = | |
23 | + | let m = j.caller.bytes | |
24 | 24 | if ((m != g)) | |
25 | 25 | then throw("only oracle veryfier are able to manage whitelist") | |
26 | 26 | else if (if ((l != h)) | |
27 | 27 | then (l != i) | |
28 | 28 | else false) | |
29 | 29 | then throw("wrong status") | |
30 | 30 | else WriteSet([DataEntry(e(k), l)]) | |
31 | 31 | } | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | @Verifier(n) | |
35 | 35 | func o () = { | |
36 | 36 | let p = if (if (sigVerify(n.bodyBytes, n.proofs[0], a)) | |
37 | 37 | then true | |
38 | 38 | else sigVerify(n.bodyBytes, n.proofs[1], a)) | |
39 | 39 | then true | |
40 | 40 | else sigVerify(n.bodyBytes, n.proofs[0], a) | |
41 | 41 | let q = if (if (sigVerify(n.bodyBytes, n.proofs[0], b)) | |
42 | 42 | then true | |
43 | 43 | else sigVerify(n.bodyBytes, n.proofs[1], b)) | |
44 | 44 | then true | |
45 | 45 | else sigVerify(n.bodyBytes, n.proofs[2], b) | |
46 | 46 | let r = if (if (sigVerify(n.bodyBytes, n.proofs[0], c)) | |
47 | 47 | then true | |
48 | 48 | else sigVerify(n.bodyBytes, n.proofs[1], c)) | |
49 | 49 | then true | |
50 | 50 | else sigVerify(n.bodyBytes, n.proofs[2], c) | |
51 | 51 | let s = if (if (sigVerify(n.bodyBytes, n.proofs[0], d)) | |
52 | 52 | then true | |
53 | 53 | else sigVerify(n.bodyBytes, n.proofs[1], d)) | |
54 | 54 | then true | |
55 | 55 | else sigVerify(n.bodyBytes, n.proofs[2], d) | |
56 | 56 | let t = n | |
57 | 57 | if ($isInstanceOf(t, "SetScriptTransaction")) | |
58 | 58 | then { | |
59 | 59 | let u = t | |
60 | 60 | if (if (p) | |
61 | 61 | then true | |
62 | 62 | else q) | |
63 | 63 | then true | |
64 | 64 | else r | |
65 | 65 | } | |
66 | 66 | else if ($isInstanceOf(t, "InvokeScriptTransaction")) | |
67 | 67 | then { | |
68 | 68 | let u = t | |
69 | 69 | if (if (if (p) | |
70 | 70 | then true | |
71 | 71 | else q) | |
72 | 72 | then true | |
73 | 73 | else r) | |
74 | 74 | then true | |
75 | 75 | else s | |
76 | 76 | } | |
77 | 77 | else if ($isInstanceOf(t, "IssueTransaction")) | |
78 | 78 | then { | |
79 | 79 | let u = t | |
80 | 80 | if (if (if (p) | |
81 | 81 | then true | |
82 | 82 | else q) | |
83 | 83 | then true | |
84 | 84 | else r) | |
85 | 85 | then true | |
86 | 86 | else s | |
87 | 87 | } | |
88 | 88 | else if ($isInstanceOf(t, "ReissueTransaction")) | |
89 | 89 | then { | |
90 | 90 | let u = t | |
91 | 91 | if (if (if (p) | |
92 | 92 | then true | |
93 | 93 | else q) | |
94 | 94 | then true | |
95 | 95 | else r) | |
96 | 96 | then true | |
97 | 97 | else s | |
98 | 98 | } | |
99 | 99 | else if (if (if (if (if (if (p) | |
100 | 100 | then q | |
101 | 101 | else false) | |
102 | 102 | then true | |
103 | 103 | else if (p) | |
104 | 104 | then r | |
105 | 105 | else false) | |
106 | 106 | then true | |
107 | 107 | else if (q) | |
108 | 108 | then r | |
109 | 109 | else false) | |
110 | 110 | then true | |
111 | 111 | else if (p) | |
112 | 112 | then s | |
113 | 113 | else false) | |
114 | 114 | then true | |
115 | 115 | else if (q) | |
116 | 116 | then s | |
117 | 117 | else false) | |
118 | 118 | then true | |
119 | 119 | else if (r) | |
120 | 120 | then s | |
121 | 121 | else false | |
122 | 122 | } | |
123 | 123 |
github/deemru/w8io/169f3d6 46.28 ms ◑