tx · 5ywmBtsuzkxbnzcF4wbq5Uzjq8gViLaBKLYKsF9jezG1

3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr:  -0.01700000 Waves

2023.03.14 18:57 [2489928] smart account 3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr > SELF 0.00000000 Waves

{ "type": 13, "id": "5ywmBtsuzkxbnzcF4wbq5Uzjq8gViLaBKLYKsF9jezG1", "fee": 1700000, "feeAssetId": null, "timestamp": 1678809472988, "version": 2, "chainId": 84, "sender": "3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr", "senderPublicKey": "EtZZHS4uqNXY5WPneZ8jY2aA95peXwthJVLzAMxMp379", "proofs": [ "5n5yMGUkGupeNXoSGxxag5jcymnhra8Bqw18PNXxAFF6rfbp36tQkr8Gt3dZZGAaaUNdAtSxpcotQsRcoq5iUgdR" ], "script": "base64:AAIFAAAAAAAABfIIAhIECgIICBIECgIICBIECgIIGBIDCgEIEgUKAwgICBIDCgEIEgMKAQgSAwoBCBIECgIICBIECgIICBIECgIICBIDCgEIEgUKAwgIBBIECgIICBIECgIIBBIDCgEIEgMKARgSAwoBCBIAEgMKAQgiCnR0dHR0dHR0dHQiA1NFUCIFRU1QVFkiDnN0YXR1c1ZlcmlmaWVkIhBzdGF0dXNVbnZlcmlmaWVkIhZsYWJlbENvbW11bml0eVZlcmlmaWVkIgxsYWJlbFBvb2xzTHAiDWRlZmF1bHRMYWJlbHMiB3Rocm93UEQiDHRocm93Tm9Bc3NldCITa2V5TWFuYWdlclB1YmxpY0tleSIaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkiD2tleUFkbWluUHViS2V5cyIUa2V5VXNlclBvb2xzQ29udHJhY3QiEmtleUZhY3RvcnlDb250cmFjdCIKa2V5Q3JlYXRlZCIHYXNzZXRJZCIHa2V5TG9nbyIJa2V5VGlja2VyIglrZXlTdGF0dXMiE2tleUFzc2V0UG9vbHNOdW1iZXIiEmtleVRpY2tlclRvQXNzZXRJZC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APY2FsbGVyUHVibGljS2V5CQEAAAAFdmFsdWUAAAABBQAAAAJhUgYJAAACAAAAAQIAAAAbWW91IGFyZSBub3QgcGVuZGluZyBtYW5hZ2VyAwkAAAAAAAACBQAAAAJhVAUAAAACYVQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkBAAAAAWsAAAAACQACWAAAAAEJAQAAAAV2YWx1ZQAAAAEFAAAAAmFSCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAQAAAAFsAAAAAAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABWgEAAAASaXNWZXJpZmllZFJFQURPTkxZAAAAAQAAAAFxCQAFFAAAAAIFAAAAA25pbAkBAAAAAVMAAAABBQAAAAFxAAAAAQAAAAJhVQEAAAACYVYAAAAABAAAAAJhVwQAAAABTQkBAAAAAVcAAAAAAwkAAAEAAAACBQAAAAFNAgAAAApCeXRlVmVjdG9yBAAAAAJhYQUAAAABTQUAAAACYWEDCQAAAQAAAAIFAAAAAU0CAAAABFVuaXQIBQAAAAJhVQAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAmFVAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYVUAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAJhV/xx6tc=", "height": 2489928, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9CgsGiZDnsRpsExX9PpD5W1iNS3BUEaEthznykry6GBN Next: 2cnYDqsmmwwDEDunk4E1WCSPnZswTsggJLGGeJMqwSyF Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = "__"
4+let a = 1
55
6-let b = ""
6+let b = "__"
77
8-let c = 2
8+let c = ""
99
10-let d = 0
10+let d = 2
1111
12-let e = "COMMUNITY_VERIFIED"
12+let e = 0
1313
14-let f = "POOLS_LP"
14+let f = "COMMUNITY_VERIFIED"
1515
16-let g = [e, f]
16+let g = "POOLS_LP"
1717
18-func h () = throw("Permission denied")
18+let h = [f, g]
19+
20+func i () = throw("Permission denied")
1921
2022
21-func i () = throw("Asset doesn't exists")
23+func j () = throw("Asset doesn't exists")
2224
2325
24-func j () = "%s__managerPublicKey"
26+func k () = "%s__managerPublicKey"
2527
2628
27-func k () = "%s__pendingManagerPublicKey"
29+func l () = "%s__pendingManagerPublicKey"
2830
2931
30-func l () = "%s__adminPubKeys"
32+func m () = "%s__adminPubKeys"
3133
3234
33-func m () = "%s__userPoolsContract"
35+func n () = "%s__userPoolsContract"
3436
3537
36-func n () = "%s__factoryContract"
38+func o () = "%s__factoryContract"
3739
3840
39-func o (p) = (("created_<" + p) + ">")
41+func p (q) = (("created_<" + q) + ">")
4042
4143
42-func q (p) = (("logo_<" + p) + ">")
44+func r (q) = (("logo_<" + q) + ">")
4345
4446
45-func r (p) = (("ticker_<" + p) + ">")
47+func s (q) = (("ticker_<" + q) + ">")
4648
4749
48-func s (p) = (("status_<" + p) + ">")
50+func t (q) = (("status_<" + q) + ">")
4951
5052
51-func t (p) = makeString(["%s%s", "pools", p], a)
53+func u (q) = makeString(["%s%s", "pools", q], b)
5254
5355
54-func u (v) = makeString(["%s%s", "ticker2assetId", v], a)
56+func v (w) = makeString(["%s%s", "ticker2assetId", w], b)
5557
5658
57-func w (p) = makeString(["%s%s", "assetId2ticker", p], a)
59+func x (q) = makeString(["%s%s", "assetId2ticker", q], b)
5860
5961
60-func x (y,z) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", y, z], a)
62+func y (z,A) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", z, A], b)
6163
6264
63-func A (B) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", B], a)
65+func B (C) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", C], b)
6466
6567
66-func C (p) = makeString(["%s%s", "labels", p], a)
68+func D (q) = makeString(["%s%s", "labels", q], b)
6769
6870
69-func D () = makeString(["%s", "labels"], a)
71+func E () = makeString(["%s", "labels"], b)
7072
7173
72-func E (p) = makeString(["%s%s", "assetName", p], a)
74+func F (q) = makeString(["%s%s", "assetName", q], b)
7375
7476
75-func F (p) = makeString(["%s%s", "assetDescription", p], a)
77+func G (q) = makeString(["%s%s", "assetDescription", q], b)
7678
7779
78-func G (H,I,J) = {
79- let K = makeString(["mandatory ", toString(H), ".", I, " is not defined"], "")
80+func H (I,J,K) = {
81+ let L = makeString(["mandatory ", toString(I), ".", J, " is not defined"], "")
8082 valueOrErrorMessage({
81- let L = J
82- if ($isInstanceOf(L, "String"))
83+ let M = K
84+ if ($isInstanceOf(M, "String"))
8385 then {
84- let M = L
85- getString(H, I)
86+ let N = M
87+ getString(I, J)
8688 }
87- else if ($isInstanceOf(L, "Int"))
89+ else if ($isInstanceOf(M, "Int"))
8890 then {
89- let N = L
90- getInteger(H, I)
91+ let O = M
92+ getInteger(I, J)
9193 }
9294 else throw("invalid entry type")
93- }, K)
95+ }, L)
9496 }
9597
9698
97-func O (H,I) = {
98- let P = G(H, I, "")
99- if ($isInstanceOf(P, "String"))
100- then P
99+func P (I,J) = {
100+ let Q = H(I, J, "")
101+ if ($isInstanceOf(Q, "String"))
102+ then Q
101103 else throw("Couldn't cast Int|String to String")
102104 }
103105
104106
105-func Q (H,I) = {
106- let P = G(H, I, 0)
107- if ($isInstanceOf(P, "Int"))
108- then P
107+func R (I,J) = {
108+ let Q = H(I, J, 0)
109+ if ($isInstanceOf(Q, "Int"))
110+ then Q
109111 else throw("Couldn't cast Int|String to Int")
110112 }
111113
112114
113-func R (p) = (valueOrElse(getInteger(s(p)), d) == c)
115+func S (q) = (valueOrElse(getInteger(t(q)), e) == d)
114116
115117
116-func S () = {
117- let L = getString(D())
118- if ($isInstanceOf(L, "String"))
118+func T () = {
119+ let M = getString(E())
120+ if ($isInstanceOf(M, "String"))
119121 then {
120- let T = L
121- if ((size(T) == 0))
122+ let U = M
123+ if ((size(U) == 0))
122124 then nil
123- else split(T, a)
125+ else split(U, b)
124126 }
125127 else nil
126128 }
127129
128130
129-func U (p) = {
130- let L = getString(C(p))
131- if ($isInstanceOf(L, "String"))
131+func V (q) = {
132+ let M = getString(D(q))
133+ if ($isInstanceOf(M, "String"))
132134 then {
133- let T = L
134- if ((size(T) == 0))
135+ let U = M
136+ if ((size(U) == 0))
135137 then nil
136- else split(T, a)
138+ else split(U, b)
137139 }
138140 else nil
139141 }
140142
141143
142-func V () = {
143- let L = getString(j())
144- if ($isInstanceOf(L, "String"))
144+func W () = {
145+ let M = getString(k())
146+ if ($isInstanceOf(M, "String"))
145147 then {
146- let T = L
147- fromBase58String(T)
148+ let U = M
149+ fromBase58String(U)
148150 }
149- else if ($isInstanceOf(L, "Unit"))
151+ else if ($isInstanceOf(M, "Unit"))
150152 then unit
151153 else throw("Match error")
152154 }
153155
154156
155-func W () = {
156- let L = getString(k())
157- if ($isInstanceOf(L, "String"))
157+func X () = {
158+ let M = getString(l())
159+ if ($isInstanceOf(M, "String"))
158160 then {
159- let T = L
160- fromBase58String(T)
161+ let U = M
162+ fromBase58String(U)
161163 }
162- else if ($isInstanceOf(L, "Unit"))
164+ else if ($isInstanceOf(M, "Unit"))
163165 then unit
164166 else throw("Match error")
165167 }
166168
167169
168-func X (Y) = {
169- let L = V()
170- if ($isInstanceOf(L, "ByteVector"))
170+func Y (Z) = {
171+ let M = W()
172+ if ($isInstanceOf(M, "ByteVector"))
171173 then {
172- let Z = L
173- if ((Y.callerPublicKey == Z))
174+ let aa = M
175+ if ((Z.callerPublicKey == aa))
174176 then true
175- else h()
177+ else i()
176178 }
177- else if ($isInstanceOf(L, "Unit"))
178- then if ((Y.caller == this))
179+ else if ($isInstanceOf(M, "Unit"))
180+ then if ((Z.caller == this))
179181 then true
180- else h()
182+ else i()
181183 else throw("Match error")
182184 }
183185
184186
185-func aa (Y) = {
186- let ab = split(valueOrElse(getString(l()), b), a)
187- if (containsElement(ab, toBase58String(Y.callerPublicKey)))
187+func ab (Z) = {
188+ let ac = split(valueOrElse(getString(m()), c), b)
189+ if (containsElement(ac, toBase58String(Z.callerPublicKey)))
188190 then true
189191 else {
190- let ac = X(Y)
191- if ((ac == ac))
192+ let ad = Y(Z)
193+ if ((ad == ad))
192194 then true
193195 else throw("Strict value is not equal to itself.")
194196 }
195197 }
196198
197199
198-func ad (p) = valueOrElse(getBoolean(o(p)), false)
200+func ae (q) = valueOrElse(getBoolean(p(q)), false)
199201
200202
201-func ae (af) = if (af)
202- then c
203- else d
203+func af (ag) = if (ag)
204+ then d
205+ else e
204206
205207
206-func ag (p,ah,ai) = {
207- let aj = S()
208- let ak = U(p)
209- let al = if (containsElement(aj, ah))
208+func ah (q,ai,aj) = {
209+ let ak = T()
210+ let al = V(q)
211+ let am = if (containsElement(ak, ai))
210212 then true
211213 else throw("Label doesn't exist")
212- if ((al == al))
214+ if ((am == am))
213215 then {
214- let am = if (containsElement(ak, ah))
215- then if (ai)
216+ let an = if (containsElement(al, ai))
217+ then if (aj)
216218 then throw("Label has already been added")
217- else ak
218- else (ak :+ ah)
219-[StringEntry(C(p), makeString(am, a))]
219+ else al
220+ else (al :+ ai)
221+[StringEntry(D(q), makeString(an, b))]
220222 }
221223 else throw("Strict value is not equal to itself.")
222224 }
223225
224226
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)
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)
230232 then throw("Label wasn't added")
231- else ak
232-[StringEntry(C(p), makeString(am, a))]
233+ else al
234+[StringEntry(D(q), makeString(an, b))]
233235 }
234236
235237
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)
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)
241243 }
242244
243245
244-func aq (p,v) = {
245- let ar = {
246- let as = getString(u(v))
247- let at = if ((v != ""))
248- then if ((as == unit))
246+func ar (q,w) = {
247+ let as = {
248+ let at = getString(v(w))
249+ let au = if ((w != ""))
250+ then if ((at == unit))
249251 then true
250- else (value(as) == p)
252+ else (value(at) == q)
251253 else false
252- if (at)
254+ if (au)
253255 then true
254256 else throw("Invalid ticker")
255257 }
256- if ((ar == ar))
257- then [StringEntry(w(p), v), StringEntry(u(v), p)]
258+ if ((as == as))
259+ then [StringEntry(x(q), w), StringEntry(v(w), q)]
258260 else throw("Strict value is not equal to itself.")
259261 }
260262
261263
262-@Callable(Y)
263-func setAssetName (au,av) = {
264- let aw = aa(Y)
265- if ((aw == aw))
266- then [StringEntry(E(au), av)]
264+@Callable(Z)
265+func setAssetName (av,aw) = {
266+ let ax = ab(Z)
267+ if ((ax == ax))
268+ then [StringEntry(F(av), aw)]
267269 else throw("Strict value is not equal to itself.")
268270 }
269271
270272
271273
272-@Callable(Y)
273-func setAssetDescription (au,ax) = {
274- let aw = aa(Y)
275- if ((aw == aw))
276- then [StringEntry(F(au), ax)]
274+@Callable(Z)
275+func setAssetDescription (av,ay) = {
276+ let ax = ab(Z)
277+ if ((ax == ax))
278+ then [StringEntry(G(av), ay)]
277279 else throw("Strict value is not equal to itself.")
278280 }
279281
280282
281283
282-@Callable(Y)
283-func constructor (ay,aj) = {
284- let aw = X(Y)
285- if ((aw == aw))
284+@Callable(Z)
285+func constructor (az,ak) = {
286+ let ax = Y(Z)
287+ if ((ax == ax))
286288 then {
287- let az = valueOrErrorMessage(addressFromString(ay), "Invalid address")
288- if ((az == az))
289- then [StringEntry(m(), ay), StringEntry(D(), makeString((g ++ aj), a))]
289+ let aA = valueOrErrorMessage(addressFromString(az), "Invalid address")
290+ if ((aA == aA))
291+ then [StringEntry(n(), az), StringEntry(E(), makeString((h ++ ak), b))]
290292 else throw("Strict value is not equal to itself.")
291293 }
292294 else throw("Strict value is not equal to itself.")
294296
295297
296298
297-@Callable(Y)
298-func constructorV2 (aA) = {
299- let aw = X(Y)
300- if ((aw == aw))
299+@Callable(Z)
300+func constructorV2 (aB) = {
301+ let ax = Y(Z)
302+ if ((ax == ax))
301303 then {
302- let aB = valueOrErrorMessage(addressFromString(aA), "invalid factory contract address")
303- if ((aB == aB))
304- then [StringEntry(n(), aA)]
304+ let aC = valueOrErrorMessage(addressFromString(aB), "invalid factory contract address")
305+ if ((aC == aC))
306+ then [StringEntry(o(), aB)]
305307 else throw("Strict value is not equal to itself.")
306308 }
307309 else throw("Strict value is not equal to itself.")
309311
310312
311313
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))]
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))]
317319 else throw("Strict value is not equal to itself.")
318320 }
319321
320322
321323
322-@Callable(Y)
323-func increaseAssetPoolsNumber (p) = {
324- let aw = aa(Y)
325- if ((aw == aw))
324+@Callable(Z)
325+func increaseAssetPoolsNumber (q) = {
326+ let ax = ab(Z)
327+ if ((ax == ax))
326328 then {
327- let aC = t(p)
328- let aD = valueOrElse(getInteger(aC), 0)
329-[IntegerEntry(aC, (aD + 1))]
329+ let aD = u(q)
330+ let aE = valueOrElse(getInteger(aD), 0)
331+[IntegerEntry(aD, (aE + 1))]
330332 }
331333 else throw("Strict value is not equal to itself.")
332334 }
333335
334336
335337
336-@Callable(Y)
337-func createLabel (ah) = {
338- let aj = S()
339- let aw = aa(Y)
340- if ((aw == aw))
338+@Callable(Z)
339+func createLabel (ai) = {
340+ let ak = T()
341+ let ax = ab(Z)
342+ if ((ax == ax))
341343 then {
342- let al = [if (!(contains(ah, a)))
344+ let am = [if (!(contains(ai, b)))
343345 then true
344- else throw("Invalid label name"), if (!(containsElement(aj, ah)))
346+ else throw("Invalid label name"), if (!(containsElement(ak, ai)))
345347 then true
346348 else throw("Label exists")]
347- if ((al == al))
348- then [StringEntry(D(), makeString((aj :+ ah), a))]
349+ if ((am == am))
350+ then [StringEntry(E(), makeString((ak :+ ai), b))]
349351 else throw("Strict value is not equal to itself.")
350352 }
351353 else throw("Strict value is not equal to itself.")
353355
354356
355357
356-@Callable(Y)
357-func dropLabel (ah) = {
358- let aj = S()
359- let aw = X(Y)
360- if ((aw == aw))
358+@Callable(Z)
359+func dropLabel (ai) = {
360+ let ak = T()
361+ let ax = Y(Z)
362+ if ((ax == ax))
361363 then {
362- let al = if (containsElement(aj, ah))
364+ let am = if (containsElement(ak, ai))
363365 then true
364366 else throw("Label doesn't exist")
365- if ((al == al))
366- then [StringEntry(D(), makeString(removeByIndex(aj, value(indexOf(aj, ah))), a))]
367+ if ((am == am))
368+ then [StringEntry(E(), makeString(removeByIndex(ak, value(indexOf(ak, ai))), b))]
367369 else throw("Strict value is not equal to itself.")
368370 }
369371 else throw("Strict value is not equal to itself.")
371373
372374
373375
374-@Callable(Y)
375-func addLabel (p,ah) = {
376- let aw = aa(Y)
377- if ((aw == aw))
378- then ag(p, ah, true)
376+@Callable(Z)
377+func addLabel (q,ai) = {
378+ let ax = ab(Z)
379+ if ((ax == ax))
380+ then ah(q, ai, true)
379381 else throw("Strict value is not equal to itself.")
380382 }
381383
382384
383385
384-@Callable(Y)
385-func deleteLabel (p,ah) = {
386- let aw = aa(Y)
387- if ((aw == aw))
388- then an(p, ah, true)
386+@Callable(Z)
387+func deleteLabel (q,ai) = {
388+ let ax = ab(Z)
389+ if ((ax == ax))
390+ then ao(q, ai, true)
389391 else throw("Strict value is not equal to itself.")
390392 }
391393
392394
393395
394-@Callable(Y)
395-func updateTicker (p,v) = {
396- let aw = aa(Y)
397- if ((aw == aw))
396+@Callable(Z)
397+func updateTicker (q,w) = {
398+ let ax = ab(Z)
399+ if ((ax == ax))
398400 then {
399- let aE = if (ad(p))
401+ let aF = if (ae(q))
400402 then true
401- else i()
402- if ((aE == aE))
403- then aq(p, v)
403+ else j()
404+ if ((aF == aF))
405+ then ar(q, w)
404406 else throw("Strict value is not equal to itself.")
405407 }
406408 else throw("Strict value is not equal to itself.")
408410
409411
410412
411-@Callable(Y)
412-func deleteTicker (p) = {
413- let aw = aa(Y)
414- if ((aw == aw))
413+@Callable(Z)
414+func deleteTicker (q) = {
415+ let ax = ab(Z)
416+ if ((ax == ax))
415417 then {
416- let v = valueOrErrorMessage(getString(w(p)), "Invalid asset")
417-[DeleteEntry(w(p)), DeleteEntry(u(v))]
418+ let w = valueOrErrorMessage(getString(x(q)), "Invalid asset")
419+[DeleteEntry(x(q)), DeleteEntry(v(w))]
418420 }
419421 else throw("Strict value is not equal to itself.")
420422 }
421423
422424
423425
424-@Callable(Y)
425-func createOrUpdate (p,aF,af) = {
426- let aw = aa(Y)
427- if ((aw == aw))
426+@Callable(Z)
427+func createOrUpdate (q,aG,ag) = {
428+ let ax = ab(Z)
429+ if ((ax == ax))
428430 then {
429- let aG = !(ad(p))
430- if ((aG == aG))
431+ let aH = !(ae(q))
432+ if ((aH == aH))
431433 then {
432- let aH = if ((aF == ""))
434+ let aI = if ((aG == ""))
433435 then nil
434- else [StringEntry(q(p), aF)]
435- $Tuple2((([BooleanEntry(o(p), true)] ++ aH) ++ ao(p, af)), aG)
436+ else [StringEntry(r(q), aG)]
437+ $Tuple2((([BooleanEntry(p(q), true)] ++ aI) ++ ap(q, ag)), aH)
436438 }
437439 else throw("Strict value is not equal to itself.")
438440 }
441443
442444
443445
444-@Callable(Y)
445-func setLogo (p,aF) = {
446- let aI = [aa(Y), if (ad(p))
446+@Callable(Z)
447+func setLogo (q,aG) = {
448+ let aJ = [ab(Z), if (ae(q))
447449 then true
448- else i()]
449- if ((aI == aI))
450+ else j()]
451+ if ((aJ == aJ))
450452 then {
451- let aJ = if ((aF == ""))
452- then DeleteEntry(q(p))
453- else StringEntry(q(p), aF)
454-[aJ]
453+ let aK = if ((aG == ""))
454+ then DeleteEntry(r(q))
455+ else StringEntry(r(q), aG)
456+[aK]
455457 }
456458 else throw("Strict value is not equal to itself.")
457459 }
458460
459461
460462
461-@Callable(Y)
462-func setVerified (p,af) = {
463- let aI = [aa(Y), if (ad(p))
463+@Callable(Z)
464+func setVerified (q,ag) = {
465+ let aJ = [ab(Z), if (ae(q))
464466 then true
465- else i()]
466- if ((aI == aI))
467+ else j()]
468+ if ((aJ == aJ))
467469 then {
468- let aK = if (!(af))
470+ let aL = if (!(ag))
469471 then {
470- let aA = valueOrErrorMessage(addressFromString(O(this, n())), "invalid factory contract address")
471- invoke(aA, "onVerificationLoss", [p], nil)
472+ let aB = valueOrErrorMessage(addressFromString(P(this, o())), "invalid factory contract address")
473+ invoke(aB, "onVerificationLoss", [q], nil)
472474 }
473475 else unit
474- if ((aK == aK))
475- then $Tuple2(ao(p, af), unit)
476+ if ((aL == aL))
477+ then $Tuple2(ap(q, ag), unit)
476478 else throw("Strict value is not equal to itself.")
477479 }
478480 else throw("Strict value is not equal to itself.")
480482
481483
482484
483-@Callable(Y)
484-func onEliminate (p) = {
485- let aL = valueOrElse(getInteger(t(p)), 0)
486- let aM = if ((aL > 0))
485+@Callable(Z)
486+func onEliminate (q) = {
487+ let aM = valueOrElse(getInteger(u(q)), 0)
488+ let aN = if ((aM > 0))
487489 then nil
488- else [DeleteEntry(q(p))]
489- $Tuple2(aM, unit)
490+ else [DeleteEntry(r(q))]
491+ $Tuple2(aN, unit)
490492 }
491493
492494
493495
494-@Callable(Y)
495-func setAdmins (aN) = {
496- let aw = X(Y)
497- if ((aw == aw))
498- then [StringEntry(l(), makeString(aN, a))]
496+@Callable(Z)
497+func setAdmins (aO) = {
498+ let ax = Y(Z)
499+ if ((ax == ax))
500+ then [StringEntry(m(), makeString(aO, b))]
499501 else throw("Strict value is not equal to itself.")
500502 }
501503
502504
503505
504-@Callable(Y)
505-func setManager (aO) = {
506- let aw = X(Y)
507- if ((aw == aw))
506+@Callable(Z)
507+func setManager (aP) = {
508+ let ax = Y(Z)
509+ if ((ax == ax))
508510 then {
509- let aP = fromBase58String(aO)
510- if ((aP == aP))
511- then [StringEntry(k(), aO)]
511+ let aQ = fromBase58String(aP)
512+ if ((aQ == aQ))
513+ then [StringEntry(l(), aP)]
512514 else throw("Strict value is not equal to itself.")
513515 }
514516 else throw("Strict value is not equal to itself.")
516518
517519
518520
519-@Callable(Y)
521+@Callable(Z)
520522 func confirmManager () = {
521- let aQ = W()
522- let aR = if (isDefined(aQ))
523+ let aR = X()
524+ let aS = if (isDefined(aR))
523525 then true
524526 else throw("No pending manager")
525- if ((aR == aR))
527+ if ((aS == aS))
526528 then {
527- let aS = if ((Y.callerPublicKey == value(aQ)))
529+ let aT = if ((Z.callerPublicKey == value(aR)))
528530 then true
529531 else throw("You are not pending manager")
530- if ((aS == aS))
531- then [StringEntry(j(), toBase58String(value(aQ))), DeleteEntry(k())]
532+ if ((aT == aT))
533+ then [StringEntry(k(), toBase58String(value(aR))), DeleteEntry(l())]
532534 else throw("Strict value is not equal to itself.")
533535 }
534536 else throw("Strict value is not equal to itself.")
536538
537539
538540
539-@Callable(Y)
540-func isVerifiedREADONLY (p) = $Tuple2(nil, R(p))
541+@Callable(Z)
542+func isVerifiedREADONLY (q) = $Tuple2(nil, S(q))
541543
542544
543-@Verifier(aT)
544-func aU () = {
545- let aV = {
546- let L = V()
547- if ($isInstanceOf(L, "ByteVector"))
545+@Verifier(aU)
546+func aV () = {
547+ let aW = {
548+ let M = W()
549+ if ($isInstanceOf(M, "ByteVector"))
548550 then {
549- let Z = L
550- Z
551+ let aa = M
552+ aa
551553 }
552- else if ($isInstanceOf(L, "Unit"))
553- then aT.senderPublicKey
554+ else if ($isInstanceOf(M, "Unit"))
555+ then aU.senderPublicKey
554556 else throw("Match error")
555557 }
556- sigVerify(aT.bodyBytes, aT.proofs[0], aV)
558+ sigVerify(aU.bodyBytes, aU.proofs[0], aW)
557559 }
558560
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = "__"
4+let a = 1
55
6-let b = ""
6+let b = "__"
77
8-let c = 2
8+let c = ""
99
10-let d = 0
10+let d = 2
1111
12-let e = "COMMUNITY_VERIFIED"
12+let e = 0
1313
14-let f = "POOLS_LP"
14+let f = "COMMUNITY_VERIFIED"
1515
16-let g = [e, f]
16+let g = "POOLS_LP"
1717
18-func h () = throw("Permission denied")
18+let h = [f, g]
19+
20+func i () = throw("Permission denied")
1921
2022
21-func i () = throw("Asset doesn't exists")
23+func j () = throw("Asset doesn't exists")
2224
2325
24-func j () = "%s__managerPublicKey"
26+func k () = "%s__managerPublicKey"
2527
2628
27-func k () = "%s__pendingManagerPublicKey"
29+func l () = "%s__pendingManagerPublicKey"
2830
2931
30-func l () = "%s__adminPubKeys"
32+func m () = "%s__adminPubKeys"
3133
3234
33-func m () = "%s__userPoolsContract"
35+func n () = "%s__userPoolsContract"
3436
3537
36-func n () = "%s__factoryContract"
38+func o () = "%s__factoryContract"
3739
3840
39-func o (p) = (("created_<" + p) + ">")
41+func p (q) = (("created_<" + q) + ">")
4042
4143
42-func q (p) = (("logo_<" + p) + ">")
44+func r (q) = (("logo_<" + q) + ">")
4345
4446
45-func r (p) = (("ticker_<" + p) + ">")
47+func s (q) = (("ticker_<" + q) + ">")
4648
4749
48-func s (p) = (("status_<" + p) + ">")
50+func t (q) = (("status_<" + q) + ">")
4951
5052
51-func t (p) = makeString(["%s%s", "pools", p], a)
53+func u (q) = makeString(["%s%s", "pools", q], b)
5254
5355
54-func u (v) = makeString(["%s%s", "ticker2assetId", v], a)
56+func v (w) = makeString(["%s%s", "ticker2assetId", w], b)
5557
5658
57-func w (p) = makeString(["%s%s", "assetId2ticker", p], a)
59+func x (q) = makeString(["%s%s", "assetId2ticker", q], b)
5860
5961
60-func x (y,z) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", y, z], a)
62+func y (z,A) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", z, A], b)
6163
6264
63-func A (B) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", B], a)
65+func B (C) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", C], b)
6466
6567
66-func C (p) = makeString(["%s%s", "labels", p], a)
68+func D (q) = makeString(["%s%s", "labels", q], b)
6769
6870
69-func D () = makeString(["%s", "labels"], a)
71+func E () = makeString(["%s", "labels"], b)
7072
7173
72-func E (p) = makeString(["%s%s", "assetName", p], a)
74+func F (q) = makeString(["%s%s", "assetName", q], b)
7375
7476
75-func F (p) = makeString(["%s%s", "assetDescription", p], a)
77+func G (q) = makeString(["%s%s", "assetDescription", q], b)
7678
7779
78-func G (H,I,J) = {
79- let K = makeString(["mandatory ", toString(H), ".", I, " is not defined"], "")
80+func H (I,J,K) = {
81+ let L = makeString(["mandatory ", toString(I), ".", J, " is not defined"], "")
8082 valueOrErrorMessage({
81- let L = J
82- if ($isInstanceOf(L, "String"))
83+ let M = K
84+ if ($isInstanceOf(M, "String"))
8385 then {
84- let M = L
85- getString(H, I)
86+ let N = M
87+ getString(I, J)
8688 }
87- else if ($isInstanceOf(L, "Int"))
89+ else if ($isInstanceOf(M, "Int"))
8890 then {
89- let N = L
90- getInteger(H, I)
91+ let O = M
92+ getInteger(I, J)
9193 }
9294 else throw("invalid entry type")
93- }, K)
95+ }, L)
9496 }
9597
9698
97-func O (H,I) = {
98- let P = G(H, I, "")
99- if ($isInstanceOf(P, "String"))
100- then P
99+func P (I,J) = {
100+ let Q = H(I, J, "")
101+ if ($isInstanceOf(Q, "String"))
102+ then Q
101103 else throw("Couldn't cast Int|String to String")
102104 }
103105
104106
105-func Q (H,I) = {
106- let P = G(H, I, 0)
107- if ($isInstanceOf(P, "Int"))
108- then P
107+func R (I,J) = {
108+ let Q = H(I, J, 0)
109+ if ($isInstanceOf(Q, "Int"))
110+ then Q
109111 else throw("Couldn't cast Int|String to Int")
110112 }
111113
112114
113-func R (p) = (valueOrElse(getInteger(s(p)), d) == c)
115+func S (q) = (valueOrElse(getInteger(t(q)), e) == d)
114116
115117
116-func S () = {
117- let L = getString(D())
118- if ($isInstanceOf(L, "String"))
118+func T () = {
119+ let M = getString(E())
120+ if ($isInstanceOf(M, "String"))
119121 then {
120- let T = L
121- if ((size(T) == 0))
122+ let U = M
123+ if ((size(U) == 0))
122124 then nil
123- else split(T, a)
125+ else split(U, b)
124126 }
125127 else nil
126128 }
127129
128130
129-func U (p) = {
130- let L = getString(C(p))
131- if ($isInstanceOf(L, "String"))
131+func V (q) = {
132+ let M = getString(D(q))
133+ if ($isInstanceOf(M, "String"))
132134 then {
133- let T = L
134- if ((size(T) == 0))
135+ let U = M
136+ if ((size(U) == 0))
135137 then nil
136- else split(T, a)
138+ else split(U, b)
137139 }
138140 else nil
139141 }
140142
141143
142-func V () = {
143- let L = getString(j())
144- if ($isInstanceOf(L, "String"))
144+func W () = {
145+ let M = getString(k())
146+ if ($isInstanceOf(M, "String"))
145147 then {
146- let T = L
147- fromBase58String(T)
148+ let U = M
149+ fromBase58String(U)
148150 }
149- else if ($isInstanceOf(L, "Unit"))
151+ else if ($isInstanceOf(M, "Unit"))
150152 then unit
151153 else throw("Match error")
152154 }
153155
154156
155-func W () = {
156- let L = getString(k())
157- if ($isInstanceOf(L, "String"))
157+func X () = {
158+ let M = getString(l())
159+ if ($isInstanceOf(M, "String"))
158160 then {
159- let T = L
160- fromBase58String(T)
161+ let U = M
162+ fromBase58String(U)
161163 }
162- else if ($isInstanceOf(L, "Unit"))
164+ else if ($isInstanceOf(M, "Unit"))
163165 then unit
164166 else throw("Match error")
165167 }
166168
167169
168-func X (Y) = {
169- let L = V()
170- if ($isInstanceOf(L, "ByteVector"))
170+func Y (Z) = {
171+ let M = W()
172+ if ($isInstanceOf(M, "ByteVector"))
171173 then {
172- let Z = L
173- if ((Y.callerPublicKey == Z))
174+ let aa = M
175+ if ((Z.callerPublicKey == aa))
174176 then true
175- else h()
177+ else i()
176178 }
177- else if ($isInstanceOf(L, "Unit"))
178- then if ((Y.caller == this))
179+ else if ($isInstanceOf(M, "Unit"))
180+ then if ((Z.caller == this))
179181 then true
180- else h()
182+ else i()
181183 else throw("Match error")
182184 }
183185
184186
185-func aa (Y) = {
186- let ab = split(valueOrElse(getString(l()), b), a)
187- if (containsElement(ab, toBase58String(Y.callerPublicKey)))
187+func ab (Z) = {
188+ let ac = split(valueOrElse(getString(m()), c), b)
189+ if (containsElement(ac, toBase58String(Z.callerPublicKey)))
188190 then true
189191 else {
190- let ac = X(Y)
191- if ((ac == ac))
192+ let ad = Y(Z)
193+ if ((ad == ad))
192194 then true
193195 else throw("Strict value is not equal to itself.")
194196 }
195197 }
196198
197199
198-func ad (p) = valueOrElse(getBoolean(o(p)), false)
200+func ae (q) = valueOrElse(getBoolean(p(q)), false)
199201
200202
201-func ae (af) = if (af)
202- then c
203- else d
203+func af (ag) = if (ag)
204+ then d
205+ else e
204206
205207
206-func ag (p,ah,ai) = {
207- let aj = S()
208- let ak = U(p)
209- let al = if (containsElement(aj, ah))
208+func ah (q,ai,aj) = {
209+ let ak = T()
210+ let al = V(q)
211+ let am = if (containsElement(ak, ai))
210212 then true
211213 else throw("Label doesn't exist")
212- if ((al == al))
214+ if ((am == am))
213215 then {
214- let am = if (containsElement(ak, ah))
215- then if (ai)
216+ let an = if (containsElement(al, ai))
217+ then if (aj)
216218 then throw("Label has already been added")
217- else ak
218- else (ak :+ ah)
219-[StringEntry(C(p), makeString(am, a))]
219+ else al
220+ else (al :+ ai)
221+[StringEntry(D(q), makeString(an, b))]
220222 }
221223 else throw("Strict value is not equal to itself.")
222224 }
223225
224226
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)
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)
230232 then throw("Label wasn't added")
231- else ak
232-[StringEntry(C(p), makeString(am, a))]
233+ else al
234+[StringEntry(D(q), makeString(an, b))]
233235 }
234236
235237
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)
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)
241243 }
242244
243245
244-func aq (p,v) = {
245- let ar = {
246- let as = getString(u(v))
247- let at = if ((v != ""))
248- then if ((as == unit))
246+func ar (q,w) = {
247+ let as = {
248+ let at = getString(v(w))
249+ let au = if ((w != ""))
250+ then if ((at == unit))
249251 then true
250- else (value(as) == p)
252+ else (value(at) == q)
251253 else false
252- if (at)
254+ if (au)
253255 then true
254256 else throw("Invalid ticker")
255257 }
256- if ((ar == ar))
257- then [StringEntry(w(p), v), StringEntry(u(v), p)]
258+ if ((as == as))
259+ then [StringEntry(x(q), w), StringEntry(v(w), q)]
258260 else throw("Strict value is not equal to itself.")
259261 }
260262
261263
262-@Callable(Y)
263-func setAssetName (au,av) = {
264- let aw = aa(Y)
265- if ((aw == aw))
266- then [StringEntry(E(au), av)]
264+@Callable(Z)
265+func setAssetName (av,aw) = {
266+ let ax = ab(Z)
267+ if ((ax == ax))
268+ then [StringEntry(F(av), aw)]
267269 else throw("Strict value is not equal to itself.")
268270 }
269271
270272
271273
272-@Callable(Y)
273-func setAssetDescription (au,ax) = {
274- let aw = aa(Y)
275- if ((aw == aw))
276- then [StringEntry(F(au), ax)]
274+@Callable(Z)
275+func setAssetDescription (av,ay) = {
276+ let ax = ab(Z)
277+ if ((ax == ax))
278+ then [StringEntry(G(av), ay)]
277279 else throw("Strict value is not equal to itself.")
278280 }
279281
280282
281283
282-@Callable(Y)
283-func constructor (ay,aj) = {
284- let aw = X(Y)
285- if ((aw == aw))
284+@Callable(Z)
285+func constructor (az,ak) = {
286+ let ax = Y(Z)
287+ if ((ax == ax))
286288 then {
287- let az = valueOrErrorMessage(addressFromString(ay), "Invalid address")
288- if ((az == az))
289- then [StringEntry(m(), ay), StringEntry(D(), makeString((g ++ aj), a))]
289+ let aA = valueOrErrorMessage(addressFromString(az), "Invalid address")
290+ if ((aA == aA))
291+ then [StringEntry(n(), az), StringEntry(E(), makeString((h ++ ak), b))]
290292 else throw("Strict value is not equal to itself.")
291293 }
292294 else throw("Strict value is not equal to itself.")
293295 }
294296
295297
296298
297-@Callable(Y)
298-func constructorV2 (aA) = {
299- let aw = X(Y)
300- if ((aw == aw))
299+@Callable(Z)
300+func constructorV2 (aB) = {
301+ let ax = Y(Z)
302+ if ((ax == ax))
301303 then {
302- let aB = valueOrErrorMessage(addressFromString(aA), "invalid factory contract address")
303- if ((aB == aB))
304- then [StringEntry(n(), aA)]
304+ let aC = valueOrErrorMessage(addressFromString(aB), "invalid factory contract address")
305+ if ((aC == aC))
306+ then [StringEntry(o(), aB)]
305307 else throw("Strict value is not equal to itself.")
306308 }
307309 else throw("Strict value is not equal to itself.")
308310 }
309311
310312
311313
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))]
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))]
317319 else throw("Strict value is not equal to itself.")
318320 }
319321
320322
321323
322-@Callable(Y)
323-func increaseAssetPoolsNumber (p) = {
324- let aw = aa(Y)
325- if ((aw == aw))
324+@Callable(Z)
325+func increaseAssetPoolsNumber (q) = {
326+ let ax = ab(Z)
327+ if ((ax == ax))
326328 then {
327- let aC = t(p)
328- let aD = valueOrElse(getInteger(aC), 0)
329-[IntegerEntry(aC, (aD + 1))]
329+ let aD = u(q)
330+ let aE = valueOrElse(getInteger(aD), 0)
331+[IntegerEntry(aD, (aE + 1))]
330332 }
331333 else throw("Strict value is not equal to itself.")
332334 }
333335
334336
335337
336-@Callable(Y)
337-func createLabel (ah) = {
338- let aj = S()
339- let aw = aa(Y)
340- if ((aw == aw))
338+@Callable(Z)
339+func createLabel (ai) = {
340+ let ak = T()
341+ let ax = ab(Z)
342+ if ((ax == ax))
341343 then {
342- let al = [if (!(contains(ah, a)))
344+ let am = [if (!(contains(ai, b)))
343345 then true
344- else throw("Invalid label name"), if (!(containsElement(aj, ah)))
346+ else throw("Invalid label name"), if (!(containsElement(ak, ai)))
345347 then true
346348 else throw("Label exists")]
347- if ((al == al))
348- then [StringEntry(D(), makeString((aj :+ ah), a))]
349+ if ((am == am))
350+ then [StringEntry(E(), makeString((ak :+ ai), b))]
349351 else throw("Strict value is not equal to itself.")
350352 }
351353 else throw("Strict value is not equal to itself.")
352354 }
353355
354356
355357
356-@Callable(Y)
357-func dropLabel (ah) = {
358- let aj = S()
359- let aw = X(Y)
360- if ((aw == aw))
358+@Callable(Z)
359+func dropLabel (ai) = {
360+ let ak = T()
361+ let ax = Y(Z)
362+ if ((ax == ax))
361363 then {
362- let al = if (containsElement(aj, ah))
364+ let am = if (containsElement(ak, ai))
363365 then true
364366 else throw("Label doesn't exist")
365- if ((al == al))
366- then [StringEntry(D(), makeString(removeByIndex(aj, value(indexOf(aj, ah))), a))]
367+ if ((am == am))
368+ then [StringEntry(E(), makeString(removeByIndex(ak, value(indexOf(ak, ai))), b))]
367369 else throw("Strict value is not equal to itself.")
368370 }
369371 else throw("Strict value is not equal to itself.")
370372 }
371373
372374
373375
374-@Callable(Y)
375-func addLabel (p,ah) = {
376- let aw = aa(Y)
377- if ((aw == aw))
378- then ag(p, ah, true)
376+@Callable(Z)
377+func addLabel (q,ai) = {
378+ let ax = ab(Z)
379+ if ((ax == ax))
380+ then ah(q, ai, true)
379381 else throw("Strict value is not equal to itself.")
380382 }
381383
382384
383385
384-@Callable(Y)
385-func deleteLabel (p,ah) = {
386- let aw = aa(Y)
387- if ((aw == aw))
388- then an(p, ah, true)
386+@Callable(Z)
387+func deleteLabel (q,ai) = {
388+ let ax = ab(Z)
389+ if ((ax == ax))
390+ then ao(q, ai, true)
389391 else throw("Strict value is not equal to itself.")
390392 }
391393
392394
393395
394-@Callable(Y)
395-func updateTicker (p,v) = {
396- let aw = aa(Y)
397- if ((aw == aw))
396+@Callable(Z)
397+func updateTicker (q,w) = {
398+ let ax = ab(Z)
399+ if ((ax == ax))
398400 then {
399- let aE = if (ad(p))
401+ let aF = if (ae(q))
400402 then true
401- else i()
402- if ((aE == aE))
403- then aq(p, v)
403+ else j()
404+ if ((aF == aF))
405+ then ar(q, w)
404406 else throw("Strict value is not equal to itself.")
405407 }
406408 else throw("Strict value is not equal to itself.")
407409 }
408410
409411
410412
411-@Callable(Y)
412-func deleteTicker (p) = {
413- let aw = aa(Y)
414- if ((aw == aw))
413+@Callable(Z)
414+func deleteTicker (q) = {
415+ let ax = ab(Z)
416+ if ((ax == ax))
415417 then {
416- let v = valueOrErrorMessage(getString(w(p)), "Invalid asset")
417-[DeleteEntry(w(p)), DeleteEntry(u(v))]
418+ let w = valueOrErrorMessage(getString(x(q)), "Invalid asset")
419+[DeleteEntry(x(q)), DeleteEntry(v(w))]
418420 }
419421 else throw("Strict value is not equal to itself.")
420422 }
421423
422424
423425
424-@Callable(Y)
425-func createOrUpdate (p,aF,af) = {
426- let aw = aa(Y)
427- if ((aw == aw))
426+@Callable(Z)
427+func createOrUpdate (q,aG,ag) = {
428+ let ax = ab(Z)
429+ if ((ax == ax))
428430 then {
429- let aG = !(ad(p))
430- if ((aG == aG))
431+ let aH = !(ae(q))
432+ if ((aH == aH))
431433 then {
432- let aH = if ((aF == ""))
434+ let aI = if ((aG == ""))
433435 then nil
434- else [StringEntry(q(p), aF)]
435- $Tuple2((([BooleanEntry(o(p), true)] ++ aH) ++ ao(p, af)), aG)
436+ else [StringEntry(r(q), aG)]
437+ $Tuple2((([BooleanEntry(p(q), true)] ++ aI) ++ ap(q, ag)), aH)
436438 }
437439 else throw("Strict value is not equal to itself.")
438440 }
439441 else throw("Strict value is not equal to itself.")
440442 }
441443
442444
443445
444-@Callable(Y)
445-func setLogo (p,aF) = {
446- let aI = [aa(Y), if (ad(p))
446+@Callable(Z)
447+func setLogo (q,aG) = {
448+ let aJ = [ab(Z), if (ae(q))
447449 then true
448- else i()]
449- if ((aI == aI))
450+ else j()]
451+ if ((aJ == aJ))
450452 then {
451- let aJ = if ((aF == ""))
452- then DeleteEntry(q(p))
453- else StringEntry(q(p), aF)
454-[aJ]
453+ let aK = if ((aG == ""))
454+ then DeleteEntry(r(q))
455+ else StringEntry(r(q), aG)
456+[aK]
455457 }
456458 else throw("Strict value is not equal to itself.")
457459 }
458460
459461
460462
461-@Callable(Y)
462-func setVerified (p,af) = {
463- let aI = [aa(Y), if (ad(p))
463+@Callable(Z)
464+func setVerified (q,ag) = {
465+ let aJ = [ab(Z), if (ae(q))
464466 then true
465- else i()]
466- if ((aI == aI))
467+ else j()]
468+ if ((aJ == aJ))
467469 then {
468- let aK = if (!(af))
470+ let aL = if (!(ag))
469471 then {
470- let aA = valueOrErrorMessage(addressFromString(O(this, n())), "invalid factory contract address")
471- invoke(aA, "onVerificationLoss", [p], nil)
472+ let aB = valueOrErrorMessage(addressFromString(P(this, o())), "invalid factory contract address")
473+ invoke(aB, "onVerificationLoss", [q], nil)
472474 }
473475 else unit
474- if ((aK == aK))
475- then $Tuple2(ao(p, af), unit)
476+ if ((aL == aL))
477+ then $Tuple2(ap(q, ag), unit)
476478 else throw("Strict value is not equal to itself.")
477479 }
478480 else throw("Strict value is not equal to itself.")
479481 }
480482
481483
482484
483-@Callable(Y)
484-func onEliminate (p) = {
485- let aL = valueOrElse(getInteger(t(p)), 0)
486- let aM = if ((aL > 0))
485+@Callable(Z)
486+func onEliminate (q) = {
487+ let aM = valueOrElse(getInteger(u(q)), 0)
488+ let aN = if ((aM > 0))
487489 then nil
488- else [DeleteEntry(q(p))]
489- $Tuple2(aM, unit)
490+ else [DeleteEntry(r(q))]
491+ $Tuple2(aN, unit)
490492 }
491493
492494
493495
494-@Callable(Y)
495-func setAdmins (aN) = {
496- let aw = X(Y)
497- if ((aw == aw))
498- then [StringEntry(l(), makeString(aN, a))]
496+@Callable(Z)
497+func setAdmins (aO) = {
498+ let ax = Y(Z)
499+ if ((ax == ax))
500+ then [StringEntry(m(), makeString(aO, b))]
499501 else throw("Strict value is not equal to itself.")
500502 }
501503
502504
503505
504-@Callable(Y)
505-func setManager (aO) = {
506- let aw = X(Y)
507- if ((aw == aw))
506+@Callable(Z)
507+func setManager (aP) = {
508+ let ax = Y(Z)
509+ if ((ax == ax))
508510 then {
509- let aP = fromBase58String(aO)
510- if ((aP == aP))
511- then [StringEntry(k(), aO)]
511+ let aQ = fromBase58String(aP)
512+ if ((aQ == aQ))
513+ then [StringEntry(l(), aP)]
512514 else throw("Strict value is not equal to itself.")
513515 }
514516 else throw("Strict value is not equal to itself.")
515517 }
516518
517519
518520
519-@Callable(Y)
521+@Callable(Z)
520522 func confirmManager () = {
521- let aQ = W()
522- let aR = if (isDefined(aQ))
523+ let aR = X()
524+ let aS = if (isDefined(aR))
523525 then true
524526 else throw("No pending manager")
525- if ((aR == aR))
527+ if ((aS == aS))
526528 then {
527- let aS = if ((Y.callerPublicKey == value(aQ)))
529+ let aT = if ((Z.callerPublicKey == value(aR)))
528530 then true
529531 else throw("You are not pending manager")
530- if ((aS == aS))
531- then [StringEntry(j(), toBase58String(value(aQ))), DeleteEntry(k())]
532+ if ((aT == aT))
533+ then [StringEntry(k(), toBase58String(value(aR))), DeleteEntry(l())]
532534 else throw("Strict value is not equal to itself.")
533535 }
534536 else throw("Strict value is not equal to itself.")
535537 }
536538
537539
538540
539-@Callable(Y)
540-func isVerifiedREADONLY (p) = $Tuple2(nil, R(p))
541+@Callable(Z)
542+func isVerifiedREADONLY (q) = $Tuple2(nil, S(q))
541543
542544
543-@Verifier(aT)
544-func aU () = {
545- let aV = {
546- let L = V()
547- if ($isInstanceOf(L, "ByteVector"))
545+@Verifier(aU)
546+func aV () = {
547+ let aW = {
548+ let M = W()
549+ if ($isInstanceOf(M, "ByteVector"))
548550 then {
549- let Z = L
550- Z
551+ let aa = M
552+ aa
551553 }
552- else if ($isInstanceOf(L, "Unit"))
553- then aT.senderPublicKey
554+ else if ($isInstanceOf(M, "Unit"))
555+ then aU.senderPublicKey
554556 else throw("Match error")
555557 }
556- sigVerify(aT.bodyBytes, aT.proofs[0], aV)
558+ sigVerify(aU.bodyBytes, aU.proofs[0], aW)
557559 }
558560

github/deemru/w8io/169f3d6 
166.38 ms