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