tx · pXfvdhSPXXDRHNgbyJxh51hmSqcNBPAq1VJjRnvz9t5 3N181WizgkxpWSFQoCnSbhRu2j1cwBadDYY: -0.01400000 Waves 2023.02.20 22:17 [2458382] smart account 3N181WizgkxpWSFQoCnSbhRu2j1cwBadDYY > SELF 0.00000000 Waves
{ "type": 13, "id": "pXfvdhSPXXDRHNgbyJxh51hmSqcNBPAq1VJjRnvz9t5", "fee": 1400000, "feeAssetId": null, "timestamp": 1676920633373, "version": 2, "chainId": 84, "sender": "3N181WizgkxpWSFQoCnSbhRu2j1cwBadDYY", "senderPublicKey": "9Hom3CnVGCVZiB6V5j3mEeAuquZytXpj99sSEdnAFy52", "proofs": [ "yKLTwHXvijRUfNrGjEQNrPT1uKH7MW6dLU9z2esmMxMgmuUTu7NcWmmuJpXBE6BfyXXBBebUUzhvm4ShcCzVFLq" ], "script": "base64:BgInCAISBAoCCAESBQoDAQgIEgMKAQgSAwoBCBIAEgASAwoBCBIDCgEIJwAJU0VQQVJBVE9SAgJfXwAIS0VZX0lOSVQCBElOSVQADEtFWV9NVUxUSVNJRwIITVVMVElTSUcACktFWV9TVEFUVVMCBlNUQVRVUwAKS0VZX1BBVVNFRAIGUEFVU0VEAApLRVlfUEFVU0VSAgZQQVVTRVIADUtFWV9BTExPV0FOQ0UCCUFMTE9XQU5DRQARS0VZX0NBTExfQ0hBSU5fSUQCDUNBTExfQ0hBSU5fSUQAEktFWV9FVkVOVF9MQVNUX0lEWAIORVZFTlRfTEFTVF9JRFgACUtFWV9FVkVOVAIFRVZFTlQACUtFWV9OT05DRQIFTk9OQ0UAB01BWF9JTlQA//////////9/ARBfdmFsaWRhdGVBZGRyZXNzAghhZGRyZXNzXwRlcnJfBAckbWF0Y2gwCQCmCAEFCGFkZHJlc3NfAwkAAQIFByRtYXRjaDACB0FkZHJlc3MEAWEFByRtYXRjaDAGCQACAQUEZXJyXwEMX3ZhbGlkYXRlSW50BAR2YWxfDmxvd2VyQm91bmRhcnlfDnVwcGVyQm91bm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MCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXlh9XBz", "height": 2458382, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 4WwtiPZxCfMdN9jmMZWWeAPwrRL6THgRTa5Hg83v7uyE Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = "__" | |
5 | + | ||
6 | + | let b = "INIT" | |
7 | + | ||
8 | + | let c = "MULTISIG" | |
9 | + | ||
10 | + | let d = "STATUS" | |
11 | + | ||
12 | + | let e = "PAUSED" | |
13 | + | ||
14 | + | let f = "PAUSER" | |
15 | + | ||
16 | + | let g = "ALLOWANCE" | |
17 | + | ||
18 | + | let h = "CALL_CHAIN_ID" | |
19 | + | ||
20 | + | let i = "EVENT_LAST_IDX" | |
21 | + | ||
22 | + | let j = "EVENT" | |
23 | + | ||
24 | + | let k = "NONCE" | |
25 | + | ||
26 | + | let l = 9223372036854775807 | |
27 | + | ||
28 | + | func m (n,o) = { | |
29 | + | let p = addressFromString(n) | |
30 | + | if ($isInstanceOf(p, "Address")) | |
31 | + | then { | |
32 | + | let q = p | |
33 | + | true | |
34 | + | } | |
35 | + | else throw(o) | |
36 | + | } | |
37 | + | ||
38 | + | ||
39 | + | func r (s,t,u,o) = if (if ((t > s)) | |
40 | + | then true | |
41 | + | else (s > u)) | |
42 | + | then throw(o) | |
43 | + | else true | |
44 | + | ||
45 | + | ||
46 | + | func v () = { | |
47 | + | let p = getBoolean(b) | |
48 | + | if ($isInstanceOf(p, "Boolean")) | |
49 | + | then { | |
50 | + | let q = p | |
51 | + | q | |
52 | + | } | |
53 | + | else false | |
54 | + | } | |
55 | + | ||
56 | + | ||
57 | + | func w (x) = [BooleanEntry(b, x)] | |
58 | + | ||
59 | + | ||
60 | + | func y () = { | |
61 | + | let p = getBoolean(e) | |
62 | + | if ($isInstanceOf(p, "Boolean")) | |
63 | + | then { | |
64 | + | let q = p | |
65 | + | q | |
66 | + | } | |
67 | + | else false | |
68 | + | } | |
69 | + | ||
70 | + | ||
71 | + | func z (A) = [BooleanEntry(e, A)] | |
72 | + | ||
73 | + | ||
74 | + | func B () = { | |
75 | + | let p = getString(f) | |
76 | + | if ($isInstanceOf(p, "String")) | |
77 | + | then { | |
78 | + | let q = p | |
79 | + | addressFromStringValue(q) | |
80 | + | } | |
81 | + | else Address(base58'') | |
82 | + | } | |
83 | + | ||
84 | + | ||
85 | + | func C (D) = [StringEntry(f, toString(D))] | |
86 | + | ||
87 | + | ||
88 | + | func E (F) = { | |
89 | + | let p = getBoolean(makeString([g, toString(F)], a)) | |
90 | + | if ($isInstanceOf(p, "Boolean")) | |
91 | + | then { | |
92 | + | let q = p | |
93 | + | q | |
94 | + | } | |
95 | + | else false | |
96 | + | } | |
97 | + | ||
98 | + | ||
99 | + | func G (F,s) = [BooleanEntry(makeString([g, toString(F)], a), s)] | |
100 | + | ||
101 | + | ||
102 | + | func H () = { | |
103 | + | let p = getString(c) | |
104 | + | if ($isInstanceOf(p, "String")) | |
105 | + | then { | |
106 | + | let q = p | |
107 | + | addressFromStringValue(q) | |
108 | + | } | |
109 | + | else Address(base58'') | |
110 | + | } | |
111 | + | ||
112 | + | ||
113 | + | func I (J) = [StringEntry(c, toString(J))] | |
114 | + | ||
115 | + | ||
116 | + | func K () = { | |
117 | + | let p = getInteger(h) | |
118 | + | if ($isInstanceOf(p, "Int")) | |
119 | + | then { | |
120 | + | let q = p | |
121 | + | q | |
122 | + | } | |
123 | + | else 0 | |
124 | + | } | |
125 | + | ||
126 | + | ||
127 | + | func L (M) = [IntegerEntry(h, M)] | |
128 | + | ||
129 | + | ||
130 | + | func N () = { | |
131 | + | let p = getInteger(i) | |
132 | + | if ($isInstanceOf(p, "Int")) | |
133 | + | then { | |
134 | + | let q = p | |
135 | + | q | |
136 | + | } | |
137 | + | else 0 | |
138 | + | } | |
139 | + | ||
140 | + | ||
141 | + | func O (P) = [IntegerEntry(i, P)] | |
142 | + | ||
143 | + | ||
144 | + | func Q (P,R) = [StringEntry(makeString([j, toString(P)], a), makeString([toString(R._1), toString(R._2), toString(R._3), R._4, R._5, toString(R._6)], a))] | |
145 | + | ||
146 | + | ||
147 | + | func S () = { | |
148 | + | let p = getInteger(k) | |
149 | + | if ($isInstanceOf(p, "Int")) | |
150 | + | then { | |
151 | + | let q = p | |
152 | + | q | |
153 | + | } | |
154 | + | else 0 | |
155 | + | } | |
156 | + | ||
157 | + | ||
158 | + | func T (s) = [IntegerEntry(k, s)] | |
159 | + | ||
160 | + | ||
161 | + | func U (F) = if ((F != this)) | |
162 | + | then throw("_onlyThisContract: revert") | |
163 | + | else true | |
164 | + | ||
165 | + | ||
166 | + | func V () = if ((H() == Address(base58''))) | |
167 | + | then throw("_whenMultisigSet: revert") | |
168 | + | else true | |
169 | + | ||
170 | + | ||
171 | + | func W () = if (v()) | |
172 | + | then throw("_whenNotInitialized: revert") | |
173 | + | else true | |
174 | + | ||
175 | + | ||
176 | + | func X () = if (!(v())) | |
177 | + | then throw("_whenInitialized: revert") | |
178 | + | else true | |
179 | + | ||
180 | + | ||
181 | + | func Y () = if (y()) | |
182 | + | then throw("_whenNotPaused: revert") | |
183 | + | else true | |
184 | + | ||
185 | + | ||
186 | + | func Z () = if (!(y())) | |
187 | + | then throw("_whenPaused: revert") | |
188 | + | else true | |
189 | + | ||
190 | + | ||
191 | + | func aa (F) = if ((F != B())) | |
192 | + | then throw("_onlyPauser: revert") | |
193 | + | else true | |
194 | + | ||
195 | + | ||
196 | + | func ab (F) = if (!(E(F))) | |
197 | + | then throw("_whenAllowed: revert") | |
198 | + | else true | |
199 | + | ||
200 | + | ||
201 | + | @Callable(ac) | |
202 | + | func init (D,M) = { | |
203 | + | let ad = if (if (if (if (U(ac.caller)) | |
204 | + | then W() | |
205 | + | else false) | |
206 | + | then V() | |
207 | + | else false) | |
208 | + | then m(D, "init: invalid pauser") | |
209 | + | else false) | |
210 | + | then r(M, 0, l, "init: invalid call chain id") | |
211 | + | else false | |
212 | + | if ((ad == ad)) | |
213 | + | then $Tuple2(((w(true) ++ C(addressFromStringValue(D))) ++ L(M)), unit) | |
214 | + | else throw("Strict value is not equal to itself.") | |
215 | + | } | |
216 | + | ||
217 | + | ||
218 | + | ||
219 | + | @Callable(ac) | |
220 | + | func call (ae,af,ag) = { | |
221 | + | let ad = if (if (X()) | |
222 | + | then ab(ac.caller) | |
223 | + | else false) | |
224 | + | then Y() | |
225 | + | else false | |
226 | + | if ((ad == ad)) | |
227 | + | then { | |
228 | + | let ah = S() | |
229 | + | let ai = N() | |
230 | + | let aj = $Tuple6(K(), ae, ac.caller, af, ag, ah) | |
231 | + | $Tuple2(((O((ai + 1)) ++ Q(ai, aj)) ++ T((ah + 1))), unit) | |
232 | + | } | |
233 | + | else throw("Strict value is not equal to itself.") | |
234 | + | } | |
235 | + | ||
236 | + | ||
237 | + | ||
238 | + | @Callable(ac) | |
239 | + | func allow (F) = { | |
240 | + | let ad = if (if (U(ac.caller)) | |
241 | + | then X() | |
242 | + | else false) | |
243 | + | then m(F, "allow: invalid caller arg") | |
244 | + | else false | |
245 | + | if ((ad == ad)) | |
246 | + | then $Tuple2(G(addressFromStringValue(F), true), unit) | |
247 | + | else throw("Strict value is not equal to itself.") | |
248 | + | } | |
249 | + | ||
250 | + | ||
251 | + | ||
252 | + | @Callable(ac) | |
253 | + | func disallow (F) = { | |
254 | + | let ad = if (if (U(ac.caller)) | |
255 | + | then X() | |
256 | + | else false) | |
257 | + | then m(F, "disallow: invalid caller arg") | |
258 | + | else false | |
259 | + | if ((ad == ad)) | |
260 | + | then $Tuple2(G(addressFromStringValue(F), false), unit) | |
261 | + | else throw("Strict value is not equal to itself.") | |
262 | + | } | |
263 | + | ||
264 | + | ||
265 | + | ||
266 | + | @Callable(ac) | |
267 | + | func pause () = { | |
268 | + | let ad = if (if (aa(ac.caller)) | |
269 | + | then X() | |
270 | + | else false) | |
271 | + | then Y() | |
272 | + | else false | |
273 | + | if ((ad == ad)) | |
274 | + | then $Tuple2(z(true), unit) | |
275 | + | else throw("Strict value is not equal to itself.") | |
276 | + | } | |
277 | + | ||
278 | + | ||
279 | + | ||
280 | + | @Callable(ac) | |
281 | + | func unpause () = { | |
282 | + | let ad = if (if (aa(ac.caller)) | |
283 | + | then X() | |
284 | + | else false) | |
285 | + | then Z() | |
286 | + | else false | |
287 | + | if ((ad == ad)) | |
288 | + | then $Tuple2(z(false), unit) | |
289 | + | else throw("Strict value is not equal to itself.") | |
290 | + | } | |
291 | + | ||
292 | + | ||
293 | + | ||
294 | + | @Callable(ac) | |
295 | + | func updatePauser (D) = { | |
296 | + | let ad = if (if (U(ac.caller)) | |
297 | + | then X() | |
298 | + | else false) | |
299 | + | then m(D, "init: invalid pauser") | |
300 | + | else false | |
301 | + | if ((ad == ad)) | |
302 | + | then $Tuple2(C(addressFromStringValue(D)), unit) | |
303 | + | else throw("Strict value is not equal to itself.") | |
304 | + | } | |
305 | + | ||
306 | + | ||
307 | + | ||
308 | + | @Callable(ac) | |
309 | + | func setMultisig (J) = { | |
310 | + | let ad = if (U(ac.caller)) | |
311 | + | then m(J, "setMultisig: invalid multisig address") | |
312 | + | else false | |
313 | + | if ((ad == ad)) | |
314 | + | then $Tuple2(I(addressFromStringValue(J)), unit) | |
315 | + | else throw("Strict value is not equal to itself.") | |
316 | + | } | |
317 | + | ||
318 | + | ||
319 | + | @Verifier(ak) | |
320 | + | func al () = { | |
321 | + | let p = getString(c) | |
322 | + | if ($isInstanceOf(p, "String")) | |
323 | + | then { | |
324 | + | let am = p | |
325 | + | valueOrElse(getBoolean(addressFromStringValue(am), makeString([d, toString(this), toBase58String(ak.id)], a)), false) | |
326 | + | } | |
327 | + | else sigVerify(ak.bodyBytes, ak.proofs[0], ak.senderPublicKey) | |
328 | + | } | |
329 | + |
github/deemru/w8io/169f3d6 36.12 ms ◑