tx · 28PS2AAawfpaE9goU5kHYXXoCK7zRkpFEo9htXFRo6sw

3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr:  -0.01600000 Waves

2023.03.06 11:02 [2477962] smart account 3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr > SELF 0.00000000 Waves

{ "type": 13, "id": "28PS2AAawfpaE9goU5kHYXXoCK7zRkpFEo9htXFRo6sw", "fee": 1600000, "feeAssetId": null, "timestamp": 1678089777584, "version": 2, "chainId": 84, "sender": "3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr", "senderPublicKey": "EtZZHS4uqNXY5WPneZ8jY2aA95peXwthJVLzAMxMp379", "proofs": [ "2e3nNJvdCEbwMXcxo7ZiV3Ykdun75tCrFdAehM98tGihxybNQ8Szd9KVwVXaESyhzajW5sE3oQsHT6xYV2nT57N" ], "script": "base64:AAIFAAAAAAAABZEIAhIECgIIGBIDCgEIEgUKAwgICBIDCgEIEgMKAQgSAwoBCBIECgIICBIECgIICBIECgIICBIDCgEIEgUKAwgIBBIECgIICBIECgIIBBIDCgEIEgMKARgSAwoBCBIAEgMKAQgiA1NFUCIFRU1QVFkiDnN0YXR1c1ZlcmlmaWVkIhBzdGF0dXNVbnZlcmlmaWVkIhZsYWJlbENvbW11bml0eVZlcmlmaWVkIgxsYWJlbFBvb2xzTHAiDWRlZmF1bHRMYWJlbHMiB3Rocm93UEQiDHRocm93Tm9Bc3NldCITa2V5TWFuYWdlclB1YmxpY0tleSIaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkiD2tleUFkbWluUHViS2V5cyIUa2V5VXNlclBvb2xzQ29udHJhY3QiEmtleUZhY3RvcnlDb250cmFjdCIKa2V5Q3JlYXRlZCIHYXNzZXRJZCIHa2V5TG9nbyIJa2V5VGlja2VyIglrZXlTdGF0dXMiE2tleUFzc2V0UG9vbHNOdW1iZXIiEmtleVRpY2tlclRvQXNzZXRJZCIGdGlja2VyIhJrZXlBc3NldElkVG9UaWNrZXIiI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AJhTAYJAAACAAAAAQIAAAASTm8gcGVuZGluZyBtYW5hZ2VyAwkAAAAAAAACBQAAAAJhTQUAAAACYU0EAAAAAmFOAwkAAAAAAAACCAUAAAABVwAAAA9jYWxsZXJQdWJsaWNLZXkJAQAAAAV2YWx1ZQAAAAEFAAAAAmFMBgkAAAIAAAABAgAAABtZb3UgYXJlIG5vdCBwZW5kaW5nIG1hbmFnZXIDCQAAAAAAAAIFAAAAAmFOBQAAAAJhTgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAABagAAAAAJAAJYAAAAAQkBAAAABXZhbHVlAAAAAQUAAAACYUwJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAAAWsAAAAABQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAFXAQAAABJpc1ZlcmlmaWVkUkVBRE9OTFkAAAABAAAAAXAJAAUUAAAAAgUAAAADbmlsCQEAAAABUAAAAAEFAAAAAXAAAAABAAAAAmFPAQAAAAJhUAAAAAAEAAAAAmFRBAAAAAFKCQEAAAABVAAAAAADCQAAAQAAAAIFAAAAAUoCAAAACkJ5dGVWZWN0b3IEAAAAAVgFAAAAAUoFAAAAAVgDCQAAAQAAAAIFAAAAAUoCAAAABFVuaXQIBQAAAAJhTwAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAmFPAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYU8AAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAJhUbW1dnY=", "height": 2477962, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AcHrSbHqWkcjxQSuQ43M4E29e2AgU9rkh1dR5Uh7LJig Next: 9CgsGiZDnsRpsExX9PpD5W1iNS3BUEaEthznykry6GBN Diff:
OldNewDifferences
6969 func D () = makeString(["%s", "labels"], a)
7070
7171
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"], "")
72+func E (F,G,H) = {
73+ let I = makeString(["mandatory ", toString(F), ".", G, " is not defined"], "")
8074 valueOrErrorMessage({
81- let L = J
82- if ($isInstanceOf(L, "String"))
75+ let J = H
76+ if ($isInstanceOf(J, "String"))
8377 then {
84- let M = L
85- getString(H, I)
78+ let K = J
79+ getString(F, G)
8680 }
87- else if ($isInstanceOf(L, "Int"))
81+ else if ($isInstanceOf(J, "Int"))
8882 then {
89- let N = L
90- getInteger(H, I)
83+ let L = J
84+ getInteger(F, G)
9185 }
9286 else throw("invalid entry type")
93- }, K)
87+ }, I)
9488 }
9589
9690
97-func O (H,I) = {
98- let P = G(H, I, "")
99- if ($isInstanceOf(P, "String"))
100- then P
91+func M (F,G) = {
92+ let N = E(F, G, "")
93+ if ($isInstanceOf(N, "String"))
94+ then N
10195 else throw("Couldn't cast Int|String to String")
10296 }
10397
10498
105-func Q (H,I) = {
106- let P = G(H, I, 0)
107- if ($isInstanceOf(P, "Int"))
108- then P
99+func O (F,G) = {
100+ let N = E(F, G, 0)
101+ if ($isInstanceOf(N, "Int"))
102+ then N
109103 else throw("Couldn't cast Int|String to Int")
110104 }
111105
112106
113-func R (p) = (valueOrElse(getInteger(s(p)), d) == c)
107+func P (p) = (valueOrElse(getInteger(s(p)), d) == c)
114108
115109
116-func S () = {
117- let L = getString(D())
118- if ($isInstanceOf(L, "String"))
110+func Q () = {
111+ let J = getString(D())
112+ if ($isInstanceOf(J, "String"))
119113 then {
120- let T = L
121- if ((size(T) == 0))
114+ let R = J
115+ if ((size(R) == 0))
122116 then nil
123- else split(T, a)
117+ else split(R, a)
124118 }
125119 else nil
126120 }
127121
128122
129-func U (p) = {
130- let L = getString(C(p))
131- if ($isInstanceOf(L, "String"))
123+func S (p) = {
124+ let J = getString(C(p))
125+ if ($isInstanceOf(J, "String"))
132126 then {
133- let T = L
134- if ((size(T) == 0))
127+ let R = J
128+ if ((size(R) == 0))
135129 then nil
136- else split(T, a)
130+ else split(R, a)
137131 }
138132 else nil
139133 }
140134
141135
142-func V () = {
143- let L = getString(j())
144- if ($isInstanceOf(L, "String"))
136+func T () = {
137+ let J = getString(j())
138+ if ($isInstanceOf(J, "String"))
145139 then {
146- let T = L
147- fromBase58String(T)
140+ let R = J
141+ fromBase58String(R)
148142 }
149- else if ($isInstanceOf(L, "Unit"))
143+ else if ($isInstanceOf(J, "Unit"))
150144 then unit
151145 else throw("Match error")
152146 }
153147
154148
155-func W () = {
156- let L = getString(k())
157- if ($isInstanceOf(L, "String"))
149+func U () = {
150+ let J = getString(k())
151+ if ($isInstanceOf(J, "String"))
158152 then {
159- let T = L
160- fromBase58String(T)
153+ let R = J
154+ fromBase58String(R)
161155 }
162- else if ($isInstanceOf(L, "Unit"))
156+ else if ($isInstanceOf(J, "Unit"))
163157 then unit
164158 else throw("Match error")
165159 }
166160
167161
168-func X (Y) = {
169- let L = V()
170- if ($isInstanceOf(L, "ByteVector"))
162+func V (W) = {
163+ let J = T()
164+ if ($isInstanceOf(J, "ByteVector"))
171165 then {
172- let Z = L
173- if ((Y.callerPublicKey == Z))
166+ let X = J
167+ if ((W.callerPublicKey == X))
174168 then true
175169 else h()
176170 }
177- else if ($isInstanceOf(L, "Unit"))
178- then if ((Y.caller == this))
171+ else if ($isInstanceOf(J, "Unit"))
172+ then if ((W.caller == this))
179173 then true
180174 else h()
181175 else throw("Match error")
182176 }
183177
184178
185-func aa (Y) = {
186- let ab = split(valueOrElse(getString(l()), b), a)
187- if (containsElement(ab, toBase58String(Y.callerPublicKey)))
179+func Y (W) = {
180+ let Z = split(valueOrElse(getString(l()), b), a)
181+ if (containsElement(Z, toBase58String(W.callerPublicKey)))
188182 then true
189183 else {
190- let ac = X(Y)
191- if ((ac == ac))
184+ let aa = V(W)
185+ if ((aa == aa))
192186 then true
193187 else throw("Strict value is not equal to itself.")
194188 }
195189 }
196190
197191
198-func ad (p) = valueOrElse(getBoolean(o(p)), false)
192+func ab (p) = valueOrElse(getBoolean(o(p)), false)
199193
200194
201-func ae (af) = if (af)
195+func ac (ad) = if (ad)
202196 then c
203197 else d
204198
205199
206-func ag (p,ah,ai) = {
207- let aj = S()
208- let ak = U(p)
209- let al = if (containsElement(aj, ah))
200+func ae (p,af,ag) = {
201+ let ah = Q()
202+ let ai = S(p)
203+ let aj = if (containsElement(ah, af))
210204 then true
211205 else throw("Label doesn't exist")
212- if ((al == al))
206+ if ((aj == aj))
213207 then {
214- let am = if (containsElement(ak, ah))
215- then if (ai)
208+ let ak = if (containsElement(ai, af))
209+ then if (ag)
216210 then throw("Label has already been added")
217- else ak
218- else (ak :+ ah)
219-[StringEntry(C(p), makeString(am, a))]
211+ else ai
212+ else (ai :+ af)
213+[StringEntry(C(p), makeString(ak, a))]
220214 }
221215 else throw("Strict value is not equal to itself.")
222216 }
223217
224218
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)
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)
230224 then throw("Label wasn't added")
231- else ak
232-[StringEntry(C(p), makeString(am, a))]
225+ else ai
226+[StringEntry(C(p), makeString(ak, a))]
233227 }
234228
235229
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)
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)
241235 }
242236
243237
244-func aq (p,v) = {
245- let ar = {
246- let as = getString(u(v))
247- let at = if ((v != ""))
248- then if ((as == unit))
238+func ao (p,v) = {
239+ let ap = {
240+ let aq = getString(u(v))
241+ let ar = if ((v != ""))
242+ then if ((aq == unit))
249243 then true
250- else (value(as) == p)
244+ else (value(aq) == p)
251245 else false
252- if (at)
246+ if (ar)
253247 then true
254248 else throw("Invalid ticker")
255249 }
256- if ((ar == ar))
250+ if ((ap == ap))
257251 then [StringEntry(w(p), v), StringEntry(u(v), p)]
258252 else throw("Strict value is not equal to itself.")
259253 }
260254
261255
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))
256+@Callable(W)
257+func constructor (as,ah) = {
258+ let at = V(W)
259+ if ((at == at))
286260 then {
287- let az = valueOrErrorMessage(addressFromString(ay), "Invalid address")
288- if ((az == az))
289- then [StringEntry(m(), ay), StringEntry(D(), makeString((g ++ aj), a))]
261+ let au = valueOrErrorMessage(addressFromString(as), "Invalid address")
262+ if ((au == au))
263+ then [StringEntry(m(), as), StringEntry(D(), makeString((g ++ ah), a))]
290264 else throw("Strict value is not equal to itself.")
291265 }
292266 else throw("Strict value is not equal to itself.")
294268
295269
296270
297-@Callable(Y)
298-func constructorV2 (aA) = {
299- let aw = X(Y)
300- if ((aw == aw))
271+@Callable(W)
272+func constructorV2 (av) = {
273+ let at = V(W)
274+ if ((at == at))
301275 then {
302- let aB = valueOrErrorMessage(addressFromString(aA), "invalid factory contract address")
303- if ((aB == aB))
304- then [StringEntry(n(), aA)]
276+ let aw = valueOrErrorMessage(addressFromString(av), "invalid factory contract address")
277+ if ((aw == aw))
278+ then [StringEntry(n(), av)]
305279 else throw("Strict value is not equal to itself.")
306280 }
307281 else throw("Strict value is not equal to itself.")
309283
310284
311285
312-@Callable(Y)
286+@Callable(W)
313287 func addAssetsLink (y,z,B) = {
314- let aw = aa(Y)
315- if ((aw == aw))
288+ let at = Y(W)
289+ if ((at == at))
316290 then [StringEntry(x(y, z), B), StringEntry(A(B), makeString([y, z], a))]
317291 else throw("Strict value is not equal to itself.")
318292 }
319293
320294
321295
322-@Callable(Y)
296+@Callable(W)
323297 func increaseAssetPoolsNumber (p) = {
324- let aw = aa(Y)
325- if ((aw == aw))
298+ let at = Y(W)
299+ if ((at == at))
326300 then {
327- let aC = t(p)
328- let aD = valueOrElse(getInteger(aC), 0)
329-[IntegerEntry(aC, (aD + 1))]
301+ let ax = t(p)
302+ let ay = valueOrElse(getInteger(ax), 0)
303+[IntegerEntry(ax, (ay + 1))]
330304 }
331305 else throw("Strict value is not equal to itself.")
332306 }
333307
334308
335309
336-@Callable(Y)
337-func createLabel (ah) = {
338- let aj = S()
339- let aw = aa(Y)
340- if ((aw == aw))
310+@Callable(W)
311+func createLabel (af) = {
312+ let ah = Q()
313+ let at = Y(W)
314+ if ((at == at))
341315 then {
342- let al = [if (!(contains(ah, a)))
316+ let aj = [if (!(contains(af, a)))
343317 then true
344- else throw("Invalid label name"), if (!(containsElement(aj, ah)))
318+ else throw("Invalid label name"), if (!(containsElement(ah, af)))
345319 then true
346320 else throw("Label exists")]
347- if ((al == al))
348- then [StringEntry(D(), makeString((aj :+ ah), a))]
321+ if ((aj == aj))
322+ then [StringEntry(D(), makeString((ah :+ af), a))]
349323 else throw("Strict value is not equal to itself.")
350324 }
351325 else throw("Strict value is not equal to itself.")
353327
354328
355329
356-@Callable(Y)
357-func dropLabel (ah) = {
358- let aj = S()
359- let aw = X(Y)
360- if ((aw == aw))
330+@Callable(W)
331+func dropLabel (af) = {
332+ let ah = Q()
333+ let at = V(W)
334+ if ((at == at))
361335 then {
362- let al = if (containsElement(aj, ah))
336+ let aj = if (containsElement(ah, af))
363337 then true
364338 else throw("Label doesn't exist")
365- if ((al == al))
366- then [StringEntry(D(), makeString(removeByIndex(aj, value(indexOf(aj, ah))), a))]
339+ if ((aj == aj))
340+ then [StringEntry(D(), makeString(removeByIndex(ah, value(indexOf(ah, af))), a))]
367341 else throw("Strict value is not equal to itself.")
368342 }
369343 else throw("Strict value is not equal to itself.")
371345
372346
373347
374-@Callable(Y)
375-func addLabel (p,ah) = {
376- let aw = aa(Y)
377- if ((aw == aw))
378- then ag(p, ah, true)
348+@Callable(W)
349+func addLabel (p,af) = {
350+ let at = Y(W)
351+ if ((at == at))
352+ then ae(p, af, true)
379353 else throw("Strict value is not equal to itself.")
380354 }
381355
382356
383357
384-@Callable(Y)
385-func deleteLabel (p,ah) = {
386- let aw = aa(Y)
387- if ((aw == aw))
388- then an(p, ah, true)
358+@Callable(W)
359+func deleteLabel (p,af) = {
360+ let at = Y(W)
361+ if ((at == at))
362+ then al(p, af, true)
389363 else throw("Strict value is not equal to itself.")
390364 }
391365
392366
393367
394-@Callable(Y)
368+@Callable(W)
395369 func updateTicker (p,v) = {
396- let aw = aa(Y)
397- if ((aw == aw))
370+ let at = Y(W)
371+ if ((at == at))
398372 then {
399- let aE = if (ad(p))
373+ let az = if (ab(p))
400374 then true
401375 else i()
402- if ((aE == aE))
403- then aq(p, v)
376+ if ((az == az))
377+ then ao(p, v)
404378 else throw("Strict value is not equal to itself.")
405379 }
406380 else throw("Strict value is not equal to itself.")
408382
409383
410384
411-@Callable(Y)
385+@Callable(W)
412386 func deleteTicker (p) = {
413- let aw = aa(Y)
414- if ((aw == aw))
387+ let at = Y(W)
388+ if ((at == at))
415389 then {
416390 let v = valueOrErrorMessage(getString(w(p)), "Invalid asset")
417391 [DeleteEntry(w(p)), DeleteEntry(u(v))]
421395
422396
423397
424-@Callable(Y)
425-func createOrUpdate (p,aF,af) = {
426- let aw = aa(Y)
427- if ((aw == aw))
398+@Callable(W)
399+func createOrUpdate (p,aA,ad) = {
400+ let at = Y(W)
401+ if ((at == at))
428402 then {
429- let aG = !(ad(p))
430- if ((aG == aG))
403+ let aB = !(ab(p))
404+ if ((aB == aB))
431405 then {
432- let aH = if ((aF == ""))
406+ let aC = if ((aA == ""))
433407 then nil
434- else [StringEntry(q(p), aF)]
435- $Tuple2((([BooleanEntry(o(p), true)] ++ aH) ++ ao(p, af)), aG)
408+ else [StringEntry(q(p), aA)]
409+ $Tuple2((([BooleanEntry(o(p), true)] ++ aC) ++ am(p, ad)), aB)
436410 }
437411 else throw("Strict value is not equal to itself.")
438412 }
441415
442416
443417
444-@Callable(Y)
445-func setLogo (p,aF) = {
446- let aI = [aa(Y), if (ad(p))
418+@Callable(W)
419+func setLogo (p,aA) = {
420+ let aD = [Y(W), if (ab(p))
447421 then true
448422 else i()]
449- if ((aI == aI))
423+ if ((aD == aD))
450424 then {
451- let aJ = if ((aF == ""))
425+ let aE = if ((aA == ""))
452426 then DeleteEntry(q(p))
453- else StringEntry(q(p), aF)
454-[aJ]
427+ else StringEntry(q(p), aA)
428+[aE]
455429 }
456430 else throw("Strict value is not equal to itself.")
457431 }
458432
459433
460434
461-@Callable(Y)
462-func setVerified (p,af) = {
463- let aI = [aa(Y), if (ad(p))
435+@Callable(W)
436+func setVerified (p,ad) = {
437+ let aD = [Y(W), if (ab(p))
464438 then true
465439 else i()]
466- if ((aI == aI))
440+ if ((aD == aD))
467441 then {
468- let aK = if (!(af))
442+ let aF = if (!(ad))
469443 then {
470- let aA = valueOrErrorMessage(addressFromString(O(this, n())), "invalid factory contract address")
471- invoke(aA, "onVerificationLoss", [p], nil)
444+ let av = valueOrErrorMessage(addressFromString(M(this, n())), "invalid factory contract address")
445+ invoke(av, "onVerificationLoss", [p], nil)
472446 }
473447 else unit
474- if ((aK == aK))
475- then $Tuple2(ao(p, af), unit)
448+ if ((aF == aF))
449+ then $Tuple2(am(p, ad), unit)
476450 else throw("Strict value is not equal to itself.")
477451 }
478452 else throw("Strict value is not equal to itself.")
480454
481455
482456
483-@Callable(Y)
457+@Callable(W)
484458 func onEliminate (p) = {
485- let aL = valueOrElse(getInteger(t(p)), 0)
486- let aM = if ((aL > 0))
459+ let aG = valueOrElse(getInteger(t(p)), 0)
460+ let aH = if ((aG > 0))
487461 then nil
488462 else [DeleteEntry(q(p))]
489- $Tuple2(aM, unit)
463+ $Tuple2(aH, unit)
490464 }
491465
492466
493467
494-@Callable(Y)
495-func setAdmins (aN) = {
496- let aw = X(Y)
497- if ((aw == aw))
498- then [StringEntry(l(), makeString(aN, a))]
468+@Callable(W)
469+func setAdmins (aI) = {
470+ let at = V(W)
471+ if ((at == at))
472+ then [StringEntry(l(), makeString(aI, a))]
499473 else throw("Strict value is not equal to itself.")
500474 }
501475
502476
503477
504-@Callable(Y)
505-func setManager (aO) = {
506- let aw = X(Y)
507- if ((aw == aw))
478+@Callable(W)
479+func setManager (aJ) = {
480+ let at = V(W)
481+ if ((at == at))
508482 then {
509- let aP = fromBase58String(aO)
510- if ((aP == aP))
511- then [StringEntry(k(), aO)]
483+ let aK = fromBase58String(aJ)
484+ if ((aK == aK))
485+ then [StringEntry(k(), aJ)]
512486 else throw("Strict value is not equal to itself.")
513487 }
514488 else throw("Strict value is not equal to itself.")
516490
517491
518492
519-@Callable(Y)
493+@Callable(W)
520494 func confirmManager () = {
521- let aQ = W()
522- let aR = if (isDefined(aQ))
495+ let aL = U()
496+ let aM = if (isDefined(aL))
523497 then true
524498 else throw("No pending manager")
525- if ((aR == aR))
499+ if ((aM == aM))
526500 then {
527- let aS = if ((Y.callerPublicKey == value(aQ)))
501+ let aN = if ((W.callerPublicKey == value(aL)))
528502 then true
529503 else throw("You are not pending manager")
530- if ((aS == aS))
531- then [StringEntry(j(), toBase58String(value(aQ))), DeleteEntry(k())]
504+ if ((aN == aN))
505+ then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())]
532506 else throw("Strict value is not equal to itself.")
533507 }
534508 else throw("Strict value is not equal to itself.")
536510
537511
538512
539-@Callable(Y)
540-func isVerifiedREADONLY (p) = $Tuple2(nil, R(p))
513+@Callable(W)
514+func isVerifiedREADONLY (p) = $Tuple2(nil, P(p))
541515
542516
543-@Verifier(aT)
544-func aU () = {
545- let aV = {
546- let L = V()
547- if ($isInstanceOf(L, "ByteVector"))
517+@Verifier(aO)
518+func aP () = {
519+ let aQ = {
520+ let J = T()
521+ if ($isInstanceOf(J, "ByteVector"))
548522 then {
549- let Z = L
550- Z
523+ let X = J
524+ X
551525 }
552- else if ($isInstanceOf(L, "Unit"))
553- then aT.senderPublicKey
526+ else if ($isInstanceOf(J, "Unit"))
527+ then aO.senderPublicKey
554528 else throw("Match error")
555529 }
556- sigVerify(aT.bodyBytes, aT.proofs[0], aV)
530+ sigVerify(aO.bodyBytes, aO.proofs[0], aQ)
557531 }
558532
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 (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"], "")
72+func E (F,G,H) = {
73+ let I = makeString(["mandatory ", toString(F), ".", G, " is not defined"], "")
8074 valueOrErrorMessage({
81- let L = J
82- if ($isInstanceOf(L, "String"))
75+ let J = H
76+ if ($isInstanceOf(J, "String"))
8377 then {
84- let M = L
85- getString(H, I)
78+ let K = J
79+ getString(F, G)
8680 }
87- else if ($isInstanceOf(L, "Int"))
81+ else if ($isInstanceOf(J, "Int"))
8882 then {
89- let N = L
90- getInteger(H, I)
83+ let L = J
84+ getInteger(F, G)
9185 }
9286 else throw("invalid entry type")
93- }, K)
87+ }, I)
9488 }
9589
9690
97-func O (H,I) = {
98- let P = G(H, I, "")
99- if ($isInstanceOf(P, "String"))
100- then P
91+func M (F,G) = {
92+ let N = E(F, G, "")
93+ if ($isInstanceOf(N, "String"))
94+ then N
10195 else throw("Couldn't cast Int|String to String")
10296 }
10397
10498
105-func Q (H,I) = {
106- let P = G(H, I, 0)
107- if ($isInstanceOf(P, "Int"))
108- then P
99+func O (F,G) = {
100+ let N = E(F, G, 0)
101+ if ($isInstanceOf(N, "Int"))
102+ then N
109103 else throw("Couldn't cast Int|String to Int")
110104 }
111105
112106
113-func R (p) = (valueOrElse(getInteger(s(p)), d) == c)
107+func P (p) = (valueOrElse(getInteger(s(p)), d) == c)
114108
115109
116-func S () = {
117- let L = getString(D())
118- if ($isInstanceOf(L, "String"))
110+func Q () = {
111+ let J = getString(D())
112+ if ($isInstanceOf(J, "String"))
119113 then {
120- let T = L
121- if ((size(T) == 0))
114+ let R = J
115+ if ((size(R) == 0))
122116 then nil
123- else split(T, a)
117+ else split(R, a)
124118 }
125119 else nil
126120 }
127121
128122
129-func U (p) = {
130- let L = getString(C(p))
131- if ($isInstanceOf(L, "String"))
123+func S (p) = {
124+ let J = getString(C(p))
125+ if ($isInstanceOf(J, "String"))
132126 then {
133- let T = L
134- if ((size(T) == 0))
127+ let R = J
128+ if ((size(R) == 0))
135129 then nil
136- else split(T, a)
130+ else split(R, a)
137131 }
138132 else nil
139133 }
140134
141135
142-func V () = {
143- let L = getString(j())
144- if ($isInstanceOf(L, "String"))
136+func T () = {
137+ let J = getString(j())
138+ if ($isInstanceOf(J, "String"))
145139 then {
146- let T = L
147- fromBase58String(T)
140+ let R = J
141+ fromBase58String(R)
148142 }
149- else if ($isInstanceOf(L, "Unit"))
143+ else if ($isInstanceOf(J, "Unit"))
150144 then unit
151145 else throw("Match error")
152146 }
153147
154148
155-func W () = {
156- let L = getString(k())
157- if ($isInstanceOf(L, "String"))
149+func U () = {
150+ let J = getString(k())
151+ if ($isInstanceOf(J, "String"))
158152 then {
159- let T = L
160- fromBase58String(T)
153+ let R = J
154+ fromBase58String(R)
161155 }
162- else if ($isInstanceOf(L, "Unit"))
156+ else if ($isInstanceOf(J, "Unit"))
163157 then unit
164158 else throw("Match error")
165159 }
166160
167161
168-func X (Y) = {
169- let L = V()
170- if ($isInstanceOf(L, "ByteVector"))
162+func V (W) = {
163+ let J = T()
164+ if ($isInstanceOf(J, "ByteVector"))
171165 then {
172- let Z = L
173- if ((Y.callerPublicKey == Z))
166+ let X = J
167+ if ((W.callerPublicKey == X))
174168 then true
175169 else h()
176170 }
177- else if ($isInstanceOf(L, "Unit"))
178- then if ((Y.caller == this))
171+ else if ($isInstanceOf(J, "Unit"))
172+ then if ((W.caller == this))
179173 then true
180174 else h()
181175 else throw("Match error")
182176 }
183177
184178
185-func aa (Y) = {
186- let ab = split(valueOrElse(getString(l()), b), a)
187- if (containsElement(ab, toBase58String(Y.callerPublicKey)))
179+func Y (W) = {
180+ let Z = split(valueOrElse(getString(l()), b), a)
181+ if (containsElement(Z, toBase58String(W.callerPublicKey)))
188182 then true
189183 else {
190- let ac = X(Y)
191- if ((ac == ac))
184+ let aa = V(W)
185+ if ((aa == aa))
192186 then true
193187 else throw("Strict value is not equal to itself.")
194188 }
195189 }
196190
197191
198-func ad (p) = valueOrElse(getBoolean(o(p)), false)
192+func ab (p) = valueOrElse(getBoolean(o(p)), false)
199193
200194
201-func ae (af) = if (af)
195+func ac (ad) = if (ad)
202196 then c
203197 else d
204198
205199
206-func ag (p,ah,ai) = {
207- let aj = S()
208- let ak = U(p)
209- let al = if (containsElement(aj, ah))
200+func ae (p,af,ag) = {
201+ let ah = Q()
202+ let ai = S(p)
203+ let aj = if (containsElement(ah, af))
210204 then true
211205 else throw("Label doesn't exist")
212- if ((al == al))
206+ if ((aj == aj))
213207 then {
214- let am = if (containsElement(ak, ah))
215- then if (ai)
208+ let ak = if (containsElement(ai, af))
209+ then if (ag)
216210 then throw("Label has already been added")
217- else ak
218- else (ak :+ ah)
219-[StringEntry(C(p), makeString(am, a))]
211+ else ai
212+ else (ai :+ af)
213+[StringEntry(C(p), makeString(ak, a))]
220214 }
221215 else throw("Strict value is not equal to itself.")
222216 }
223217
224218
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)
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)
230224 then throw("Label wasn't added")
231- else ak
232-[StringEntry(C(p), makeString(am, a))]
225+ else ai
226+[StringEntry(C(p), makeString(ak, a))]
233227 }
234228
235229
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)
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)
241235 }
242236
243237
244-func aq (p,v) = {
245- let ar = {
246- let as = getString(u(v))
247- let at = if ((v != ""))
248- then if ((as == unit))
238+func ao (p,v) = {
239+ let ap = {
240+ let aq = getString(u(v))
241+ let ar = if ((v != ""))
242+ then if ((aq == unit))
249243 then true
250- else (value(as) == p)
244+ else (value(aq) == p)
251245 else false
252- if (at)
246+ if (ar)
253247 then true
254248 else throw("Invalid ticker")
255249 }
256- if ((ar == ar))
250+ if ((ap == ap))
257251 then [StringEntry(w(p), v), StringEntry(u(v), p)]
258252 else throw("Strict value is not equal to itself.")
259253 }
260254
261255
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))
256+@Callable(W)
257+func constructor (as,ah) = {
258+ let at = V(W)
259+ if ((at == at))
286260 then {
287- let az = valueOrErrorMessage(addressFromString(ay), "Invalid address")
288- if ((az == az))
289- then [StringEntry(m(), ay), StringEntry(D(), makeString((g ++ aj), a))]
261+ let au = valueOrErrorMessage(addressFromString(as), "Invalid address")
262+ if ((au == au))
263+ then [StringEntry(m(), as), StringEntry(D(), makeString((g ++ ah), a))]
290264 else throw("Strict value is not equal to itself.")
291265 }
292266 else throw("Strict value is not equal to itself.")
293267 }
294268
295269
296270
297-@Callable(Y)
298-func constructorV2 (aA) = {
299- let aw = X(Y)
300- if ((aw == aw))
271+@Callable(W)
272+func constructorV2 (av) = {
273+ let at = V(W)
274+ if ((at == at))
301275 then {
302- let aB = valueOrErrorMessage(addressFromString(aA), "invalid factory contract address")
303- if ((aB == aB))
304- then [StringEntry(n(), aA)]
276+ let aw = valueOrErrorMessage(addressFromString(av), "invalid factory contract address")
277+ if ((aw == aw))
278+ then [StringEntry(n(), av)]
305279 else throw("Strict value is not equal to itself.")
306280 }
307281 else throw("Strict value is not equal to itself.")
308282 }
309283
310284
311285
312-@Callable(Y)
286+@Callable(W)
313287 func addAssetsLink (y,z,B) = {
314- let aw = aa(Y)
315- if ((aw == aw))
288+ let at = Y(W)
289+ if ((at == at))
316290 then [StringEntry(x(y, z), B), StringEntry(A(B), makeString([y, z], a))]
317291 else throw("Strict value is not equal to itself.")
318292 }
319293
320294
321295
322-@Callable(Y)
296+@Callable(W)
323297 func increaseAssetPoolsNumber (p) = {
324- let aw = aa(Y)
325- if ((aw == aw))
298+ let at = Y(W)
299+ if ((at == at))
326300 then {
327- let aC = t(p)
328- let aD = valueOrElse(getInteger(aC), 0)
329-[IntegerEntry(aC, (aD + 1))]
301+ let ax = t(p)
302+ let ay = valueOrElse(getInteger(ax), 0)
303+[IntegerEntry(ax, (ay + 1))]
330304 }
331305 else throw("Strict value is not equal to itself.")
332306 }
333307
334308
335309
336-@Callable(Y)
337-func createLabel (ah) = {
338- let aj = S()
339- let aw = aa(Y)
340- if ((aw == aw))
310+@Callable(W)
311+func createLabel (af) = {
312+ let ah = Q()
313+ let at = Y(W)
314+ if ((at == at))
341315 then {
342- let al = [if (!(contains(ah, a)))
316+ let aj = [if (!(contains(af, a)))
343317 then true
344- else throw("Invalid label name"), if (!(containsElement(aj, ah)))
318+ else throw("Invalid label name"), if (!(containsElement(ah, af)))
345319 then true
346320 else throw("Label exists")]
347- if ((al == al))
348- then [StringEntry(D(), makeString((aj :+ ah), a))]
321+ if ((aj == aj))
322+ then [StringEntry(D(), makeString((ah :+ af), a))]
349323 else throw("Strict value is not equal to itself.")
350324 }
351325 else throw("Strict value is not equal to itself.")
352326 }
353327
354328
355329
356-@Callable(Y)
357-func dropLabel (ah) = {
358- let aj = S()
359- let aw = X(Y)
360- if ((aw == aw))
330+@Callable(W)
331+func dropLabel (af) = {
332+ let ah = Q()
333+ let at = V(W)
334+ if ((at == at))
361335 then {
362- let al = if (containsElement(aj, ah))
336+ let aj = if (containsElement(ah, af))
363337 then true
364338 else throw("Label doesn't exist")
365- if ((al == al))
366- then [StringEntry(D(), makeString(removeByIndex(aj, value(indexOf(aj, ah))), a))]
339+ if ((aj == aj))
340+ then [StringEntry(D(), makeString(removeByIndex(ah, value(indexOf(ah, af))), a))]
367341 else throw("Strict value is not equal to itself.")
368342 }
369343 else throw("Strict value is not equal to itself.")
370344 }
371345
372346
373347
374-@Callable(Y)
375-func addLabel (p,ah) = {
376- let aw = aa(Y)
377- if ((aw == aw))
378- then ag(p, ah, true)
348+@Callable(W)
349+func addLabel (p,af) = {
350+ let at = Y(W)
351+ if ((at == at))
352+ then ae(p, af, true)
379353 else throw("Strict value is not equal to itself.")
380354 }
381355
382356
383357
384-@Callable(Y)
385-func deleteLabel (p,ah) = {
386- let aw = aa(Y)
387- if ((aw == aw))
388- then an(p, ah, true)
358+@Callable(W)
359+func deleteLabel (p,af) = {
360+ let at = Y(W)
361+ if ((at == at))
362+ then al(p, af, true)
389363 else throw("Strict value is not equal to itself.")
390364 }
391365
392366
393367
394-@Callable(Y)
368+@Callable(W)
395369 func updateTicker (p,v) = {
396- let aw = aa(Y)
397- if ((aw == aw))
370+ let at = Y(W)
371+ if ((at == at))
398372 then {
399- let aE = if (ad(p))
373+ let az = if (ab(p))
400374 then true
401375 else i()
402- if ((aE == aE))
403- then aq(p, v)
376+ if ((az == az))
377+ then ao(p, v)
404378 else throw("Strict value is not equal to itself.")
405379 }
406380 else throw("Strict value is not equal to itself.")
407381 }
408382
409383
410384
411-@Callable(Y)
385+@Callable(W)
412386 func deleteTicker (p) = {
413- let aw = aa(Y)
414- if ((aw == aw))
387+ let at = Y(W)
388+ if ((at == at))
415389 then {
416390 let v = valueOrErrorMessage(getString(w(p)), "Invalid asset")
417391 [DeleteEntry(w(p)), DeleteEntry(u(v))]
418392 }
419393 else throw("Strict value is not equal to itself.")
420394 }
421395
422396
423397
424-@Callable(Y)
425-func createOrUpdate (p,aF,af) = {
426- let aw = aa(Y)
427- if ((aw == aw))
398+@Callable(W)
399+func createOrUpdate (p,aA,ad) = {
400+ let at = Y(W)
401+ if ((at == at))
428402 then {
429- let aG = !(ad(p))
430- if ((aG == aG))
403+ let aB = !(ab(p))
404+ if ((aB == aB))
431405 then {
432- let aH = if ((aF == ""))
406+ let aC = if ((aA == ""))
433407 then nil
434- else [StringEntry(q(p), aF)]
435- $Tuple2((([BooleanEntry(o(p), true)] ++ aH) ++ ao(p, af)), aG)
408+ else [StringEntry(q(p), aA)]
409+ $Tuple2((([BooleanEntry(o(p), true)] ++ aC) ++ am(p, ad)), aB)
436410 }
437411 else throw("Strict value is not equal to itself.")
438412 }
439413 else throw("Strict value is not equal to itself.")
440414 }
441415
442416
443417
444-@Callable(Y)
445-func setLogo (p,aF) = {
446- let aI = [aa(Y), if (ad(p))
418+@Callable(W)
419+func setLogo (p,aA) = {
420+ let aD = [Y(W), if (ab(p))
447421 then true
448422 else i()]
449- if ((aI == aI))
423+ if ((aD == aD))
450424 then {
451- let aJ = if ((aF == ""))
425+ let aE = if ((aA == ""))
452426 then DeleteEntry(q(p))
453- else StringEntry(q(p), aF)
454-[aJ]
427+ else StringEntry(q(p), aA)
428+[aE]
455429 }
456430 else throw("Strict value is not equal to itself.")
457431 }
458432
459433
460434
461-@Callable(Y)
462-func setVerified (p,af) = {
463- let aI = [aa(Y), if (ad(p))
435+@Callable(W)
436+func setVerified (p,ad) = {
437+ let aD = [Y(W), if (ab(p))
464438 then true
465439 else i()]
466- if ((aI == aI))
440+ if ((aD == aD))
467441 then {
468- let aK = if (!(af))
442+ let aF = if (!(ad))
469443 then {
470- let aA = valueOrErrorMessage(addressFromString(O(this, n())), "invalid factory contract address")
471- invoke(aA, "onVerificationLoss", [p], nil)
444+ let av = valueOrErrorMessage(addressFromString(M(this, n())), "invalid factory contract address")
445+ invoke(av, "onVerificationLoss", [p], nil)
472446 }
473447 else unit
474- if ((aK == aK))
475- then $Tuple2(ao(p, af), unit)
448+ if ((aF == aF))
449+ then $Tuple2(am(p, ad), unit)
476450 else throw("Strict value is not equal to itself.")
477451 }
478452 else throw("Strict value is not equal to itself.")
479453 }
480454
481455
482456
483-@Callable(Y)
457+@Callable(W)
484458 func onEliminate (p) = {
485- let aL = valueOrElse(getInteger(t(p)), 0)
486- let aM = if ((aL > 0))
459+ let aG = valueOrElse(getInteger(t(p)), 0)
460+ let aH = if ((aG > 0))
487461 then nil
488462 else [DeleteEntry(q(p))]
489- $Tuple2(aM, unit)
463+ $Tuple2(aH, unit)
490464 }
491465
492466
493467
494-@Callable(Y)
495-func setAdmins (aN) = {
496- let aw = X(Y)
497- if ((aw == aw))
498- then [StringEntry(l(), makeString(aN, a))]
468+@Callable(W)
469+func setAdmins (aI) = {
470+ let at = V(W)
471+ if ((at == at))
472+ then [StringEntry(l(), makeString(aI, a))]
499473 else throw("Strict value is not equal to itself.")
500474 }
501475
502476
503477
504-@Callable(Y)
505-func setManager (aO) = {
506- let aw = X(Y)
507- if ((aw == aw))
478+@Callable(W)
479+func setManager (aJ) = {
480+ let at = V(W)
481+ if ((at == at))
508482 then {
509- let aP = fromBase58String(aO)
510- if ((aP == aP))
511- then [StringEntry(k(), aO)]
483+ let aK = fromBase58String(aJ)
484+ if ((aK == aK))
485+ then [StringEntry(k(), aJ)]
512486 else throw("Strict value is not equal to itself.")
513487 }
514488 else throw("Strict value is not equal to itself.")
515489 }
516490
517491
518492
519-@Callable(Y)
493+@Callable(W)
520494 func confirmManager () = {
521- let aQ = W()
522- let aR = if (isDefined(aQ))
495+ let aL = U()
496+ let aM = if (isDefined(aL))
523497 then true
524498 else throw("No pending manager")
525- if ((aR == aR))
499+ if ((aM == aM))
526500 then {
527- let aS = if ((Y.callerPublicKey == value(aQ)))
501+ let aN = if ((W.callerPublicKey == value(aL)))
528502 then true
529503 else throw("You are not pending manager")
530- if ((aS == aS))
531- then [StringEntry(j(), toBase58String(value(aQ))), DeleteEntry(k())]
504+ if ((aN == aN))
505+ then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())]
532506 else throw("Strict value is not equal to itself.")
533507 }
534508 else throw("Strict value is not equal to itself.")
535509 }
536510
537511
538512
539-@Callable(Y)
540-func isVerifiedREADONLY (p) = $Tuple2(nil, R(p))
513+@Callable(W)
514+func isVerifiedREADONLY (p) = $Tuple2(nil, P(p))
541515
542516
543-@Verifier(aT)
544-func aU () = {
545- let aV = {
546- let L = V()
547- if ($isInstanceOf(L, "ByteVector"))
517+@Verifier(aO)
518+func aP () = {
519+ let aQ = {
520+ let J = T()
521+ if ($isInstanceOf(J, "ByteVector"))
548522 then {
549- let Z = L
550- Z
523+ let X = J
524+ X
551525 }
552- else if ($isInstanceOf(L, "Unit"))
553- then aT.senderPublicKey
526+ else if ($isInstanceOf(J, "Unit"))
527+ then aO.senderPublicKey
554528 else throw("Match error")
555529 }
556- sigVerify(aT.bodyBytes, aT.proofs[0], aV)
530+ sigVerify(aO.bodyBytes, aO.proofs[0], aQ)
557531 }
558532

github/deemru/w8io/169f3d6 
135.31 ms