tx · 27VJd7GFbEgmnT87eY4n8fykh7ozW3m6Um4Kq1d939HM 3MrjYK5MHFZSXcWX8p5YvZMfHz7tpiet4vP: -0.01900000 Waves 2023.03.02 11:19 [2472189] smart account 3MrjYK5MHFZSXcWX8p5YvZMfHz7tpiet4vP > SELF 0.00000000 Waves
{ "type": 13, "id": "27VJd7GFbEgmnT87eY4n8fykh7ozW3m6Um4Kq1d939HM", "fee": 1900000, "feeAssetId": null, "timestamp": 1677745179212, "version": 1, "sender": "3MrjYK5MHFZSXcWX8p5YvZMfHz7tpiet4vP", "senderPublicKey": "BQHxQ2EqwMa7WpHsHhMCFN9SDRcLVoq2Hsedf72pVMzz", "proofs": [ "2We5RiTUN3wkC662yBc8Nw9XQNDq8h7sYEJ1nP4yzB7PCCgubkZ6yCTQaM4zg3zoUw4S3spE6z2F35mSxxgjhAre" ], "script": "base64:AAIFAAAAAAAAAGMIAhIECgIIGBIDCgEIEgUKAwgICBIDCgEIEgMKAQgSAwoBCBIECgIICBIECgIICBIECgIICBIDCgEIEgUKAwgIBBIECgIICBIECgIIBBIDCgEIEgMKARgSAwoBCBIAEgMKAQgAAAApAAAAAANTRVACAAAAAl9fAAAAAAVFTVBUWQIAAAAAAAAAAA5zdGF0dXNWZXJpZmllZAAAAAAAAAAAAgAAAAAQc3RhdHVzVW52ZXJpZmllZAAAAAAAAAAAAAAAAAAWbGFiZWxDb21tdW5pdHlWZXJpZmllZAIAAAASQ09NTVVOSVRZX1ZFUklGSUVEAAAAAAxsYWJlbFBvb2xzTHACAAAACFBPT0xTX0xQAAAAAA1kZWZhdWx0TGFiZWxzCQAETAAAAAIFAAAAFmxhYmVsQ29tbXVuaXR5VmVyaWZpZWQJAARMAAAAAgUAAAAMbGFiZWxQb29sc0xwBQAAAANuaWwBAAAAB3Rocm93UEQAAAAACQAAAgAAAAECAAAAEVBlcm1pc3Npb24gZGVuaWVkAQAAAAx0aHJvd05vQXNzZXQAAAAACQAAAgAAAAECAAAAFEFzc2V0IGRvZ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SRUFET05MWQAAAAEAAAAHYXNzZXRJZAkABRQAAAACBQAAAANuaWwJAQAAAAppc1ZlcmlmaWVkAAAAAQUAAAAHYXNzZXRJZAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAD3RhcmdldFB1YmxpY0tleQQAAAAHJG1hdGNoMAkBAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXn97ltr", "chainId": 84, "height": 2472189, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 6sLa1A9KYTHfs3gKfdYBNtfFn7DkrJEKm5Tcct9gk5qy Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = "__" | |
5 | + | ||
6 | + | let b = "" | |
7 | + | ||
8 | + | let c = 2 | |
9 | + | ||
10 | + | let d = 0 | |
11 | + | ||
12 | + | let e = "COMMUNITY_VERIFIED" | |
13 | + | ||
14 | + | let f = "POOLS_LP" | |
15 | + | ||
16 | + | let g = [e, f] | |
17 | + | ||
18 | + | func h () = throw("Permission denied") | |
19 | + | ||
20 | + | ||
21 | + | func i () = throw("Asset doesn't exists") | |
22 | + | ||
23 | + | ||
24 | + | func j () = "%s__managerPublicKey" | |
25 | + | ||
26 | + | ||
27 | + | func k () = "%s__pendingManagerPublicKey" | |
28 | + | ||
29 | + | ||
30 | + | func l () = "%s__adminPubKeys" | |
31 | + | ||
32 | + | ||
33 | + | func m () = "%s__userPoolsContract" | |
34 | + | ||
35 | + | ||
36 | + | func n () = "%s__factoryContract" | |
37 | + | ||
38 | + | ||
39 | + | func o (p) = (("created_<" + p) + ">") | |
40 | + | ||
41 | + | ||
42 | + | func q (p) = (("logo_<" + p) + ">") | |
43 | + | ||
44 | + | ||
45 | + | func r (p) = (("ticker_<" + p) + ">") | |
46 | + | ||
47 | + | ||
48 | + | func s (p) = (("status_<" + p) + ">") | |
49 | + | ||
50 | + | ||
51 | + | func t (p) = makeString(["%s%s", "pools", p], a) | |
52 | + | ||
53 | + | ||
54 | + | func u (v) = makeString(["%s%s", "ticker2assetId", v], a) | |
55 | + | ||
56 | + | ||
57 | + | func w (p) = makeString(["%s%s", "assetId2ticker", p], a) | |
58 | + | ||
59 | + | ||
60 | + | func x (y,z) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", y, z], a) | |
61 | + | ||
62 | + | ||
63 | + | func A (B) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", B], a) | |
64 | + | ||
65 | + | ||
66 | + | func C (p) = makeString(["%s%s", "labels", p], a) | |
67 | + | ||
68 | + | ||
69 | + | func D () = makeString(["%s", "labels"], a) | |
70 | + | ||
71 | + | ||
72 | + | func E (F,G,H) = { | |
73 | + | let I = makeString(["mandatory ", toString(F), ".", G, " is not defined"], "") | |
74 | + | valueOrErrorMessage({ | |
75 | + | let J = H | |
76 | + | if ($isInstanceOf(J, "String")) | |
77 | + | then { | |
78 | + | let K = J | |
79 | + | getString(F, G) | |
80 | + | } | |
81 | + | else if ($isInstanceOf(J, "Int")) | |
82 | + | then { | |
83 | + | let L = J | |
84 | + | getInteger(F, G) | |
85 | + | } | |
86 | + | else throw("invalid entry type") | |
87 | + | }, I) | |
88 | + | } | |
89 | + | ||
90 | + | ||
91 | + | func M (F,G) = { | |
92 | + | let N = E(F, G, "") | |
93 | + | if ($isInstanceOf(N, "String")) | |
94 | + | then N | |
95 | + | else throw("Couldn't cast Int|String to String") | |
96 | + | } | |
97 | + | ||
98 | + | ||
99 | + | func O (F,G) = { | |
100 | + | let N = E(F, G, 0) | |
101 | + | if ($isInstanceOf(N, "Int")) | |
102 | + | then N | |
103 | + | else throw("Couldn't cast Int|String to Int") | |
104 | + | } | |
105 | + | ||
106 | + | ||
107 | + | func P (p) = (valueOrElse(getInteger(s(p)), d) == c) | |
108 | + | ||
109 | + | ||
110 | + | func Q () = { | |
111 | + | let J = getString(D()) | |
112 | + | if ($isInstanceOf(J, "String")) | |
113 | + | then { | |
114 | + | let R = J | |
115 | + | if ((size(R) == 0)) | |
116 | + | then nil | |
117 | + | else split(R, a) | |
118 | + | } | |
119 | + | else nil | |
120 | + | } | |
121 | + | ||
122 | + | ||
123 | + | func S (p) = { | |
124 | + | let J = getString(C(p)) | |
125 | + | if ($isInstanceOf(J, "String")) | |
126 | + | then { | |
127 | + | let R = J | |
128 | + | if ((size(R) == 0)) | |
129 | + | then nil | |
130 | + | else split(R, a) | |
131 | + | } | |
132 | + | else nil | |
133 | + | } | |
134 | + | ||
135 | + | ||
136 | + | func T () = { | |
137 | + | let J = getString(j()) | |
138 | + | if ($isInstanceOf(J, "String")) | |
139 | + | then { | |
140 | + | let R = J | |
141 | + | fromBase58String(R) | |
142 | + | } | |
143 | + | else if ($isInstanceOf(J, "Unit")) | |
144 | + | then unit | |
145 | + | else throw("Match error") | |
146 | + | } | |
147 | + | ||
148 | + | ||
149 | + | func U () = { | |
150 | + | let J = getString(k()) | |
151 | + | if ($isInstanceOf(J, "String")) | |
152 | + | then { | |
153 | + | let R = J | |
154 | + | fromBase58String(R) | |
155 | + | } | |
156 | + | else if ($isInstanceOf(J, "Unit")) | |
157 | + | then unit | |
158 | + | else throw("Match error") | |
159 | + | } | |
160 | + | ||
161 | + | ||
162 | + | func V (W) = { | |
163 | + | let J = T() | |
164 | + | if ($isInstanceOf(J, "ByteVector")) | |
165 | + | then { | |
166 | + | let X = J | |
167 | + | if ((W.callerPublicKey == X)) | |
168 | + | then true | |
169 | + | else h() | |
170 | + | } | |
171 | + | else if ($isInstanceOf(J, "Unit")) | |
172 | + | then if ((W.caller == this)) | |
173 | + | then true | |
174 | + | else h() | |
175 | + | else throw("Match error") | |
176 | + | } | |
177 | + | ||
178 | + | ||
179 | + | func Y (W) = { | |
180 | + | let Z = split(valueOrElse(getString(l()), b), a) | |
181 | + | if (containsElement(Z, toBase58String(W.callerPublicKey))) | |
182 | + | then true | |
183 | + | else { | |
184 | + | let aa = V(W) | |
185 | + | if ((aa == aa)) | |
186 | + | then true | |
187 | + | else throw("Strict value is not equal to itself.") | |
188 | + | } | |
189 | + | } | |
190 | + | ||
191 | + | ||
192 | + | func ab (p) = valueOrElse(getBoolean(o(p)), false) | |
193 | + | ||
194 | + | ||
195 | + | func ac (ad) = if (ad) | |
196 | + | then c | |
197 | + | else d | |
198 | + | ||
199 | + | ||
200 | + | func ae (p,af,ag) = { | |
201 | + | let ah = Q() | |
202 | + | let ai = S(p) | |
203 | + | let aj = if (containsElement(ah, af)) | |
204 | + | then true | |
205 | + | else throw("Label doesn't exist") | |
206 | + | if ((aj == aj)) | |
207 | + | then { | |
208 | + | let ak = if (containsElement(ai, af)) | |
209 | + | then if (ag) | |
210 | + | then throw("Label has already been added") | |
211 | + | else ai | |
212 | + | else (ai :+ af) | |
213 | + | [StringEntry(C(p), makeString(ak, a))] | |
214 | + | } | |
215 | + | else throw("Strict value is not equal to itself.") | |
216 | + | } | |
217 | + | ||
218 | + | ||
219 | + | func al (p,af,ag) = { | |
220 | + | let ai = S(p) | |
221 | + | let ak = if (containsElement(ai, af)) | |
222 | + | then removeByIndex(ai, value(indexOf(ai, af))) | |
223 | + | else if (ag) | |
224 | + | then throw("Label wasn't added") | |
225 | + | else ai | |
226 | + | [StringEntry(C(p), makeString(ak, a))] | |
227 | + | } | |
228 | + | ||
229 | + | ||
230 | + | func am (p,ad) = { | |
231 | + | let an = if (ad) | |
232 | + | then ae(p, e, false) | |
233 | + | else al(p, e, false) | |
234 | + | ([IntegerEntry(s(p), ac(ad))] ++ an) | |
235 | + | } | |
236 | + | ||
237 | + | ||
238 | + | func ao (p,v) = { | |
239 | + | let ap = { | |
240 | + | let aq = getString(u(v)) | |
241 | + | let ar = if ((v != "")) | |
242 | + | then if ((aq == unit)) | |
243 | + | then true | |
244 | + | else (value(aq) == p) | |
245 | + | else false | |
246 | + | if (ar) | |
247 | + | then true | |
248 | + | else throw("Invalid ticker") | |
249 | + | } | |
250 | + | if ((ap == ap)) | |
251 | + | then [StringEntry(w(p), v), StringEntry(u(v), p)] | |
252 | + | else throw("Strict value is not equal to itself.") | |
253 | + | } | |
254 | + | ||
255 | + | ||
256 | + | @Callable(W) | |
257 | + | func constructor (as,ah) = { | |
258 | + | let at = V(W) | |
259 | + | if ((at == at)) | |
260 | + | then { | |
261 | + | let au = valueOrErrorMessage(addressFromString(as), "Invalid address") | |
262 | + | if ((au == au)) | |
263 | + | then [StringEntry(m(), as), StringEntry(D(), makeString((g ++ ah), a))] | |
264 | + | else throw("Strict value is not equal to itself.") | |
265 | + | } | |
266 | + | else throw("Strict value is not equal to itself.") | |
267 | + | } | |
268 | + | ||
269 | + | ||
270 | + | ||
271 | + | @Callable(W) | |
272 | + | func constructorV2 (av) = { | |
273 | + | let at = V(W) | |
274 | + | if ((at == at)) | |
275 | + | then { | |
276 | + | let aw = valueOrErrorMessage(addressFromString(av), "invalid factory contract address") | |
277 | + | if ((aw == aw)) | |
278 | + | then [StringEntry(n(), av)] | |
279 | + | else throw("Strict value is not equal to itself.") | |
280 | + | } | |
281 | + | else throw("Strict value is not equal to itself.") | |
282 | + | } | |
283 | + | ||
284 | + | ||
285 | + | ||
286 | + | @Callable(W) | |
287 | + | func addAssetsLink (y,z,B) = { | |
288 | + | let at = Y(W) | |
289 | + | if ((at == at)) | |
290 | + | then [StringEntry(x(y, z), B), StringEntry(A(B), makeString([y, z], a))] | |
291 | + | else throw("Strict value is not equal to itself.") | |
292 | + | } | |
293 | + | ||
294 | + | ||
295 | + | ||
296 | + | @Callable(W) | |
297 | + | func increaseAssetPoolsNumber (p) = { | |
298 | + | let at = Y(W) | |
299 | + | if ((at == at)) | |
300 | + | then { | |
301 | + | let ax = t(p) | |
302 | + | let ay = valueOrElse(getInteger(ax), 0) | |
303 | + | [IntegerEntry(ax, (ay + 1))] | |
304 | + | } | |
305 | + | else throw("Strict value is not equal to itself.") | |
306 | + | } | |
307 | + | ||
308 | + | ||
309 | + | ||
310 | + | @Callable(W) | |
311 | + | func createLabel (af) = { | |
312 | + | let ah = Q() | |
313 | + | let at = Y(W) | |
314 | + | if ((at == at)) | |
315 | + | then { | |
316 | + | let aj = [if (!(contains(af, a))) | |
317 | + | then true | |
318 | + | else throw("Invalid label name"), if (!(containsElement(ah, af))) | |
319 | + | then true | |
320 | + | else throw("Label exists")] | |
321 | + | if ((aj == aj)) | |
322 | + | then [StringEntry(D(), makeString((ah :+ af), a))] | |
323 | + | else throw("Strict value is not equal to itself.") | |
324 | + | } | |
325 | + | else throw("Strict value is not equal to itself.") | |
326 | + | } | |
327 | + | ||
328 | + | ||
329 | + | ||
330 | + | @Callable(W) | |
331 | + | func dropLabel (af) = { | |
332 | + | let ah = Q() | |
333 | + | let at = V(W) | |
334 | + | if ((at == at)) | |
335 | + | then { | |
336 | + | let aj = if (containsElement(ah, af)) | |
337 | + | then true | |
338 | + | else throw("Label doesn't exist") | |
339 | + | if ((aj == aj)) | |
340 | + | then [StringEntry(D(), makeString(removeByIndex(ah, value(indexOf(ah, af))), a))] | |
341 | + | else throw("Strict value is not equal to itself.") | |
342 | + | } | |
343 | + | else throw("Strict value is not equal to itself.") | |
344 | + | } | |
345 | + | ||
346 | + | ||
347 | + | ||
348 | + | @Callable(W) | |
349 | + | func addLabel (p,af) = { | |
350 | + | let at = Y(W) | |
351 | + | if ((at == at)) | |
352 | + | then ae(p, af, true) | |
353 | + | else throw("Strict value is not equal to itself.") | |
354 | + | } | |
355 | + | ||
356 | + | ||
357 | + | ||
358 | + | @Callable(W) | |
359 | + | func deleteLabel (p,af) = { | |
360 | + | let at = Y(W) | |
361 | + | if ((at == at)) | |
362 | + | then al(p, af, true) | |
363 | + | else throw("Strict value is not equal to itself.") | |
364 | + | } | |
365 | + | ||
366 | + | ||
367 | + | ||
368 | + | @Callable(W) | |
369 | + | func updateTicker (p,v) = { | |
370 | + | let at = Y(W) | |
371 | + | if ((at == at)) | |
372 | + | then { | |
373 | + | let az = if (ab(p)) | |
374 | + | then true | |
375 | + | else i() | |
376 | + | if ((az == az)) | |
377 | + | then ao(p, v) | |
378 | + | else throw("Strict value is not equal to itself.") | |
379 | + | } | |
380 | + | else throw("Strict value is not equal to itself.") | |
381 | + | } | |
382 | + | ||
383 | + | ||
384 | + | ||
385 | + | @Callable(W) | |
386 | + | func deleteTicker (p) = { | |
387 | + | let at = Y(W) | |
388 | + | if ((at == at)) | |
389 | + | then { | |
390 | + | let v = valueOrErrorMessage(getString(w(p)), "Invalid asset") | |
391 | + | [DeleteEntry(w(p)), DeleteEntry(u(v))] | |
392 | + | } | |
393 | + | else throw("Strict value is not equal to itself.") | |
394 | + | } | |
395 | + | ||
396 | + | ||
397 | + | ||
398 | + | @Callable(W) | |
399 | + | func createOrUpdate (p,aA,ad) = { | |
400 | + | let at = Y(W) | |
401 | + | if ((at == at)) | |
402 | + | then { | |
403 | + | let aB = !(ab(p)) | |
404 | + | if ((aB == aB)) | |
405 | + | then { | |
406 | + | let aC = if ((aA == "")) | |
407 | + | then nil | |
408 | + | else [StringEntry(q(p), aA)] | |
409 | + | $Tuple2((([BooleanEntry(o(p), true)] ++ aC) ++ am(p, ad)), aB) | |
410 | + | } | |
411 | + | else throw("Strict value is not equal to itself.") | |
412 | + | } | |
413 | + | else throw("Strict value is not equal to itself.") | |
414 | + | } | |
415 | + | ||
416 | + | ||
417 | + | ||
418 | + | @Callable(W) | |
419 | + | func setLogo (p,aA) = { | |
420 | + | let aD = [Y(W), if (ab(p)) | |
421 | + | then true | |
422 | + | else i()] | |
423 | + | if ((aD == aD)) | |
424 | + | then { | |
425 | + | let aE = if ((aA == "")) | |
426 | + | then DeleteEntry(q(p)) | |
427 | + | else StringEntry(q(p), aA) | |
428 | + | [aE] | |
429 | + | } | |
430 | + | else throw("Strict value is not equal to itself.") | |
431 | + | } | |
432 | + | ||
433 | + | ||
434 | + | ||
435 | + | @Callable(W) | |
436 | + | func setVerified (p,ad) = { | |
437 | + | let aD = [Y(W), if (ab(p)) | |
438 | + | then true | |
439 | + | else i()] | |
440 | + | if ((aD == aD)) | |
441 | + | then { | |
442 | + | let aF = if (!(ad)) | |
443 | + | then { | |
444 | + | let av = valueOrErrorMessage(addressFromString(M(this, n())), "invalid factory contract address") | |
445 | + | invoke(av, "onVerificationLoss", [p], nil) | |
446 | + | } | |
447 | + | else unit | |
448 | + | if ((aF == aF)) | |
449 | + | then $Tuple2(am(p, ad), unit) | |
450 | + | else throw("Strict value is not equal to itself.") | |
451 | + | } | |
452 | + | else throw("Strict value is not equal to itself.") | |
453 | + | } | |
454 | + | ||
455 | + | ||
456 | + | ||
457 | + | @Callable(W) | |
458 | + | func onEliminate (p) = { | |
459 | + | let aG = valueOrElse(getInteger(t(p)), 0) | |
460 | + | let aH = if ((aG > 0)) | |
461 | + | then nil | |
462 | + | else [DeleteEntry(q(p))] | |
463 | + | $Tuple2(aH, unit) | |
464 | + | } | |
465 | + | ||
466 | + | ||
467 | + | ||
468 | + | @Callable(W) | |
469 | + | func setAdmins (aI) = { | |
470 | + | let at = V(W) | |
471 | + | if ((at == at)) | |
472 | + | then [StringEntry(l(), makeString(aI, a))] | |
473 | + | else throw("Strict value is not equal to itself.") | |
474 | + | } | |
475 | + | ||
476 | + | ||
477 | + | ||
478 | + | @Callable(W) | |
479 | + | func setManager (aJ) = { | |
480 | + | let at = V(W) | |
481 | + | if ((at == at)) | |
482 | + | then { | |
483 | + | let aK = fromBase58String(aJ) | |
484 | + | if ((aK == aK)) | |
485 | + | then [StringEntry(k(), aJ)] | |
486 | + | else throw("Strict value is not equal to itself.") | |
487 | + | } | |
488 | + | else throw("Strict value is not equal to itself.") | |
489 | + | } | |
490 | + | ||
491 | + | ||
492 | + | ||
493 | + | @Callable(W) | |
494 | + | func confirmManager () = { | |
495 | + | let aL = U() | |
496 | + | let aM = if (isDefined(aL)) | |
497 | + | then true | |
498 | + | else throw("No pending manager") | |
499 | + | if ((aM == aM)) | |
500 | + | then { | |
501 | + | let aN = if ((W.callerPublicKey == value(aL))) | |
502 | + | then true | |
503 | + | else throw("You are not pending manager") | |
504 | + | if ((aN == aN)) | |
505 | + | then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())] | |
506 | + | else throw("Strict value is not equal to itself.") | |
507 | + | } | |
508 | + | else throw("Strict value is not equal to itself.") | |
509 | + | } | |
510 | + | ||
511 | + | ||
512 | + | ||
513 | + | @Callable(W) | |
514 | + | func isVerifiedREADONLY (p) = $Tuple2(nil, P(p)) | |
515 | + | ||
516 | + | ||
517 | + | @Verifier(aO) | |
518 | + | func aP () = { | |
519 | + | let aQ = { | |
520 | + | let J = T() | |
521 | + | if ($isInstanceOf(J, "ByteVector")) | |
522 | + | then { | |
523 | + | let X = J | |
524 | + | X | |
525 | + | } | |
526 | + | else if ($isInstanceOf(J, "Unit")) | |
527 | + | then aO.senderPublicKey | |
528 | + | else throw("Match error") | |
529 | + | } | |
530 | + | sigVerify(aO.bodyBytes, aO.proofs[0], aQ) | |
531 | + | } | |
532 | + |
github/deemru/w8io/169f3d6 28.58 ms ◑