tx · EUTibt4dLtBJJCJqVeJTeX3Ac13eNcnVShsXCEGBoZk2

3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr:  -0.01600000 Waves

2022.12.16 16:26 [2362919] smart account 3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr > SELF 0.00000000 Waves

{ "type": 13, "id": "EUTibt4dLtBJJCJqVeJTeX3Ac13eNcnVShsXCEGBoZk2", "fee": 1600000, "feeAssetId": null, "timestamp": 1671197228635, "version": 1, "sender": "3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr", "senderPublicKey": "EtZZHS4uqNXY5WPneZ8jY2aA95peXwthJVLzAMxMp379", "proofs": [ "5VbrJNocvv3iXgVJRG3Ryqf5S8LsR4gvZuN4MBPkFNYSGJwWYrfspZSnLGjTJWWxgL31419bqCBZDMB2kgZBgBWK" ], "script": "base64:AAIFAAAAAAAABZwIAhIECgIIGBIDCgEIEgUKAwgICBIDCgEIEgMKAQgSAwoBCBIECgIICBIECgIICBIECgIICBIDCgEIEgUKAwgIBBIECgIICBIECgIIBBIDCgEIEgMKARgSAwoBCBIAEgMKAQgiCXRlc3RkZWxsbCIDU0VQIgVFTVBUWSIOc3RhdHVzVmVyaWZpZWQiEHN0YXR1c1VudmVyaWZpZWQiFmxhYmVsQ29tbXVuaXR5VmVyaWZpZWQiDGxhYmVsUG9vbHNMcCINZGVmYXVsdExhYmVscyIHdGhyb3dQRCIMdGhyb3dOb0Fzc2V0IhNrZXlNYW5hZ2VyUHVibGljS2V5IhprZXlQZW5kaW5nTWFuYWdlclB1YmxpY0tleSIPa2V5QWRtaW5QdWJLZXlzIhRrZXlVc2VyUG9vbHNDb250cmFjdCISa2V5RmFjdG9yeUNvbnRyYWN0IgprZXlDcmVhdGVkIgdhc3NldElkIgdrZXlMb2dvIglrZXlUaWNrZXIiCWtleVN0YXR1cyITa2V5QXNzZXRQb29sc051bWJlciISa2V5VGlja2VyVG9Bc3NldElkIgZ0aWNrZXIiEmtleUFzc2V0SWR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Complexity": 0 } View: original | compacted Prev: F6ngZ9e2cnVQTbRX5DE2xsWSVAUKp1tXHn8YVVNdusE3 Next: HqyWTsBRYcHeiDqbboNVtsiR8MeEMS5DmRfiw1hoMCwu 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 (F,G,H) = {
73- let I = makeString(["mandatory ", toString(F), ".", G, " is not defined"], "")
74+func F (G,H,I) = {
75+ let J = makeString(["mandatory ", toString(G), ".", H, " is not defined"], "")
7476 valueOrErrorMessage({
75- let J = H
76- if ($isInstanceOf(J, "String"))
77+ let K = I
78+ if ($isInstanceOf(K, "String"))
7779 then {
78- let K = J
79- getString(F, G)
80+ let L = K
81+ getString(G, H)
8082 }
81- else if ($isInstanceOf(J, "Int"))
83+ else if ($isInstanceOf(K, "Int"))
8284 then {
83- let L = J
84- getInteger(F, G)
85+ let M = K
86+ getInteger(G, H)
8587 }
8688 else throw("invalid entry type")
87- }, I)
89+ }, J)
8890 }
8991
9092
91-func M (F,G) = {
92- let N = E(F, G, "")
93- if ($isInstanceOf(N, "String"))
94- then N
93+func N (G,H) = {
94+ let O = F(G, H, "")
95+ if ($isInstanceOf(O, "String"))
96+ then O
9597 else throw("Couldn't cast Int|String to String")
9698 }
9799
98100
99-func O (F,G) = {
100- let N = E(F, G, 0)
101- if ($isInstanceOf(N, "Int"))
102- then N
101+func P (G,H) = {
102+ let O = F(G, H, 0)
103+ if ($isInstanceOf(O, "Int"))
104+ then O
103105 else throw("Couldn't cast Int|String to Int")
104106 }
105107
106108
107-func P (p) = (valueOrElse(getInteger(s(p)), d) == c)
109+func Q (q) = (valueOrElse(getInteger(t(q)), e) == d)
108110
109111
110-func Q () = {
111- let J = getString(D())
112- if ($isInstanceOf(J, "String"))
112+func R () = {
113+ let K = getString(E())
114+ if ($isInstanceOf(K, "String"))
113115 then {
114- let R = J
115- if ((size(R) == 0))
116+ let S = K
117+ if ((size(S) == 0))
116118 then nil
117- else split(R, a)
119+ else split(S, b)
118120 }
119121 else nil
120122 }
121123
122124
123-func S (p) = {
124- let J = getString(C(p))
125- if ($isInstanceOf(J, "String"))
125+func T (q) = {
126+ let K = getString(D(q))
127+ if ($isInstanceOf(K, "String"))
126128 then {
127- let R = J
128- if ((size(R) == 0))
129+ let S = K
130+ if ((size(S) == 0))
129131 then nil
130- else split(R, a)
132+ else split(S, b)
131133 }
132134 else nil
133135 }
134136
135137
136-func T () = {
137- let J = getString(j())
138- if ($isInstanceOf(J, "String"))
138+func U () = {
139+ let K = getString(k())
140+ if ($isInstanceOf(K, "String"))
139141 then {
140- let R = J
141- fromBase58String(R)
142+ let S = K
143+ fromBase58String(S)
142144 }
143- else if ($isInstanceOf(J, "Unit"))
145+ else if ($isInstanceOf(K, "Unit"))
144146 then unit
145147 else throw("Match error")
146148 }
147149
148150
149-func U () = {
150- let J = getString(k())
151- if ($isInstanceOf(J, "String"))
151+func V () = {
152+ let K = getString(l())
153+ if ($isInstanceOf(K, "String"))
152154 then {
153- let R = J
154- fromBase58String(R)
155+ let S = K
156+ fromBase58String(S)
155157 }
156- else if ($isInstanceOf(J, "Unit"))
158+ else if ($isInstanceOf(K, "Unit"))
157159 then unit
158160 else throw("Match error")
159161 }
160162
161163
162-func V (W) = {
163- let J = T()
164- if ($isInstanceOf(J, "ByteVector"))
164+func W (X) = {
165+ let K = U()
166+ if ($isInstanceOf(K, "ByteVector"))
165167 then {
166- let X = J
167- if ((W.callerPublicKey == X))
168+ let Y = K
169+ if ((X.callerPublicKey == Y))
168170 then true
169- else h()
171+ else i()
170172 }
171- else if ($isInstanceOf(J, "Unit"))
172- then if ((W.caller == this))
173+ else if ($isInstanceOf(K, "Unit"))
174+ then if ((X.caller == this))
173175 then true
174- else h()
176+ else i()
175177 else throw("Match error")
176178 }
177179
178180
179-func Y (W) = {
180- let Z = split(valueOrElse(getString(l()), b), a)
181- if (containsElement(Z, toBase58String(W.callerPublicKey)))
181+func Z (X) = {
182+ let aa = split(valueOrElse(getString(m()), c), b)
183+ if (containsElement(aa, toBase58String(X.callerPublicKey)))
182184 then true
183185 else {
184- let aa = V(W)
185- if ((aa == aa))
186+ let ab = W(X)
187+ if ((ab == ab))
186188 then true
187189 else throw("Strict value is not equal to itself.")
188190 }
189191 }
190192
191193
192-func ab (p) = valueOrElse(getBoolean(o(p)), false)
194+func ac (q) = valueOrElse(getBoolean(p(q)), false)
193195
194196
195-func ac (ad) = if (ad)
196- then c
197- else d
197+func ad (ae) = if (ae)
198+ then d
199+ else e
198200
199201
200-func ae (p,af,ag) = {
201- let ah = Q()
202- let ai = S(p)
203- let aj = if (containsElement(ah, af))
202+func af (q,ag,ah) = {
203+ let ai = R()
204+ let aj = T(q)
205+ let ak = if (containsElement(ai, ag))
204206 then true
205207 else throw("Label doesn't exist")
206- if ((aj == aj))
208+ if ((ak == ak))
207209 then {
208- let ak = if (containsElement(ai, af))
209- then if (ag)
210+ let al = if (containsElement(aj, ag))
211+ then if (ah)
210212 then throw("Label has already been added")
211- else ai
212- else (ai :+ af)
213-[StringEntry(C(p), makeString(ak, a))]
213+ else aj
214+ else (aj :+ ag)
215+[StringEntry(D(q), makeString(al, b))]
214216 }
215217 else throw("Strict value is not equal to itself.")
216218 }
217219
218220
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)
221+func am (q,ag,ah) = {
222+ let aj = T(q)
223+ let al = if (containsElement(aj, ag))
224+ then removeByIndex(aj, value(indexOf(aj, ag)))
225+ else if (ah)
224226 then throw("Label wasn't added")
225- else ai
226-[StringEntry(C(p), makeString(ak, a))]
227+ else aj
228+[StringEntry(D(q), makeString(al, b))]
227229 }
228230
229231
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)
232+func an (q,ae) = {
233+ let ao = if (ae)
234+ then af(q, f, false)
235+ else am(q, f, false)
236+ ([IntegerEntry(t(q), ad(ae))] ++ ao)
235237 }
236238
237239
238-func ao (p,v) = {
239- let ap = {
240- let aq = getString(u(v))
241- let ar = if ((v != ""))
242- then if ((aq == unit))
240+func ap (q,w) = {
241+ let aq = {
242+ let ar = getString(v(w))
243+ let as = if ((w != ""))
244+ then if ((ar == unit))
243245 then true
244- else (value(aq) == p)
246+ else (value(ar) == q)
245247 else false
246- if (ar)
248+ if (as)
247249 then true
248250 else throw("Invalid ticker")
249251 }
250- if ((ap == ap))
251- then [StringEntry(w(p), v), StringEntry(u(v), p)]
252+ if ((aq == aq))
253+ then [StringEntry(x(q), w), StringEntry(v(w), q)]
252254 else throw("Strict value is not equal to itself.")
253255 }
254256
255257
256-@Callable(W)
257-func constructor (as,ah) = {
258- let at = V(W)
259- if ((at == at))
258+@Callable(X)
259+func constructor (at,ai) = {
260+ let au = W(X)
261+ if ((au == au))
260262 then {
261- let au = valueOrErrorMessage(addressFromString(as), "Invalid address")
262- if ((au == au))
263- then [StringEntry(m(), as), StringEntry(D(), makeString((g ++ ah), a))]
263+ let av = valueOrErrorMessage(addressFromString(at), "Invalid address")
264+ if ((av == av))
265+ then [StringEntry(n(), at), StringEntry(E(), makeString((h ++ ai), b))]
264266 else throw("Strict value is not equal to itself.")
265267 }
266268 else throw("Strict value is not equal to itself.")
268270
269271
270272
271-@Callable(W)
272-func constructorV2 (av) = {
273- let at = V(W)
274- if ((at == at))
273+@Callable(X)
274+func constructorV2 (aw) = {
275+ let au = W(X)
276+ if ((au == au))
275277 then {
276- let aw = valueOrErrorMessage(addressFromString(av), "invalid factory contract address")
277- if ((aw == aw))
278- then [StringEntry(n(), av)]
278+ let ax = valueOrErrorMessage(addressFromString(aw), "invalid factory contract address")
279+ if ((ax == ax))
280+ then [StringEntry(o(), aw)]
279281 else throw("Strict value is not equal to itself.")
280282 }
281283 else throw("Strict value is not equal to itself.")
283285
284286
285287
286-@Callable(W)
287-func addAssetsLink (y,z,B) = {
288- let at = Y(W)
289- if ((at == at))
290- then [StringEntry(x(y, z), B), StringEntry(A(B), makeString([y, z], a))]
288+@Callable(X)
289+func addAssetsLink (z,A,C) = {
290+ let au = Z(X)
291+ if ((au == au))
292+ then [StringEntry(y(z, A), C), StringEntry(B(C), makeString([z, A], b))]
291293 else throw("Strict value is not equal to itself.")
292294 }
293295
294296
295297
296-@Callable(W)
297-func increaseAssetPoolsNumber (p) = {
298- let at = Y(W)
299- if ((at == at))
298+@Callable(X)
299+func increaseAssetPoolsNumber (q) = {
300+ let au = Z(X)
301+ if ((au == au))
300302 then {
301- let ax = t(p)
302- let ay = valueOrElse(getInteger(ax), 0)
303-[IntegerEntry(ax, (ay + 1))]
303+ let ay = u(q)
304+ let az = valueOrElse(getInteger(ay), 0)
305+[IntegerEntry(ay, (az + 1))]
304306 }
305307 else throw("Strict value is not equal to itself.")
306308 }
307309
308310
309311
310-@Callable(W)
311-func createLabel (af) = {
312- let ah = Q()
313- let at = Y(W)
314- if ((at == at))
312+@Callable(X)
313+func createLabel (ag) = {
314+ let ai = R()
315+ let au = Z(X)
316+ if ((au == au))
315317 then {
316- let aj = [if (!(contains(af, a)))
318+ let ak = [if (!(contains(ag, b)))
317319 then true
318- else throw("Invalid label name"), if (!(containsElement(ah, af)))
320+ else throw("Invalid label name"), if (!(containsElement(ai, ag)))
319321 then true
320322 else throw("Label exists")]
321- if ((aj == aj))
322- then [StringEntry(D(), makeString((ah :+ af), a))]
323+ if ((ak == ak))
324+ then [StringEntry(E(), makeString((ai :+ ag), b))]
323325 else throw("Strict value is not equal to itself.")
324326 }
325327 else throw("Strict value is not equal to itself.")
327329
328330
329331
330-@Callable(W)
331-func dropLabel (af) = {
332- let ah = Q()
333- let at = V(W)
334- if ((at == at))
332+@Callable(X)
333+func dropLabel (ag) = {
334+ let ai = R()
335+ let au = W(X)
336+ if ((au == au))
335337 then {
336- let aj = if (containsElement(ah, af))
338+ let ak = if (containsElement(ai, ag))
337339 then true
338340 else throw("Label doesn't exist")
339- if ((aj == aj))
340- then [StringEntry(D(), makeString(removeByIndex(ah, value(indexOf(ah, af))), a))]
341+ if ((ak == ak))
342+ then [StringEntry(E(), makeString(removeByIndex(ai, value(indexOf(ai, ag))), b))]
341343 else throw("Strict value is not equal to itself.")
342344 }
343345 else throw("Strict value is not equal to itself.")
345347
346348
347349
348-@Callable(W)
349-func addLabel (p,af) = {
350- let at = Y(W)
351- if ((at == at))
352- then ae(p, af, true)
350+@Callable(X)
351+func addLabel (q,ag) = {
352+ let au = Z(X)
353+ if ((au == au))
354+ then af(q, ag, true)
353355 else throw("Strict value is not equal to itself.")
354356 }
355357
356358
357359
358-@Callable(W)
359-func deleteLabel (p,af) = {
360- let at = Y(W)
361- if ((at == at))
362- then al(p, af, true)
360+@Callable(X)
361+func deleteLabel (q,ag) = {
362+ let au = Z(X)
363+ if ((au == au))
364+ then am(q, ag, true)
363365 else throw("Strict value is not equal to itself.")
364366 }
365367
366368
367369
368-@Callable(W)
369-func updateTicker (p,v) = {
370- let at = Y(W)
371- if ((at == at))
370+@Callable(X)
371+func updateTicker (q,w) = {
372+ let au = Z(X)
373+ if ((au == au))
372374 then {
373- let az = if (ab(p))
375+ let aA = if (ac(q))
374376 then true
375- else i()
376- if ((az == az))
377- then ao(p, v)
377+ else j()
378+ if ((aA == aA))
379+ then ap(q, w)
378380 else throw("Strict value is not equal to itself.")
379381 }
380382 else throw("Strict value is not equal to itself.")
382384
383385
384386
385-@Callable(W)
386-func deleteTicker (p) = {
387- let at = Y(W)
388- if ((at == at))
387+@Callable(X)
388+func deleteTicker (q) = {
389+ let au = Z(X)
390+ if ((au == au))
389391 then {
390- let v = valueOrErrorMessage(getString(w(p)), "Invalid asset")
391-[DeleteEntry(w(p)), DeleteEntry(u(v))]
392+ let w = valueOrErrorMessage(getString(x(q)), "Invalid asset")
393+[DeleteEntry(x(q)), DeleteEntry(v(w))]
392394 }
393395 else throw("Strict value is not equal to itself.")
394396 }
395397
396398
397399
398-@Callable(W)
399-func createOrUpdate (p,aA,ad) = {
400- let at = Y(W)
401- if ((at == at))
400+@Callable(X)
401+func createOrUpdate (q,aB,ae) = {
402+ let au = Z(X)
403+ if ((au == au))
402404 then {
403- let aB = !(ab(p))
404- if ((aB == aB))
405+ let aC = !(ac(q))
406+ if ((aC == aC))
405407 then {
406- let aC = if ((aA == ""))
408+ let aD = if ((aB == ""))
407409 then nil
408- else [StringEntry(q(p), aA)]
409- $Tuple2((([BooleanEntry(o(p), true)] ++ aC) ++ am(p, ad)), aB)
410+ else [StringEntry(r(q), aB)]
411+ $Tuple2((([BooleanEntry(p(q), true)] ++ aD) ++ an(q, ae)), aC)
410412 }
411413 else throw("Strict value is not equal to itself.")
412414 }
415417
416418
417419
418-@Callable(W)
419-func setLogo (p,aA) = {
420- let aD = [Y(W), if (ab(p))
420+@Callable(X)
421+func setLogo (q,aB) = {
422+ let aE = [Z(X), if (ac(q))
421423 then true
422- else i()]
423- if ((aD == aD))
424+ else j()]
425+ if ((aE == aE))
424426 then {
425- let aE = if ((aA == ""))
426- then DeleteEntry(q(p))
427- else StringEntry(q(p), aA)
428-[aE]
427+ let aF = if ((aB == ""))
428+ then DeleteEntry(r(q))
429+ else StringEntry(r(q), aB)
430+[aF]
429431 }
430432 else throw("Strict value is not equal to itself.")
431433 }
432434
433435
434436
435-@Callable(W)
436-func setVerified (p,ad) = {
437- let aD = [Y(W), if (ab(p))
437+@Callable(X)
438+func setVerified (q,ae) = {
439+ let aE = [Z(X), if (ac(q))
438440 then true
439- else i()]
440- if ((aD == aD))
441+ else j()]
442+ if ((aE == aE))
441443 then {
442- let aF = if (!(ad))
444+ let aG = if (!(ae))
443445 then {
444- let av = valueOrErrorMessage(addressFromString(M(this, n())), "invalid factory contract address")
445- invoke(av, "onVerificationLoss", [p], nil)
446+ let aw = valueOrErrorMessage(addressFromString(N(this, o())), "invalid factory contract address")
447+ invoke(aw, "onVerificationLoss", [q], nil)
446448 }
447449 else unit
448- if ((aF == aF))
449- then $Tuple2(am(p, ad), unit)
450+ if ((aG == aG))
451+ then $Tuple2(an(q, ae), unit)
450452 else throw("Strict value is not equal to itself.")
451453 }
452454 else throw("Strict value is not equal to itself.")
454456
455457
456458
457-@Callable(W)
458-func onEliminate (p) = {
459- let aG = valueOrElse(getInteger(t(p)), 0)
460- let aH = if ((aG > 0))
459+@Callable(X)
460+func onEliminate (q) = {
461+ let aH = valueOrElse(getInteger(u(q)), 0)
462+ let aI = if ((aH > 0))
461463 then nil
462- else [DeleteEntry(q(p))]
463- $Tuple2(aH, unit)
464+ else [DeleteEntry(r(q))]
465+ $Tuple2(aI, unit)
464466 }
465467
466468
467469
468-@Callable(W)
469-func setAdmins (aI) = {
470- let at = V(W)
471- if ((at == at))
472- then [StringEntry(l(), makeString(aI, a))]
470+@Callable(X)
471+func setAdmins (aJ) = {
472+ let au = W(X)
473+ if ((au == au))
474+ then [StringEntry(m(), makeString(aJ, b))]
473475 else throw("Strict value is not equal to itself.")
474476 }
475477
476478
477479
478-@Callable(W)
479-func setManager (aJ) = {
480- let at = V(W)
481- if ((at == at))
480+@Callable(X)
481+func setManager (aK) = {
482+ let au = W(X)
483+ if ((au == au))
482484 then {
483- let aK = fromBase58String(aJ)
484- if ((aK == aK))
485- then [StringEntry(k(), aJ)]
485+ let aL = fromBase58String(aK)
486+ if ((aL == aL))
487+ then [StringEntry(l(), aK)]
486488 else throw("Strict value is not equal to itself.")
487489 }
488490 else throw("Strict value is not equal to itself.")
490492
491493
492494
493-@Callable(W)
495+@Callable(X)
494496 func confirmManager () = {
495- let aL = U()
496- let aM = if (isDefined(aL))
497+ let aM = V()
498+ let aN = if (isDefined(aM))
497499 then true
498500 else throw("No pending manager")
499- if ((aM == aM))
501+ if ((aN == aN))
500502 then {
501- let aN = if ((W.callerPublicKey == value(aL)))
503+ let aO = if ((X.callerPublicKey == value(aM)))
502504 then true
503505 else throw("You are not pending manager")
504- if ((aN == aN))
505- then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())]
506+ if ((aO == aO))
507+ then [StringEntry(k(), toBase58String(value(aM))), DeleteEntry(l())]
506508 else throw("Strict value is not equal to itself.")
507509 }
508510 else throw("Strict value is not equal to itself.")
510512
511513
512514
513-@Callable(W)
514-func isVerifiedREADONLY (p) = $Tuple2(nil, P(p))
515+@Callable(X)
516+func isVerifiedREADONLY (q) = $Tuple2(nil, Q(q))
515517
516518
517-@Verifier(aO)
518-func aP () = {
519- let aQ = {
520- let J = T()
521- if ($isInstanceOf(J, "ByteVector"))
519+@Verifier(aP)
520+func aQ () = {
521+ let aR = {
522+ let K = U()
523+ if ($isInstanceOf(K, "ByteVector"))
522524 then {
523- let X = J
524- X
525+ let Y = K
526+ Y
525527 }
526- else if ($isInstanceOf(J, "Unit"))
527- then aO.senderPublicKey
528+ else if ($isInstanceOf(K, "Unit"))
529+ then aP.senderPublicKey
528530 else throw("Match error")
529531 }
530- sigVerify(aO.bodyBytes, aO.proofs[0], aQ)
532+ sigVerify(aP.bodyBytes, aP.proofs[0], aR)
531533 }
532534
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 (F,G,H) = {
73- let I = makeString(["mandatory ", toString(F), ".", G, " is not defined"], "")
74+func F (G,H,I) = {
75+ let J = makeString(["mandatory ", toString(G), ".", H, " is not defined"], "")
7476 valueOrErrorMessage({
75- let J = H
76- if ($isInstanceOf(J, "String"))
77+ let K = I
78+ if ($isInstanceOf(K, "String"))
7779 then {
78- let K = J
79- getString(F, G)
80+ let L = K
81+ getString(G, H)
8082 }
81- else if ($isInstanceOf(J, "Int"))
83+ else if ($isInstanceOf(K, "Int"))
8284 then {
83- let L = J
84- getInteger(F, G)
85+ let M = K
86+ getInteger(G, H)
8587 }
8688 else throw("invalid entry type")
87- }, I)
89+ }, J)
8890 }
8991
9092
91-func M (F,G) = {
92- let N = E(F, G, "")
93- if ($isInstanceOf(N, "String"))
94- then N
93+func N (G,H) = {
94+ let O = F(G, H, "")
95+ if ($isInstanceOf(O, "String"))
96+ then O
9597 else throw("Couldn't cast Int|String to String")
9698 }
9799
98100
99-func O (F,G) = {
100- let N = E(F, G, 0)
101- if ($isInstanceOf(N, "Int"))
102- then N
101+func P (G,H) = {
102+ let O = F(G, H, 0)
103+ if ($isInstanceOf(O, "Int"))
104+ then O
103105 else throw("Couldn't cast Int|String to Int")
104106 }
105107
106108
107-func P (p) = (valueOrElse(getInteger(s(p)), d) == c)
109+func Q (q) = (valueOrElse(getInteger(t(q)), e) == d)
108110
109111
110-func Q () = {
111- let J = getString(D())
112- if ($isInstanceOf(J, "String"))
112+func R () = {
113+ let K = getString(E())
114+ if ($isInstanceOf(K, "String"))
113115 then {
114- let R = J
115- if ((size(R) == 0))
116+ let S = K
117+ if ((size(S) == 0))
116118 then nil
117- else split(R, a)
119+ else split(S, b)
118120 }
119121 else nil
120122 }
121123
122124
123-func S (p) = {
124- let J = getString(C(p))
125- if ($isInstanceOf(J, "String"))
125+func T (q) = {
126+ let K = getString(D(q))
127+ if ($isInstanceOf(K, "String"))
126128 then {
127- let R = J
128- if ((size(R) == 0))
129+ let S = K
130+ if ((size(S) == 0))
129131 then nil
130- else split(R, a)
132+ else split(S, b)
131133 }
132134 else nil
133135 }
134136
135137
136-func T () = {
137- let J = getString(j())
138- if ($isInstanceOf(J, "String"))
138+func U () = {
139+ let K = getString(k())
140+ if ($isInstanceOf(K, "String"))
139141 then {
140- let R = J
141- fromBase58String(R)
142+ let S = K
143+ fromBase58String(S)
142144 }
143- else if ($isInstanceOf(J, "Unit"))
145+ else if ($isInstanceOf(K, "Unit"))
144146 then unit
145147 else throw("Match error")
146148 }
147149
148150
149-func U () = {
150- let J = getString(k())
151- if ($isInstanceOf(J, "String"))
151+func V () = {
152+ let K = getString(l())
153+ if ($isInstanceOf(K, "String"))
152154 then {
153- let R = J
154- fromBase58String(R)
155+ let S = K
156+ fromBase58String(S)
155157 }
156- else if ($isInstanceOf(J, "Unit"))
158+ else if ($isInstanceOf(K, "Unit"))
157159 then unit
158160 else throw("Match error")
159161 }
160162
161163
162-func V (W) = {
163- let J = T()
164- if ($isInstanceOf(J, "ByteVector"))
164+func W (X) = {
165+ let K = U()
166+ if ($isInstanceOf(K, "ByteVector"))
165167 then {
166- let X = J
167- if ((W.callerPublicKey == X))
168+ let Y = K
169+ if ((X.callerPublicKey == Y))
168170 then true
169- else h()
171+ else i()
170172 }
171- else if ($isInstanceOf(J, "Unit"))
172- then if ((W.caller == this))
173+ else if ($isInstanceOf(K, "Unit"))
174+ then if ((X.caller == this))
173175 then true
174- else h()
176+ else i()
175177 else throw("Match error")
176178 }
177179
178180
179-func Y (W) = {
180- let Z = split(valueOrElse(getString(l()), b), a)
181- if (containsElement(Z, toBase58String(W.callerPublicKey)))
181+func Z (X) = {
182+ let aa = split(valueOrElse(getString(m()), c), b)
183+ if (containsElement(aa, toBase58String(X.callerPublicKey)))
182184 then true
183185 else {
184- let aa = V(W)
185- if ((aa == aa))
186+ let ab = W(X)
187+ if ((ab == ab))
186188 then true
187189 else throw("Strict value is not equal to itself.")
188190 }
189191 }
190192
191193
192-func ab (p) = valueOrElse(getBoolean(o(p)), false)
194+func ac (q) = valueOrElse(getBoolean(p(q)), false)
193195
194196
195-func ac (ad) = if (ad)
196- then c
197- else d
197+func ad (ae) = if (ae)
198+ then d
199+ else e
198200
199201
200-func ae (p,af,ag) = {
201- let ah = Q()
202- let ai = S(p)
203- let aj = if (containsElement(ah, af))
202+func af (q,ag,ah) = {
203+ let ai = R()
204+ let aj = T(q)
205+ let ak = if (containsElement(ai, ag))
204206 then true
205207 else throw("Label doesn't exist")
206- if ((aj == aj))
208+ if ((ak == ak))
207209 then {
208- let ak = if (containsElement(ai, af))
209- then if (ag)
210+ let al = if (containsElement(aj, ag))
211+ then if (ah)
210212 then throw("Label has already been added")
211- else ai
212- else (ai :+ af)
213-[StringEntry(C(p), makeString(ak, a))]
213+ else aj
214+ else (aj :+ ag)
215+[StringEntry(D(q), makeString(al, b))]
214216 }
215217 else throw("Strict value is not equal to itself.")
216218 }
217219
218220
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)
221+func am (q,ag,ah) = {
222+ let aj = T(q)
223+ let al = if (containsElement(aj, ag))
224+ then removeByIndex(aj, value(indexOf(aj, ag)))
225+ else if (ah)
224226 then throw("Label wasn't added")
225- else ai
226-[StringEntry(C(p), makeString(ak, a))]
227+ else aj
228+[StringEntry(D(q), makeString(al, b))]
227229 }
228230
229231
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)
232+func an (q,ae) = {
233+ let ao = if (ae)
234+ then af(q, f, false)
235+ else am(q, f, false)
236+ ([IntegerEntry(t(q), ad(ae))] ++ ao)
235237 }
236238
237239
238-func ao (p,v) = {
239- let ap = {
240- let aq = getString(u(v))
241- let ar = if ((v != ""))
242- then if ((aq == unit))
240+func ap (q,w) = {
241+ let aq = {
242+ let ar = getString(v(w))
243+ let as = if ((w != ""))
244+ then if ((ar == unit))
243245 then true
244- else (value(aq) == p)
246+ else (value(ar) == q)
245247 else false
246- if (ar)
248+ if (as)
247249 then true
248250 else throw("Invalid ticker")
249251 }
250- if ((ap == ap))
251- then [StringEntry(w(p), v), StringEntry(u(v), p)]
252+ if ((aq == aq))
253+ then [StringEntry(x(q), w), StringEntry(v(w), q)]
252254 else throw("Strict value is not equal to itself.")
253255 }
254256
255257
256-@Callable(W)
257-func constructor (as,ah) = {
258- let at = V(W)
259- if ((at == at))
258+@Callable(X)
259+func constructor (at,ai) = {
260+ let au = W(X)
261+ if ((au == au))
260262 then {
261- let au = valueOrErrorMessage(addressFromString(as), "Invalid address")
262- if ((au == au))
263- then [StringEntry(m(), as), StringEntry(D(), makeString((g ++ ah), a))]
263+ let av = valueOrErrorMessage(addressFromString(at), "Invalid address")
264+ if ((av == av))
265+ then [StringEntry(n(), at), StringEntry(E(), makeString((h ++ ai), b))]
264266 else throw("Strict value is not equal to itself.")
265267 }
266268 else throw("Strict value is not equal to itself.")
267269 }
268270
269271
270272
271-@Callable(W)
272-func constructorV2 (av) = {
273- let at = V(W)
274- if ((at == at))
273+@Callable(X)
274+func constructorV2 (aw) = {
275+ let au = W(X)
276+ if ((au == au))
275277 then {
276- let aw = valueOrErrorMessage(addressFromString(av), "invalid factory contract address")
277- if ((aw == aw))
278- then [StringEntry(n(), av)]
278+ let ax = valueOrErrorMessage(addressFromString(aw), "invalid factory contract address")
279+ if ((ax == ax))
280+ then [StringEntry(o(), aw)]
279281 else throw("Strict value is not equal to itself.")
280282 }
281283 else throw("Strict value is not equal to itself.")
282284 }
283285
284286
285287
286-@Callable(W)
287-func addAssetsLink (y,z,B) = {
288- let at = Y(W)
289- if ((at == at))
290- then [StringEntry(x(y, z), B), StringEntry(A(B), makeString([y, z], a))]
288+@Callable(X)
289+func addAssetsLink (z,A,C) = {
290+ let au = Z(X)
291+ if ((au == au))
292+ then [StringEntry(y(z, A), C), StringEntry(B(C), makeString([z, A], b))]
291293 else throw("Strict value is not equal to itself.")
292294 }
293295
294296
295297
296-@Callable(W)
297-func increaseAssetPoolsNumber (p) = {
298- let at = Y(W)
299- if ((at == at))
298+@Callable(X)
299+func increaseAssetPoolsNumber (q) = {
300+ let au = Z(X)
301+ if ((au == au))
300302 then {
301- let ax = t(p)
302- let ay = valueOrElse(getInteger(ax), 0)
303-[IntegerEntry(ax, (ay + 1))]
303+ let ay = u(q)
304+ let az = valueOrElse(getInteger(ay), 0)
305+[IntegerEntry(ay, (az + 1))]
304306 }
305307 else throw("Strict value is not equal to itself.")
306308 }
307309
308310
309311
310-@Callable(W)
311-func createLabel (af) = {
312- let ah = Q()
313- let at = Y(W)
314- if ((at == at))
312+@Callable(X)
313+func createLabel (ag) = {
314+ let ai = R()
315+ let au = Z(X)
316+ if ((au == au))
315317 then {
316- let aj = [if (!(contains(af, a)))
318+ let ak = [if (!(contains(ag, b)))
317319 then true
318- else throw("Invalid label name"), if (!(containsElement(ah, af)))
320+ else throw("Invalid label name"), if (!(containsElement(ai, ag)))
319321 then true
320322 else throw("Label exists")]
321- if ((aj == aj))
322- then [StringEntry(D(), makeString((ah :+ af), a))]
323+ if ((ak == ak))
324+ then [StringEntry(E(), makeString((ai :+ ag), b))]
323325 else throw("Strict value is not equal to itself.")
324326 }
325327 else throw("Strict value is not equal to itself.")
326328 }
327329
328330
329331
330-@Callable(W)
331-func dropLabel (af) = {
332- let ah = Q()
333- let at = V(W)
334- if ((at == at))
332+@Callable(X)
333+func dropLabel (ag) = {
334+ let ai = R()
335+ let au = W(X)
336+ if ((au == au))
335337 then {
336- let aj = if (containsElement(ah, af))
338+ let ak = if (containsElement(ai, ag))
337339 then true
338340 else throw("Label doesn't exist")
339- if ((aj == aj))
340- then [StringEntry(D(), makeString(removeByIndex(ah, value(indexOf(ah, af))), a))]
341+ if ((ak == ak))
342+ then [StringEntry(E(), makeString(removeByIndex(ai, value(indexOf(ai, ag))), b))]
341343 else throw("Strict value is not equal to itself.")
342344 }
343345 else throw("Strict value is not equal to itself.")
344346 }
345347
346348
347349
348-@Callable(W)
349-func addLabel (p,af) = {
350- let at = Y(W)
351- if ((at == at))
352- then ae(p, af, true)
350+@Callable(X)
351+func addLabel (q,ag) = {
352+ let au = Z(X)
353+ if ((au == au))
354+ then af(q, ag, true)
353355 else throw("Strict value is not equal to itself.")
354356 }
355357
356358
357359
358-@Callable(W)
359-func deleteLabel (p,af) = {
360- let at = Y(W)
361- if ((at == at))
362- then al(p, af, true)
360+@Callable(X)
361+func deleteLabel (q,ag) = {
362+ let au = Z(X)
363+ if ((au == au))
364+ then am(q, ag, true)
363365 else throw("Strict value is not equal to itself.")
364366 }
365367
366368
367369
368-@Callable(W)
369-func updateTicker (p,v) = {
370- let at = Y(W)
371- if ((at == at))
370+@Callable(X)
371+func updateTicker (q,w) = {
372+ let au = Z(X)
373+ if ((au == au))
372374 then {
373- let az = if (ab(p))
375+ let aA = if (ac(q))
374376 then true
375- else i()
376- if ((az == az))
377- then ao(p, v)
377+ else j()
378+ if ((aA == aA))
379+ then ap(q, w)
378380 else throw("Strict value is not equal to itself.")
379381 }
380382 else throw("Strict value is not equal to itself.")
381383 }
382384
383385
384386
385-@Callable(W)
386-func deleteTicker (p) = {
387- let at = Y(W)
388- if ((at == at))
387+@Callable(X)
388+func deleteTicker (q) = {
389+ let au = Z(X)
390+ if ((au == au))
389391 then {
390- let v = valueOrErrorMessage(getString(w(p)), "Invalid asset")
391-[DeleteEntry(w(p)), DeleteEntry(u(v))]
392+ let w = valueOrErrorMessage(getString(x(q)), "Invalid asset")
393+[DeleteEntry(x(q)), DeleteEntry(v(w))]
392394 }
393395 else throw("Strict value is not equal to itself.")
394396 }
395397
396398
397399
398-@Callable(W)
399-func createOrUpdate (p,aA,ad) = {
400- let at = Y(W)
401- if ((at == at))
400+@Callable(X)
401+func createOrUpdate (q,aB,ae) = {
402+ let au = Z(X)
403+ if ((au == au))
402404 then {
403- let aB = !(ab(p))
404- if ((aB == aB))
405+ let aC = !(ac(q))
406+ if ((aC == aC))
405407 then {
406- let aC = if ((aA == ""))
408+ let aD = if ((aB == ""))
407409 then nil
408- else [StringEntry(q(p), aA)]
409- $Tuple2((([BooleanEntry(o(p), true)] ++ aC) ++ am(p, ad)), aB)
410+ else [StringEntry(r(q), aB)]
411+ $Tuple2((([BooleanEntry(p(q), true)] ++ aD) ++ an(q, ae)), aC)
410412 }
411413 else throw("Strict value is not equal to itself.")
412414 }
413415 else throw("Strict value is not equal to itself.")
414416 }
415417
416418
417419
418-@Callable(W)
419-func setLogo (p,aA) = {
420- let aD = [Y(W), if (ab(p))
420+@Callable(X)
421+func setLogo (q,aB) = {
422+ let aE = [Z(X), if (ac(q))
421423 then true
422- else i()]
423- if ((aD == aD))
424+ else j()]
425+ if ((aE == aE))
424426 then {
425- let aE = if ((aA == ""))
426- then DeleteEntry(q(p))
427- else StringEntry(q(p), aA)
428-[aE]
427+ let aF = if ((aB == ""))
428+ then DeleteEntry(r(q))
429+ else StringEntry(r(q), aB)
430+[aF]
429431 }
430432 else throw("Strict value is not equal to itself.")
431433 }
432434
433435
434436
435-@Callable(W)
436-func setVerified (p,ad) = {
437- let aD = [Y(W), if (ab(p))
437+@Callable(X)
438+func setVerified (q,ae) = {
439+ let aE = [Z(X), if (ac(q))
438440 then true
439- else i()]
440- if ((aD == aD))
441+ else j()]
442+ if ((aE == aE))
441443 then {
442- let aF = if (!(ad))
444+ let aG = if (!(ae))
443445 then {
444- let av = valueOrErrorMessage(addressFromString(M(this, n())), "invalid factory contract address")
445- invoke(av, "onVerificationLoss", [p], nil)
446+ let aw = valueOrErrorMessage(addressFromString(N(this, o())), "invalid factory contract address")
447+ invoke(aw, "onVerificationLoss", [q], nil)
446448 }
447449 else unit
448- if ((aF == aF))
449- then $Tuple2(am(p, ad), unit)
450+ if ((aG == aG))
451+ then $Tuple2(an(q, ae), unit)
450452 else throw("Strict value is not equal to itself.")
451453 }
452454 else throw("Strict value is not equal to itself.")
453455 }
454456
455457
456458
457-@Callable(W)
458-func onEliminate (p) = {
459- let aG = valueOrElse(getInteger(t(p)), 0)
460- let aH = if ((aG > 0))
459+@Callable(X)
460+func onEliminate (q) = {
461+ let aH = valueOrElse(getInteger(u(q)), 0)
462+ let aI = if ((aH > 0))
461463 then nil
462- else [DeleteEntry(q(p))]
463- $Tuple2(aH, unit)
464+ else [DeleteEntry(r(q))]
465+ $Tuple2(aI, unit)
464466 }
465467
466468
467469
468-@Callable(W)
469-func setAdmins (aI) = {
470- let at = V(W)
471- if ((at == at))
472- then [StringEntry(l(), makeString(aI, a))]
470+@Callable(X)
471+func setAdmins (aJ) = {
472+ let au = W(X)
473+ if ((au == au))
474+ then [StringEntry(m(), makeString(aJ, b))]
473475 else throw("Strict value is not equal to itself.")
474476 }
475477
476478
477479
478-@Callable(W)
479-func setManager (aJ) = {
480- let at = V(W)
481- if ((at == at))
480+@Callable(X)
481+func setManager (aK) = {
482+ let au = W(X)
483+ if ((au == au))
482484 then {
483- let aK = fromBase58String(aJ)
484- if ((aK == aK))
485- then [StringEntry(k(), aJ)]
485+ let aL = fromBase58String(aK)
486+ if ((aL == aL))
487+ then [StringEntry(l(), aK)]
486488 else throw("Strict value is not equal to itself.")
487489 }
488490 else throw("Strict value is not equal to itself.")
489491 }
490492
491493
492494
493-@Callable(W)
495+@Callable(X)
494496 func confirmManager () = {
495- let aL = U()
496- let aM = if (isDefined(aL))
497+ let aM = V()
498+ let aN = if (isDefined(aM))
497499 then true
498500 else throw("No pending manager")
499- if ((aM == aM))
501+ if ((aN == aN))
500502 then {
501- let aN = if ((W.callerPublicKey == value(aL)))
503+ let aO = if ((X.callerPublicKey == value(aM)))
502504 then true
503505 else throw("You are not pending manager")
504- if ((aN == aN))
505- then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())]
506+ if ((aO == aO))
507+ then [StringEntry(k(), toBase58String(value(aM))), DeleteEntry(l())]
506508 else throw("Strict value is not equal to itself.")
507509 }
508510 else throw("Strict value is not equal to itself.")
509511 }
510512
511513
512514
513-@Callable(W)
514-func isVerifiedREADONLY (p) = $Tuple2(nil, P(p))
515+@Callable(X)
516+func isVerifiedREADONLY (q) = $Tuple2(nil, Q(q))
515517
516518
517-@Verifier(aO)
518-func aP () = {
519- let aQ = {
520- let J = T()
521- if ($isInstanceOf(J, "ByteVector"))
519+@Verifier(aP)
520+func aQ () = {
521+ let aR = {
522+ let K = U()
523+ if ($isInstanceOf(K, "ByteVector"))
522524 then {
523- let X = J
524- X
525+ let Y = K
526+ Y
525527 }
526- else if ($isInstanceOf(J, "Unit"))
527- then aO.senderPublicKey
528+ else if ($isInstanceOf(K, "Unit"))
529+ then aP.senderPublicKey
528530 else throw("Match error")
529531 }
530- sigVerify(aO.bodyBytes, aO.proofs[0], aQ)
532+ sigVerify(aP.bodyBytes, aP.proofs[0], aR)
531533 }
532534

github/deemru/w8io/026f985 
150.33 ms