tx · 7NQzxXX6wEahkfqiLDiRaoqWAfoWkTyeH28MxhdNizHL

3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr:  -0.01400000 Waves

2022.04.22 13:08 [2019578] smart account 3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr > SELF 0.00000000 Waves

{ "type": 13, "id": "7NQzxXX6wEahkfqiLDiRaoqWAfoWkTyeH28MxhdNizHL", "fee": 1400000, "feeAssetId": null, "timestamp": 1650622150091, "version": 1, "sender": "3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr", "senderPublicKey": "EtZZHS4uqNXY5WPneZ8jY2aA95peXwthJVLzAMxMp379", "proofs": [ "3vPUUtMLB3DqVcjNnH88zL7TcdNKhJxyFvVKvPjdUU1SkgdhmJwPpoNLhVKneyk3jGrz3JuEVFxmdY1ZTR8yTWxF" ], "script": "base64:AAIFAAAAAAAAAF4IAhIECgIIGBIFCgMICAgSAwoBCBIDCgEIEgMKAQgSBAoCCAgSBAoCCAgSBAoCCAgSAwoBCBIFCgMICAQSBAoCCAgSBAoCCAQSAwoBCBIDCgEYEgMKAQgSABIDCgEIAAAAJQAAAAADU0VQAgAAAAJfXwAAAAAFRU1QVFkCAAAAAAAAAAAOc3RhdHVzVmVyaWZpZWQAAAAAAAAAAAIAAAAAEHN0YXR1c1VudmVyaWZpZWQAAAAAAAAAAAAAAAAAFmxhYmVsQ29tbXVuaXR5VmVyaWZpZWQCAAAAEkNPTU1VTklUWV9WRVJJRklFRAAAAAAMbGFiZWxQb29sc0xwAgAAAAhQT09MU19MUAAAAAANZGVmYXVsdExhYmVscwkABEwAAAACBQAAABZsYWJlbENvbW11bml0eVZlcmlmaWVkCQAETAAAAAIFAAAADGxhYmVsUG9vbHNMcAUAAAADbmlsAQAAAAd0aHJvd1BEAAAAAAkAAAIAAAABAgAAABFQZXJtaXNzaW9uIGRlbmllZAEAAAAMdGhyb3dOb0Fzc2V0AAAAAAkAAAIAAAABAgAAABRBc3NldCBkb2Vzbid0I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AAAABQAAAA90YXJnZXRQdWJsaWNLZXmNJYxi", "chainId": 84, "height": 2019578, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9B2mSCgSyfoMx7tRKhXxb4dnDJwzSTznqes1aUkbQkKi Next: HTwov71MDQVWWb5yG5ppVGDynw23CFJ3VtAyZhHMfPhs Diff:
OldNewDifferences
434434
435435
436436 @Callable(L)
437-func setAdmins (aI) = {
437+func onEliminate (o) = {
438+ let aI = valueOrElse(getInteger(s(o)), 0)
439+ let aJ = if ((aI > 0))
440+ then nil
441+ else [DeleteEntry(p(o))]
442+ $Tuple2(aJ, unit)
443+ }
444+
445+
446+
447+@Callable(L)
448+func setAdmins (aK) = {
438449 let ai = K(L)
439450 if ((ai == ai))
440- then [StringEntry(l(), makeString(aI, a))]
451+ then [StringEntry(l(), makeString(aK, a))]
441452 else throw("Strict value is not equal to itself.")
442453 }
443454
444455
445456
446457 @Callable(L)
447-func setManager (aJ) = {
458+func setManager (aL) = {
448459 let ai = K(L)
449460 if ((ai == ai))
450461 then {
451- let aK = fromBase58String(aJ)
452- if ((aK == aK))
453- then [StringEntry(k(), aJ)]
462+ let aM = fromBase58String(aL)
463+ if ((aM == aM))
464+ then [StringEntry(k(), aL)]
454465 else throw("Strict value is not equal to itself.")
455466 }
456467 else throw("Strict value is not equal to itself.")
460471
461472 @Callable(L)
462473 func confirmManager () = {
463- let aL = J()
464- let aM = if (isDefined(aL))
474+ let aN = J()
475+ let aO = if (isDefined(aN))
465476 then true
466477 else throw("No pending manager")
467- if ((aM == aM))
478+ if ((aO == aO))
468479 then {
469- let aN = if ((L.callerPublicKey == value(aL)))
480+ let aP = if ((L.callerPublicKey == value(aN)))
470481 then true
471482 else throw("You are not pending manager")
472- if ((aN == aN))
473- then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())]
483+ if ((aP == aP))
484+ then [StringEntry(j(), toBase58String(value(aN))), DeleteEntry(k())]
474485 else throw("Strict value is not equal to itself.")
475486 }
476487 else throw("Strict value is not equal to itself.")
482493 func isVerifiedREADONLY (o) = $Tuple2(nil, D(o))
483494
484495
485-@Verifier(aO)
486-func aP () = {
487- let aQ = {
496+@Verifier(aQ)
497+func aR () = {
498+ let aS = {
488499 let F = I()
489500 if ($isInstanceOf(F, "ByteVector"))
490501 then {
492503 M
493504 }
494505 else if ($isInstanceOf(F, "Unit"))
495- then aO.senderPublicKey
506+ then aQ.senderPublicKey
496507 else throw("Match error")
497508 }
498- sigVerify(aO.bodyBytes, aO.proofs[0], aQ)
509+ sigVerify(aQ.bodyBytes, aQ.proofs[0], aS)
499510 }
500511
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 (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) = (valueOrElse(getInteger(r(o)), d) == c)
7070
7171
7272 func E () = {
7373 let F = getString(C())
7474 if ($isInstanceOf(F, "String"))
7575 then {
7676 let G = F
7777 if ((size(G) == 0))
7878 then nil
7979 else split(G, a)
8080 }
8181 else nil
8282 }
8383
8484
8585 func H (o) = {
8686 let F = getString(B(o))
8787 if ($isInstanceOf(F, "String"))
8888 then {
8989 let G = F
9090 if ((size(G) == 0))
9191 then nil
9292 else split(G, a)
9393 }
9494 else nil
9595 }
9696
9797
9898 func I () = {
9999 let F = getString(j())
100100 if ($isInstanceOf(F, "String"))
101101 then {
102102 let G = F
103103 fromBase58String(G)
104104 }
105105 else if ($isInstanceOf(F, "Unit"))
106106 then unit
107107 else throw("Match error")
108108 }
109109
110110
111111 func J () = {
112112 let F = getString(k())
113113 if ($isInstanceOf(F, "String"))
114114 then {
115115 let G = F
116116 fromBase58String(G)
117117 }
118118 else if ($isInstanceOf(F, "Unit"))
119119 then unit
120120 else throw("Match error")
121121 }
122122
123123
124124 func K (L) = {
125125 let F = I()
126126 if ($isInstanceOf(F, "ByteVector"))
127127 then {
128128 let M = F
129129 if ((L.callerPublicKey == M))
130130 then true
131131 else h()
132132 }
133133 else if ($isInstanceOf(F, "Unit"))
134134 then if ((L.caller == this))
135135 then true
136136 else h()
137137 else throw("Match error")
138138 }
139139
140140
141141 func N (L) = {
142142 let O = split(valueOrElse(getString(l()), b), a)
143143 if (containsElement(O, toBase58String(L.callerPublicKey)))
144144 then true
145145 else {
146146 let P = K(L)
147147 if ((P == P))
148148 then true
149149 else throw("Strict value is not equal to itself.")
150150 }
151151 }
152152
153153
154154 func Q (o) = valueOrElse(getBoolean(n(o)), false)
155155
156156
157157 func R (S) = if (S)
158158 then c
159159 else d
160160
161161
162162 func T (o,U,V) = {
163163 let W = E()
164164 let X = H(o)
165165 let Y = if (containsElement(W, U))
166166 then true
167167 else throw("Label doesn't exist")
168168 if ((Y == Y))
169169 then {
170170 let Z = if (containsElement(X, U))
171171 then if (V)
172172 then throw("Label has already been added")
173173 else X
174174 else (X :+ U)
175175 [StringEntry(B(o), makeString(Z, a))]
176176 }
177177 else throw("Strict value is not equal to itself.")
178178 }
179179
180180
181181 func aa (o,U,V) = {
182182 let X = H(o)
183183 let Z = if (containsElement(X, U))
184184 then removeByIndex(X, value(indexOf(X, U)))
185185 else if (V)
186186 then throw("Label wasn't added")
187187 else X
188188 [StringEntry(B(o), makeString(Z, a))]
189189 }
190190
191191
192192 func ab (o,S) = {
193193 let ac = if (S)
194194 then T(o, e, false)
195195 else aa(o, e, false)
196196 ([IntegerEntry(r(o), R(S))] ++ ac)
197197 }
198198
199199
200200 func ad (o,u) = {
201201 let ae = {
202202 let af = getString(t(u))
203203 let ag = if ((u != ""))
204204 then if ((af == unit))
205205 then true
206206 else (value(af) == o)
207207 else false
208208 if (ag)
209209 then true
210210 else throw("Invalid ticker")
211211 }
212212 if ((ae == ae))
213213 then [StringEntry(v(o), u), StringEntry(t(u), o)]
214214 else throw("Strict value is not equal to itself.")
215215 }
216216
217217
218218 @Callable(L)
219219 func constructor (ah,W) = {
220220 let ai = K(L)
221221 if ((ai == ai))
222222 then {
223223 let aj = valueOrErrorMessage(addressFromString(ah), "Invalid address")
224224 if ((aj == aj))
225225 then [StringEntry(m(), ah), StringEntry(C(), makeString((g ++ W), a))]
226226 else throw("Strict value is not equal to itself.")
227227 }
228228 else throw("Strict value is not equal to itself.")
229229 }
230230
231231
232232
233233 @Callable(L)
234234 func addAssetsLink (x,y,A) = {
235235 let ai = N(L)
236236 if ((ai == ai))
237237 then [StringEntry(w(x, y), A), StringEntry(z(A), makeString([x, y], a))]
238238 else throw("Strict value is not equal to itself.")
239239 }
240240
241241
242242
243243 @Callable(L)
244244 func increaseAssetPoolsNumber (o) = {
245245 let ai = N(L)
246246 if ((ai == ai))
247247 then {
248248 let ak = s(o)
249249 let al = valueOrElse(getInteger(ak), 0)
250250 [IntegerEntry(ak, (al + 1))]
251251 }
252252 else throw("Strict value is not equal to itself.")
253253 }
254254
255255
256256
257257 @Callable(L)
258258 func createLabel (U) = {
259259 let W = E()
260260 let ai = K(L)
261261 if ((ai == ai))
262262 then {
263263 let Y = [if (!(contains(U, a)))
264264 then true
265265 else throw("Invalid label name"), if (!(containsElement(W, U)))
266266 then true
267267 else throw("Label exists")]
268268 if ((Y == Y))
269269 then [StringEntry(C(), makeString((W :+ U), 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(L)
278278 func dropLabel (U) = {
279279 let W = E()
280280 let ai = K(L)
281281 if ((ai == ai))
282282 then {
283283 let Y = if (containsElement(W, U))
284284 then true
285285 else throw("Label doesn't exist")
286286 if ((Y == Y))
287287 then [StringEntry(C(), makeString(removeByIndex(W, value(indexOf(W, U))), a))]
288288 else throw("Strict value is not equal to itself.")
289289 }
290290 else throw("Strict value is not equal to itself.")
291291 }
292292
293293
294294
295295 @Callable(L)
296296 func addLabel (o,U) = {
297297 let ai = N(L)
298298 if ((ai == ai))
299299 then T(o, U, true)
300300 else throw("Strict value is not equal to itself.")
301301 }
302302
303303
304304
305305 @Callable(L)
306306 func deleteLabel (o,U) = {
307307 let ai = N(L)
308308 if ((ai == ai))
309309 then aa(o, U, true)
310310 else throw("Strict value is not equal to itself.")
311311 }
312312
313313
314314
315315 @Callable(L)
316316 func updateTicker (o,u) = {
317317 let ai = N(L)
318318 if ((ai == ai))
319319 then {
320320 let am = if (Q(o))
321321 then true
322322 else i()
323323 if ((am == am))
324324 then ad(o, u)
325325 else throw("Strict value is not equal to itself.")
326326 }
327327 else throw("Strict value is not equal to itself.")
328328 }
329329
330330
331331
332332 @Callable(L)
333333 func deleteTicker (o) = {
334334 let ai = N(L)
335335 if ((ai == ai))
336336 then {
337337 let u = valueOrErrorMessage(getString(v(o)), "Invalid asset")
338338 [DeleteEntry(v(o)), DeleteEntry(t(u))]
339339 }
340340 else throw("Strict value is not equal to itself.")
341341 }
342342
343343
344344
345345 @Callable(L)
346346 func createOrUpdate (o,an,S) = {
347347 let ai = N(L)
348348 if ((ai == ai))
349349 then {
350350 let ao = !(Q(o))
351351 if ((ao == ao))
352352 then {
353353 let ap = if ((an == ""))
354354 then nil
355355 else [StringEntry(p(o), an)]
356356 $Tuple2((([BooleanEntry(n(o), true)] ++ ap) ++ ab(o, S)), ao)
357357 }
358358 else throw("Strict value is not equal to itself.")
359359 }
360360 else throw("Strict value is not equal to itself.")
361361 }
362362
363363
364364
365365 @Callable(L)
366366 func setLogo (o,an) = {
367367 let aq = [N(L), if (Q(o))
368368 then true
369369 else i()]
370370 if ((aq == aq))
371371 then [StringEntry(p(o), an)]
372372 else throw("Strict value is not equal to itself.")
373373 }
374374
375375
376376
377377 @Callable(L)
378378 func setVerified (o,S) = {
379379 let aq = [N(L), if (Q(o))
380380 then true
381381 else i()]
382382 if ((aq == aq))
383383 then {
384384 let ar = {
385385 let F = invoke(addressFromStringValue(getStringValue(m())), "priceAssetsREADONLY", nil, nil)
386386 if ($isInstanceOf(F, "List[Any]"))
387387 then {
388388 let as = F
389389 let at = if ((size(as) > 0))
390390 then true
391391 else throw("Invalid price assets")
392392 if ((at == at))
393393 then as
394394 else throw("Strict value is not equal to itself.")
395395 }
396396 else throw("Incorrect invoke result")
397397 }
398398 func au (av,aw) = {
399399 let ax = {
400400 let F = aw
401401 if ($isInstanceOf(F, "String"))
402402 then {
403403 let G = F
404404 G
405405 }
406406 else throw("Invalid price asset")
407407 }
408408 let ay = getString(w(o, ax))
409409 let az = if ((ay == unit))
410410 then nil
411411 else ab(value(ay), S)
412412 (av ++ az)
413413 }
414414
415415 let aA = {
416416 let aB = ar
417417 let aC = size(aB)
418418 let aD = ab(o, S)
419419 func aE (aF,aG) = if ((aG >= aC))
420420 then aF
421421 else au(aF, aB[aG])
422422
423423 func aH (aF,aG) = if ((aG >= aC))
424424 then aF
425425 else throw("List size exceeds 10")
426426
427427 aH(aE(aE(aE(aE(aE(aE(aE(aE(aE(aE(aD, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
428428 }
429429 $Tuple2(aA, unit)
430430 }
431431 else throw("Strict value is not equal to itself.")
432432 }
433433
434434
435435
436436 @Callable(L)
437-func setAdmins (aI) = {
437+func onEliminate (o) = {
438+ let aI = valueOrElse(getInteger(s(o)), 0)
439+ let aJ = if ((aI > 0))
440+ then nil
441+ else [DeleteEntry(p(o))]
442+ $Tuple2(aJ, unit)
443+ }
444+
445+
446+
447+@Callable(L)
448+func setAdmins (aK) = {
438449 let ai = K(L)
439450 if ((ai == ai))
440- then [StringEntry(l(), makeString(aI, a))]
451+ then [StringEntry(l(), makeString(aK, a))]
441452 else throw("Strict value is not equal to itself.")
442453 }
443454
444455
445456
446457 @Callable(L)
447-func setManager (aJ) = {
458+func setManager (aL) = {
448459 let ai = K(L)
449460 if ((ai == ai))
450461 then {
451- let aK = fromBase58String(aJ)
452- if ((aK == aK))
453- then [StringEntry(k(), aJ)]
462+ let aM = fromBase58String(aL)
463+ if ((aM == aM))
464+ then [StringEntry(k(), aL)]
454465 else throw("Strict value is not equal to itself.")
455466 }
456467 else throw("Strict value is not equal to itself.")
457468 }
458469
459470
460471
461472 @Callable(L)
462473 func confirmManager () = {
463- let aL = J()
464- let aM = if (isDefined(aL))
474+ let aN = J()
475+ let aO = if (isDefined(aN))
465476 then true
466477 else throw("No pending manager")
467- if ((aM == aM))
478+ if ((aO == aO))
468479 then {
469- let aN = if ((L.callerPublicKey == value(aL)))
480+ let aP = if ((L.callerPublicKey == value(aN)))
470481 then true
471482 else throw("You are not pending manager")
472- if ((aN == aN))
473- then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())]
483+ if ((aP == aP))
484+ then [StringEntry(j(), toBase58String(value(aN))), DeleteEntry(k())]
474485 else throw("Strict value is not equal to itself.")
475486 }
476487 else throw("Strict value is not equal to itself.")
477488 }
478489
479490
480491
481492 @Callable(L)
482493 func isVerifiedREADONLY (o) = $Tuple2(nil, D(o))
483494
484495
485-@Verifier(aO)
486-func aP () = {
487- let aQ = {
496+@Verifier(aQ)
497+func aR () = {
498+ let aS = {
488499 let F = I()
489500 if ($isInstanceOf(F, "ByteVector"))
490501 then {
491502 let M = F
492503 M
493504 }
494505 else if ($isInstanceOf(F, "Unit"))
495- then aO.senderPublicKey
506+ then aQ.senderPublicKey
496507 else throw("Match error")
497508 }
498- sigVerify(aO.bodyBytes, aO.proofs[0], aQ)
509+ sigVerify(aQ.bodyBytes, aQ.proofs[0], aS)
499510 }
500511

github/deemru/w8io/169f3d6 
50.94 ms