tx · 2cnYDqsmmwwDEDunk4E1WCSPnZswTsggJLGGeJMqwSyF

3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr:  -0.01700000 Waves

2023.03.14 18:59 [2489930] smart account 3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr > SELF 0.00000000 Waves

{ "type": 13, "id": "2cnYDqsmmwwDEDunk4E1WCSPnZswTsggJLGGeJMqwSyF", "fee": 1700000, "feeAssetId": null, "timestamp": 1678809623679, "version": 2, "chainId": 84, "sender": "3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr", "senderPublicKey": "EtZZHS4uqNXY5WPneZ8jY2aA95peXwthJVLzAMxMp379", "proofs": [ "26Crkd6akDhCaNWY58m8PyCupEypfqRNjXeFvyYccYND8WkGcMjf9jZhJuZ8H2XH5qwJPeS8LBapYwuV7xtAQ7Fw" ], "script": "base64:AAIFAAAAAAAABeYIAhIECgIICBIECgIICBIECgIIGBIDCgEIEgUKAwgICBIDCgEIEgMKAQgSAwoBCBIECgIICBIECgIICBIECgIICBIDCgEIEgUKAwgIBBIECgIICBIECgIIBBIDCgEIEgMKARgSAwoBCBIAEgMKAQgiA1NFUCIFRU1QVFkiDnN0YXR1c1ZlcmlmaWVkIhBzdGF0dXNVbnZlcmlmaWVkIhZsYWJlbENvbW11bml0eVZlcmlmaWVkIgxsYWJlbFBvb2xzTHAiDWRlZmF1bHRMYWJlbHMiB3Rocm93UEQiDHRocm93Tm9Bc3NldCITa2V5TWFuYWdlclB1YmxpY0tleSIaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkiD2tleUFkbWluUHViS2V5cyIUa2V5VXNlclBvb2xzQ29udHJhY3QiEmtleUZhY3RvcnlDb250cmFjdCIKa2V5Q3JlYXRlZCIHYXNzZXRJZCIHa2V5TG9nbyIJa2V5VGlja2VyIglrZXlTdGF0dXMiE2tleUFzc2V0UG9vbHNOdW1iZXIiEmtleVRpY2tlclRvQXNzZXRJZCIGdGlja2VyIhJrZXlBc3N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xlclB1YmxpY0tleQkBAAAABXZhbHVlAAAAAQUAAAACYVEGCQAAAgAAAAECAAAAG1lvdSBhcmUgbm90IHBlbmRpbmcgbWFuYWdlcgMJAAAAAAAAAgUAAAACYVMFAAAAAmFTCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAAAFqAAAAAAkAAlgAAAABCQEAAAAFdmFsdWUAAAABBQAAAAJhUQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAABawAAAAAFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAVkBAAAAEmlzVmVyaWZpZWRSRUFET05MWQAAAAEAAAABcAkABRQAAAACBQAAAANuaWwJAQAAAAFSAAAAAQUAAAABcAAAAAEAAAACYVQBAAAAAmFVAAAAAAQAAAACYVYEAAAAAUwJAQAAAAFWAAAAAAMJAAABAAAAAgUAAAABTAIAAAAKQnl0ZVZlY3RvcgQAAAABWgUAAAABTAUAAAABWgMJAAABAAAAAgUAAAABTAIAAAAEVW5pdAgFAAAAAmFUAAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACYVQAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJhVAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmFWE1Y/Lw==", "height": 2489930, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5ywmBtsuzkxbnzcF4wbq5Uzjq8gViLaBKLYKsF9jezG1 Next: 7aNd3A3TnchNwvXagYynRYZgsHYwD4JeqGfjrsYbmrWM Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = 1
4+let a = "__"
55
6-let b = "__"
6+let b = ""
77
8-let c = ""
8+let c = 2
99
10-let d = 2
10+let d = 0
1111
12-let e = 0
12+let e = "COMMUNITY_VERIFIED"
1313
14-let f = "COMMUNITY_VERIFIED"
14+let f = "POOLS_LP"
1515
16-let g = "POOLS_LP"
16+let g = [e, f]
1717
18-let h = [f, g]
19-
20-func i () = throw("Permission denied")
18+func h () = throw("Permission denied")
2119
2220
23-func j () = throw("Asset doesn't exists")
21+func i () = throw("Asset doesn't exists")
2422
2523
26-func k () = "%s__managerPublicKey"
24+func j () = "%s__managerPublicKey"
2725
2826
29-func l () = "%s__pendingManagerPublicKey"
27+func k () = "%s__pendingManagerPublicKey"
3028
3129
32-func m () = "%s__adminPubKeys"
30+func l () = "%s__adminPubKeys"
3331
3432
35-func n () = "%s__userPoolsContract"
33+func m () = "%s__userPoolsContract"
3634
3735
38-func o () = "%s__factoryContract"
36+func n () = "%s__factoryContract"
3937
4038
41-func p (q) = (("created_<" + q) + ">")
39+func o (p) = (("created_<" + p) + ">")
4240
4341
44-func r (q) = (("logo_<" + q) + ">")
42+func q (p) = (("logo_<" + p) + ">")
4543
4644
47-func s (q) = (("ticker_<" + q) + ">")
45+func r (p) = (("ticker_<" + p) + ">")
4846
4947
50-func t (q) = (("status_<" + q) + ">")
48+func s (p) = (("status_<" + p) + ">")
5149
5250
53-func u (q) = makeString(["%s%s", "pools", q], b)
51+func t (p) = makeString(["%s%s", "pools", p], a)
5452
5553
56-func v (w) = makeString(["%s%s", "ticker2assetId", w], b)
54+func u (v) = makeString(["%s%s", "ticker2assetId", v], a)
5755
5856
59-func x (q) = makeString(["%s%s", "assetId2ticker", q], b)
57+func w (p) = makeString(["%s%s", "assetId2ticker", p], a)
6058
6159
62-func y (z,A) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", z, A], b)
60+func x (y,z) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", y, z], a)
6361
6462
65-func B (C) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", C], b)
63+func A (B) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", B], a)
6664
6765
68-func D (q) = makeString(["%s%s", "labels", q], b)
66+func C (p) = makeString(["%s%s", "labels", p], a)
6967
7068
71-func E () = makeString(["%s", "labels"], b)
69+func D () = makeString(["%s", "labels"], a)
7270
7371
74-func F (q) = makeString(["%s%s", "assetName", q], b)
72+func E (p) = makeString(["%s%s", "assetName", p], a)
7573
7674
77-func G (q) = makeString(["%s%s", "assetDescription", q], b)
75+func F (p) = makeString(["%s%s", "assetDescription", p], a)
7876
7977
80-func H (I,J,K) = {
81- let L = makeString(["mandatory ", toString(I), ".", J, " is not defined"], "")
78+func G (H,I,J) = {
79+ let K = makeString(["mandatory ", toString(H), ".", I, " is not defined"], "")
8280 valueOrErrorMessage({
83- let M = K
84- if ($isInstanceOf(M, "String"))
81+ let L = J
82+ if ($isInstanceOf(L, "String"))
8583 then {
86- let N = M
87- getString(I, J)
84+ let M = L
85+ getString(H, I)
8886 }
89- else if ($isInstanceOf(M, "Int"))
87+ else if ($isInstanceOf(L, "Int"))
9088 then {
91- let O = M
92- getInteger(I, J)
89+ let N = L
90+ getInteger(H, I)
9391 }
9492 else throw("invalid entry type")
95- }, L)
93+ }, K)
9694 }
9795
9896
99-func P (I,J) = {
100- let Q = H(I, J, "")
101- if ($isInstanceOf(Q, "String"))
102- then Q
97+func O (H,I) = {
98+ let P = G(H, I, "")
99+ if ($isInstanceOf(P, "String"))
100+ then P
103101 else throw("Couldn't cast Int|String to String")
104102 }
105103
106104
107-func R (I,J) = {
108- let Q = H(I, J, 0)
109- if ($isInstanceOf(Q, "Int"))
110- then Q
105+func Q (H,I) = {
106+ let P = G(H, I, 0)
107+ if ($isInstanceOf(P, "Int"))
108+ then P
111109 else throw("Couldn't cast Int|String to Int")
112110 }
113111
114112
115-func S (q) = (valueOrElse(getInteger(t(q)), e) == d)
113+func R (p) = (valueOrElse(getInteger(s(p)), d) == c)
116114
117115
118-func T () = {
119- let M = getString(E())
120- if ($isInstanceOf(M, "String"))
116+func S () = {
117+ let L = getString(D())
118+ if ($isInstanceOf(L, "String"))
121119 then {
122- let U = M
123- if ((size(U) == 0))
120+ let T = L
121+ if ((size(T) == 0))
124122 then nil
125- else split(U, b)
123+ else split(T, a)
126124 }
127125 else nil
128126 }
129127
130128
131-func V (q) = {
132- let M = getString(D(q))
133- if ($isInstanceOf(M, "String"))
129+func U (p) = {
130+ let L = getString(C(p))
131+ if ($isInstanceOf(L, "String"))
134132 then {
135- let U = M
136- if ((size(U) == 0))
133+ let T = L
134+ if ((size(T) == 0))
137135 then nil
138- else split(U, b)
136+ else split(T, a)
139137 }
140138 else nil
141139 }
142140
143141
144-func W () = {
145- let M = getString(k())
146- if ($isInstanceOf(M, "String"))
142+func V () = {
143+ let L = getString(j())
144+ if ($isInstanceOf(L, "String"))
147145 then {
148- let U = M
149- fromBase58String(U)
146+ let T = L
147+ fromBase58String(T)
150148 }
151- else if ($isInstanceOf(M, "Unit"))
149+ else if ($isInstanceOf(L, "Unit"))
152150 then unit
153151 else throw("Match error")
154152 }
155153
156154
157-func X () = {
158- let M = getString(l())
159- if ($isInstanceOf(M, "String"))
155+func W () = {
156+ let L = getString(k())
157+ if ($isInstanceOf(L, "String"))
160158 then {
161- let U = M
162- fromBase58String(U)
159+ let T = L
160+ fromBase58String(T)
163161 }
164- else if ($isInstanceOf(M, "Unit"))
162+ else if ($isInstanceOf(L, "Unit"))
165163 then unit
166164 else throw("Match error")
167165 }
168166
169167
170-func Y (Z) = {
171- let M = W()
172- if ($isInstanceOf(M, "ByteVector"))
168+func X (Y) = {
169+ let L = V()
170+ if ($isInstanceOf(L, "ByteVector"))
173171 then {
174- let aa = M
175- if ((Z.callerPublicKey == aa))
172+ let Z = L
173+ if ((Y.callerPublicKey == Z))
176174 then true
177- else i()
175+ else h()
178176 }
179- else if ($isInstanceOf(M, "Unit"))
180- then if ((Z.caller == this))
177+ else if ($isInstanceOf(L, "Unit"))
178+ then if ((Y.caller == this))
181179 then true
182- else i()
180+ else h()
183181 else throw("Match error")
184182 }
185183
186184
187-func ab (Z) = {
188- let ac = split(valueOrElse(getString(m()), c), b)
189- if (containsElement(ac, toBase58String(Z.callerPublicKey)))
185+func aa (Y) = {
186+ let ab = split(valueOrElse(getString(l()), b), a)
187+ if (containsElement(ab, toBase58String(Y.callerPublicKey)))
190188 then true
191189 else {
192- let ad = Y(Z)
193- if ((ad == ad))
190+ let ac = X(Y)
191+ if ((ac == ac))
194192 then true
195193 else throw("Strict value is not equal to itself.")
196194 }
197195 }
198196
199197
200-func ae (q) = valueOrElse(getBoolean(p(q)), false)
198+func ad (p) = valueOrElse(getBoolean(o(p)), false)
201199
202200
203-func af (ag) = if (ag)
204- then d
205- else e
201+func ae (af) = if (af)
202+ then c
203+ else d
206204
207205
208-func ah (q,ai,aj) = {
209- let ak = T()
210- let al = V(q)
211- let am = if (containsElement(ak, ai))
206+func ag (p,ah,ai) = {
207+ let aj = S()
208+ let ak = U(p)
209+ let al = if (containsElement(aj, ah))
212210 then true
213211 else throw("Label doesn't exist")
214- if ((am == am))
212+ if ((al == al))
215213 then {
216- let an = if (containsElement(al, ai))
217- then if (aj)
214+ let am = if (containsElement(ak, ah))
215+ then if (ai)
218216 then throw("Label has already been added")
219- else al
220- else (al :+ ai)
221-[StringEntry(D(q), makeString(an, b))]
217+ else ak
218+ else (ak :+ ah)
219+[StringEntry(C(p), makeString(am, a))]
222220 }
223221 else throw("Strict value is not equal to itself.")
224222 }
225223
226224
227-func ao (q,ai,aj) = {
228- let al = V(q)
229- let an = if (containsElement(al, ai))
230- then removeByIndex(al, value(indexOf(al, ai)))
231- else if (aj)
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)
232230 then throw("Label wasn't added")
233- else al
234-[StringEntry(D(q), makeString(an, b))]
231+ else ak
232+[StringEntry(C(p), makeString(am, a))]
235233 }
236234
237235
238-func ap (q,ag) = {
239- let aq = if (ag)
240- then ah(q, f, false)
241- else ao(q, f, false)
242- ([IntegerEntry(t(q), af(ag))] ++ aq)
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)
243241 }
244242
245243
246-func ar (q,w) = {
247- let as = {
248- let at = getString(v(w))
249- let au = if ((w != ""))
250- then if ((at == 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))
251249 then true
252- else (value(at) == q)
250+ else (value(as) == p)
253251 else false
254- if (au)
252+ if (at)
255253 then true
256254 else throw("Invalid ticker")
257255 }
258- if ((as == as))
259- then [StringEntry(x(q), w), StringEntry(v(w), q)]
256+ if ((ar == ar))
257+ then [StringEntry(w(p), v), StringEntry(u(v), p)]
260258 else throw("Strict value is not equal to itself.")
261259 }
262260
263261
264-@Callable(Z)
265-func setAssetName (av,aw) = {
266- let ax = ab(Z)
267- if ((ax == ax))
268- then [StringEntry(F(av), aw)]
262+@Callable(Y)
263+func setAssetName (au,av) = {
264+ let aw = aa(Y)
265+ if ((aw == aw))
266+ then [StringEntry(E(au), av)]
269267 else throw("Strict value is not equal to itself.")
270268 }
271269
272270
273271
274-@Callable(Z)
275-func setAssetDescription (av,ay) = {
276- let ax = ab(Z)
277- if ((ax == ax))
278- then [StringEntry(G(av), ay)]
272+@Callable(Y)
273+func setAssetDescription (au,ax) = {
274+ let aw = aa(Y)
275+ if ((aw == aw))
276+ then [StringEntry(F(au), ax)]
279277 else throw("Strict value is not equal to itself.")
280278 }
281279
282280
283281
284-@Callable(Z)
285-func constructor (az,ak) = {
286- let ax = Y(Z)
287- if ((ax == ax))
282+@Callable(Y)
283+func constructor (ay,aj) = {
284+ let aw = X(Y)
285+ if ((aw == aw))
288286 then {
289- let aA = valueOrErrorMessage(addressFromString(az), "Invalid address")
290- if ((aA == aA))
291- then [StringEntry(n(), az), StringEntry(E(), makeString((h ++ ak), b))]
287+ let az = valueOrErrorMessage(addressFromString(ay), "Invalid address")
288+ if ((az == az))
289+ then [StringEntry(m(), ay), StringEntry(D(), makeString((g ++ aj), a))]
292290 else throw("Strict value is not equal to itself.")
293291 }
294292 else throw("Strict value is not equal to itself.")
296294
297295
298296
299-@Callable(Z)
300-func constructorV2 (aB) = {
301- let ax = Y(Z)
302- if ((ax == ax))
297+@Callable(Y)
298+func constructorV2 (aA) = {
299+ let aw = X(Y)
300+ if ((aw == aw))
303301 then {
304- let aC = valueOrErrorMessage(addressFromString(aB), "invalid factory contract address")
305- if ((aC == aC))
306- then [StringEntry(o(), aB)]
302+ let aB = valueOrErrorMessage(addressFromString(aA), "invalid factory contract address")
303+ if ((aB == aB))
304+ then [StringEntry(n(), aA)]
307305 else throw("Strict value is not equal to itself.")
308306 }
309307 else throw("Strict value is not equal to itself.")
311309
312310
313311
314-@Callable(Z)
315-func addAssetsLink (z,A,C) = {
316- let ax = ab(Z)
317- if ((ax == ax))
318- then [StringEntry(y(z, A), C), StringEntry(B(C), makeString([z, A], b))]
312+@Callable(Y)
313+func addAssetsLink (y,z,B) = {
314+ let aw = aa(Y)
315+ if ((aw == aw))
316+ then [StringEntry(x(y, z), B), StringEntry(A(B), makeString([y, z], a))]
319317 else throw("Strict value is not equal to itself.")
320318 }
321319
322320
323321
324-@Callable(Z)
325-func increaseAssetPoolsNumber (q) = {
326- let ax = ab(Z)
327- if ((ax == ax))
322+@Callable(Y)
323+func increaseAssetPoolsNumber (p) = {
324+ let aw = aa(Y)
325+ if ((aw == aw))
328326 then {
329- let aD = u(q)
330- let aE = valueOrElse(getInteger(aD), 0)
331-[IntegerEntry(aD, (aE + 1))]
327+ let aC = t(p)
328+ let aD = valueOrElse(getInteger(aC), 0)
329+[IntegerEntry(aC, (aD + 1))]
332330 }
333331 else throw("Strict value is not equal to itself.")
334332 }
335333
336334
337335
338-@Callable(Z)
339-func createLabel (ai) = {
340- let ak = T()
341- let ax = ab(Z)
342- if ((ax == ax))
336+@Callable(Y)
337+func createLabel (ah) = {
338+ let aj = S()
339+ let aw = aa(Y)
340+ if ((aw == aw))
343341 then {
344- let am = [if (!(contains(ai, b)))
342+ let al = [if (!(contains(ah, a)))
345343 then true
346- else throw("Invalid label name"), if (!(containsElement(ak, ai)))
344+ else throw("Invalid label name"), if (!(containsElement(aj, ah)))
347345 then true
348346 else throw("Label exists")]
349- if ((am == am))
350- then [StringEntry(E(), makeString((ak :+ ai), b))]
347+ if ((al == al))
348+ then [StringEntry(D(), makeString((aj :+ ah), a))]
351349 else throw("Strict value is not equal to itself.")
352350 }
353351 else throw("Strict value is not equal to itself.")
355353
356354
357355
358-@Callable(Z)
359-func dropLabel (ai) = {
360- let ak = T()
361- let ax = Y(Z)
362- if ((ax == ax))
356+@Callable(Y)
357+func dropLabel (ah) = {
358+ let aj = S()
359+ let aw = X(Y)
360+ if ((aw == aw))
363361 then {
364- let am = if (containsElement(ak, ai))
362+ let al = if (containsElement(aj, ah))
365363 then true
366364 else throw("Label doesn't exist")
367- if ((am == am))
368- then [StringEntry(E(), makeString(removeByIndex(ak, value(indexOf(ak, ai))), b))]
365+ if ((al == al))
366+ then [StringEntry(D(), makeString(removeByIndex(aj, value(indexOf(aj, ah))), a))]
369367 else throw("Strict value is not equal to itself.")
370368 }
371369 else throw("Strict value is not equal to itself.")
373371
374372
375373
376-@Callable(Z)
377-func addLabel (q,ai) = {
378- let ax = ab(Z)
379- if ((ax == ax))
380- then ah(q, ai, true)
374+@Callable(Y)
375+func addLabel (p,ah) = {
376+ let aw = aa(Y)
377+ if ((aw == aw))
378+ then ag(p, ah, true)
381379 else throw("Strict value is not equal to itself.")
382380 }
383381
384382
385383
386-@Callable(Z)
387-func deleteLabel (q,ai) = {
388- let ax = ab(Z)
389- if ((ax == ax))
390- then ao(q, ai, true)
384+@Callable(Y)
385+func deleteLabel (p,ah) = {
386+ let aw = aa(Y)
387+ if ((aw == aw))
388+ then an(p, ah, true)
391389 else throw("Strict value is not equal to itself.")
392390 }
393391
394392
395393
396-@Callable(Z)
397-func updateTicker (q,w) = {
398- let ax = ab(Z)
399- if ((ax == ax))
394+@Callable(Y)
395+func updateTicker (p,v) = {
396+ let aw = aa(Y)
397+ if ((aw == aw))
400398 then {
401- let aF = if (ae(q))
399+ let aE = if (ad(p))
402400 then true
403- else j()
404- if ((aF == aF))
405- then ar(q, w)
401+ else i()
402+ if ((aE == aE))
403+ then aq(p, v)
406404 else throw("Strict value is not equal to itself.")
407405 }
408406 else throw("Strict value is not equal to itself.")
410408
411409
412410
413-@Callable(Z)
414-func deleteTicker (q) = {
415- let ax = ab(Z)
416- if ((ax == ax))
411+@Callable(Y)
412+func deleteTicker (p) = {
413+ let aw = aa(Y)
414+ if ((aw == aw))
417415 then {
418- let w = valueOrErrorMessage(getString(x(q)), "Invalid asset")
419-[DeleteEntry(x(q)), DeleteEntry(v(w))]
416+ let v = valueOrErrorMessage(getString(w(p)), "Invalid asset")
417+[DeleteEntry(w(p)), DeleteEntry(u(v))]
420418 }
421419 else throw("Strict value is not equal to itself.")
422420 }
423421
424422
425423
426-@Callable(Z)
427-func createOrUpdate (q,aG,ag) = {
428- let ax = ab(Z)
429- if ((ax == ax))
424+@Callable(Y)
425+func createOrUpdate (p,aF,af) = {
426+ let aw = aa(Y)
427+ if ((aw == aw))
430428 then {
431- let aH = !(ae(q))
432- if ((aH == aH))
429+ let aG = !(ad(p))
430+ if ((aG == aG))
433431 then {
434- let aI = if ((aG == ""))
432+ let aH = if ((aF == ""))
435433 then nil
436- else [StringEntry(r(q), aG)]
437- $Tuple2((([BooleanEntry(p(q), true)] ++ aI) ++ ap(q, ag)), aH)
434+ else [StringEntry(q(p), aF)]
435+ $Tuple2((([BooleanEntry(o(p), true)] ++ aH) ++ ao(p, af)), aG)
438436 }
439437 else throw("Strict value is not equal to itself.")
440438 }
443441
444442
445443
446-@Callable(Z)
447-func setLogo (q,aG) = {
448- let aJ = [ab(Z), if (ae(q))
444+@Callable(Y)
445+func setLogo (p,aF) = {
446+ let aI = [aa(Y), if (ad(p))
449447 then true
450- else j()]
451- if ((aJ == aJ))
448+ else i()]
449+ if ((aI == aI))
452450 then {
453- let aK = if ((aG == ""))
454- then DeleteEntry(r(q))
455- else StringEntry(r(q), aG)
456-[aK]
451+ let aJ = if ((aF == ""))
452+ then DeleteEntry(q(p))
453+ else StringEntry(q(p), aF)
454+[aJ]
457455 }
458456 else throw("Strict value is not equal to itself.")
459457 }
460458
461459
462460
463-@Callable(Z)
464-func setVerified (q,ag) = {
465- let aJ = [ab(Z), if (ae(q))
461+@Callable(Y)
462+func setVerified (p,af) = {
463+ let aI = [aa(Y), if (ad(p))
466464 then true
467- else j()]
468- if ((aJ == aJ))
465+ else i()]
466+ if ((aI == aI))
469467 then {
470- let aL = if (!(ag))
468+ let aK = if (!(af))
471469 then {
472- let aB = valueOrErrorMessage(addressFromString(P(this, o())), "invalid factory contract address")
473- invoke(aB, "onVerificationLoss", [q], nil)
470+ let aA = valueOrErrorMessage(addressFromString(O(this, n())), "invalid factory contract address")
471+ invoke(aA, "onVerificationLoss", [p], nil)
474472 }
475473 else unit
476- if ((aL == aL))
477- then $Tuple2(ap(q, ag), unit)
474+ if ((aK == aK))
475+ then $Tuple2(ao(p, af), unit)
478476 else throw("Strict value is not equal to itself.")
479477 }
480478 else throw("Strict value is not equal to itself.")
482480
483481
484482
485-@Callable(Z)
486-func onEliminate (q) = {
487- let aM = valueOrElse(getInteger(u(q)), 0)
488- let aN = if ((aM > 0))
483+@Callable(Y)
484+func onEliminate (p) = {
485+ let aL = valueOrElse(getInteger(t(p)), 0)
486+ let aM = if ((aL > 0))
489487 then nil
490- else [DeleteEntry(r(q))]
491- $Tuple2(aN, unit)
488+ else [DeleteEntry(q(p))]
489+ $Tuple2(aM, unit)
492490 }
493491
494492
495493
496-@Callable(Z)
497-func setAdmins (aO) = {
498- let ax = Y(Z)
499- if ((ax == ax))
500- then [StringEntry(m(), makeString(aO, b))]
494+@Callable(Y)
495+func setAdmins (aN) = {
496+ let aw = X(Y)
497+ if ((aw == aw))
498+ then [StringEntry(l(), makeString(aN, a))]
501499 else throw("Strict value is not equal to itself.")
502500 }
503501
504502
505503
506-@Callable(Z)
507-func setManager (aP) = {
508- let ax = Y(Z)
509- if ((ax == ax))
504+@Callable(Y)
505+func setManager (aO) = {
506+ let aw = X(Y)
507+ if ((aw == aw))
510508 then {
511- let aQ = fromBase58String(aP)
512- if ((aQ == aQ))
513- then [StringEntry(l(), aP)]
509+ let aP = fromBase58String(aO)
510+ if ((aP == aP))
511+ then [StringEntry(k(), aO)]
514512 else throw("Strict value is not equal to itself.")
515513 }
516514 else throw("Strict value is not equal to itself.")
518516
519517
520518
521-@Callable(Z)
519+@Callable(Y)
522520 func confirmManager () = {
523- let aR = X()
524- let aS = if (isDefined(aR))
521+ let aQ = W()
522+ let aR = if (isDefined(aQ))
525523 then true
526524 else throw("No pending manager")
527- if ((aS == aS))
525+ if ((aR == aR))
528526 then {
529- let aT = if ((Z.callerPublicKey == value(aR)))
527+ let aS = if ((Y.callerPublicKey == value(aQ)))
530528 then true
531529 else throw("You are not pending manager")
532- if ((aT == aT))
533- then [StringEntry(k(), toBase58String(value(aR))), DeleteEntry(l())]
530+ if ((aS == aS))
531+ then [StringEntry(j(), toBase58String(value(aQ))), DeleteEntry(k())]
534532 else throw("Strict value is not equal to itself.")
535533 }
536534 else throw("Strict value is not equal to itself.")
538536
539537
540538
541-@Callable(Z)
542-func isVerifiedREADONLY (q) = $Tuple2(nil, S(q))
539+@Callable(Y)
540+func isVerifiedREADONLY (p) = $Tuple2(nil, R(p))
543541
544542
545-@Verifier(aU)
546-func aV () = {
547- let aW = {
548- let M = W()
549- if ($isInstanceOf(M, "ByteVector"))
543+@Verifier(aT)
544+func aU () = {
545+ let aV = {
546+ let L = V()
547+ if ($isInstanceOf(L, "ByteVector"))
550548 then {
551- let aa = M
552- aa
549+ let Z = L
550+ Z
553551 }
554- else if ($isInstanceOf(M, "Unit"))
555- then aU.senderPublicKey
552+ else if ($isInstanceOf(L, "Unit"))
553+ then aT.senderPublicKey
556554 else throw("Match error")
557555 }
558- sigVerify(aU.bodyBytes, aU.proofs[0], aW)
556+ sigVerify(aT.bodyBytes, aT.proofs[0], aV)
559557 }
560558
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = 1
4+let a = "__"
55
6-let b = "__"
6+let b = ""
77
8-let c = ""
8+let c = 2
99
10-let d = 2
10+let d = 0
1111
12-let e = 0
12+let e = "COMMUNITY_VERIFIED"
1313
14-let f = "COMMUNITY_VERIFIED"
14+let f = "POOLS_LP"
1515
16-let g = "POOLS_LP"
16+let g = [e, f]
1717
18-let h = [f, g]
19-
20-func i () = throw("Permission denied")
18+func h () = throw("Permission denied")
2119
2220
23-func j () = throw("Asset doesn't exists")
21+func i () = throw("Asset doesn't exists")
2422
2523
26-func k () = "%s__managerPublicKey"
24+func j () = "%s__managerPublicKey"
2725
2826
29-func l () = "%s__pendingManagerPublicKey"
27+func k () = "%s__pendingManagerPublicKey"
3028
3129
32-func m () = "%s__adminPubKeys"
30+func l () = "%s__adminPubKeys"
3331
3432
35-func n () = "%s__userPoolsContract"
33+func m () = "%s__userPoolsContract"
3634
3735
38-func o () = "%s__factoryContract"
36+func n () = "%s__factoryContract"
3937
4038
41-func p (q) = (("created_<" + q) + ">")
39+func o (p) = (("created_<" + p) + ">")
4240
4341
44-func r (q) = (("logo_<" + q) + ">")
42+func q (p) = (("logo_<" + p) + ">")
4543
4644
47-func s (q) = (("ticker_<" + q) + ">")
45+func r (p) = (("ticker_<" + p) + ">")
4846
4947
50-func t (q) = (("status_<" + q) + ">")
48+func s (p) = (("status_<" + p) + ">")
5149
5250
53-func u (q) = makeString(["%s%s", "pools", q], b)
51+func t (p) = makeString(["%s%s", "pools", p], a)
5452
5553
56-func v (w) = makeString(["%s%s", "ticker2assetId", w], b)
54+func u (v) = makeString(["%s%s", "ticker2assetId", v], a)
5755
5856
59-func x (q) = makeString(["%s%s", "assetId2ticker", q], b)
57+func w (p) = makeString(["%s%s", "assetId2ticker", p], a)
6058
6159
62-func y (z,A) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", z, A], b)
60+func x (y,z) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", y, z], a)
6361
6462
65-func B (C) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", C], b)
63+func A (B) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", B], a)
6664
6765
68-func D (q) = makeString(["%s%s", "labels", q], b)
66+func C (p) = makeString(["%s%s", "labels", p], a)
6967
7068
71-func E () = makeString(["%s", "labels"], b)
69+func D () = makeString(["%s", "labels"], a)
7270
7371
74-func F (q) = makeString(["%s%s", "assetName", q], b)
72+func E (p) = makeString(["%s%s", "assetName", p], a)
7573
7674
77-func G (q) = makeString(["%s%s", "assetDescription", q], b)
75+func F (p) = makeString(["%s%s", "assetDescription", p], a)
7876
7977
80-func H (I,J,K) = {
81- let L = makeString(["mandatory ", toString(I), ".", J, " is not defined"], "")
78+func G (H,I,J) = {
79+ let K = makeString(["mandatory ", toString(H), ".", I, " is not defined"], "")
8280 valueOrErrorMessage({
83- let M = K
84- if ($isInstanceOf(M, "String"))
81+ let L = J
82+ if ($isInstanceOf(L, "String"))
8583 then {
86- let N = M
87- getString(I, J)
84+ let M = L
85+ getString(H, I)
8886 }
89- else if ($isInstanceOf(M, "Int"))
87+ else if ($isInstanceOf(L, "Int"))
9088 then {
91- let O = M
92- getInteger(I, J)
89+ let N = L
90+ getInteger(H, I)
9391 }
9492 else throw("invalid entry type")
95- }, L)
93+ }, K)
9694 }
9795
9896
99-func P (I,J) = {
100- let Q = H(I, J, "")
101- if ($isInstanceOf(Q, "String"))
102- then Q
97+func O (H,I) = {
98+ let P = G(H, I, "")
99+ if ($isInstanceOf(P, "String"))
100+ then P
103101 else throw("Couldn't cast Int|String to String")
104102 }
105103
106104
107-func R (I,J) = {
108- let Q = H(I, J, 0)
109- if ($isInstanceOf(Q, "Int"))
110- then Q
105+func Q (H,I) = {
106+ let P = G(H, I, 0)
107+ if ($isInstanceOf(P, "Int"))
108+ then P
111109 else throw("Couldn't cast Int|String to Int")
112110 }
113111
114112
115-func S (q) = (valueOrElse(getInteger(t(q)), e) == d)
113+func R (p) = (valueOrElse(getInteger(s(p)), d) == c)
116114
117115
118-func T () = {
119- let M = getString(E())
120- if ($isInstanceOf(M, "String"))
116+func S () = {
117+ let L = getString(D())
118+ if ($isInstanceOf(L, "String"))
121119 then {
122- let U = M
123- if ((size(U) == 0))
120+ let T = L
121+ if ((size(T) == 0))
124122 then nil
125- else split(U, b)
123+ else split(T, a)
126124 }
127125 else nil
128126 }
129127
130128
131-func V (q) = {
132- let M = getString(D(q))
133- if ($isInstanceOf(M, "String"))
129+func U (p) = {
130+ let L = getString(C(p))
131+ if ($isInstanceOf(L, "String"))
134132 then {
135- let U = M
136- if ((size(U) == 0))
133+ let T = L
134+ if ((size(T) == 0))
137135 then nil
138- else split(U, b)
136+ else split(T, a)
139137 }
140138 else nil
141139 }
142140
143141
144-func W () = {
145- let M = getString(k())
146- if ($isInstanceOf(M, "String"))
142+func V () = {
143+ let L = getString(j())
144+ if ($isInstanceOf(L, "String"))
147145 then {
148- let U = M
149- fromBase58String(U)
146+ let T = L
147+ fromBase58String(T)
150148 }
151- else if ($isInstanceOf(M, "Unit"))
149+ else if ($isInstanceOf(L, "Unit"))
152150 then unit
153151 else throw("Match error")
154152 }
155153
156154
157-func X () = {
158- let M = getString(l())
159- if ($isInstanceOf(M, "String"))
155+func W () = {
156+ let L = getString(k())
157+ if ($isInstanceOf(L, "String"))
160158 then {
161- let U = M
162- fromBase58String(U)
159+ let T = L
160+ fromBase58String(T)
163161 }
164- else if ($isInstanceOf(M, "Unit"))
162+ else if ($isInstanceOf(L, "Unit"))
165163 then unit
166164 else throw("Match error")
167165 }
168166
169167
170-func Y (Z) = {
171- let M = W()
172- if ($isInstanceOf(M, "ByteVector"))
168+func X (Y) = {
169+ let L = V()
170+ if ($isInstanceOf(L, "ByteVector"))
173171 then {
174- let aa = M
175- if ((Z.callerPublicKey == aa))
172+ let Z = L
173+ if ((Y.callerPublicKey == Z))
176174 then true
177- else i()
175+ else h()
178176 }
179- else if ($isInstanceOf(M, "Unit"))
180- then if ((Z.caller == this))
177+ else if ($isInstanceOf(L, "Unit"))
178+ then if ((Y.caller == this))
181179 then true
182- else i()
180+ else h()
183181 else throw("Match error")
184182 }
185183
186184
187-func ab (Z) = {
188- let ac = split(valueOrElse(getString(m()), c), b)
189- if (containsElement(ac, toBase58String(Z.callerPublicKey)))
185+func aa (Y) = {
186+ let ab = split(valueOrElse(getString(l()), b), a)
187+ if (containsElement(ab, toBase58String(Y.callerPublicKey)))
190188 then true
191189 else {
192- let ad = Y(Z)
193- if ((ad == ad))
190+ let ac = X(Y)
191+ if ((ac == ac))
194192 then true
195193 else throw("Strict value is not equal to itself.")
196194 }
197195 }
198196
199197
200-func ae (q) = valueOrElse(getBoolean(p(q)), false)
198+func ad (p) = valueOrElse(getBoolean(o(p)), false)
201199
202200
203-func af (ag) = if (ag)
204- then d
205- else e
201+func ae (af) = if (af)
202+ then c
203+ else d
206204
207205
208-func ah (q,ai,aj) = {
209- let ak = T()
210- let al = V(q)
211- let am = if (containsElement(ak, ai))
206+func ag (p,ah,ai) = {
207+ let aj = S()
208+ let ak = U(p)
209+ let al = if (containsElement(aj, ah))
212210 then true
213211 else throw("Label doesn't exist")
214- if ((am == am))
212+ if ((al == al))
215213 then {
216- let an = if (containsElement(al, ai))
217- then if (aj)
214+ let am = if (containsElement(ak, ah))
215+ then if (ai)
218216 then throw("Label has already been added")
219- else al
220- else (al :+ ai)
221-[StringEntry(D(q), makeString(an, b))]
217+ else ak
218+ else (ak :+ ah)
219+[StringEntry(C(p), makeString(am, a))]
222220 }
223221 else throw("Strict value is not equal to itself.")
224222 }
225223
226224
227-func ao (q,ai,aj) = {
228- let al = V(q)
229- let an = if (containsElement(al, ai))
230- then removeByIndex(al, value(indexOf(al, ai)))
231- else if (aj)
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)
232230 then throw("Label wasn't added")
233- else al
234-[StringEntry(D(q), makeString(an, b))]
231+ else ak
232+[StringEntry(C(p), makeString(am, a))]
235233 }
236234
237235
238-func ap (q,ag) = {
239- let aq = if (ag)
240- then ah(q, f, false)
241- else ao(q, f, false)
242- ([IntegerEntry(t(q), af(ag))] ++ aq)
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)
243241 }
244242
245243
246-func ar (q,w) = {
247- let as = {
248- let at = getString(v(w))
249- let au = if ((w != ""))
250- then if ((at == 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))
251249 then true
252- else (value(at) == q)
250+ else (value(as) == p)
253251 else false
254- if (au)
252+ if (at)
255253 then true
256254 else throw("Invalid ticker")
257255 }
258- if ((as == as))
259- then [StringEntry(x(q), w), StringEntry(v(w), q)]
256+ if ((ar == ar))
257+ then [StringEntry(w(p), v), StringEntry(u(v), p)]
260258 else throw("Strict value is not equal to itself.")
261259 }
262260
263261
264-@Callable(Z)
265-func setAssetName (av,aw) = {
266- let ax = ab(Z)
267- if ((ax == ax))
268- then [StringEntry(F(av), aw)]
262+@Callable(Y)
263+func setAssetName (au,av) = {
264+ let aw = aa(Y)
265+ if ((aw == aw))
266+ then [StringEntry(E(au), av)]
269267 else throw("Strict value is not equal to itself.")
270268 }
271269
272270
273271
274-@Callable(Z)
275-func setAssetDescription (av,ay) = {
276- let ax = ab(Z)
277- if ((ax == ax))
278- then [StringEntry(G(av), ay)]
272+@Callable(Y)
273+func setAssetDescription (au,ax) = {
274+ let aw = aa(Y)
275+ if ((aw == aw))
276+ then [StringEntry(F(au), ax)]
279277 else throw("Strict value is not equal to itself.")
280278 }
281279
282280
283281
284-@Callable(Z)
285-func constructor (az,ak) = {
286- let ax = Y(Z)
287- if ((ax == ax))
282+@Callable(Y)
283+func constructor (ay,aj) = {
284+ let aw = X(Y)
285+ if ((aw == aw))
288286 then {
289- let aA = valueOrErrorMessage(addressFromString(az), "Invalid address")
290- if ((aA == aA))
291- then [StringEntry(n(), az), StringEntry(E(), makeString((h ++ ak), b))]
287+ let az = valueOrErrorMessage(addressFromString(ay), "Invalid address")
288+ if ((az == az))
289+ then [StringEntry(m(), ay), StringEntry(D(), makeString((g ++ aj), a))]
292290 else throw("Strict value is not equal to itself.")
293291 }
294292 else throw("Strict value is not equal to itself.")
295293 }
296294
297295
298296
299-@Callable(Z)
300-func constructorV2 (aB) = {
301- let ax = Y(Z)
302- if ((ax == ax))
297+@Callable(Y)
298+func constructorV2 (aA) = {
299+ let aw = X(Y)
300+ if ((aw == aw))
303301 then {
304- let aC = valueOrErrorMessage(addressFromString(aB), "invalid factory contract address")
305- if ((aC == aC))
306- then [StringEntry(o(), aB)]
302+ let aB = valueOrErrorMessage(addressFromString(aA), "invalid factory contract address")
303+ if ((aB == aB))
304+ then [StringEntry(n(), aA)]
307305 else throw("Strict value is not equal to itself.")
308306 }
309307 else throw("Strict value is not equal to itself.")
310308 }
311309
312310
313311
314-@Callable(Z)
315-func addAssetsLink (z,A,C) = {
316- let ax = ab(Z)
317- if ((ax == ax))
318- then [StringEntry(y(z, A), C), StringEntry(B(C), makeString([z, A], b))]
312+@Callable(Y)
313+func addAssetsLink (y,z,B) = {
314+ let aw = aa(Y)
315+ if ((aw == aw))
316+ then [StringEntry(x(y, z), B), StringEntry(A(B), makeString([y, z], a))]
319317 else throw("Strict value is not equal to itself.")
320318 }
321319
322320
323321
324-@Callable(Z)
325-func increaseAssetPoolsNumber (q) = {
326- let ax = ab(Z)
327- if ((ax == ax))
322+@Callable(Y)
323+func increaseAssetPoolsNumber (p) = {
324+ let aw = aa(Y)
325+ if ((aw == aw))
328326 then {
329- let aD = u(q)
330- let aE = valueOrElse(getInteger(aD), 0)
331-[IntegerEntry(aD, (aE + 1))]
327+ let aC = t(p)
328+ let aD = valueOrElse(getInteger(aC), 0)
329+[IntegerEntry(aC, (aD + 1))]
332330 }
333331 else throw("Strict value is not equal to itself.")
334332 }
335333
336334
337335
338-@Callable(Z)
339-func createLabel (ai) = {
340- let ak = T()
341- let ax = ab(Z)
342- if ((ax == ax))
336+@Callable(Y)
337+func createLabel (ah) = {
338+ let aj = S()
339+ let aw = aa(Y)
340+ if ((aw == aw))
343341 then {
344- let am = [if (!(contains(ai, b)))
342+ let al = [if (!(contains(ah, a)))
345343 then true
346- else throw("Invalid label name"), if (!(containsElement(ak, ai)))
344+ else throw("Invalid label name"), if (!(containsElement(aj, ah)))
347345 then true
348346 else throw("Label exists")]
349- if ((am == am))
350- then [StringEntry(E(), makeString((ak :+ ai), b))]
347+ if ((al == al))
348+ then [StringEntry(D(), makeString((aj :+ ah), a))]
351349 else throw("Strict value is not equal to itself.")
352350 }
353351 else throw("Strict value is not equal to itself.")
354352 }
355353
356354
357355
358-@Callable(Z)
359-func dropLabel (ai) = {
360- let ak = T()
361- let ax = Y(Z)
362- if ((ax == ax))
356+@Callable(Y)
357+func dropLabel (ah) = {
358+ let aj = S()
359+ let aw = X(Y)
360+ if ((aw == aw))
363361 then {
364- let am = if (containsElement(ak, ai))
362+ let al = if (containsElement(aj, ah))
365363 then true
366364 else throw("Label doesn't exist")
367- if ((am == am))
368- then [StringEntry(E(), makeString(removeByIndex(ak, value(indexOf(ak, ai))), b))]
365+ if ((al == al))
366+ then [StringEntry(D(), makeString(removeByIndex(aj, value(indexOf(aj, ah))), a))]
369367 else throw("Strict value is not equal to itself.")
370368 }
371369 else throw("Strict value is not equal to itself.")
372370 }
373371
374372
375373
376-@Callable(Z)
377-func addLabel (q,ai) = {
378- let ax = ab(Z)
379- if ((ax == ax))
380- then ah(q, ai, true)
374+@Callable(Y)
375+func addLabel (p,ah) = {
376+ let aw = aa(Y)
377+ if ((aw == aw))
378+ then ag(p, ah, true)
381379 else throw("Strict value is not equal to itself.")
382380 }
383381
384382
385383
386-@Callable(Z)
387-func deleteLabel (q,ai) = {
388- let ax = ab(Z)
389- if ((ax == ax))
390- then ao(q, ai, true)
384+@Callable(Y)
385+func deleteLabel (p,ah) = {
386+ let aw = aa(Y)
387+ if ((aw == aw))
388+ then an(p, ah, true)
391389 else throw("Strict value is not equal to itself.")
392390 }
393391
394392
395393
396-@Callable(Z)
397-func updateTicker (q,w) = {
398- let ax = ab(Z)
399- if ((ax == ax))
394+@Callable(Y)
395+func updateTicker (p,v) = {
396+ let aw = aa(Y)
397+ if ((aw == aw))
400398 then {
401- let aF = if (ae(q))
399+ let aE = if (ad(p))
402400 then true
403- else j()
404- if ((aF == aF))
405- then ar(q, w)
401+ else i()
402+ if ((aE == aE))
403+ then aq(p, v)
406404 else throw("Strict value is not equal to itself.")
407405 }
408406 else throw("Strict value is not equal to itself.")
409407 }
410408
411409
412410
413-@Callable(Z)
414-func deleteTicker (q) = {
415- let ax = ab(Z)
416- if ((ax == ax))
411+@Callable(Y)
412+func deleteTicker (p) = {
413+ let aw = aa(Y)
414+ if ((aw == aw))
417415 then {
418- let w = valueOrErrorMessage(getString(x(q)), "Invalid asset")
419-[DeleteEntry(x(q)), DeleteEntry(v(w))]
416+ let v = valueOrErrorMessage(getString(w(p)), "Invalid asset")
417+[DeleteEntry(w(p)), DeleteEntry(u(v))]
420418 }
421419 else throw("Strict value is not equal to itself.")
422420 }
423421
424422
425423
426-@Callable(Z)
427-func createOrUpdate (q,aG,ag) = {
428- let ax = ab(Z)
429- if ((ax == ax))
424+@Callable(Y)
425+func createOrUpdate (p,aF,af) = {
426+ let aw = aa(Y)
427+ if ((aw == aw))
430428 then {
431- let aH = !(ae(q))
432- if ((aH == aH))
429+ let aG = !(ad(p))
430+ if ((aG == aG))
433431 then {
434- let aI = if ((aG == ""))
432+ let aH = if ((aF == ""))
435433 then nil
436- else [StringEntry(r(q), aG)]
437- $Tuple2((([BooleanEntry(p(q), true)] ++ aI) ++ ap(q, ag)), aH)
434+ else [StringEntry(q(p), aF)]
435+ $Tuple2((([BooleanEntry(o(p), true)] ++ aH) ++ ao(p, af)), aG)
438436 }
439437 else throw("Strict value is not equal to itself.")
440438 }
441439 else throw("Strict value is not equal to itself.")
442440 }
443441
444442
445443
446-@Callable(Z)
447-func setLogo (q,aG) = {
448- let aJ = [ab(Z), if (ae(q))
444+@Callable(Y)
445+func setLogo (p,aF) = {
446+ let aI = [aa(Y), if (ad(p))
449447 then true
450- else j()]
451- if ((aJ == aJ))
448+ else i()]
449+ if ((aI == aI))
452450 then {
453- let aK = if ((aG == ""))
454- then DeleteEntry(r(q))
455- else StringEntry(r(q), aG)
456-[aK]
451+ let aJ = if ((aF == ""))
452+ then DeleteEntry(q(p))
453+ else StringEntry(q(p), aF)
454+[aJ]
457455 }
458456 else throw("Strict value is not equal to itself.")
459457 }
460458
461459
462460
463-@Callable(Z)
464-func setVerified (q,ag) = {
465- let aJ = [ab(Z), if (ae(q))
461+@Callable(Y)
462+func setVerified (p,af) = {
463+ let aI = [aa(Y), if (ad(p))
466464 then true
467- else j()]
468- if ((aJ == aJ))
465+ else i()]
466+ if ((aI == aI))
469467 then {
470- let aL = if (!(ag))
468+ let aK = if (!(af))
471469 then {
472- let aB = valueOrErrorMessage(addressFromString(P(this, o())), "invalid factory contract address")
473- invoke(aB, "onVerificationLoss", [q], nil)
470+ let aA = valueOrErrorMessage(addressFromString(O(this, n())), "invalid factory contract address")
471+ invoke(aA, "onVerificationLoss", [p], nil)
474472 }
475473 else unit
476- if ((aL == aL))
477- then $Tuple2(ap(q, ag), unit)
474+ if ((aK == aK))
475+ then $Tuple2(ao(p, af), unit)
478476 else throw("Strict value is not equal to itself.")
479477 }
480478 else throw("Strict value is not equal to itself.")
481479 }
482480
483481
484482
485-@Callable(Z)
486-func onEliminate (q) = {
487- let aM = valueOrElse(getInteger(u(q)), 0)
488- let aN = if ((aM > 0))
483+@Callable(Y)
484+func onEliminate (p) = {
485+ let aL = valueOrElse(getInteger(t(p)), 0)
486+ let aM = if ((aL > 0))
489487 then nil
490- else [DeleteEntry(r(q))]
491- $Tuple2(aN, unit)
488+ else [DeleteEntry(q(p))]
489+ $Tuple2(aM, unit)
492490 }
493491
494492
495493
496-@Callable(Z)
497-func setAdmins (aO) = {
498- let ax = Y(Z)
499- if ((ax == ax))
500- then [StringEntry(m(), makeString(aO, b))]
494+@Callable(Y)
495+func setAdmins (aN) = {
496+ let aw = X(Y)
497+ if ((aw == aw))
498+ then [StringEntry(l(), makeString(aN, a))]
501499 else throw("Strict value is not equal to itself.")
502500 }
503501
504502
505503
506-@Callable(Z)
507-func setManager (aP) = {
508- let ax = Y(Z)
509- if ((ax == ax))
504+@Callable(Y)
505+func setManager (aO) = {
506+ let aw = X(Y)
507+ if ((aw == aw))
510508 then {
511- let aQ = fromBase58String(aP)
512- if ((aQ == aQ))
513- then [StringEntry(l(), aP)]
509+ let aP = fromBase58String(aO)
510+ if ((aP == aP))
511+ then [StringEntry(k(), aO)]
514512 else throw("Strict value is not equal to itself.")
515513 }
516514 else throw("Strict value is not equal to itself.")
517515 }
518516
519517
520518
521-@Callable(Z)
519+@Callable(Y)
522520 func confirmManager () = {
523- let aR = X()
524- let aS = if (isDefined(aR))
521+ let aQ = W()
522+ let aR = if (isDefined(aQ))
525523 then true
526524 else throw("No pending manager")
527- if ((aS == aS))
525+ if ((aR == aR))
528526 then {
529- let aT = if ((Z.callerPublicKey == value(aR)))
527+ let aS = if ((Y.callerPublicKey == value(aQ)))
530528 then true
531529 else throw("You are not pending manager")
532- if ((aT == aT))
533- then [StringEntry(k(), toBase58String(value(aR))), DeleteEntry(l())]
530+ if ((aS == aS))
531+ then [StringEntry(j(), toBase58String(value(aQ))), DeleteEntry(k())]
534532 else throw("Strict value is not equal to itself.")
535533 }
536534 else throw("Strict value is not equal to itself.")
537535 }
538536
539537
540538
541-@Callable(Z)
542-func isVerifiedREADONLY (q) = $Tuple2(nil, S(q))
539+@Callable(Y)
540+func isVerifiedREADONLY (p) = $Tuple2(nil, R(p))
543541
544542
545-@Verifier(aU)
546-func aV () = {
547- let aW = {
548- let M = W()
549- if ($isInstanceOf(M, "ByteVector"))
543+@Verifier(aT)
544+func aU () = {
545+ let aV = {
546+ let L = V()
547+ if ($isInstanceOf(L, "ByteVector"))
550548 then {
551- let aa = M
552- aa
549+ let Z = L
550+ Z
553551 }
554- else if ($isInstanceOf(M, "Unit"))
555- then aU.senderPublicKey
552+ else if ($isInstanceOf(L, "Unit"))
553+ then aT.senderPublicKey
556554 else throw("Match error")
557555 }
558- sigVerify(aU.bodyBytes, aU.proofs[0], aW)
556+ sigVerify(aT.bodyBytes, aT.proofs[0], aV)
559557 }
560558

github/deemru/w8io/169f3d6 
167.96 ms