tx · GJa8VtEX2JZNAYaAQbiLYVBCereUjXvF9w4bggD1Vq2

3N8H9S5aWuvovFgoDQgnSfZGeKbEzCnT7zw:  -0.01900000 Waves

2023.02.20 10:54 [2457689] smart account 3N8H9S5aWuvovFgoDQgnSfZGeKbEzCnT7zw > SELF 0.00000000 Waves

{ "type": 13, "id": "GJa8VtEX2JZNAYaAQbiLYVBCereUjXvF9w4bggD1Vq2", "fee": 1900000, "feeAssetId": null, "timestamp": 1676879698099, "version": 1, "sender": "3N8H9S5aWuvovFgoDQgnSfZGeKbEzCnT7zw", "senderPublicKey": "BWniYo2Ww9n9zcnVsusQAU234bA1wMgBCZjdKiSDVUQA", "proofs": [ "4D3btB2mS87xMYp1CwmCvdXk6YvJYvMzEcWy49UABNwUq6NtvV6FinhaXxhP3Rjxsuta9UfxJrZKzxSbTuAG3yu2" ], "script": "base64:AAIFAAAAAAAAAGMIAhIECgIIGBIDCgEIEgUKAwgICBIDCgEIEgMKAQgSAwoBCBIECgIICBIECgIICBIECgIICBIDCgEIEgUKAwgIBBIECgIICBIECgIIBBIDCgEIEgMKARgSAwoBCBIAEgMKAQgAAAApAAAAAANTRVACAAAAAl9fAAAAAAVFTVBUWQIAAAAAAAAAAA5zdGF0dXNWZXJpZmllZAAAAAAAAAAAAgAAAAAQc3RhdHVzVW52ZXJpZmllZAAAAAAAAAAAAAAAAAAWbGFiZWxDb21tdW5pdHlWZXJpZmllZAIAAAASQ09NTVVOSVRZX1ZFUklGSUVEAAAAAAxsYWJlbFBvb2xzTHACAAAACFBPT0xTX0xQAAAAAA1kZWZhdWx0TGFiZWxzCQAETAAAAAIFAAAAFmxhYmVsQ29tbXVuaXR5VmVyaWZpZWQJAARMAAAAAgUAAAAMbGFiZWxQb29sc0xwBQAAAANuaWwBAAAAB3Rocm93UEQAAAAACQAAAgAAAAECAAAAEVBlcm1pc3Npb24gZGVuaWVkAQAAAAx0aHJvd05vQXNzZXQAAAAACQAAAgAAAAECAAAAFEFzc2V0IGRvZXN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UFET05MWQAAAAEAAAAHYXNzZXRJZAkABRQAAAACBQAAAANuaWwJAQAAAAppc1ZlcmlmaWVkAAAAAQUAAAAHYXNzZXRJZAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAD3RhcmdldFB1YmxpY0tleQQAAAAHJG1hdGNoMAkBAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXn97ltr", "chainId": 84, "height": 2457689, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2dvPNAoNgVXFF8zLWAwaSTnYjasvsWDrVsuBcnw4fCkh Next: TAE3Ux2PYv2faUAheAZeCVa1onSEVQTNUZA6LatWbTL Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = ""
77
88 let c = 2
99
1010 let d = 0
1111
1212 let e = "COMMUNITY_VERIFIED"
1313
1414 let f = "POOLS_LP"
1515
1616 let g = [e, f]
1717
1818 func h () = throw("Permission denied")
1919
2020
2121 func i () = throw("Asset doesn't exists")
2222
2323
2424 func j () = "%s__managerPublicKey"
2525
2626
2727 func k () = "%s__pendingManagerPublicKey"
2828
2929
3030 func l () = "%s__adminPubKeys"
3131
3232
3333 func m () = "%s__userPoolsContract"
3434
3535
3636 func n () = "%s__factoryContract"
3737
3838
3939 func o (p) = (("created_<" + p) + ">")
4040
4141
4242 func q (p) = (("logo_<" + p) + ">")
4343
4444
4545 func r (p) = (("ticker_<" + p) + ">")
4646
4747
4848 func s (p) = (("status_<" + p) + ">")
4949
5050
5151 func t (p) = makeString(["%s%s", "pools", p], a)
5252
5353
5454 func u (v) = makeString(["%s%s", "ticker2assetId", v], a)
5555
5656
5757 func w (p) = makeString(["%s%s", "assetId2ticker", p], a)
5858
5959
6060 func x (y,z) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", y, z], a)
6161
6262
6363 func A (B) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", B], a)
6464
6565
6666 func C (p) = makeString(["%s%s", "labels", p], a)
6767
6868
6969 func D () = makeString(["%s", "labels"], a)
7070
7171
7272 func E (F,G,H) = {
7373 let I = makeString(["mandatory ", toString(F), ".", G, " is not defined"], "")
7474 valueOrErrorMessage({
7575 let J = H
7676 if ($isInstanceOf(J, "String"))
7777 then {
7878 let K = J
7979 getString(F, G)
8080 }
8181 else if ($isInstanceOf(J, "Int"))
8282 then {
8383 let L = J
8484 getInteger(F, G)
8585 }
8686 else throw("invalid entry type")
8787 }, I)
8888 }
8989
9090
9191 func M (F,G) = {
9292 let N = E(F, G, "")
9393 if ($isInstanceOf(N, "String"))
9494 then N
9595 else throw("Couldn't cast Int|String to String")
9696 }
9797
9898
9999 func O (F,G) = {
100100 let N = E(F, G, 0)
101101 if ($isInstanceOf(N, "Int"))
102102 then N
103103 else throw("Couldn't cast Int|String to Int")
104104 }
105105
106106
107107 func P (p) = (valueOrElse(getInteger(s(p)), d) == c)
108108
109109
110110 func Q () = {
111111 let J = getString(D())
112112 if ($isInstanceOf(J, "String"))
113113 then {
114114 let R = J
115115 if ((size(R) == 0))
116116 then nil
117117 else split(R, a)
118118 }
119119 else nil
120120 }
121121
122122
123123 func S (p) = {
124124 let J = getString(C(p))
125125 if ($isInstanceOf(J, "String"))
126126 then {
127127 let R = J
128128 if ((size(R) == 0))
129129 then nil
130130 else split(R, a)
131131 }
132132 else nil
133133 }
134134
135135
136136 func T () = {
137137 let J = getString(j())
138138 if ($isInstanceOf(J, "String"))
139139 then {
140140 let R = J
141141 fromBase58String(R)
142142 }
143143 else if ($isInstanceOf(J, "Unit"))
144144 then unit
145145 else throw("Match error")
146146 }
147147
148148
149149 func U () = {
150150 let J = getString(k())
151151 if ($isInstanceOf(J, "String"))
152152 then {
153153 let R = J
154154 fromBase58String(R)
155155 }
156156 else if ($isInstanceOf(J, "Unit"))
157157 then unit
158158 else throw("Match error")
159159 }
160160
161161
162162 func V (W) = {
163163 let J = T()
164164 if ($isInstanceOf(J, "ByteVector"))
165165 then {
166166 let X = J
167167 if ((W.callerPublicKey == X))
168168 then true
169169 else h()
170170 }
171171 else if ($isInstanceOf(J, "Unit"))
172172 then if ((W.caller == this))
173173 then true
174174 else h()
175175 else throw("Match error")
176176 }
177177
178178
179179 func Y (W) = {
180180 let Z = split(valueOrElse(getString(l()), b), a)
181181 if (containsElement(Z, toBase58String(W.callerPublicKey)))
182182 then true
183183 else {
184184 let aa = V(W)
185185 if ((aa == aa))
186186 then true
187187 else throw("Strict value is not equal to itself.")
188188 }
189189 }
190190
191191
192192 func ab (p) = valueOrElse(getBoolean(o(p)), false)
193193
194194
195195 func ac (ad) = if (ad)
196196 then c
197197 else d
198198
199199
200200 func ae (p,af,ag) = {
201201 let ah = Q()
202202 let ai = S(p)
203203 let aj = if (containsElement(ah, af))
204204 then true
205205 else throw("Label doesn't exist")
206206 if ((aj == aj))
207207 then {
208208 let ak = if (containsElement(ai, af))
209209 then if (ag)
210210 then throw("Label has already been added")
211211 else ai
212212 else (ai :+ af)
213213 [StringEntry(C(p), makeString(ak, a))]
214214 }
215215 else throw("Strict value is not equal to itself.")
216216 }
217217
218218
219219 func al (p,af,ag) = {
220220 let ai = S(p)
221221 let ak = if (containsElement(ai, af))
222222 then removeByIndex(ai, value(indexOf(ai, af)))
223223 else if (ag)
224224 then throw("Label wasn't added")
225225 else ai
226226 [StringEntry(C(p), makeString(ak, a))]
227227 }
228228
229229
230230 func am (p,ad) = {
231231 let an = if (ad)
232232 then ae(p, e, false)
233233 else al(p, e, false)
234234 ([IntegerEntry(s(p), ac(ad))] ++ an)
235235 }
236236
237237
238238 func ao (p,v) = {
239239 let ap = {
240240 let aq = getString(u(v))
241241 let ar = if ((v != ""))
242242 then if ((aq == unit))
243243 then true
244244 else (value(aq) == p)
245245 else false
246246 if (ar)
247247 then true
248248 else throw("Invalid ticker")
249249 }
250250 if ((ap == ap))
251251 then [StringEntry(w(p), v), StringEntry(u(v), p)]
252252 else throw("Strict value is not equal to itself.")
253253 }
254254
255255
256256 @Callable(W)
257257 func constructor (as,ah) = {
258258 let at = V(W)
259259 if ((at == at))
260260 then {
261261 let au = valueOrErrorMessage(addressFromString(as), "Invalid address")
262262 if ((au == au))
263263 then [StringEntry(m(), as), StringEntry(D(), makeString((g ++ ah), a))]
264264 else throw("Strict value is not equal to itself.")
265265 }
266266 else throw("Strict value is not equal to itself.")
267267 }
268268
269269
270270
271271 @Callable(W)
272272 func constructorV2 (av) = {
273273 let at = V(W)
274274 if ((at == at))
275275 then {
276276 let aw = valueOrErrorMessage(addressFromString(av), "invalid factory contract address")
277277 if ((aw == aw))
278278 then [StringEntry(n(), av)]
279279 else throw("Strict value is not equal to itself.")
280280 }
281281 else throw("Strict value is not equal to itself.")
282282 }
283283
284284
285285
286286 @Callable(W)
287287 func addAssetsLink (y,z,B) = {
288288 let at = Y(W)
289289 if ((at == at))
290290 then [StringEntry(x(y, z), B), StringEntry(A(B), makeString([y, z], a))]
291291 else throw("Strict value is not equal to itself.")
292292 }
293293
294294
295295
296296 @Callable(W)
297297 func increaseAssetPoolsNumber (p) = {
298298 let at = Y(W)
299299 if ((at == at))
300300 then {
301301 let ax = t(p)
302302 let ay = valueOrElse(getInteger(ax), 0)
303303 [IntegerEntry(ax, (ay + 1))]
304304 }
305305 else throw("Strict value is not equal to itself.")
306306 }
307307
308308
309309
310310 @Callable(W)
311311 func createLabel (af) = {
312312 let ah = Q()
313313 let at = Y(W)
314314 if ((at == at))
315315 then {
316316 let aj = [if (!(contains(af, a)))
317317 then true
318318 else throw("Invalid label name"), if (!(containsElement(ah, af)))
319319 then true
320320 else throw("Label exists")]
321321 if ((aj == aj))
322322 then [StringEntry(D(), makeString((ah :+ af), a))]
323323 else throw("Strict value is not equal to itself.")
324324 }
325325 else throw("Strict value is not equal to itself.")
326326 }
327327
328328
329329
330330 @Callable(W)
331331 func dropLabel (af) = {
332332 let ah = Q()
333333 let at = V(W)
334334 if ((at == at))
335335 then {
336336 let aj = if (containsElement(ah, af))
337337 then true
338338 else throw("Label doesn't exist")
339339 if ((aj == aj))
340340 then [StringEntry(D(), makeString(removeByIndex(ah, value(indexOf(ah, af))), a))]
341341 else throw("Strict value is not equal to itself.")
342342 }
343343 else throw("Strict value is not equal to itself.")
344344 }
345345
346346
347347
348348 @Callable(W)
349349 func addLabel (p,af) = {
350350 let at = Y(W)
351351 if ((at == at))
352352 then ae(p, af, true)
353353 else throw("Strict value is not equal to itself.")
354354 }
355355
356356
357357
358358 @Callable(W)
359359 func deleteLabel (p,af) = {
360360 let at = Y(W)
361361 if ((at == at))
362362 then al(p, af, true)
363363 else throw("Strict value is not equal to itself.")
364364 }
365365
366366
367367
368368 @Callable(W)
369369 func updateTicker (p,v) = {
370370 let at = Y(W)
371371 if ((at == at))
372372 then {
373373 let az = if (ab(p))
374374 then true
375375 else i()
376376 if ((az == az))
377377 then ao(p, v)
378378 else throw("Strict value is not equal to itself.")
379379 }
380380 else throw("Strict value is not equal to itself.")
381381 }
382382
383383
384384
385385 @Callable(W)
386386 func deleteTicker (p) = {
387387 let at = Y(W)
388388 if ((at == at))
389389 then {
390390 let v = valueOrErrorMessage(getString(w(p)), "Invalid asset")
391391 [DeleteEntry(w(p)), DeleteEntry(u(v))]
392392 }
393393 else throw("Strict value is not equal to itself.")
394394 }
395395
396396
397397
398398 @Callable(W)
399399 func createOrUpdate (p,aA,ad) = {
400400 let at = Y(W)
401401 if ((at == at))
402402 then {
403403 let aB = !(ab(p))
404404 if ((aB == aB))
405405 then {
406406 let aC = if ((aA == ""))
407407 then nil
408408 else [StringEntry(q(p), aA)]
409409 $Tuple2((([BooleanEntry(o(p), true)] ++ aC) ++ am(p, ad)), aB)
410410 }
411411 else throw("Strict value is not equal to itself.")
412412 }
413413 else throw("Strict value is not equal to itself.")
414414 }
415415
416416
417417
418418 @Callable(W)
419419 func setLogo (p,aA) = {
420420 let aD = [Y(W), if (ab(p))
421421 then true
422422 else i()]
423423 if ((aD == aD))
424424 then {
425425 let aE = if ((aA == ""))
426426 then DeleteEntry(q(p))
427427 else StringEntry(q(p), aA)
428428 [aE]
429429 }
430430 else throw("Strict value is not equal to itself.")
431431 }
432432
433433
434434
435435 @Callable(W)
436436 func setVerified (p,ad) = {
437437 let aD = [Y(W), if (ab(p))
438438 then true
439439 else i()]
440440 if ((aD == aD))
441441 then {
442442 let aF = if (!(ad))
443443 then {
444444 let av = valueOrErrorMessage(addressFromString(M(this, n())), "invalid factory contract address")
445445 invoke(av, "onVerificationLoss", [p], nil)
446446 }
447447 else unit
448448 if ((aF == aF))
449449 then $Tuple2(am(p, ad), unit)
450450 else throw("Strict value is not equal to itself.")
451451 }
452452 else throw("Strict value is not equal to itself.")
453453 }
454454
455455
456456
457457 @Callable(W)
458458 func onEliminate (p) = {
459459 let aG = valueOrElse(getInteger(t(p)), 0)
460460 let aH = if ((aG > 0))
461461 then nil
462462 else [DeleteEntry(q(p))]
463463 $Tuple2(aH, unit)
464464 }
465465
466466
467467
468468 @Callable(W)
469469 func setAdmins (aI) = {
470470 let at = V(W)
471471 if ((at == at))
472472 then [StringEntry(l(), makeString(aI, a))]
473473 else throw("Strict value is not equal to itself.")
474474 }
475475
476476
477477
478478 @Callable(W)
479479 func setManager (aJ) = {
480480 let at = V(W)
481481 if ((at == at))
482482 then {
483483 let aK = fromBase58String(aJ)
484484 if ((aK == aK))
485485 then [StringEntry(k(), aJ)]
486486 else throw("Strict value is not equal to itself.")
487487 }
488488 else throw("Strict value is not equal to itself.")
489489 }
490490
491491
492492
493493 @Callable(W)
494494 func confirmManager () = {
495495 let aL = U()
496496 let aM = if (isDefined(aL))
497497 then true
498498 else throw("No pending manager")
499499 if ((aM == aM))
500500 then {
501501 let aN = if ((W.callerPublicKey == value(aL)))
502502 then true
503503 else throw("You are not pending manager")
504504 if ((aN == aN))
505505 then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())]
506506 else throw("Strict value is not equal to itself.")
507507 }
508508 else throw("Strict value is not equal to itself.")
509509 }
510510
511511
512512
513513 @Callable(W)
514514 func isVerifiedREADONLY (p) = $Tuple2(nil, P(p))
515515
516516
517517 @Verifier(aO)
518518 func aP () = {
519519 let aQ = {
520520 let J = T()
521521 if ($isInstanceOf(J, "ByteVector"))
522522 then {
523523 let X = J
524524 X
525525 }
526526 else if ($isInstanceOf(J, "Unit"))
527527 then aO.senderPublicKey
528528 else throw("Match error")
529529 }
530530 sigVerify(aO.bodyBytes, aO.proofs[0], aQ)
531531 }
532532

github/deemru/w8io/026f985 
58.02 ms