tx · FfBWmJ448qoS8XQEME5AZ6XAZZxznFSqwmoUgqQo3dAq

3Mpwh8Q1gGv6gwtzViR9mgruFyy6Jdm4GCG:  -0.01700000 Waves

2023.07.21 12:32 [2675441] smart account 3Mpwh8Q1gGv6gwtzViR9mgruFyy6Jdm4GCG > SELF 0.00000000 Waves

{ "type": 13, "id": "FfBWmJ448qoS8XQEME5AZ6XAZZxznFSqwmoUgqQo3dAq", "fee": 1700000, "feeAssetId": null, "timestamp": 1689931978781, "version": 2, "chainId": 84, "sender": "3Mpwh8Q1gGv6gwtzViR9mgruFyy6Jdm4GCG", "senderPublicKey": "FLnBQATnBGWeMDB5MhixoEef8W61cnZUFXeCcwWAWQaR", "proofs": [ "2C3RTG51xT8HUjRFe1V34XjjKW5LhpjQ2hDFsabgwX1C68YHQ1D34oYV8k356ocd4cvyonSBbT3qQyMVzGDwfcEX" ], "script": "base64:AAIFAAAAAAAABgAIAhIECgIICBIECgIICBIECgIIGBIDCgEIEgUKAwgICBIDCgEIEgMKAQgSAwoBCBIECgIICBIECgIICBIECgIICBIDCgEIEgUKAwgIBBIECgIICBIECgIIBBIDCgEIEgMKARgSAwoBCBIECgIICCIDU0VQIgVFTVBUWSIOc3RhdHVzVmVyaWZpZWQiEHN0YXR1c1VudmVyaWZpZWQiFmxhYmVsQ29tbXVuaXR5VmVyaWZpZWQiDGxhYmVsUG9vbHNMcCINZGVmYXVsdExhYmVscyIHdGhyb3dQRCIMdGhyb3dOb0Fzc2V0IhJ0aHJvd0ludmFsaWRUaWNrZXIiD2tleUFkbWluUHViS2V5cyIUa2V5VXNlclBvb2xzQ29udHJhY3QiEmtleUZhY3RvcnlDb250cmFjdCIKa2V5Q3JlYXRlZCIHYXNzZXRJZCIHa2V5TG9nbyIJa2V5VGlja2VyIglrZXlTdGF0dXMiE2tleUFzc2V0UG9vbHNOdW1iZXIiEmtleVRpY2tlclRvQXNzZXRJZCIGdGlja2VyIhJrZXlBc3NldElkVG9UaWNrZXIiIGtleUFtb3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AtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACYVYAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJhVgAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmFYCqBQrA==", "height": 2675441, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GCJV8oB7YL8jp8hvLhT4MEfmZuh3eCh9DikPtmq276EB Next: 3LawBvvWhk3eAmWGcE6UKaJed1dFcws8hPSyXAwFxNeB Diff:
OldNewDifferences
470470
471471
472472 @Callable(aa)
473-func getAssetLogoREADONLY (o) = {
474- let aI = valueOrElse(getString(p(o)), "")
475- $Tuple2(nil, aI)
476- }
477-
478-
479-
480-@Callable(aa)
481473 func setVerified (o,ah) = {
482474 let aL = [ad(aa), if (af(o))
483475 then true
524516 func isVerifiedREADONLY (o) = $Tuple2(nil, S(o))
525517
526518
527-@Verifier(aR)
528-func aS () = {
529- let aT = {
519+
520+@Callable(aa)
521+func deletePool (aR,aS) = {
522+ let ay = addressFromStringValue(getStringValue(m()))
523+ let au = if ((aa.caller == ay))
524+ then true
525+ else ac(aa)
526+ if ((au == au))
527+ then {
528+ let aT = valueOrElse(getString(w(aR, aS)), "")
529+ let aU = if ((aT == ""))
530+ then nil
531+ else [DeleteEntry(z(aT)), DeleteEntry(B(aT)), DeleteEntry(D(aT)), DeleteEntry(G(aT)), DeleteEntry(n(aT)), DeleteEntry(r(aT)), DeleteEntry(p(aT)), DeleteEntry(q(aT)), DeleteEntry(w(aR, aS))]
532+ aU
533+ }
534+ else throw("Strict value is not equal to itself.")
535+ }
536+
537+
538+@Verifier(aV)
539+func aW () = {
540+ let aX = {
530541 let M = X()
531542 if ($isInstanceOf(M, "ByteVector"))
532543 then {
534545 ab
535546 }
536547 else if ($isInstanceOf(M, "Unit"))
537- then aR.senderPublicKey
548+ then aV.senderPublicKey
538549 else throw("Match error")
539550 }
540- sigVerify(aR.bodyBytes, aR.proofs[0], aT)
551+ sigVerify(aV.bodyBytes, aV.proofs[0], aX)
541552 }
542553
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 () = throw("Invalid ticker")
2525
2626
2727 func k () = "%s__adminPubKeys"
2828
2929
3030 func l () = "%s__userPoolsContract"
3131
3232
3333 func m () = "%s__factoryContract"
3434
3535
3636 func n (o) = (("created_<" + o) + ">")
3737
3838
3939 func p (o) = (("logo_<" + o) + ">")
4040
4141
4242 func q (o) = (("ticker_<" + o) + ">")
4343
4444
4545 func r (o) = (("status_<" + o) + ">")
4646
4747
4848 func s (o) = makeString(["%s%s", "pools", o], a)
4949
5050
5151 func t (u) = makeString(["%s%s", "ticker2assetId", u], a)
5252
5353
5454 func v (o) = makeString(["%s%s", "assetId2ticker", o], a)
5555
5656
5757 func w (x,y) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", x, y], a)
5858
5959
6060 func z (A) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", A], a)
6161
6262
6363 func B (o) = makeString(["%s%s", "labels", o], a)
6464
6565
6666 func C () = makeString(["%s", "labels"], a)
6767
6868
6969 func D (o) = makeString(["%s%s", "assetName", o], a)
7070
7171
7272 func E () = "%s__managerVaultAddress"
7373
7474
7575 func F () = "%s__managerPublicKey"
7676
7777
7878 func G (o) = makeString(["%s%s", "assetDescription", o], a)
7979
8080
8181 func H (I,J,K) = {
8282 let L = makeString(["mandatory ", toString(I), ".", J, " is not defined"], "")
8383 valueOrErrorMessage({
8484 let M = K
8585 if ($isInstanceOf(M, "String"))
8686 then {
8787 let N = M
8888 getString(I, J)
8989 }
9090 else if ($isInstanceOf(M, "Int"))
9191 then {
9292 let O = M
9393 getInteger(I, J)
9494 }
9595 else throw("invalid entry type")
9696 }, L)
9797 }
9898
9999
100100 func P (I,J) = {
101101 let Q = H(I, J, "")
102102 if ($isInstanceOf(Q, "String"))
103103 then Q
104104 else throw("Couldn't cast Int|String to String")
105105 }
106106
107107
108108 func R (I,J) = {
109109 let Q = H(I, J, 0)
110110 if ($isInstanceOf(Q, "Int"))
111111 then Q
112112 else throw("Couldn't cast Int|String to Int")
113113 }
114114
115115
116116 func S (o) = (valueOrElse(getInteger(r(o)), d) == c)
117117
118118
119119 func T () = {
120120 let M = getString(C())
121121 if ($isInstanceOf(M, "String"))
122122 then {
123123 let U = M
124124 if ((size(U) == 0))
125125 then nil
126126 else split(U, a)
127127 }
128128 else nil
129129 }
130130
131131
132132 func V (o) = {
133133 let M = getString(B(o))
134134 if ($isInstanceOf(M, "String"))
135135 then {
136136 let U = M
137137 if ((size(U) == 0))
138138 then nil
139139 else split(U, a)
140140 }
141141 else nil
142142 }
143143
144144
145145 func W () = {
146146 let M = getString(E())
147147 if ($isInstanceOf(M, "String"))
148148 then {
149149 let U = M
150150 addressFromStringValue(U)
151151 }
152152 else this
153153 }
154154
155155
156156 func X () = {
157157 let Y = W()
158158 let M = getString(Y, F())
159159 if ($isInstanceOf(M, "String"))
160160 then {
161161 let U = M
162162 fromBase58String(U)
163163 }
164164 else if ($isInstanceOf(M, "Unit"))
165165 then unit
166166 else throw("Match error")
167167 }
168168
169169
170170 func Z (aa) = {
171171 let M = X()
172172 if ($isInstanceOf(M, "ByteVector"))
173173 then {
174174 let ab = M
175175 (aa.callerPublicKey == ab)
176176 }
177177 else if ($isInstanceOf(M, "Unit"))
178178 then (aa.caller == this)
179179 else throw("Match error")
180180 }
181181
182182
183183 func ac (aa) = if (Z(aa))
184184 then true
185185 else throw("permission denied")
186186
187187
188188 func ad (aa) = {
189189 let ae = split(valueOrElse(getString(k()), b), a)
190190 if (containsElement(ae, toBase58String(aa.callerPublicKey)))
191191 then true
192192 else ac(aa)
193193 }
194194
195195
196196 func af (o) = valueOrElse(getBoolean(n(o)), false)
197197
198198
199199 func ag (ah) = if (ah)
200200 then c
201201 else d
202202
203203
204204 func ai (o,aj,ak) = {
205205 let al = T()
206206 let am = V(o)
207207 let an = if (containsElement(al, aj))
208208 then true
209209 else throw("Label doesn't exist")
210210 if ((an == an))
211211 then {
212212 let ao = if (containsElement(am, aj))
213213 then if (ak)
214214 then throw("Label has already been added")
215215 else am
216216 else (am :+ aj)
217217 [StringEntry(B(o), makeString(ao, a))]
218218 }
219219 else throw("Strict value is not equal to itself.")
220220 }
221221
222222
223223 func ap (o,aj,ak) = {
224224 let am = V(o)
225225 let ao = if (containsElement(am, aj))
226226 then removeByIndex(am, value(indexOf(am, aj)))
227227 else if (ak)
228228 then throw("Label wasn't added")
229229 else am
230230 [StringEntry(B(o), makeString(ao, a))]
231231 }
232232
233233
234234 func aq (o,ah) = {
235235 let ar = if (ah)
236236 then ai(o, e, false)
237237 else ap(o, e, false)
238238 ([IntegerEntry(r(o), ag(ah))] ++ ar)
239239 }
240240
241241
242242 @Callable(aa)
243243 func setAssetName (as,at) = {
244244 let au = ad(aa)
245245 if ((au == au))
246246 then [StringEntry(D(as), at)]
247247 else throw("Strict value is not equal to itself.")
248248 }
249249
250250
251251
252252 @Callable(aa)
253253 func setAssetDescription (as,av) = {
254254 let au = ad(aa)
255255 if ((au == au))
256256 then [StringEntry(G(as), av)]
257257 else throw("Strict value is not equal to itself.")
258258 }
259259
260260
261261
262262 @Callable(aa)
263263 func constructor (aw,al) = {
264264 let au = ac(aa)
265265 if ((au == au))
266266 then {
267267 let ax = valueOrErrorMessage(addressFromString(aw), "Invalid address")
268268 if ((ax == ax))
269269 then [StringEntry(l(), aw), StringEntry(C(), makeString((g ++ al), a))]
270270 else throw("Strict value is not equal to itself.")
271271 }
272272 else throw("Strict value is not equal to itself.")
273273 }
274274
275275
276276
277277 @Callable(aa)
278278 func constructorV2 (ay) = {
279279 let au = ac(aa)
280280 if ((au == au))
281281 then {
282282 let az = valueOrErrorMessage(addressFromString(ay), "invalid factory contract address")
283283 if ((az == az))
284284 then [StringEntry(m(), ay)]
285285 else throw("Strict value is not equal to itself.")
286286 }
287287 else throw("Strict value is not equal to itself.")
288288 }
289289
290290
291291
292292 @Callable(aa)
293293 func addAssetsLink (x,y,A) = {
294294 let au = ad(aa)
295295 if ((au == au))
296296 then [StringEntry(w(x, y), A), StringEntry(z(A), makeString([x, y], a))]
297297 else throw("Strict value is not equal to itself.")
298298 }
299299
300300
301301
302302 @Callable(aa)
303303 func increaseAssetPoolsNumber (o) = {
304304 let au = ad(aa)
305305 if ((au == au))
306306 then {
307307 let aA = s(o)
308308 let aB = valueOrElse(getInteger(aA), 0)
309309 [IntegerEntry(aA, (aB + 1))]
310310 }
311311 else throw("Strict value is not equal to itself.")
312312 }
313313
314314
315315
316316 @Callable(aa)
317317 func createLabel (aj) = {
318318 let al = T()
319319 let au = ad(aa)
320320 if ((au == au))
321321 then {
322322 let an = [if (!(contains(aj, a)))
323323 then true
324324 else throw("Invalid label name"), if (!(containsElement(al, aj)))
325325 then true
326326 else throw("Label exists")]
327327 if ((an == an))
328328 then [StringEntry(C(), makeString((al :+ aj), a))]
329329 else throw("Strict value is not equal to itself.")
330330 }
331331 else throw("Strict value is not equal to itself.")
332332 }
333333
334334
335335
336336 @Callable(aa)
337337 func dropLabel (aj) = {
338338 let al = T()
339339 let au = ac(aa)
340340 if ((au == au))
341341 then {
342342 let an = if (containsElement(al, aj))
343343 then true
344344 else throw("Label doesn't exist")
345345 if ((an == an))
346346 then [StringEntry(C(), makeString(removeByIndex(al, value(indexOf(al, aj))), a))]
347347 else throw("Strict value is not equal to itself.")
348348 }
349349 else throw("Strict value is not equal to itself.")
350350 }
351351
352352
353353
354354 @Callable(aa)
355355 func addLabel (o,aj) = {
356356 let au = ad(aa)
357357 if ((au == au))
358358 then ai(o, aj, true)
359359 else throw("Strict value is not equal to itself.")
360360 }
361361
362362
363363
364364 @Callable(aa)
365365 func deleteLabel (o,aj) = {
366366 let au = ad(aa)
367367 if ((au == au))
368368 then ap(o, aj, true)
369369 else throw("Strict value is not equal to itself.")
370370 }
371371
372372
373373
374374 @Callable(aa)
375375 func updateTicker (o,u) = {
376376 let au = ad(aa)
377377 if ((au == au))
378378 then {
379379 let aC = if (af(o))
380380 then true
381381 else i()
382382 if ((aC == aC))
383383 then {
384384 let aD = if ((u != ""))
385385 then true
386386 else j()
387387 if ((aD == aD))
388388 then {
389389 let aE = ({
390390 let M = getString(t(u))
391391 if ($isInstanceOf(M, "String"))
392392 then {
393393 let aF = M
394394 [DeleteEntry(v(aF))]
395395 }
396396 else if ($isInstanceOf(M, "Unit"))
397397 then nil
398398 else throw("Match error")
399399 } ++ {
400400 let M = getString(v(o))
401401 if ($isInstanceOf(M, "String"))
402402 then {
403403 let aG = M
404404 [DeleteEntry(t(aG))]
405405 }
406406 else if ($isInstanceOf(M, "Unit"))
407407 then nil
408408 else throw("Match error")
409409 })
410410 let aH = [StringEntry(v(o), u), StringEntry(t(u), o)]
411411 (aE ++ aH)
412412 }
413413 else throw("Strict value is not equal to itself.")
414414 }
415415 else throw("Strict value is not equal to itself.")
416416 }
417417 else throw("Strict value is not equal to itself.")
418418 }
419419
420420
421421
422422 @Callable(aa)
423423 func deleteTicker (o) = {
424424 let au = ad(aa)
425425 if ((au == au))
426426 then {
427427 let u = valueOrErrorMessage(getString(v(o)), "Invalid asset")
428428 [DeleteEntry(v(o)), DeleteEntry(t(u))]
429429 }
430430 else throw("Strict value is not equal to itself.")
431431 }
432432
433433
434434
435435 @Callable(aa)
436436 func createOrUpdate (o,aI,ah) = {
437437 let au = ad(aa)
438438 if ((au == au))
439439 then {
440440 let aJ = !(af(o))
441441 if ((aJ == aJ))
442442 then {
443443 let aK = if ((aI == ""))
444444 then nil
445445 else [StringEntry(p(o), aI)]
446446 $Tuple2((([BooleanEntry(n(o), true)] ++ aK) ++ aq(o, ah)), aJ)
447447 }
448448 else throw("Strict value is not equal to itself.")
449449 }
450450 else throw("Strict value is not equal to itself.")
451451 }
452452
453453
454454
455455 @Callable(aa)
456456 func setLogo (o,aI) = {
457457 let aL = [ad(aa), if (af(o))
458458 then true
459459 else i()]
460460 if ((aL == aL))
461461 then {
462462 let aM = if ((aI == ""))
463463 then DeleteEntry(p(o))
464464 else StringEntry(p(o), aI)
465465 [aM]
466466 }
467467 else throw("Strict value is not equal to itself.")
468468 }
469469
470470
471471
472472 @Callable(aa)
473-func getAssetLogoREADONLY (o) = {
474- let aI = valueOrElse(getString(p(o)), "")
475- $Tuple2(nil, aI)
476- }
477-
478-
479-
480-@Callable(aa)
481473 func setVerified (o,ah) = {
482474 let aL = [ad(aa), if (af(o))
483475 then true
484476 else i()]
485477 if ((aL == aL))
486478 then {
487479 let aN = if (!(ah))
488480 then {
489481 let ay = valueOrErrorMessage(addressFromString(P(this, m())), "invalid factory contract address")
490482 invoke(ay, "onVerificationLoss", [o], nil)
491483 }
492484 else unit
493485 if ((aN == aN))
494486 then $Tuple2(aq(o, ah), unit)
495487 else throw("Strict value is not equal to itself.")
496488 }
497489 else throw("Strict value is not equal to itself.")
498490 }
499491
500492
501493
502494 @Callable(aa)
503495 func onEliminate (o) = {
504496 let aO = valueOrElse(getInteger(s(o)), 0)
505497 let aP = if ((aO > 0))
506498 then nil
507499 else [DeleteEntry(p(o))]
508500 $Tuple2(aP, unit)
509501 }
510502
511503
512504
513505 @Callable(aa)
514506 func setAdmins (aQ) = {
515507 let au = ac(aa)
516508 if ((au == au))
517509 then [StringEntry(k(), makeString(aQ, a))]
518510 else throw("Strict value is not equal to itself.")
519511 }
520512
521513
522514
523515 @Callable(aa)
524516 func isVerifiedREADONLY (o) = $Tuple2(nil, S(o))
525517
526518
527-@Verifier(aR)
528-func aS () = {
529- let aT = {
519+
520+@Callable(aa)
521+func deletePool (aR,aS) = {
522+ let ay = addressFromStringValue(getStringValue(m()))
523+ let au = if ((aa.caller == ay))
524+ then true
525+ else ac(aa)
526+ if ((au == au))
527+ then {
528+ let aT = valueOrElse(getString(w(aR, aS)), "")
529+ let aU = if ((aT == ""))
530+ then nil
531+ else [DeleteEntry(z(aT)), DeleteEntry(B(aT)), DeleteEntry(D(aT)), DeleteEntry(G(aT)), DeleteEntry(n(aT)), DeleteEntry(r(aT)), DeleteEntry(p(aT)), DeleteEntry(q(aT)), DeleteEntry(w(aR, aS))]
532+ aU
533+ }
534+ else throw("Strict value is not equal to itself.")
535+ }
536+
537+
538+@Verifier(aV)
539+func aW () = {
540+ let aX = {
530541 let M = X()
531542 if ($isInstanceOf(M, "ByteVector"))
532543 then {
533544 let ab = M
534545 ab
535546 }
536547 else if ($isInstanceOf(M, "Unit"))
537- then aR.senderPublicKey
548+ then aV.senderPublicKey
538549 else throw("Match error")
539550 }
540- sigVerify(aR.bodyBytes, aR.proofs[0], aT)
551+ sigVerify(aV.bodyBytes, aV.proofs[0], aX)
541552 }
542553

github/deemru/w8io/026f985 
49.87 ms