tx · 9CgsGiZDnsRpsExX9PpD5W1iNS3BUEaEthznykry6GBN

3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr:  -0.01700000 Waves

2023.03.10 12:09 [2483778] smart account 3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr > SELF 0.00000000 Waves

{ "type": 13, "id": "9CgsGiZDnsRpsExX9PpD5W1iNS3BUEaEthznykry6GBN", "fee": 1700000, "feeAssetId": null, "timestamp": 1678439384950, "version": 2, "chainId": 84, "sender": "3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr", "senderPublicKey": "EtZZHS4uqNXY5WPneZ8jY2aA95peXwthJVLzAMxMp379", "proofs": [ "eaTS4WB89uX3LMEzktocTdGdQ5rK17XkuMp3KkDLxfjnwu949xMKh3pGxP7mWkEzwgxDERp3GVtQYdmjpCknqqJ" ], "script": "base64:AAIFAAAAAAAABeYIAhIECgIICBIECgIICBIECgIIGBIDCgEIEgUKAwgICBIDCgEIEgMKAQgSAwoBCBIECgIICBIECgIICBIECgIICBIDCgEIEgUKAwgIBBIECgIICBIECgIIBBIDCgEIEgMKARgSAwoBCBIAEgMKAQgiA1NFUCIFRU1QVFkiDnN0YXR1c1ZlcmlmaWVkIhBzdGF0dXNVbnZlcmlmaWVkIhZsYWJlbENvbW11bml0eVZlcmlmaWVkIgxsYWJlbFBvb2xzTHAiDWRlZmF1bHRMYWJlbHMiB3Rocm93UEQiDHRocm93Tm9Bc3NldCITa2V5TWFuYWdlclB1YmxpY0tleSIaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkiD2tleUFkbWluUHViS2V5cyIUa2V5VXNlclBvb2xzQ29udHJhY3QiEmtleUZhY3RvcnlDb250cmFjdCIKa2V5Q3JlYXRlZCIHYXNzZXRJZCIHa2V5TG9nbyIJa2V5VGlja2VyIglrZXlTdGF0dXMiE2tleUFzc2V0UG9vbHNOdW1iZXIiEmtleVRpY2tlclRvQXNzZXRJZCIGdGlja2VyIhJrZXlBc3NldElkVG9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mxpY0tleQkBAAAABXZhbHVlAAAAAQUAAAACYVEGCQAAAgAAAAECAAAAG1lvdSBhcmUgbm90IHBlbmRpbmcgbWFuYWdlcgMJAAAAAAAAAgUAAAACYVMFAAAAAmFTCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAAAFqAAAAAAkAAlgAAAABCQEAAAAFdmFsdWUAAAABBQAAAAJhUQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAABawAAAAAFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAVkBAAAAEmlzVmVyaWZpZWRSRUFET05MWQAAAAEAAAABcAkABRQAAAACBQAAAANuaWwJAQAAAAFSAAAAAQUAAAABcAAAAAEAAAACYVQBAAAAAmFVAAAAAAQAAAACYVYEAAAAAUwJAQAAAAFWAAAAAAMJAAABAAAAAgUAAAABTAIAAAAKQnl0ZVZlY3RvcgQAAAABWgUAAAABTAUAAAABWgMJAAABAAAAAgUAAAABTAIAAAAEVW5pdAgFAAAAAmFUAAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACYVQAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJhVAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmFWE1Y/Lw==", "height": 2483778, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 28PS2AAawfpaE9goU5kHYXXoCK7zRkpFEo9htXFRo6sw Next: 5ywmBtsuzkxbnzcF4wbq5Uzjq8gViLaBKLYKsF9jezG1 Diff:
OldNewDifferences
6969 func D () = makeString(["%s", "labels"], a)
7070
7171
72-func E (F,G,H) = {
73- let I = makeString(["mandatory ", toString(F), ".", G, " is not defined"], "")
72+func E (p) = makeString(["%s%s", "assetName", p], a)
73+
74+
75+func F (p) = makeString(["%s%s", "assetDescription", p], a)
76+
77+
78+func G (H,I,J) = {
79+ let K = makeString(["mandatory ", toString(H), ".", I, " is not defined"], "")
7480 valueOrErrorMessage({
75- let J = H
76- if ($isInstanceOf(J, "String"))
81+ let L = J
82+ if ($isInstanceOf(L, "String"))
7783 then {
78- let K = J
79- getString(F, G)
84+ let M = L
85+ getString(H, I)
8086 }
81- else if ($isInstanceOf(J, "Int"))
87+ else if ($isInstanceOf(L, "Int"))
8288 then {
83- let L = J
84- getInteger(F, G)
89+ let N = L
90+ getInteger(H, I)
8591 }
8692 else throw("invalid entry type")
87- }, I)
93+ }, K)
8894 }
8995
9096
91-func M (F,G) = {
92- let N = E(F, G, "")
93- if ($isInstanceOf(N, "String"))
94- then N
97+func O (H,I) = {
98+ let P = G(H, I, "")
99+ if ($isInstanceOf(P, "String"))
100+ then P
95101 else throw("Couldn't cast Int|String to String")
96102 }
97103
98104
99-func O (F,G) = {
100- let N = E(F, G, 0)
101- if ($isInstanceOf(N, "Int"))
102- then N
105+func Q (H,I) = {
106+ let P = G(H, I, 0)
107+ if ($isInstanceOf(P, "Int"))
108+ then P
103109 else throw("Couldn't cast Int|String to Int")
104110 }
105111
106112
107-func P (p) = (valueOrElse(getInteger(s(p)), d) == c)
113+func R (p) = (valueOrElse(getInteger(s(p)), d) == c)
108114
109115
110-func Q () = {
111- let J = getString(D())
112- if ($isInstanceOf(J, "String"))
116+func S () = {
117+ let L = getString(D())
118+ if ($isInstanceOf(L, "String"))
113119 then {
114- let R = J
115- if ((size(R) == 0))
120+ let T = L
121+ if ((size(T) == 0))
116122 then nil
117- else split(R, a)
123+ else split(T, a)
118124 }
119125 else nil
120126 }
121127
122128
123-func S (p) = {
124- let J = getString(C(p))
125- if ($isInstanceOf(J, "String"))
129+func U (p) = {
130+ let L = getString(C(p))
131+ if ($isInstanceOf(L, "String"))
126132 then {
127- let R = J
128- if ((size(R) == 0))
133+ let T = L
134+ if ((size(T) == 0))
129135 then nil
130- else split(R, a)
136+ else split(T, a)
131137 }
132138 else nil
133139 }
134140
135141
136-func T () = {
137- let J = getString(j())
138- if ($isInstanceOf(J, "String"))
142+func V () = {
143+ let L = getString(j())
144+ if ($isInstanceOf(L, "String"))
139145 then {
140- let R = J
141- fromBase58String(R)
146+ let T = L
147+ fromBase58String(T)
142148 }
143- else if ($isInstanceOf(J, "Unit"))
149+ else if ($isInstanceOf(L, "Unit"))
144150 then unit
145151 else throw("Match error")
146152 }
147153
148154
149-func U () = {
150- let J = getString(k())
151- if ($isInstanceOf(J, "String"))
155+func W () = {
156+ let L = getString(k())
157+ if ($isInstanceOf(L, "String"))
152158 then {
153- let R = J
154- fromBase58String(R)
159+ let T = L
160+ fromBase58String(T)
155161 }
156- else if ($isInstanceOf(J, "Unit"))
162+ else if ($isInstanceOf(L, "Unit"))
157163 then unit
158164 else throw("Match error")
159165 }
160166
161167
162-func V (W) = {
163- let J = T()
164- if ($isInstanceOf(J, "ByteVector"))
168+func X (Y) = {
169+ let L = V()
170+ if ($isInstanceOf(L, "ByteVector"))
165171 then {
166- let X = J
167- if ((W.callerPublicKey == X))
172+ let Z = L
173+ if ((Y.callerPublicKey == Z))
168174 then true
169175 else h()
170176 }
171- else if ($isInstanceOf(J, "Unit"))
172- then if ((W.caller == this))
177+ else if ($isInstanceOf(L, "Unit"))
178+ then if ((Y.caller == this))
173179 then true
174180 else h()
175181 else throw("Match error")
176182 }
177183
178184
179-func Y (W) = {
180- let Z = split(valueOrElse(getString(l()), b), a)
181- if (containsElement(Z, toBase58String(W.callerPublicKey)))
185+func aa (Y) = {
186+ let ab = split(valueOrElse(getString(l()), b), a)
187+ if (containsElement(ab, toBase58String(Y.callerPublicKey)))
182188 then true
183189 else {
184- let aa = V(W)
185- if ((aa == aa))
190+ let ac = X(Y)
191+ if ((ac == ac))
186192 then true
187193 else throw("Strict value is not equal to itself.")
188194 }
189195 }
190196
191197
192-func ab (p) = valueOrElse(getBoolean(o(p)), false)
198+func ad (p) = valueOrElse(getBoolean(o(p)), false)
193199
194200
195-func ac (ad) = if (ad)
201+func ae (af) = if (af)
196202 then c
197203 else d
198204
199205
200-func ae (p,af,ag) = {
201- let ah = Q()
202- let ai = S(p)
203- let aj = if (containsElement(ah, af))
206+func ag (p,ah,ai) = {
207+ let aj = S()
208+ let ak = U(p)
209+ let al = if (containsElement(aj, ah))
204210 then true
205211 else throw("Label doesn't exist")
206- if ((aj == aj))
212+ if ((al == al))
207213 then {
208- let ak = if (containsElement(ai, af))
209- then if (ag)
214+ let am = if (containsElement(ak, ah))
215+ then if (ai)
210216 then throw("Label has already been added")
211- else ai
212- else (ai :+ af)
213-[StringEntry(C(p), makeString(ak, a))]
217+ else ak
218+ else (ak :+ ah)
219+[StringEntry(C(p), makeString(am, a))]
214220 }
215221 else throw("Strict value is not equal to itself.")
216222 }
217223
218224
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)
225+func an (p,ah,ai) = {
226+ let ak = U(p)
227+ let am = if (containsElement(ak, ah))
228+ then removeByIndex(ak, value(indexOf(ak, ah)))
229+ else if (ai)
224230 then throw("Label wasn't added")
225- else ai
226-[StringEntry(C(p), makeString(ak, a))]
231+ else ak
232+[StringEntry(C(p), makeString(am, a))]
227233 }
228234
229235
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)
236+func ao (p,af) = {
237+ let ap = if (af)
238+ then ag(p, e, false)
239+ else an(p, e, false)
240+ ([IntegerEntry(s(p), ae(af))] ++ ap)
235241 }
236242
237243
238-func ao (p,v) = {
239- let ap = {
240- let aq = getString(u(v))
241- let ar = if ((v != ""))
242- then if ((aq == unit))
244+func aq (p,v) = {
245+ let ar = {
246+ let as = getString(u(v))
247+ let at = if ((v != ""))
248+ then if ((as == unit))
243249 then true
244- else (value(aq) == p)
250+ else (value(as) == p)
245251 else false
246- if (ar)
252+ if (at)
247253 then true
248254 else throw("Invalid ticker")
249255 }
250- if ((ap == ap))
256+ if ((ar == ar))
251257 then [StringEntry(w(p), v), StringEntry(u(v), p)]
252258 else throw("Strict value is not equal to itself.")
253259 }
254260
255261
256-@Callable(W)
257-func constructor (as,ah) = {
258- let at = V(W)
259- if ((at == at))
262+@Callable(Y)
263+func setAssetName (au,av) = {
264+ let aw = aa(Y)
265+ if ((aw == aw))
266+ then [StringEntry(E(au), av)]
267+ else throw("Strict value is not equal to itself.")
268+ }
269+
270+
271+
272+@Callable(Y)
273+func setAssetDescription (au,ax) = {
274+ let aw = aa(Y)
275+ if ((aw == aw))
276+ then [StringEntry(F(au), ax)]
277+ else throw("Strict value is not equal to itself.")
278+ }
279+
280+
281+
282+@Callable(Y)
283+func constructor (ay,aj) = {
284+ let aw = X(Y)
285+ if ((aw == aw))
260286 then {
261- let au = valueOrErrorMessage(addressFromString(as), "Invalid address")
262- if ((au == au))
263- then [StringEntry(m(), as), StringEntry(D(), makeString((g ++ ah), a))]
287+ let az = valueOrErrorMessage(addressFromString(ay), "Invalid address")
288+ if ((az == az))
289+ then [StringEntry(m(), ay), StringEntry(D(), makeString((g ++ aj), a))]
264290 else throw("Strict value is not equal to itself.")
265291 }
266292 else throw("Strict value is not equal to itself.")
268294
269295
270296
271-@Callable(W)
272-func constructorV2 (av) = {
273- let at = V(W)
274- if ((at == at))
297+@Callable(Y)
298+func constructorV2 (aA) = {
299+ let aw = X(Y)
300+ if ((aw == aw))
275301 then {
276- let aw = valueOrErrorMessage(addressFromString(av), "invalid factory contract address")
277- if ((aw == aw))
278- then [StringEntry(n(), av)]
302+ let aB = valueOrErrorMessage(addressFromString(aA), "invalid factory contract address")
303+ if ((aB == aB))
304+ then [StringEntry(n(), aA)]
279305 else throw("Strict value is not equal to itself.")
280306 }
281307 else throw("Strict value is not equal to itself.")
283309
284310
285311
286-@Callable(W)
312+@Callable(Y)
287313 func addAssetsLink (y,z,B) = {
288- let at = Y(W)
289- if ((at == at))
314+ let aw = aa(Y)
315+ if ((aw == aw))
290316 then [StringEntry(x(y, z), B), StringEntry(A(B), makeString([y, z], a))]
291317 else throw("Strict value is not equal to itself.")
292318 }
293319
294320
295321
296-@Callable(W)
322+@Callable(Y)
297323 func increaseAssetPoolsNumber (p) = {
298- let at = Y(W)
299- if ((at == at))
324+ let aw = aa(Y)
325+ if ((aw == aw))
300326 then {
301- let ax = t(p)
302- let ay = valueOrElse(getInteger(ax), 0)
303-[IntegerEntry(ax, (ay + 1))]
327+ let aC = t(p)
328+ let aD = valueOrElse(getInteger(aC), 0)
329+[IntegerEntry(aC, (aD + 1))]
304330 }
305331 else throw("Strict value is not equal to itself.")
306332 }
307333
308334
309335
310-@Callable(W)
311-func createLabel (af) = {
312- let ah = Q()
313- let at = Y(W)
314- if ((at == at))
336+@Callable(Y)
337+func createLabel (ah) = {
338+ let aj = S()
339+ let aw = aa(Y)
340+ if ((aw == aw))
315341 then {
316- let aj = [if (!(contains(af, a)))
342+ let al = [if (!(contains(ah, a)))
317343 then true
318- else throw("Invalid label name"), if (!(containsElement(ah, af)))
344+ else throw("Invalid label name"), if (!(containsElement(aj, ah)))
319345 then true
320346 else throw("Label exists")]
321- if ((aj == aj))
322- then [StringEntry(D(), makeString((ah :+ af), a))]
347+ if ((al == al))
348+ then [StringEntry(D(), makeString((aj :+ ah), a))]
323349 else throw("Strict value is not equal to itself.")
324350 }
325351 else throw("Strict value is not equal to itself.")
327353
328354
329355
330-@Callable(W)
331-func dropLabel (af) = {
332- let ah = Q()
333- let at = V(W)
334- if ((at == at))
356+@Callable(Y)
357+func dropLabel (ah) = {
358+ let aj = S()
359+ let aw = X(Y)
360+ if ((aw == aw))
335361 then {
336- let aj = if (containsElement(ah, af))
362+ let al = if (containsElement(aj, ah))
337363 then true
338364 else throw("Label doesn't exist")
339- if ((aj == aj))
340- then [StringEntry(D(), makeString(removeByIndex(ah, value(indexOf(ah, af))), a))]
365+ if ((al == al))
366+ then [StringEntry(D(), makeString(removeByIndex(aj, value(indexOf(aj, ah))), a))]
341367 else throw("Strict value is not equal to itself.")
342368 }
343369 else throw("Strict value is not equal to itself.")
345371
346372
347373
348-@Callable(W)
349-func addLabel (p,af) = {
350- let at = Y(W)
351- if ((at == at))
352- then ae(p, af, true)
374+@Callable(Y)
375+func addLabel (p,ah) = {
376+ let aw = aa(Y)
377+ if ((aw == aw))
378+ then ag(p, ah, true)
353379 else throw("Strict value is not equal to itself.")
354380 }
355381
356382
357383
358-@Callable(W)
359-func deleteLabel (p,af) = {
360- let at = Y(W)
361- if ((at == at))
362- then al(p, af, true)
384+@Callable(Y)
385+func deleteLabel (p,ah) = {
386+ let aw = aa(Y)
387+ if ((aw == aw))
388+ then an(p, ah, true)
363389 else throw("Strict value is not equal to itself.")
364390 }
365391
366392
367393
368-@Callable(W)
394+@Callable(Y)
369395 func updateTicker (p,v) = {
370- let at = Y(W)
371- if ((at == at))
396+ let aw = aa(Y)
397+ if ((aw == aw))
372398 then {
373- let az = if (ab(p))
399+ let aE = if (ad(p))
374400 then true
375401 else i()
376- if ((az == az))
377- then ao(p, v)
402+ if ((aE == aE))
403+ then aq(p, v)
378404 else throw("Strict value is not equal to itself.")
379405 }
380406 else throw("Strict value is not equal to itself.")
382408
383409
384410
385-@Callable(W)
411+@Callable(Y)
386412 func deleteTicker (p) = {
387- let at = Y(W)
388- if ((at == at))
413+ let aw = aa(Y)
414+ if ((aw == aw))
389415 then {
390416 let v = valueOrErrorMessage(getString(w(p)), "Invalid asset")
391417 [DeleteEntry(w(p)), DeleteEntry(u(v))]
395421
396422
397423
398-@Callable(W)
399-func createOrUpdate (p,aA,ad) = {
400- let at = Y(W)
401- if ((at == at))
424+@Callable(Y)
425+func createOrUpdate (p,aF,af) = {
426+ let aw = aa(Y)
427+ if ((aw == aw))
402428 then {
403- let aB = !(ab(p))
404- if ((aB == aB))
429+ let aG = !(ad(p))
430+ if ((aG == aG))
405431 then {
406- let aC = if ((aA == ""))
432+ let aH = if ((aF == ""))
407433 then nil
408- else [StringEntry(q(p), aA)]
409- $Tuple2((([BooleanEntry(o(p), true)] ++ aC) ++ am(p, ad)), aB)
434+ else [StringEntry(q(p), aF)]
435+ $Tuple2((([BooleanEntry(o(p), true)] ++ aH) ++ ao(p, af)), aG)
410436 }
411437 else throw("Strict value is not equal to itself.")
412438 }
415441
416442
417443
418-@Callable(W)
419-func setLogo (p,aA) = {
420- let aD = [Y(W), if (ab(p))
444+@Callable(Y)
445+func setLogo (p,aF) = {
446+ let aI = [aa(Y), if (ad(p))
421447 then true
422448 else i()]
423- if ((aD == aD))
449+ if ((aI == aI))
424450 then {
425- let aE = if ((aA == ""))
451+ let aJ = if ((aF == ""))
426452 then DeleteEntry(q(p))
427- else StringEntry(q(p), aA)
428-[aE]
453+ else StringEntry(q(p), aF)
454+[aJ]
429455 }
430456 else throw("Strict value is not equal to itself.")
431457 }
432458
433459
434460
435-@Callable(W)
436-func setVerified (p,ad) = {
437- let aD = [Y(W), if (ab(p))
461+@Callable(Y)
462+func setVerified (p,af) = {
463+ let aI = [aa(Y), if (ad(p))
438464 then true
439465 else i()]
440- if ((aD == aD))
466+ if ((aI == aI))
441467 then {
442- let aF = if (!(ad))
468+ let aK = if (!(af))
443469 then {
444- let av = valueOrErrorMessage(addressFromString(M(this, n())), "invalid factory contract address")
445- invoke(av, "onVerificationLoss", [p], nil)
470+ let aA = valueOrErrorMessage(addressFromString(O(this, n())), "invalid factory contract address")
471+ invoke(aA, "onVerificationLoss", [p], nil)
446472 }
447473 else unit
448- if ((aF == aF))
449- then $Tuple2(am(p, ad), unit)
474+ if ((aK == aK))
475+ then $Tuple2(ao(p, af), unit)
450476 else throw("Strict value is not equal to itself.")
451477 }
452478 else throw("Strict value is not equal to itself.")
454480
455481
456482
457-@Callable(W)
483+@Callable(Y)
458484 func onEliminate (p) = {
459- let aG = valueOrElse(getInteger(t(p)), 0)
460- let aH = if ((aG > 0))
485+ let aL = valueOrElse(getInteger(t(p)), 0)
486+ let aM = if ((aL > 0))
461487 then nil
462488 else [DeleteEntry(q(p))]
463- $Tuple2(aH, unit)
489+ $Tuple2(aM, unit)
464490 }
465491
466492
467493
468-@Callable(W)
469-func setAdmins (aI) = {
470- let at = V(W)
471- if ((at == at))
472- then [StringEntry(l(), makeString(aI, a))]
494+@Callable(Y)
495+func setAdmins (aN) = {
496+ let aw = X(Y)
497+ if ((aw == aw))
498+ then [StringEntry(l(), makeString(aN, a))]
473499 else throw("Strict value is not equal to itself.")
474500 }
475501
476502
477503
478-@Callable(W)
479-func setManager (aJ) = {
480- let at = V(W)
481- if ((at == at))
504+@Callable(Y)
505+func setManager (aO) = {
506+ let aw = X(Y)
507+ if ((aw == aw))
482508 then {
483- let aK = fromBase58String(aJ)
484- if ((aK == aK))
485- then [StringEntry(k(), aJ)]
509+ let aP = fromBase58String(aO)
510+ if ((aP == aP))
511+ then [StringEntry(k(), aO)]
486512 else throw("Strict value is not equal to itself.")
487513 }
488514 else throw("Strict value is not equal to itself.")
490516
491517
492518
493-@Callable(W)
519+@Callable(Y)
494520 func confirmManager () = {
495- let aL = U()
496- let aM = if (isDefined(aL))
521+ let aQ = W()
522+ let aR = if (isDefined(aQ))
497523 then true
498524 else throw("No pending manager")
499- if ((aM == aM))
525+ if ((aR == aR))
500526 then {
501- let aN = if ((W.callerPublicKey == value(aL)))
527+ let aS = if ((Y.callerPublicKey == value(aQ)))
502528 then true
503529 else throw("You are not pending manager")
504- if ((aN == aN))
505- then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())]
530+ if ((aS == aS))
531+ then [StringEntry(j(), toBase58String(value(aQ))), DeleteEntry(k())]
506532 else throw("Strict value is not equal to itself.")
507533 }
508534 else throw("Strict value is not equal to itself.")
510536
511537
512538
513-@Callable(W)
514-func isVerifiedREADONLY (p) = $Tuple2(nil, P(p))
539+@Callable(Y)
540+func isVerifiedREADONLY (p) = $Tuple2(nil, R(p))
515541
516542
517-@Verifier(aO)
518-func aP () = {
519- let aQ = {
520- let J = T()
521- if ($isInstanceOf(J, "ByteVector"))
543+@Verifier(aT)
544+func aU () = {
545+ let aV = {
546+ let L = V()
547+ if ($isInstanceOf(L, "ByteVector"))
522548 then {
523- let X = J
524- X
549+ let Z = L
550+ Z
525551 }
526- else if ($isInstanceOf(J, "Unit"))
527- then aO.senderPublicKey
552+ else if ($isInstanceOf(L, "Unit"))
553+ then aT.senderPublicKey
528554 else throw("Match error")
529555 }
530- sigVerify(aO.bodyBytes, aO.proofs[0], aQ)
556+ sigVerify(aT.bodyBytes, aT.proofs[0], aV)
531557 }
532558
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
72-func E (F,G,H) = {
73- let I = makeString(["mandatory ", toString(F), ".", G, " is not defined"], "")
72+func E (p) = makeString(["%s%s", "assetName", p], a)
73+
74+
75+func F (p) = makeString(["%s%s", "assetDescription", p], a)
76+
77+
78+func G (H,I,J) = {
79+ let K = makeString(["mandatory ", toString(H), ".", I, " is not defined"], "")
7480 valueOrErrorMessage({
75- let J = H
76- if ($isInstanceOf(J, "String"))
81+ let L = J
82+ if ($isInstanceOf(L, "String"))
7783 then {
78- let K = J
79- getString(F, G)
84+ let M = L
85+ getString(H, I)
8086 }
81- else if ($isInstanceOf(J, "Int"))
87+ else if ($isInstanceOf(L, "Int"))
8288 then {
83- let L = J
84- getInteger(F, G)
89+ let N = L
90+ getInteger(H, I)
8591 }
8692 else throw("invalid entry type")
87- }, I)
93+ }, K)
8894 }
8995
9096
91-func M (F,G) = {
92- let N = E(F, G, "")
93- if ($isInstanceOf(N, "String"))
94- then N
97+func O (H,I) = {
98+ let P = G(H, I, "")
99+ if ($isInstanceOf(P, "String"))
100+ then P
95101 else throw("Couldn't cast Int|String to String")
96102 }
97103
98104
99-func O (F,G) = {
100- let N = E(F, G, 0)
101- if ($isInstanceOf(N, "Int"))
102- then N
105+func Q (H,I) = {
106+ let P = G(H, I, 0)
107+ if ($isInstanceOf(P, "Int"))
108+ then P
103109 else throw("Couldn't cast Int|String to Int")
104110 }
105111
106112
107-func P (p) = (valueOrElse(getInteger(s(p)), d) == c)
113+func R (p) = (valueOrElse(getInteger(s(p)), d) == c)
108114
109115
110-func Q () = {
111- let J = getString(D())
112- if ($isInstanceOf(J, "String"))
116+func S () = {
117+ let L = getString(D())
118+ if ($isInstanceOf(L, "String"))
113119 then {
114- let R = J
115- if ((size(R) == 0))
120+ let T = L
121+ if ((size(T) == 0))
116122 then nil
117- else split(R, a)
123+ else split(T, a)
118124 }
119125 else nil
120126 }
121127
122128
123-func S (p) = {
124- let J = getString(C(p))
125- if ($isInstanceOf(J, "String"))
129+func U (p) = {
130+ let L = getString(C(p))
131+ if ($isInstanceOf(L, "String"))
126132 then {
127- let R = J
128- if ((size(R) == 0))
133+ let T = L
134+ if ((size(T) == 0))
129135 then nil
130- else split(R, a)
136+ else split(T, a)
131137 }
132138 else nil
133139 }
134140
135141
136-func T () = {
137- let J = getString(j())
138- if ($isInstanceOf(J, "String"))
142+func V () = {
143+ let L = getString(j())
144+ if ($isInstanceOf(L, "String"))
139145 then {
140- let R = J
141- fromBase58String(R)
146+ let T = L
147+ fromBase58String(T)
142148 }
143- else if ($isInstanceOf(J, "Unit"))
149+ else if ($isInstanceOf(L, "Unit"))
144150 then unit
145151 else throw("Match error")
146152 }
147153
148154
149-func U () = {
150- let J = getString(k())
151- if ($isInstanceOf(J, "String"))
155+func W () = {
156+ let L = getString(k())
157+ if ($isInstanceOf(L, "String"))
152158 then {
153- let R = J
154- fromBase58String(R)
159+ let T = L
160+ fromBase58String(T)
155161 }
156- else if ($isInstanceOf(J, "Unit"))
162+ else if ($isInstanceOf(L, "Unit"))
157163 then unit
158164 else throw("Match error")
159165 }
160166
161167
162-func V (W) = {
163- let J = T()
164- if ($isInstanceOf(J, "ByteVector"))
168+func X (Y) = {
169+ let L = V()
170+ if ($isInstanceOf(L, "ByteVector"))
165171 then {
166- let X = J
167- if ((W.callerPublicKey == X))
172+ let Z = L
173+ if ((Y.callerPublicKey == Z))
168174 then true
169175 else h()
170176 }
171- else if ($isInstanceOf(J, "Unit"))
172- then if ((W.caller == this))
177+ else if ($isInstanceOf(L, "Unit"))
178+ then if ((Y.caller == this))
173179 then true
174180 else h()
175181 else throw("Match error")
176182 }
177183
178184
179-func Y (W) = {
180- let Z = split(valueOrElse(getString(l()), b), a)
181- if (containsElement(Z, toBase58String(W.callerPublicKey)))
185+func aa (Y) = {
186+ let ab = split(valueOrElse(getString(l()), b), a)
187+ if (containsElement(ab, toBase58String(Y.callerPublicKey)))
182188 then true
183189 else {
184- let aa = V(W)
185- if ((aa == aa))
190+ let ac = X(Y)
191+ if ((ac == ac))
186192 then true
187193 else throw("Strict value is not equal to itself.")
188194 }
189195 }
190196
191197
192-func ab (p) = valueOrElse(getBoolean(o(p)), false)
198+func ad (p) = valueOrElse(getBoolean(o(p)), false)
193199
194200
195-func ac (ad) = if (ad)
201+func ae (af) = if (af)
196202 then c
197203 else d
198204
199205
200-func ae (p,af,ag) = {
201- let ah = Q()
202- let ai = S(p)
203- let aj = if (containsElement(ah, af))
206+func ag (p,ah,ai) = {
207+ let aj = S()
208+ let ak = U(p)
209+ let al = if (containsElement(aj, ah))
204210 then true
205211 else throw("Label doesn't exist")
206- if ((aj == aj))
212+ if ((al == al))
207213 then {
208- let ak = if (containsElement(ai, af))
209- then if (ag)
214+ let am = if (containsElement(ak, ah))
215+ then if (ai)
210216 then throw("Label has already been added")
211- else ai
212- else (ai :+ af)
213-[StringEntry(C(p), makeString(ak, a))]
217+ else ak
218+ else (ak :+ ah)
219+[StringEntry(C(p), makeString(am, a))]
214220 }
215221 else throw("Strict value is not equal to itself.")
216222 }
217223
218224
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)
225+func an (p,ah,ai) = {
226+ let ak = U(p)
227+ let am = if (containsElement(ak, ah))
228+ then removeByIndex(ak, value(indexOf(ak, ah)))
229+ else if (ai)
224230 then throw("Label wasn't added")
225- else ai
226-[StringEntry(C(p), makeString(ak, a))]
231+ else ak
232+[StringEntry(C(p), makeString(am, a))]
227233 }
228234
229235
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)
236+func ao (p,af) = {
237+ let ap = if (af)
238+ then ag(p, e, false)
239+ else an(p, e, false)
240+ ([IntegerEntry(s(p), ae(af))] ++ ap)
235241 }
236242
237243
238-func ao (p,v) = {
239- let ap = {
240- let aq = getString(u(v))
241- let ar = if ((v != ""))
242- then if ((aq == unit))
244+func aq (p,v) = {
245+ let ar = {
246+ let as = getString(u(v))
247+ let at = if ((v != ""))
248+ then if ((as == unit))
243249 then true
244- else (value(aq) == p)
250+ else (value(as) == p)
245251 else false
246- if (ar)
252+ if (at)
247253 then true
248254 else throw("Invalid ticker")
249255 }
250- if ((ap == ap))
256+ if ((ar == ar))
251257 then [StringEntry(w(p), v), StringEntry(u(v), p)]
252258 else throw("Strict value is not equal to itself.")
253259 }
254260
255261
256-@Callable(W)
257-func constructor (as,ah) = {
258- let at = V(W)
259- if ((at == at))
262+@Callable(Y)
263+func setAssetName (au,av) = {
264+ let aw = aa(Y)
265+ if ((aw == aw))
266+ then [StringEntry(E(au), av)]
267+ else throw("Strict value is not equal to itself.")
268+ }
269+
270+
271+
272+@Callable(Y)
273+func setAssetDescription (au,ax) = {
274+ let aw = aa(Y)
275+ if ((aw == aw))
276+ then [StringEntry(F(au), ax)]
277+ else throw("Strict value is not equal to itself.")
278+ }
279+
280+
281+
282+@Callable(Y)
283+func constructor (ay,aj) = {
284+ let aw = X(Y)
285+ if ((aw == aw))
260286 then {
261- let au = valueOrErrorMessage(addressFromString(as), "Invalid address")
262- if ((au == au))
263- then [StringEntry(m(), as), StringEntry(D(), makeString((g ++ ah), a))]
287+ let az = valueOrErrorMessage(addressFromString(ay), "Invalid address")
288+ if ((az == az))
289+ then [StringEntry(m(), ay), StringEntry(D(), makeString((g ++ aj), a))]
264290 else throw("Strict value is not equal to itself.")
265291 }
266292 else throw("Strict value is not equal to itself.")
267293 }
268294
269295
270296
271-@Callable(W)
272-func constructorV2 (av) = {
273- let at = V(W)
274- if ((at == at))
297+@Callable(Y)
298+func constructorV2 (aA) = {
299+ let aw = X(Y)
300+ if ((aw == aw))
275301 then {
276- let aw = valueOrErrorMessage(addressFromString(av), "invalid factory contract address")
277- if ((aw == aw))
278- then [StringEntry(n(), av)]
302+ let aB = valueOrErrorMessage(addressFromString(aA), "invalid factory contract address")
303+ if ((aB == aB))
304+ then [StringEntry(n(), aA)]
279305 else throw("Strict value is not equal to itself.")
280306 }
281307 else throw("Strict value is not equal to itself.")
282308 }
283309
284310
285311
286-@Callable(W)
312+@Callable(Y)
287313 func addAssetsLink (y,z,B) = {
288- let at = Y(W)
289- if ((at == at))
314+ let aw = aa(Y)
315+ if ((aw == aw))
290316 then [StringEntry(x(y, z), B), StringEntry(A(B), makeString([y, z], a))]
291317 else throw("Strict value is not equal to itself.")
292318 }
293319
294320
295321
296-@Callable(W)
322+@Callable(Y)
297323 func increaseAssetPoolsNumber (p) = {
298- let at = Y(W)
299- if ((at == at))
324+ let aw = aa(Y)
325+ if ((aw == aw))
300326 then {
301- let ax = t(p)
302- let ay = valueOrElse(getInteger(ax), 0)
303-[IntegerEntry(ax, (ay + 1))]
327+ let aC = t(p)
328+ let aD = valueOrElse(getInteger(aC), 0)
329+[IntegerEntry(aC, (aD + 1))]
304330 }
305331 else throw("Strict value is not equal to itself.")
306332 }
307333
308334
309335
310-@Callable(W)
311-func createLabel (af) = {
312- let ah = Q()
313- let at = Y(W)
314- if ((at == at))
336+@Callable(Y)
337+func createLabel (ah) = {
338+ let aj = S()
339+ let aw = aa(Y)
340+ if ((aw == aw))
315341 then {
316- let aj = [if (!(contains(af, a)))
342+ let al = [if (!(contains(ah, a)))
317343 then true
318- else throw("Invalid label name"), if (!(containsElement(ah, af)))
344+ else throw("Invalid label name"), if (!(containsElement(aj, ah)))
319345 then true
320346 else throw("Label exists")]
321- if ((aj == aj))
322- then [StringEntry(D(), makeString((ah :+ af), a))]
347+ if ((al == al))
348+ then [StringEntry(D(), makeString((aj :+ ah), a))]
323349 else throw("Strict value is not equal to itself.")
324350 }
325351 else throw("Strict value is not equal to itself.")
326352 }
327353
328354
329355
330-@Callable(W)
331-func dropLabel (af) = {
332- let ah = Q()
333- let at = V(W)
334- if ((at == at))
356+@Callable(Y)
357+func dropLabel (ah) = {
358+ let aj = S()
359+ let aw = X(Y)
360+ if ((aw == aw))
335361 then {
336- let aj = if (containsElement(ah, af))
362+ let al = if (containsElement(aj, ah))
337363 then true
338364 else throw("Label doesn't exist")
339- if ((aj == aj))
340- then [StringEntry(D(), makeString(removeByIndex(ah, value(indexOf(ah, af))), a))]
365+ if ((al == al))
366+ then [StringEntry(D(), makeString(removeByIndex(aj, value(indexOf(aj, ah))), a))]
341367 else throw("Strict value is not equal to itself.")
342368 }
343369 else throw("Strict value is not equal to itself.")
344370 }
345371
346372
347373
348-@Callable(W)
349-func addLabel (p,af) = {
350- let at = Y(W)
351- if ((at == at))
352- then ae(p, af, true)
374+@Callable(Y)
375+func addLabel (p,ah) = {
376+ let aw = aa(Y)
377+ if ((aw == aw))
378+ then ag(p, ah, true)
353379 else throw("Strict value is not equal to itself.")
354380 }
355381
356382
357383
358-@Callable(W)
359-func deleteLabel (p,af) = {
360- let at = Y(W)
361- if ((at == at))
362- then al(p, af, true)
384+@Callable(Y)
385+func deleteLabel (p,ah) = {
386+ let aw = aa(Y)
387+ if ((aw == aw))
388+ then an(p, ah, true)
363389 else throw("Strict value is not equal to itself.")
364390 }
365391
366392
367393
368-@Callable(W)
394+@Callable(Y)
369395 func updateTicker (p,v) = {
370- let at = Y(W)
371- if ((at == at))
396+ let aw = aa(Y)
397+ if ((aw == aw))
372398 then {
373- let az = if (ab(p))
399+ let aE = if (ad(p))
374400 then true
375401 else i()
376- if ((az == az))
377- then ao(p, v)
402+ if ((aE == aE))
403+ then aq(p, v)
378404 else throw("Strict value is not equal to itself.")
379405 }
380406 else throw("Strict value is not equal to itself.")
381407 }
382408
383409
384410
385-@Callable(W)
411+@Callable(Y)
386412 func deleteTicker (p) = {
387- let at = Y(W)
388- if ((at == at))
413+ let aw = aa(Y)
414+ if ((aw == aw))
389415 then {
390416 let v = valueOrErrorMessage(getString(w(p)), "Invalid asset")
391417 [DeleteEntry(w(p)), DeleteEntry(u(v))]
392418 }
393419 else throw("Strict value is not equal to itself.")
394420 }
395421
396422
397423
398-@Callable(W)
399-func createOrUpdate (p,aA,ad) = {
400- let at = Y(W)
401- if ((at == at))
424+@Callable(Y)
425+func createOrUpdate (p,aF,af) = {
426+ let aw = aa(Y)
427+ if ((aw == aw))
402428 then {
403- let aB = !(ab(p))
404- if ((aB == aB))
429+ let aG = !(ad(p))
430+ if ((aG == aG))
405431 then {
406- let aC = if ((aA == ""))
432+ let aH = if ((aF == ""))
407433 then nil
408- else [StringEntry(q(p), aA)]
409- $Tuple2((([BooleanEntry(o(p), true)] ++ aC) ++ am(p, ad)), aB)
434+ else [StringEntry(q(p), aF)]
435+ $Tuple2((([BooleanEntry(o(p), true)] ++ aH) ++ ao(p, af)), aG)
410436 }
411437 else throw("Strict value is not equal to itself.")
412438 }
413439 else throw("Strict value is not equal to itself.")
414440 }
415441
416442
417443
418-@Callable(W)
419-func setLogo (p,aA) = {
420- let aD = [Y(W), if (ab(p))
444+@Callable(Y)
445+func setLogo (p,aF) = {
446+ let aI = [aa(Y), if (ad(p))
421447 then true
422448 else i()]
423- if ((aD == aD))
449+ if ((aI == aI))
424450 then {
425- let aE = if ((aA == ""))
451+ let aJ = if ((aF == ""))
426452 then DeleteEntry(q(p))
427- else StringEntry(q(p), aA)
428-[aE]
453+ else StringEntry(q(p), aF)
454+[aJ]
429455 }
430456 else throw("Strict value is not equal to itself.")
431457 }
432458
433459
434460
435-@Callable(W)
436-func setVerified (p,ad) = {
437- let aD = [Y(W), if (ab(p))
461+@Callable(Y)
462+func setVerified (p,af) = {
463+ let aI = [aa(Y), if (ad(p))
438464 then true
439465 else i()]
440- if ((aD == aD))
466+ if ((aI == aI))
441467 then {
442- let aF = if (!(ad))
468+ let aK = if (!(af))
443469 then {
444- let av = valueOrErrorMessage(addressFromString(M(this, n())), "invalid factory contract address")
445- invoke(av, "onVerificationLoss", [p], nil)
470+ let aA = valueOrErrorMessage(addressFromString(O(this, n())), "invalid factory contract address")
471+ invoke(aA, "onVerificationLoss", [p], nil)
446472 }
447473 else unit
448- if ((aF == aF))
449- then $Tuple2(am(p, ad), unit)
474+ if ((aK == aK))
475+ then $Tuple2(ao(p, af), unit)
450476 else throw("Strict value is not equal to itself.")
451477 }
452478 else throw("Strict value is not equal to itself.")
453479 }
454480
455481
456482
457-@Callable(W)
483+@Callable(Y)
458484 func onEliminate (p) = {
459- let aG = valueOrElse(getInteger(t(p)), 0)
460- let aH = if ((aG > 0))
485+ let aL = valueOrElse(getInteger(t(p)), 0)
486+ let aM = if ((aL > 0))
461487 then nil
462488 else [DeleteEntry(q(p))]
463- $Tuple2(aH, unit)
489+ $Tuple2(aM, unit)
464490 }
465491
466492
467493
468-@Callable(W)
469-func setAdmins (aI) = {
470- let at = V(W)
471- if ((at == at))
472- then [StringEntry(l(), makeString(aI, a))]
494+@Callable(Y)
495+func setAdmins (aN) = {
496+ let aw = X(Y)
497+ if ((aw == aw))
498+ then [StringEntry(l(), makeString(aN, a))]
473499 else throw("Strict value is not equal to itself.")
474500 }
475501
476502
477503
478-@Callable(W)
479-func setManager (aJ) = {
480- let at = V(W)
481- if ((at == at))
504+@Callable(Y)
505+func setManager (aO) = {
506+ let aw = X(Y)
507+ if ((aw == aw))
482508 then {
483- let aK = fromBase58String(aJ)
484- if ((aK == aK))
485- then [StringEntry(k(), aJ)]
509+ let aP = fromBase58String(aO)
510+ if ((aP == aP))
511+ then [StringEntry(k(), aO)]
486512 else throw("Strict value is not equal to itself.")
487513 }
488514 else throw("Strict value is not equal to itself.")
489515 }
490516
491517
492518
493-@Callable(W)
519+@Callable(Y)
494520 func confirmManager () = {
495- let aL = U()
496- let aM = if (isDefined(aL))
521+ let aQ = W()
522+ let aR = if (isDefined(aQ))
497523 then true
498524 else throw("No pending manager")
499- if ((aM == aM))
525+ if ((aR == aR))
500526 then {
501- let aN = if ((W.callerPublicKey == value(aL)))
527+ let aS = if ((Y.callerPublicKey == value(aQ)))
502528 then true
503529 else throw("You are not pending manager")
504- if ((aN == aN))
505- then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())]
530+ if ((aS == aS))
531+ then [StringEntry(j(), toBase58String(value(aQ))), DeleteEntry(k())]
506532 else throw("Strict value is not equal to itself.")
507533 }
508534 else throw("Strict value is not equal to itself.")
509535 }
510536
511537
512538
513-@Callable(W)
514-func isVerifiedREADONLY (p) = $Tuple2(nil, P(p))
539+@Callable(Y)
540+func isVerifiedREADONLY (p) = $Tuple2(nil, R(p))
515541
516542
517-@Verifier(aO)
518-func aP () = {
519- let aQ = {
520- let J = T()
521- if ($isInstanceOf(J, "ByteVector"))
543+@Verifier(aT)
544+func aU () = {
545+ let aV = {
546+ let L = V()
547+ if ($isInstanceOf(L, "ByteVector"))
522548 then {
523- let X = J
524- X
549+ let Z = L
550+ Z
525551 }
526- else if ($isInstanceOf(J, "Unit"))
527- then aO.senderPublicKey
552+ else if ($isInstanceOf(L, "Unit"))
553+ then aT.senderPublicKey
528554 else throw("Match error")
529555 }
530- sigVerify(aO.bodyBytes, aO.proofs[0], aQ)
556+ sigVerify(aT.bodyBytes, aT.proofs[0], aV)
531557 }
532558

github/deemru/w8io/169f3d6 
137.58 ms