tx · 4QTuVspwQvaP834z8rbWSSMf1pkmhnzSauW6EFpiJKW2 3MsgzbtRg8NEkbTcHBywtwTdCe9BRxMQo5T: -0.00800000 Waves 2024.11.18 12:01 [3376687] smart account 3MsgzbtRg8NEkbTcHBywtwTdCe9BRxMQo5T > SELF 0.00000000 Waves
{ "type": 13, "id": "4QTuVspwQvaP834z8rbWSSMf1pkmhnzSauW6EFpiJKW2", "fee": 800000, "feeAssetId": null, "timestamp": 1731920489625, "version": 2, "chainId": 84, "sender": "3MsgzbtRg8NEkbTcHBywtwTdCe9BRxMQo5T", "senderPublicKey": "iTiQR3Kvxn7i8PFgEbZn36n5iFLxFwkTA6M3wi846Vx", "proofs": [ "7dUxP41BmhyagH4EGES2DAn4urqtQaedfN91pXotzLjFK2zh6YpgDKZcCNe5sSSshEWqKU6ziP7ZYYBmFqrK5qx" ], "script": "base64:BwJbCAISAwoBCBIECgIICBIECgIIARIECgIIBBIECgIIAhIDCgEIEgUKAwIBBBIECgICARIFCgMCAQISBQoDAhIREgQKAgIBEgQKAggYEgQKAggYEgMKAQESAwoBCCMAA1NFUAICX18AC3dhdmVzU3RyaW5nAgVXQVZFUwAQY29udHJhY3RGaWxlbmFtZQIUbWVtZV9pbV9mYWN0b3J5LnJpZGUAC2tQcmljZUFzc2V0AgxwcmljZV9fYXNzZXQACWtTaHV0ZG93bgIOc2h1dGRvd25fX2ZsYWcACHNodXRkb3duCQELdmFsdWVPckVsc2UCCQCgCAEFCWtTaHV0ZG93bgcBB3dyYXBFcnIBAXMJAKwCAgkArAICBRBjb250cmFjdEZpbGVuYW1lAgI6IAUBcwEIdGhyb3dFcnIBAXMJAAIBCQEHd3JhcEVycgEFAXMAD0FETUlOX0xJU1RfU0laRQAKAAZRVU9SVU0AAwARVFhJRF9CWVRFU19MRU5HVEgAIAEYa2V5QWxsb3dlZFR4SWRWb3RlUHJlZml4AQR0eElkCQC5CQIJAMwIAgIGJXMlcyVzCQDMCAICCWFsbG93VHhJZAkAzAgCBQR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hLDdgkUJedH3EUp11sSv7VXQDMvWErLDjTFbpkpkjt Next: JxrJFsdokvQ6B4uC5FwJmiAxNEWG6BqRoUZTr4Tmvbh Diff:
Old | New | Differences | |
---|---|---|---|
367 | 367 | } | |
368 | 368 | ||
369 | 369 | ||
370 | + | @Verifier(aO) | |
371 | + | func aP () = { | |
372 | + | let aQ = (toBase58String(aO.id) == valueOrElse(getString(this, s()), "")) | |
373 | + | let aR = if ((size(y) >= k)) | |
374 | + | then false | |
375 | + | else sigVerify(aO.bodyBytes, aO.proofs[0], aO.senderPublicKey) | |
376 | + | if (aQ) | |
377 | + | then true | |
378 | + | else aR | |
379 | + | } | |
380 | + |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 7 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = "WAVES" | |
7 | 7 | ||
8 | 8 | let c = "meme_im_factory.ride" | |
9 | 9 | ||
10 | 10 | let d = "price__asset" | |
11 | 11 | ||
12 | 12 | let e = "shutdown__flag" | |
13 | 13 | ||
14 | 14 | let f = valueOrElse(getBoolean(e), false) | |
15 | 15 | ||
16 | 16 | func g (h) = ((c + ": ") + h) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func i (h) = throw(g(h)) | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | let j = 10 | |
23 | 23 | ||
24 | 24 | let k = 3 | |
25 | 25 | ||
26 | 26 | let l = 32 | |
27 | 27 | ||
28 | 28 | func m (n) = makeString(["%s%s%s", "allowTxId", n], a) | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func o (p,q) = makeString([p, q], a) | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func r () = makeString(["%s", "adminAddressList"], a) | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func s () = makeString(["%s", "txId"], a) | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func t (p,u) = { | |
41 | 41 | let v = o(p, u) | |
42 | 42 | valueOrElse(getInteger(v), 0) | |
43 | 43 | } | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func w () = { | |
47 | 47 | let x = getString(this, r()) | |
48 | 48 | if ($isInstanceOf(x, "String")) | |
49 | 49 | then { | |
50 | 50 | let h = x | |
51 | 51 | split(h, a) | |
52 | 52 | } | |
53 | 53 | else nil | |
54 | 54 | } | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | let y = w() | |
58 | 58 | ||
59 | 59 | func z (A) = containsElement(y, A) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func B (C,q) = { | |
63 | 63 | let D = C | |
64 | 64 | let E = D._1 | |
65 | 65 | let p = D._2 | |
66 | 66 | $Tuple2((E :+ o(p, q)), p) | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func F (G) = { | |
71 | 71 | let H = { | |
72 | 72 | let I = y | |
73 | 73 | let J = size(I) | |
74 | 74 | let K = $Tuple2(nil, G) | |
75 | 75 | func L (M,N) = if ((N >= J)) | |
76 | 76 | then M | |
77 | 77 | else B(M, I[N]) | |
78 | 78 | ||
79 | 79 | func O (M,N) = if ((N >= J)) | |
80 | 80 | then M | |
81 | 81 | else throw("List size exceeds 10") | |
82 | 82 | ||
83 | 83 | O(L(L(L(L(L(L(L(L(L(L(K, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
84 | 84 | } | |
85 | 85 | let E = H._1 | |
86 | 86 | let p = H._2 | |
87 | 87 | E | |
88 | 88 | } | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func P (E,v) = (E + valueOrElse(getInteger(v), 0)) | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func Q (p) = { | |
95 | 95 | let R = F(p) | |
96 | 96 | let I = R | |
97 | 97 | let J = size(I) | |
98 | 98 | let K = 0 | |
99 | 99 | func L (M,N) = if ((N >= J)) | |
100 | 100 | then M | |
101 | 101 | else P(M, I[N]) | |
102 | 102 | ||
103 | 103 | func O (M,N) = if ((N >= J)) | |
104 | 104 | then M | |
105 | 105 | else throw("List size exceeds 10") | |
106 | 106 | ||
107 | 107 | O(L(L(L(L(L(L(L(L(L(L(K, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
108 | 108 | } | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func S (E,T) = (E :+ DeleteEntry(T)) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func U (p) = { | |
115 | 115 | let R = F(p) | |
116 | 116 | let I = R | |
117 | 117 | let J = size(I) | |
118 | 118 | let K = nil | |
119 | 119 | func L (M,N) = if ((N >= J)) | |
120 | 120 | then M | |
121 | 121 | else S(M, I[N]) | |
122 | 122 | ||
123 | 123 | func O (M,N) = if ((N >= J)) | |
124 | 124 | then M | |
125 | 125 | else throw("List size exceeds 10") | |
126 | 126 | ||
127 | 127 | O(L(L(L(L(L(L(L(L(L(L(K, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
128 | 128 | } | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func V (W,G,X,Y) = { | |
132 | 132 | let v = o(G, W) | |
133 | 133 | let Z = t(G, W) | |
134 | 134 | let aa = if (!(z(W))) | |
135 | 135 | then i((("Address: " + W) + " not in Admin list")) | |
136 | 136 | else if ((Z == 1)) | |
137 | 137 | then i((v + " you already voted")) | |
138 | 138 | else unit | |
139 | 139 | if ((aa == aa)) | |
140 | 140 | then { | |
141 | 141 | let R = Q(G) | |
142 | 142 | if (((R + 1) >= X)) | |
143 | 143 | then { | |
144 | 144 | let ab = U(G) | |
145 | 145 | (ab ++ Y) | |
146 | 146 | } | |
147 | 147 | else [IntegerEntry(v, 1)] | |
148 | 148 | } | |
149 | 149 | else throw("Strict value is not equal to itself.") | |
150 | 150 | } | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func ac (A) = isDefined(addressFromString(A)) | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | let ad = "calculator__address" | |
157 | 157 | ||
158 | 158 | let ae = { | |
159 | 159 | let x = getString(this, ad) | |
160 | 160 | if ($isInstanceOf(x, "String")) | |
161 | 161 | then { | |
162 | 162 | let h = x | |
163 | 163 | addressFromString(h) | |
164 | 164 | } | |
165 | 165 | else if ($isInstanceOf(x, "Unit")) | |
166 | 166 | then unit | |
167 | 167 | else throw("Match error") | |
168 | 168 | } | |
169 | 169 | ||
170 | 170 | let af = valueOrErrorMessage(ae, g("invalid calculator address")) | |
171 | 171 | ||
172 | 172 | func ag (ah,A) = if ((ah.caller == A)) | |
173 | 173 | then true | |
174 | 174 | else i("permission denied") | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func ai (ah) = ag(ah, this) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func aj (ah) = ag(ah, af) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func ak (al) = if ((al == b)) | |
184 | 184 | then unit | |
185 | 185 | else fromBase58String(al) | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func am (al) = if ((al == unit)) | |
189 | 189 | then b | |
190 | 190 | else toBase58String(value(al)) | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | @Callable(ah) | |
194 | 194 | func init (an) = { | |
195 | 195 | let ao = ai(ah) | |
196 | 196 | if ((ao == ao)) | |
197 | 197 | then $Tuple2([StringEntry(ad, an), StringEntry(d, b)], unit) | |
198 | 198 | else throw("Strict value is not equal to itself.") | |
199 | 199 | } | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | ||
203 | 203 | @Callable(ah) | |
204 | 204 | func stringEntry (T,ap) = if (if (!(f)) | |
205 | 205 | then aj(ah) | |
206 | 206 | else false) | |
207 | 207 | then $Tuple2([StringEntry(T, ap)], T) | |
208 | 208 | else i("not allowed") | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | ||
212 | 212 | @Callable(ah) | |
213 | 213 | func integerEntry (T,ap) = if (if (!(f)) | |
214 | 214 | then aj(ah) | |
215 | 215 | else false) | |
216 | 216 | then $Tuple2([IntegerEntry(T, ap)], T) | |
217 | 217 | else i("not allowed") | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | ||
221 | 221 | @Callable(ah) | |
222 | 222 | func booleanEntry (T,ap) = if (if (!(f)) | |
223 | 223 | then aj(ah) | |
224 | 224 | else false) | |
225 | 225 | then $Tuple2([BooleanEntry(T, ap)], T) | |
226 | 226 | else i("not allowed") | |
227 | 227 | ||
228 | 228 | ||
229 | 229 | ||
230 | 230 | @Callable(ah) | |
231 | 231 | func binaryEntry (T,ap) = if (if (!(f)) | |
232 | 232 | then aj(ah) | |
233 | 233 | else false) | |
234 | 234 | then $Tuple2([BinaryEntry(T, ap)], T) | |
235 | 235 | else i("not allowed") | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | ||
239 | 239 | @Callable(ah) | |
240 | 240 | func deleteEntry (T) = if (if (!(f)) | |
241 | 241 | then aj(ah) | |
242 | 242 | else false) | |
243 | 243 | then $Tuple2([DeleteEntry(T)], T) | |
244 | 244 | else i("not allowed") | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | ||
248 | 248 | @Callable(ah) | |
249 | 249 | func reissue (aq,ar,as) = if (if (!(f)) | |
250 | 250 | then aj(ah) | |
251 | 251 | else false) | |
252 | 252 | then $Tuple2([Reissue(aq, ar, as)], ar) | |
253 | 253 | else i("not allowed") | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | ||
257 | 257 | @Callable(ah) | |
258 | 258 | func burn (aq,ar) = if (if (!(f)) | |
259 | 259 | then aj(ah) | |
260 | 260 | else false) | |
261 | 261 | then $Tuple2([Burn(aq, ar)], ar) | |
262 | 262 | else i("not allowed") | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | ||
266 | 266 | @Callable(ah) | |
267 | 267 | func transferAsset (at,ar,aq) = if (if (!(f)) | |
268 | 268 | then aj(ah) | |
269 | 269 | else false) | |
270 | 270 | then $Tuple2([ScriptTransfer(Address(at), ar, aq)], ar) | |
271 | 271 | else i("not allowed") | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | ||
275 | 275 | @Callable(ah) | |
276 | 276 | func transferAssets (at,au,av) = if (if (!(f)) | |
277 | 277 | then aj(ah) | |
278 | 278 | else false) | |
279 | 279 | then { | |
280 | 280 | func aw (ax,ay) = { | |
281 | 281 | let az = ax | |
282 | 282 | let aA = az._1 | |
283 | 283 | let aB = az._2 | |
284 | 284 | let aC = ScriptTransfer(Address(at), av[aB], au[aB]) | |
285 | 285 | let aD = (aA :+ aC) | |
286 | 286 | $Tuple2(aD, (aB + 1)) | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | let aE = { | |
290 | 290 | let I = au | |
291 | 291 | let J = size(I) | |
292 | 292 | let K = $Tuple2(nil, 0) | |
293 | 293 | func L (M,N) = if ((N >= J)) | |
294 | 294 | then M | |
295 | 295 | else aw(M, I[N]) | |
296 | 296 | ||
297 | 297 | func O (M,N) = if ((N >= J)) | |
298 | 298 | then M | |
299 | 299 | else throw("List size exceeds 10") | |
300 | 300 | ||
301 | 301 | O(L(L(L(L(L(L(L(L(L(L(K, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
302 | 302 | } | |
303 | 303 | let aF = aE._1 | |
304 | 304 | let aG = aE._2 | |
305 | 305 | $Tuple2(aF, unit) | |
306 | 306 | } | |
307 | 307 | else i("not allowed") | |
308 | 308 | ||
309 | 309 | ||
310 | 310 | ||
311 | 311 | @Callable(ah) | |
312 | 312 | func transferWaves (at,ar) = if (if (!(f)) | |
313 | 313 | then aj(ah) | |
314 | 314 | else false) | |
315 | 315 | then $Tuple2([ScriptTransfer(Address(at), ar, unit)], ar) | |
316 | 316 | else i("not allowed") | |
317 | 317 | ||
318 | 318 | ||
319 | 319 | ||
320 | 320 | @Callable(ah) | |
321 | 321 | func call (aH,aI) = { | |
322 | 322 | let aJ = if ((ah.callerPublicKey == base58'11111111111111111111111111111111')) | |
323 | 323 | then nil | |
324 | 324 | else ah.payments | |
325 | 325 | let E = reentrantInvoke(af, aH, [ah.callerPublicKey, aI], aJ) | |
326 | 326 | $Tuple2(nil, E) | |
327 | 327 | } | |
328 | 328 | ||
329 | 329 | ||
330 | 330 | ||
331 | 331 | @Callable(ah) | |
332 | 332 | func initPoolInvoke (aK,aI) = if (if (!(f)) | |
333 | 333 | then aj(ah) | |
334 | 334 | else false) | |
335 | 335 | then { | |
336 | 336 | let aL = [aI[0], aI[1], aI[2], aI[3], parseIntValue(aI[4])] | |
337 | 337 | $Tuple2(nil, invoke(addressFromStringValue(aK), "init", aL, ah.payments)) | |
338 | 338 | } | |
339 | 339 | else i("not allowed") | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | ||
343 | 343 | @Callable(ah) | |
344 | 344 | func notifyStatusUpdate (aM) = { | |
345 | 345 | let E = reentrantInvoke(af, "notifyStatusUpdate", [ah.callerPublicKey, [toString(aM)]], nil) | |
346 | 346 | $Tuple2(nil, E) | |
347 | 347 | } | |
348 | 348 | ||
349 | 349 | ||
350 | 350 | ||
351 | 351 | @Callable(ah) | |
352 | 352 | func voteForTxId (n) = { | |
353 | 353 | let W = toBase58String(ah.caller.bytes) | |
354 | 354 | let G = m(n) | |
355 | 355 | let E = [StringEntry(s(), n)] | |
356 | 356 | let aN = getString(this, s()) | |
357 | 357 | let aa = [if ((size(fromBase58String(n)) == l)) | |
358 | 358 | then true | |
359 | 359 | else i((n + " is not valid txId")), if (if ((aN == unit)) | |
360 | 360 | then true | |
361 | 361 | else (value(aN) != n)) | |
362 | 362 | then true | |
363 | 363 | else i((n + " is already allowed"))] | |
364 | 364 | if ((aa == aa)) | |
365 | 365 | then V(W, G, k, E) | |
366 | 366 | else throw("Strict value is not equal to itself.") | |
367 | 367 | } | |
368 | 368 | ||
369 | 369 | ||
370 | + | @Verifier(aO) | |
371 | + | func aP () = { | |
372 | + | let aQ = (toBase58String(aO.id) == valueOrElse(getString(this, s()), "")) | |
373 | + | let aR = if ((size(y) >= k)) | |
374 | + | then false | |
375 | + | else sigVerify(aO.bodyBytes, aO.proofs[0], aO.senderPublicKey) | |
376 | + | if (aQ) | |
377 | + | then true | |
378 | + | else aR | |
379 | + | } | |
380 | + |
github/deemru/w8io/169f3d6 51.02 ms ◑