tx · 9B2mSCgSyfoMx7tRKhXxb4dnDJwzSTznqes1aUkbQkKi

3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr:  -0.01400000 Waves

2022.04.18 16:44 [2014068] smart account 3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr > SELF 0.00000000 Waves

{ "type": 13, "id": "9B2mSCgSyfoMx7tRKhXxb4dnDJwzSTznqes1aUkbQkKi", "fee": 1400000, "feeAssetId": null, "timestamp": 1650289519546, "version": 1, "sender": "3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr", "senderPublicKey": "EtZZHS4uqNXY5WPneZ8jY2aA95peXwthJVLzAMxMp379", "proofs": [ "5ihcqpumLi9iG8rUetVYGQtmPGhaQiS1y9RC9NtEH2Bgpd22NkiE7rEgVVxXGYkGvSD4ecUzXmqR44fTzduARqR1" ], "script": "base64:AAIFAAAAAAAAAFkIAhIECgIIGBIFCgMICAgSAwoBCBIDCgEIEgMKAQgSBAoCCAgSBAoCCAgSBAoCCAgSAwoBCBIFCgMICAQSBAoCCAgSBAoCCAQSAwoBGBIDCgEIEgASAwoBCAAAACUAAAAAA1NFUAIAAAACX18AAAAABUVNUFRZAgAAAAAAAAAADnN0YXR1c1ZlcmlmaWVkAAAAAAAAAAACAAAAABBzdGF0dXNVbnZlcmlmaWVkAAAAAAAAAAAAAAAAABZsYWJlbENvbW11bml0eVZlcmlmaWVkAgAAABJDT01NVU5JVFlfVkVSSUZJRUQAAAAADGxhYmVsUG9vbHNMcAIAAAAIUE9PTFNfTFAAAAAADWRlZmF1bHRMYWJlbHMJAARMAAAAAgUAAAAWbGFiZWxDb21tdW5pdHlWZXJpZmllZAkABEwAAAACBQAAAAxsYWJlbFBvb2xzTHAFAAAAA25pbAEAAAAHdGhyb3dQRAAAAAAJAAACAAAAAQIAAAARUGVybWlzc2lvbiBkZW5pZWQBAAAADHRocm93Tm9Bc3NldAAAAAAJAAACAAAAAQIAAAAUQXNzZXQgZG9lc24ndCBleGlzdHMBAAA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AAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAWkBAAAAEmlzVmVyaWZpZWRSRUFET05MWQAAAAEAAAAHYXNzZXRJZAkABRQAAAACBQAAAANuaWwJAQAAAAppc1ZlcmlmaWVkAAAAAQUAAAAHYXNzZXRJZAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAD3RhcmdldFB1YmxpY0tleQQAAAAHJG1hdGNoMAkBAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXmG8ULi", "chainId": 84, "height": 2014068, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4yF8bE6CetRyZSLWkwneD7EetbHSwoTwc22TqPPNcN8m Next: 7NQzxXX6wEahkfqiLDiRaoqWAfoWkTyeH28MxhdNizHL Diff:
OldNewDifferences
347347 let ai = N(L)
348348 if ((ai == ai))
349349 then {
350- let ao = valueOrErrorMessage(assetInfo(fromBase58String(o)), "Invalid asset ID")
350+ let ao = !(Q(o))
351351 if ((ao == ao))
352352 then {
353- let ap = !(Q(o))
354- if ((ap == ap))
355- then {
356- let aq = if ((an == ""))
357- then nil
358- else [StringEntry(p(o), an)]
359- $Tuple2((([BooleanEntry(n(o), true)] ++ aq) ++ ab(o, S)), ap)
360- }
361- else throw("Strict value is not equal to itself.")
353+ let ap = if ((an == ""))
354+ then nil
355+ else [StringEntry(p(o), an)]
356+ $Tuple2((([BooleanEntry(n(o), true)] ++ ap) ++ ab(o, S)), ao)
362357 }
363358 else throw("Strict value is not equal to itself.")
364359 }
369364
370365 @Callable(L)
371366 func setLogo (o,an) = {
372- let ar = [N(L), if (Q(o))
367+ let aq = [N(L), if (Q(o))
373368 then true
374369 else i()]
375- if ((ar == ar))
370+ if ((aq == aq))
376371 then [StringEntry(p(o), an)]
377372 else throw("Strict value is not equal to itself.")
378373 }
381376
382377 @Callable(L)
383378 func setVerified (o,S) = {
384- let ar = [N(L), if (Q(o))
379+ let aq = [N(L), if (Q(o))
385380 then true
386381 else i()]
387- if ((ar == ar))
382+ if ((aq == aq))
388383 then {
389- let as = {
384+ let ar = {
390385 let F = invoke(addressFromStringValue(getStringValue(m())), "priceAssetsREADONLY", nil, nil)
391386 if ($isInstanceOf(F, "List[Any]"))
392387 then {
393- let at = F
394- let au = if ((size(at) > 0))
388+ let as = F
389+ let at = if ((size(as) > 0))
395390 then true
396391 else throw("Invalid price assets")
397- if ((au == au))
398- then at
392+ if ((at == at))
393+ then as
399394 else throw("Strict value is not equal to itself.")
400395 }
401396 else throw("Incorrect invoke result")
402397 }
403- func av (aw,ax) = {
404- let ay = {
405- let F = ax
398+ func au (av,aw) = {
399+ let ax = {
400+ let F = aw
406401 if ($isInstanceOf(F, "String"))
407402 then {
408403 let G = F
410405 }
411406 else throw("Invalid price asset")
412407 }
413- let az = getString(w(o, ay))
414- let aA = if ((az == unit))
408+ let ay = getString(w(o, ax))
409+ let az = if ((ay == unit))
415410 then nil
416- else ab(value(az), S)
417- (aw ++ aA)
411+ else ab(value(ay), S)
412+ (av ++ az)
418413 }
419414
420- let aB = {
421- let aC = as
422- let aD = size(aC)
423- let aE = ab(o, S)
424- func aF (aG,aH) = if ((aH >= aD))
425- then aG
426- else av(aG, aC[aH])
415+ let aA = {
416+ let aB = ar
417+ let aC = size(aB)
418+ let aD = ab(o, S)
419+ func aE (aF,aG) = if ((aG >= aC))
420+ then aF
421+ else au(aF, aB[aG])
427422
428- func aI (aG,aH) = if ((aH >= aD))
429- then aG
423+ func aH (aF,aG) = if ((aG >= aC))
424+ then aF
430425 else throw("List size exceeds 10")
431426
432- aI(aF(aF(aF(aF(aF(aF(aF(aF(aF(aF(aE, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
427+ aH(aE(aE(aE(aE(aE(aE(aE(aE(aE(aE(aD, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
433428 }
434- $Tuple2(aB, unit)
429+ $Tuple2(aA, unit)
435430 }
436431 else throw("Strict value is not equal to itself.")
437432 }
439434
440435
441436 @Callable(L)
442-func setAdmins (aJ) = {
437+func setAdmins (aI) = {
443438 let ai = K(L)
444439 if ((ai == ai))
445- then [StringEntry(l(), makeString(aJ, a))]
440+ then [StringEntry(l(), makeString(aI, a))]
446441 else throw("Strict value is not equal to itself.")
447442 }
448443
449444
450445
451446 @Callable(L)
452-func setManager (aK) = {
447+func setManager (aJ) = {
453448 let ai = K(L)
454449 if ((ai == ai))
455450 then {
456- let aL = fromBase58String(aK)
457- if ((aL == aL))
458- then [StringEntry(k(), aK)]
451+ let aK = fromBase58String(aJ)
452+ if ((aK == aK))
453+ then [StringEntry(k(), aJ)]
459454 else throw("Strict value is not equal to itself.")
460455 }
461456 else throw("Strict value is not equal to itself.")
465460
466461 @Callable(L)
467462 func confirmManager () = {
468- let aM = J()
469- let aN = if (isDefined(aM))
463+ let aL = J()
464+ let aM = if (isDefined(aL))
470465 then true
471466 else throw("No pending manager")
472- if ((aN == aN))
467+ if ((aM == aM))
473468 then {
474- let aO = if ((L.callerPublicKey == value(aM)))
469+ let aN = if ((L.callerPublicKey == value(aL)))
475470 then true
476471 else throw("You are not pending manager")
477- if ((aO == aO))
478- then [StringEntry(j(), toBase58String(value(aM))), DeleteEntry(k())]
472+ if ((aN == aN))
473+ then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())]
479474 else throw("Strict value is not equal to itself.")
480475 }
481476 else throw("Strict value is not equal to itself.")
487482 func isVerifiedREADONLY (o) = $Tuple2(nil, D(o))
488483
489484
490-@Verifier(aP)
491-func aQ () = {
492- let aR = {
485+@Verifier(aO)
486+func aP () = {
487+ let aQ = {
493488 let F = I()
494489 if ($isInstanceOf(F, "ByteVector"))
495490 then {
497492 M
498493 }
499494 else if ($isInstanceOf(F, "Unit"))
500- then aP.senderPublicKey
495+ then aO.senderPublicKey
501496 else throw("Match error")
502497 }
503- sigVerify(aP.bodyBytes, aP.proofs[0], aR)
498+ sigVerify(aO.bodyBytes, aO.proofs[0], aQ)
504499 }
505500
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = ""
77
88 let c = 2
99
1010 let d = 0
1111
1212 let e = "COMMUNITY_VERIFIED"
1313
1414 let f = "POOLS_LP"
1515
1616 let g = [e, f]
1717
1818 func h () = throw("Permission denied")
1919
2020
2121 func i () = throw("Asset doesn't exists")
2222
2323
2424 func j () = "%s__managerPublicKey"
2525
2626
2727 func k () = "%s__pendingManagerPublicKey"
2828
2929
3030 func l () = "%s__adminPubKeys"
3131
3232
3333 func m () = "%s__userPoolsContract"
3434
3535
3636 func n (o) = (("created_<" + o) + ">")
3737
3838
3939 func p (o) = (("logo_<" + o) + ">")
4040
4141
4242 func q (o) = (("ticker_<" + o) + ">")
4343
4444
4545 func r (o) = (("status_<" + o) + ">")
4646
4747
4848 func s (o) = makeString(["%s%s", "pools", o], a)
4949
5050
5151 func t (u) = makeString(["%s%s", "ticker2assetId", u], a)
5252
5353
5454 func v (o) = makeString(["%s%s", "assetId2ticker", o], a)
5555
5656
5757 func w (x,y) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", x, y], a)
5858
5959
6060 func z (A) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", A], a)
6161
6262
6363 func B (o) = makeString(["%s%s", "labels", o], a)
6464
6565
6666 func C () = makeString(["%s", "labels"], a)
6767
6868
6969 func D (o) = (valueOrElse(getInteger(r(o)), d) == c)
7070
7171
7272 func E () = {
7373 let F = getString(C())
7474 if ($isInstanceOf(F, "String"))
7575 then {
7676 let G = F
7777 if ((size(G) == 0))
7878 then nil
7979 else split(G, a)
8080 }
8181 else nil
8282 }
8383
8484
8585 func H (o) = {
8686 let F = getString(B(o))
8787 if ($isInstanceOf(F, "String"))
8888 then {
8989 let G = F
9090 if ((size(G) == 0))
9191 then nil
9292 else split(G, a)
9393 }
9494 else nil
9595 }
9696
9797
9898 func I () = {
9999 let F = getString(j())
100100 if ($isInstanceOf(F, "String"))
101101 then {
102102 let G = F
103103 fromBase58String(G)
104104 }
105105 else if ($isInstanceOf(F, "Unit"))
106106 then unit
107107 else throw("Match error")
108108 }
109109
110110
111111 func J () = {
112112 let F = getString(k())
113113 if ($isInstanceOf(F, "String"))
114114 then {
115115 let G = F
116116 fromBase58String(G)
117117 }
118118 else if ($isInstanceOf(F, "Unit"))
119119 then unit
120120 else throw("Match error")
121121 }
122122
123123
124124 func K (L) = {
125125 let F = I()
126126 if ($isInstanceOf(F, "ByteVector"))
127127 then {
128128 let M = F
129129 if ((L.callerPublicKey == M))
130130 then true
131131 else h()
132132 }
133133 else if ($isInstanceOf(F, "Unit"))
134134 then if ((L.caller == this))
135135 then true
136136 else h()
137137 else throw("Match error")
138138 }
139139
140140
141141 func N (L) = {
142142 let O = split(valueOrElse(getString(l()), b), a)
143143 if (containsElement(O, toBase58String(L.callerPublicKey)))
144144 then true
145145 else {
146146 let P = K(L)
147147 if ((P == P))
148148 then true
149149 else throw("Strict value is not equal to itself.")
150150 }
151151 }
152152
153153
154154 func Q (o) = valueOrElse(getBoolean(n(o)), false)
155155
156156
157157 func R (S) = if (S)
158158 then c
159159 else d
160160
161161
162162 func T (o,U,V) = {
163163 let W = E()
164164 let X = H(o)
165165 let Y = if (containsElement(W, U))
166166 then true
167167 else throw("Label doesn't exist")
168168 if ((Y == Y))
169169 then {
170170 let Z = if (containsElement(X, U))
171171 then if (V)
172172 then throw("Label has already been added")
173173 else X
174174 else (X :+ U)
175175 [StringEntry(B(o), makeString(Z, a))]
176176 }
177177 else throw("Strict value is not equal to itself.")
178178 }
179179
180180
181181 func aa (o,U,V) = {
182182 let X = H(o)
183183 let Z = if (containsElement(X, U))
184184 then removeByIndex(X, value(indexOf(X, U)))
185185 else if (V)
186186 then throw("Label wasn't added")
187187 else X
188188 [StringEntry(B(o), makeString(Z, a))]
189189 }
190190
191191
192192 func ab (o,S) = {
193193 let ac = if (S)
194194 then T(o, e, false)
195195 else aa(o, e, false)
196196 ([IntegerEntry(r(o), R(S))] ++ ac)
197197 }
198198
199199
200200 func ad (o,u) = {
201201 let ae = {
202202 let af = getString(t(u))
203203 let ag = if ((u != ""))
204204 then if ((af == unit))
205205 then true
206206 else (value(af) == o)
207207 else false
208208 if (ag)
209209 then true
210210 else throw("Invalid ticker")
211211 }
212212 if ((ae == ae))
213213 then [StringEntry(v(o), u), StringEntry(t(u), o)]
214214 else throw("Strict value is not equal to itself.")
215215 }
216216
217217
218218 @Callable(L)
219219 func constructor (ah,W) = {
220220 let ai = K(L)
221221 if ((ai == ai))
222222 then {
223223 let aj = valueOrErrorMessage(addressFromString(ah), "Invalid address")
224224 if ((aj == aj))
225225 then [StringEntry(m(), ah), StringEntry(C(), makeString((g ++ W), a))]
226226 else throw("Strict value is not equal to itself.")
227227 }
228228 else throw("Strict value is not equal to itself.")
229229 }
230230
231231
232232
233233 @Callable(L)
234234 func addAssetsLink (x,y,A) = {
235235 let ai = N(L)
236236 if ((ai == ai))
237237 then [StringEntry(w(x, y), A), StringEntry(z(A), makeString([x, y], a))]
238238 else throw("Strict value is not equal to itself.")
239239 }
240240
241241
242242
243243 @Callable(L)
244244 func increaseAssetPoolsNumber (o) = {
245245 let ai = N(L)
246246 if ((ai == ai))
247247 then {
248248 let ak = s(o)
249249 let al = valueOrElse(getInteger(ak), 0)
250250 [IntegerEntry(ak, (al + 1))]
251251 }
252252 else throw("Strict value is not equal to itself.")
253253 }
254254
255255
256256
257257 @Callable(L)
258258 func createLabel (U) = {
259259 let W = E()
260260 let ai = K(L)
261261 if ((ai == ai))
262262 then {
263263 let Y = [if (!(contains(U, a)))
264264 then true
265265 else throw("Invalid label name"), if (!(containsElement(W, U)))
266266 then true
267267 else throw("Label exists")]
268268 if ((Y == Y))
269269 then [StringEntry(C(), makeString((W :+ U), a))]
270270 else throw("Strict value is not equal to itself.")
271271 }
272272 else throw("Strict value is not equal to itself.")
273273 }
274274
275275
276276
277277 @Callable(L)
278278 func dropLabel (U) = {
279279 let W = E()
280280 let ai = K(L)
281281 if ((ai == ai))
282282 then {
283283 let Y = if (containsElement(W, U))
284284 then true
285285 else throw("Label doesn't exist")
286286 if ((Y == Y))
287287 then [StringEntry(C(), makeString(removeByIndex(W, value(indexOf(W, U))), a))]
288288 else throw("Strict value is not equal to itself.")
289289 }
290290 else throw("Strict value is not equal to itself.")
291291 }
292292
293293
294294
295295 @Callable(L)
296296 func addLabel (o,U) = {
297297 let ai = N(L)
298298 if ((ai == ai))
299299 then T(o, U, true)
300300 else throw("Strict value is not equal to itself.")
301301 }
302302
303303
304304
305305 @Callable(L)
306306 func deleteLabel (o,U) = {
307307 let ai = N(L)
308308 if ((ai == ai))
309309 then aa(o, U, true)
310310 else throw("Strict value is not equal to itself.")
311311 }
312312
313313
314314
315315 @Callable(L)
316316 func updateTicker (o,u) = {
317317 let ai = N(L)
318318 if ((ai == ai))
319319 then {
320320 let am = if (Q(o))
321321 then true
322322 else i()
323323 if ((am == am))
324324 then ad(o, u)
325325 else throw("Strict value is not equal to itself.")
326326 }
327327 else throw("Strict value is not equal to itself.")
328328 }
329329
330330
331331
332332 @Callable(L)
333333 func deleteTicker (o) = {
334334 let ai = N(L)
335335 if ((ai == ai))
336336 then {
337337 let u = valueOrErrorMessage(getString(v(o)), "Invalid asset")
338338 [DeleteEntry(v(o)), DeleteEntry(t(u))]
339339 }
340340 else throw("Strict value is not equal to itself.")
341341 }
342342
343343
344344
345345 @Callable(L)
346346 func createOrUpdate (o,an,S) = {
347347 let ai = N(L)
348348 if ((ai == ai))
349349 then {
350- let ao = valueOrErrorMessage(assetInfo(fromBase58String(o)), "Invalid asset ID")
350+ let ao = !(Q(o))
351351 if ((ao == ao))
352352 then {
353- let ap = !(Q(o))
354- if ((ap == ap))
355- then {
356- let aq = if ((an == ""))
357- then nil
358- else [StringEntry(p(o), an)]
359- $Tuple2((([BooleanEntry(n(o), true)] ++ aq) ++ ab(o, S)), ap)
360- }
361- else throw("Strict value is not equal to itself.")
353+ let ap = if ((an == ""))
354+ then nil
355+ else [StringEntry(p(o), an)]
356+ $Tuple2((([BooleanEntry(n(o), true)] ++ ap) ++ ab(o, S)), ao)
362357 }
363358 else throw("Strict value is not equal to itself.")
364359 }
365360 else throw("Strict value is not equal to itself.")
366361 }
367362
368363
369364
370365 @Callable(L)
371366 func setLogo (o,an) = {
372- let ar = [N(L), if (Q(o))
367+ let aq = [N(L), if (Q(o))
373368 then true
374369 else i()]
375- if ((ar == ar))
370+ if ((aq == aq))
376371 then [StringEntry(p(o), an)]
377372 else throw("Strict value is not equal to itself.")
378373 }
379374
380375
381376
382377 @Callable(L)
383378 func setVerified (o,S) = {
384- let ar = [N(L), if (Q(o))
379+ let aq = [N(L), if (Q(o))
385380 then true
386381 else i()]
387- if ((ar == ar))
382+ if ((aq == aq))
388383 then {
389- let as = {
384+ let ar = {
390385 let F = invoke(addressFromStringValue(getStringValue(m())), "priceAssetsREADONLY", nil, nil)
391386 if ($isInstanceOf(F, "List[Any]"))
392387 then {
393- let at = F
394- let au = if ((size(at) > 0))
388+ let as = F
389+ let at = if ((size(as) > 0))
395390 then true
396391 else throw("Invalid price assets")
397- if ((au == au))
398- then at
392+ if ((at == at))
393+ then as
399394 else throw("Strict value is not equal to itself.")
400395 }
401396 else throw("Incorrect invoke result")
402397 }
403- func av (aw,ax) = {
404- let ay = {
405- let F = ax
398+ func au (av,aw) = {
399+ let ax = {
400+ let F = aw
406401 if ($isInstanceOf(F, "String"))
407402 then {
408403 let G = F
409404 G
410405 }
411406 else throw("Invalid price asset")
412407 }
413- let az = getString(w(o, ay))
414- let aA = if ((az == unit))
408+ let ay = getString(w(o, ax))
409+ let az = if ((ay == unit))
415410 then nil
416- else ab(value(az), S)
417- (aw ++ aA)
411+ else ab(value(ay), S)
412+ (av ++ az)
418413 }
419414
420- let aB = {
421- let aC = as
422- let aD = size(aC)
423- let aE = ab(o, S)
424- func aF (aG,aH) = if ((aH >= aD))
425- then aG
426- else av(aG, aC[aH])
415+ let aA = {
416+ let aB = ar
417+ let aC = size(aB)
418+ let aD = ab(o, S)
419+ func aE (aF,aG) = if ((aG >= aC))
420+ then aF
421+ else au(aF, aB[aG])
427422
428- func aI (aG,aH) = if ((aH >= aD))
429- then aG
423+ func aH (aF,aG) = if ((aG >= aC))
424+ then aF
430425 else throw("List size exceeds 10")
431426
432- aI(aF(aF(aF(aF(aF(aF(aF(aF(aF(aF(aE, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
427+ aH(aE(aE(aE(aE(aE(aE(aE(aE(aE(aE(aD, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
433428 }
434- $Tuple2(aB, unit)
429+ $Tuple2(aA, unit)
435430 }
436431 else throw("Strict value is not equal to itself.")
437432 }
438433
439434
440435
441436 @Callable(L)
442-func setAdmins (aJ) = {
437+func setAdmins (aI) = {
443438 let ai = K(L)
444439 if ((ai == ai))
445- then [StringEntry(l(), makeString(aJ, a))]
440+ then [StringEntry(l(), makeString(aI, a))]
446441 else throw("Strict value is not equal to itself.")
447442 }
448443
449444
450445
451446 @Callable(L)
452-func setManager (aK) = {
447+func setManager (aJ) = {
453448 let ai = K(L)
454449 if ((ai == ai))
455450 then {
456- let aL = fromBase58String(aK)
457- if ((aL == aL))
458- then [StringEntry(k(), aK)]
451+ let aK = fromBase58String(aJ)
452+ if ((aK == aK))
453+ then [StringEntry(k(), aJ)]
459454 else throw("Strict value is not equal to itself.")
460455 }
461456 else throw("Strict value is not equal to itself.")
462457 }
463458
464459
465460
466461 @Callable(L)
467462 func confirmManager () = {
468- let aM = J()
469- let aN = if (isDefined(aM))
463+ let aL = J()
464+ let aM = if (isDefined(aL))
470465 then true
471466 else throw("No pending manager")
472- if ((aN == aN))
467+ if ((aM == aM))
473468 then {
474- let aO = if ((L.callerPublicKey == value(aM)))
469+ let aN = if ((L.callerPublicKey == value(aL)))
475470 then true
476471 else throw("You are not pending manager")
477- if ((aO == aO))
478- then [StringEntry(j(), toBase58String(value(aM))), DeleteEntry(k())]
472+ if ((aN == aN))
473+ then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())]
479474 else throw("Strict value is not equal to itself.")
480475 }
481476 else throw("Strict value is not equal to itself.")
482477 }
483478
484479
485480
486481 @Callable(L)
487482 func isVerifiedREADONLY (o) = $Tuple2(nil, D(o))
488483
489484
490-@Verifier(aP)
491-func aQ () = {
492- let aR = {
485+@Verifier(aO)
486+func aP () = {
487+ let aQ = {
493488 let F = I()
494489 if ($isInstanceOf(F, "ByteVector"))
495490 then {
496491 let M = F
497492 M
498493 }
499494 else if ($isInstanceOf(F, "Unit"))
500- then aP.senderPublicKey
495+ then aO.senderPublicKey
501496 else throw("Match error")
502497 }
503- sigVerify(aP.bodyBytes, aP.proofs[0], aR)
498+ sigVerify(aO.bodyBytes, aO.proofs[0], aQ)
504499 }
505500

github/deemru/w8io/169f3d6 
84.34 ms