tx · 29TasB5B1KyuoVUSfrJQSUptftRq3W6DkRU2aYtzuMgC

3NChATSZDHvSH6ugd3DbNH7cimVn56dSoX4:  -0.01900000 Waves

2023.02.22 17:30 [2460977] smart account 3NChATSZDHvSH6ugd3DbNH7cimVn56dSoX4 > SELF 0.00000000 Waves

{ "type": 13, "id": "29TasB5B1KyuoVUSfrJQSUptftRq3W6DkRU2aYtzuMgC", "fee": 1900000, "feeAssetId": null, "timestamp": 1677076247794, "version": 1, "sender": "3NChATSZDHvSH6ugd3DbNH7cimVn56dSoX4", "senderPublicKey": "J74R1yX7kVbJfJ6P4mHDtKDWPfbN6txdGAMUD3K3WVpY", "proofs": [ "2iHFYFGrHK2G2pc4BCYSPNG8CNizDpjHLP3GE3124WX6wiwDc6HMZo5HTsXAQWXLxSm3RDNSiSU4PMnZSnSVtRM5" ], "script": "base64:AAIFAAAAAAAAAC0IAhIJCgcICAgYAQgBEgASCAoGCAgICAgIEgMKARgSAwoBCBIAEgASBAoCCAgAAAA2AAAAAANTRVACAAAAAl9fAAAAAAx3YXZlc0Fzc2V0SWQCAAAABVdBVkVTAAAAABFpbnZhbGlkUHJpY2VBc3NldAIAAAATSW52YWxpZCBwcmljZSBhc3NldAEAAAAIdGhyb3dFcnIAAAABAAAAA21zZwkAAAIAAAABCQAEuQAAAAIJAARMAAAAAgIAAAAQdXNlcl9wb29scy5yaWRlOgkABEwAAAACBQAAAANtc2cFAAAAA25pbAIAAAABIAEAAAAHdGhyb3dQRAAAAAAJAQAAAAh0aHJvd0VycgAAAAECAAAAEVBlcm1pc3Npb24gZGVuaWVkAQAAABR0aHJvd0NyZWF0ZU5vdENhbGxlZAAAAAAJAQAAAAh0aHJvd0VycgAAAAECAAAAJENyZWF0ZSBpcyBub3QgY2FsbGVkIGZvciBhc3NldHMgcGFpcgEAAAARdGhyb3dZb3VOb3RJc3N1ZXIAAAAACQEAAAAIdGhyb3dFcnIAAAABAgAAAB5Zb3UgYXJlIG5vdCBhbW91bnRBc3NldCB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AAAIFAAAADHByaWNlQXNzZXRJZAUAAAADbmlsBQAAAANTRVABAAAAE2tleVByaWNlQXNzZXRBbW91bnQAAAACAAAADWFtb3VudEFzc2V0SWQAAAAMcHJpY2VBc3NldElkCQAEuQAAAAIJAARMAAAAAgIAAAAGJXMlcyVzCQAETAAAAAICAAAAEHByaWNlQXNzZXRBbW91bnQJAARMAAAAAgUAAAANYW1vdW50QXNzZXRJZAkABEwAAAACBQAAAAxwcmljZUFzc2V0SWQFAAAAA25pbAUAAAADU0VQAQAAAAlrZXlIZWlnaHQAAAACAAAADWFtb3VudEFzc2V0SWQAAAAMcHJpY2VBc3NldElkCQAEuQAAAAIJAARMAAAAAgIAAAAGJXMlcyVzCQAETAAAAAICAAAABmhlaWdodAkABEwAAAACBQAAAA1hbW91bnRBc3NldElkCQAETAAAAAIFAAAADHByaWNlQXNzZXRJZAUAAAADbmlsBQAAAANTRVABAAAADWtleUZlZUFzc2V0SWQAAAAACQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAAKZmVlQXNzZXRJZAUAAAADbmlsBQAAAANTRVABAAAADGtleUZlZUFtb3VudAAAAAAJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAAAlmZWVBbW91bnQFAAAAA25pbAUAAAADU0VQAQAAABdrZXlBbW91bnRBc3NldE1pbkFtb3VudAAAAAAJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAABRhbW91bnRBc3NldE1pbkFtb3VudAUAAAADbmlsBQAAAANTRVABAAAAF2tleVByaWNlQXNzZXRzTWluQW1vdW50AAAAAAkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAAFHByaWNlQXNzZXRzTWluQW1vdW50BQAAAANuaWwFAAAAA1NFUAEAAAAOa2V5UHJpY2VBc3NldHMAAAAACQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAALcHJpY2VBc3NldHMFAAAAA25pbAUAAAADU0VQAQA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FuYWdlclB1YmxpY0tleU9yVW5pdAAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAnBrBQAAAAckbWF0Y2gwBQAAAAJwawMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAD3RhcmdldFB1YmxpY0tleYk5zmI=", "chainId": 84, "height": 2460977, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ExaaaMUokbGSpEwkBbXzTPhAeUsVfcozMcVv1KNgwRJN Next: none Diff:
OldNewDifferences
251251 let aM = valueOrElse(getInteger(C()), 0)
252252 let aN = (aM + 1)
253253 let aO = addressFromStringValue(S(A()))
254- let aP = {
255- let aQ = invoke(Y, "poolExistsREADONLY", [w, x], nil)
256- if ($isInstanceOf(aQ, "Boolean"))
257- then aQ
258- else throw("Couldn't cast Any to Boolean")
259- }
260- let aR = [if (!(Z(w, x)))
261- then true
262- else i(), if (aP)
254+ let aP = [if (!(Z(w, x)))
263255 then true
264256 else i(), if (if (ad(ae))
265257 then true
278270 else q(), if ((aB.amount == getInteger(O())))
279271 then true
280272 else r()]
281- if ((aR == aR))
273+ if ((aP == aP))
282274 then {
283- let aS = invoke(aO, "burn", nil, [AttachedPayment(fromBase58String(aw), aB.amount)])
284- if ((aS == aS))
275+ let aQ = invoke(aO, "burn", nil, [AttachedPayment(fromBase58String(aw), aB.amount)])
276+ if ((aQ == aQ))
285277 then [BooleanEntry(I(w, x), true), StringEntry(J(w, x), toString(ae.caller)), IntegerEntry(C(), aN), StringEntry(B(w, x), (toString(aN) + D)), IntegerEntry(M(w, x), height), StringEntry(v(w, x), E), IntegerEntry(K(w, x), az.amount), IntegerEntry(L(w, x), aA.amount)]
286278 else throw("Strict value is not equal to itself.")
287279 }
291283
292284
293285 @Callable(ae)
294-func activate (aT,w,aU,x,aV,aW) = {
295- let aR = [ah(ae), if (Z(w, x))
286+func activate (aR,w,aS,x,aT,aU) = {
287+ let aP = [ah(ae), if (Z(w, x))
296288 then true
297289 else g(), if ((value(getString(v(w, x))) == E))
298290 then true
299291 else o()]
300- if ((aR == aR))
292+ if ((aP == aP))
301293 then {
302- let aX = invoke(Y, "activateNewPool", [aT, w, x, ((aU + aV) + "LP"), (((aU + "/") + aV) + " pool liquidity provider token"), 0, "VLTPOOL", aW], nil)
303- if ((aX == aX))
294+ let aV = invoke(Y, "activateNewPool", [aR, w, x, ((aS + aT) + "LP"), (((aS + "/") + aT) + " pool liquidity provider token"), 0, "VLTPOOL", aU], nil)
295+ if ((aV == aV))
304296 then {
305- let aY = {
306- let W = aX
297+ let aW = {
298+ let W = aV
307299 if ($isInstanceOf(W, "String"))
308300 then {
309301 let an = W
311303 }
312304 else p()
313305 }
314- if ((aY == aY))
306+ if ((aW == aW))
315307 then {
316- let aZ = assetBalance(this, fromBase58String(aY))
317- if ((aZ == aZ))
308+ let aX = assetBalance(this, fromBase58String(aW))
309+ if ((aX == aX))
318310 then {
319- let ba = invoke(addressFromStringValue(aT), "put", [0, false], [AttachedPayment(if ((w == "WAVES"))
311+ let aY = invoke(addressFromStringValue(aR), "put", [0, false], [AttachedPayment(if ((w == "WAVES"))
320312 then unit
321313 else fromBase58String(w), value(getInteger(K(w, x)))), AttachedPayment(if ((x == "WAVES"))
322314 then unit
323315 else fromBase58String(x), value(getInteger(L(w, x))))])
324- if ((ba == ba))
316+ if ((aY == aY))
325317 then {
326- let bb = assetBalance(this, fromBase58String(aY))
327- if ((bb == bb))
318+ let aZ = assetBalance(this, fromBase58String(aW))
319+ if ((aZ == aZ))
328320 then {
329- let bc = value(addressFromString(value(getString(J(w, x)))))
330-[StringEntry(v(w, x), G), ScriptTransfer(bc, (bb - aZ), fromBase58String(aY))]
321+ let ba = value(addressFromString(value(getString(J(w, x)))))
322+[StringEntry(v(w, x), G), ScriptTransfer(ba, (aZ - aX), fromBase58String(aW))]
331323 }
332324 else throw("Strict value is not equal to itself.")
333325 }
345337
346338
347339 @Callable(ae)
348-func setAdmins (bd) = {
340+func setAdmins (bb) = {
349341 let ay = ag(ae)
350342 if ((ay == ay))
351- then [StringEntry(u(), makeString(bd, a))]
343+ then [StringEntry(u(), makeString(bb, a))]
352344 else throw("Strict value is not equal to itself.")
353345 }
354346
355347
356348
357349 @Callable(ae)
358-func setManager (be) = {
350+func setManager (bc) = {
359351 let ay = ag(ae)
360352 if ((ay == ay))
361353 then {
362- let bf = fromBase58String(be)
363- if ((bf == bf))
364- then [StringEntry(t(), be)]
354+ let bd = fromBase58String(bc)
355+ if ((bd == bd))
356+ then [StringEntry(t(), bc)]
365357 else throw("Strict value is not equal to itself.")
366358 }
367359 else throw("Strict value is not equal to itself.")
371363
372364 @Callable(ae)
373365 func confirmManager () = {
374- let bg = ac()
375- let bh = if (isDefined(bg))
366+ let be = ac()
367+ let bf = if (isDefined(be))
376368 then true
377369 else throw("No pending manager")
378- if ((bh == bh))
370+ if ((bf == bf))
379371 then {
380- let bi = if ((ae.callerPublicKey == value(bg)))
372+ let bg = if ((ae.callerPublicKey == value(be)))
381373 then true
382374 else throw("You are not pending manager")
383- if ((bi == bi))
384- then [StringEntry(s(), toBase58String(value(bg))), DeleteEntry(t())]
375+ if ((bg == bg))
376+ then [StringEntry(s(), toBase58String(value(be))), DeleteEntry(t())]
385377 else throw("Strict value is not equal to itself.")
386378 }
387379 else throw("Strict value is not equal to itself.")
409401 }
410402
411403
412-@Verifier(bj)
413-func bk () = {
414- let bl = {
404+@Verifier(bh)
405+func bi () = {
406+ let bj = {
415407 let W = ab()
416408 if ($isInstanceOf(W, "ByteVector"))
417409 then {
419411 af
420412 }
421413 else if ($isInstanceOf(W, "Unit"))
422- then bj.senderPublicKey
414+ then bh.senderPublicKey
423415 else throw("Match error")
424416 }
425- sigVerify(bj.bodyBytes, bj.proofs[0], bl)
417+ sigVerify(bh.bodyBytes, bh.proofs[0], bj)
426418 }
427419
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = "WAVES"
77
88 let c = "Invalid price asset"
99
1010 func d (e) = throw(makeString(["user_pools.ride:", e], " "))
1111
1212
1313 func f () = d("Permission denied")
1414
1515
1616 func g () = d("Create is not called for assets pair")
1717
1818
1919 func h () = d("You are not amountAsset issuer")
2020
2121
2222 func i () = d("Pool with such assets already exists")
2323
2424
2525 func j () = d("Asset is not verified")
2626
2727
2828 func k () = d(c)
2929
3030
3131 func l () = d("Invalid fee asset")
3232
3333
3434 func m () = d("Invalid amount asset attached")
3535
3636
3737 func n () = d("Invalid status")
3838
3939
4040 func o () = d("Can activate pool only in 'pending' status")
4141
4242
4343 func p () = d("FactoryV2 returned not string")
4444
4545
4646 func q () = d("invalid price asset amount")
4747
4848
4949 func r () = d("invalid fee")
5050
5151
5252 func s () = makeString(["%s", "managerPublicKey"], a)
5353
5454
5555 func t () = makeString(["%s", "pendingManagerPublicKey"], a)
5656
5757
5858 func u () = makeString(["%s", "adminPubKeys"], a)
5959
6060
6161 func v (w,x) = makeString(["%s%s%s", "status", w, x], a)
6262
6363
6464 func y () = makeString(["%s", "factoryContract"], a)
6565
6666
6767 func z () = makeString(["%s", "assetsStoreContract"], a)
6868
6969
7070 func A () = makeString(["%s", "emissionContract"], a)
7171
7272
7373 func B (w,x) = makeString(["%s%s%s", "suffix", w, x], a)
7474
7575
7676 func C () = makeString(["%s", "lastIndex"], a)
7777
7878
7979 let D = "u"
8080
8181 let E = "pending"
8282
8383 let F = "declined"
8484
8585 let G = "active"
8686
8787 let H = [E, F, G]
8888
8989 func I (w,x) = makeString(["%s%s%s", "createCalled", w, x], a)
9090
9191
9292 func J (w,x) = makeString(["%s%s%s", "createCaller", w, x], a)
9393
9494
9595 func K (w,x) = makeString(["%s%s%s", "amountAssetAmount", w, x], a)
9696
9797
9898 func L (w,x) = makeString(["%s%s%s", "priceAssetAmount", w, x], a)
9999
100100
101101 func M (w,x) = makeString(["%s%s%s", "height", w, x], a)
102102
103103
104104 func N () = makeString(["%s", "feeAssetId"], a)
105105
106106
107107 func O () = makeString(["%s", "feeAmount"], a)
108108
109109
110110 func P () = makeString(["%s", "amountAssetMinAmount"], a)
111111
112112
113113 func Q () = makeString(["%s", "priceAssetsMinAmount"], a)
114114
115115
116116 func R () = makeString(["%s", "priceAssets"], a)
117117
118118
119119 func S (T) = valueOrErrorMessage(getString(this, T), (T + " is not defined"))
120120
121121
122122 func U (V) = {
123123 let W = V
124124 if ($isInstanceOf(W, "String"))
125125 then {
126126 let X = W
127127 if ((size(X) == 0))
128128 then nil
129129 else split(X, a)
130130 }
131131 else if ($isInstanceOf(W, "Unit"))
132132 then nil
133133 else throw("Match error")
134134 }
135135
136136
137137 let Y = addressFromStringValue(S(y()))
138138
139139 func Z (w,x) = valueOrElse(getBoolean(I(w, x)), false)
140140
141141
142142 func aa (w,x) = if (Z(w, x))
143143 then true
144144 else g()
145145
146146
147147 func ab () = {
148148 let W = getString(s())
149149 if ($isInstanceOf(W, "String"))
150150 then {
151151 let X = W
152152 fromBase58String(X)
153153 }
154154 else if ($isInstanceOf(W, "Unit"))
155155 then unit
156156 else throw("Match error")
157157 }
158158
159159
160160 func ac () = {
161161 let W = getString(t())
162162 if ($isInstanceOf(W, "String"))
163163 then {
164164 let X = W
165165 fromBase58String(X)
166166 }
167167 else if ($isInstanceOf(W, "Unit"))
168168 then unit
169169 else throw("Match error")
170170 }
171171
172172
173173 func ad (ae) = {
174174 let W = ab()
175175 if ($isInstanceOf(W, "ByteVector"))
176176 then {
177177 let af = W
178178 (ae.callerPublicKey == af)
179179 }
180180 else if ($isInstanceOf(W, "Unit"))
181181 then (ae.caller == this)
182182 else throw("Match error")
183183 }
184184
185185
186186 func ag (ae) = if (ad(ae))
187187 then true
188188 else f()
189189
190190
191191 func ah (ae) = {
192192 let ai = U(getString(u()))
193193 if (containsElement(ai, toBase58String(ae.callerPublicKey)))
194194 then true
195195 else ag(ae)
196196 }
197197
198198
199199 func aj (ak) = (valueOrElse(getInteger(addressFromStringValue(S(z())), (("status_<" + ak) + ">")), 0) == 2)
200200
201201
202202 func al (am) = {
203203 let W = am.assetId
204204 if ($isInstanceOf(W, "ByteVector"))
205205 then {
206206 let an = W
207207 let ao = value(assetInfo(an))
208208 $Tuple2(toBase58String(an), ao)
209209 }
210210 else if ($isInstanceOf(W, "Unit"))
211211 then $Tuple2(b, unit)
212212 else throw("Match error")
213213 }
214214
215215
216216 func ap (aq) = containsElement(H, aq)
217217
218218
219219 @Callable(ae)
220220 func constructor (ar,as,at,au,av,aw,ax) = {
221221 let ay = ag(ae)
222222 if ((ay == ay))
223223 then [StringEntry(y(), ar), StringEntry(z(), as), StringEntry(A(), at), StringEntry(Q(), makeString(au, a)), IntegerEntry(P(), av), StringEntry(N(), aw), IntegerEntry(O(), ax)]
224224 else throw("Strict value is not equal to itself.")
225225 }
226226
227227
228228
229229 @Callable(ae)
230230 func create () = {
231231 let az = value(ae.payments[0])
232232 let aA = value(ae.payments[1])
233233 let aB = value(ae.payments[2])
234234 let aC = al(az)
235235 let w = aC._1
236236 let aD = aC._2
237237 let aE = al(aA)
238238 let x = aE._1
239239 let aF = aE._2
240240 let aG = al(aB)
241241 let aw = aG._1
242242 let aH = aG._2
243243 let aI = U(getString(Y, R()))
244244 let aJ = 1
245245 let aK = if (ad(ae))
246246 then aJ
247247 else {
248248 let aL = valueOrErrorMessage(indexOf(aI, x), c)
249249 value(parseInt(U(getString(Q()))[aL]))
250250 }
251251 let aM = valueOrElse(getInteger(C()), 0)
252252 let aN = (aM + 1)
253253 let aO = addressFromStringValue(S(A()))
254- let aP = {
255- let aQ = invoke(Y, "poolExistsREADONLY", [w, x], nil)
256- if ($isInstanceOf(aQ, "Boolean"))
257- then aQ
258- else throw("Couldn't cast Any to Boolean")
259- }
260- let aR = [if (!(Z(w, x)))
261- then true
262- else i(), if (aP)
254+ let aP = [if (!(Z(w, x)))
263255 then true
264256 else i(), if (if (ad(ae))
265257 then true
266258 else aj(w))
267259 then true
268260 else j(), if ((getString(N()) == aw))
269261 then true
270262 else l(), if (if (ad(ae))
271263 then true
272264 else (az.amount >= getIntegerValue(P())))
273265 then true
274266 else m(), if (if (ad(ae))
275267 then true
276268 else (aA.amount >= aK))
277269 then true
278270 else q(), if ((aB.amount == getInteger(O())))
279271 then true
280272 else r()]
281- if ((aR == aR))
273+ if ((aP == aP))
282274 then {
283- let aS = invoke(aO, "burn", nil, [AttachedPayment(fromBase58String(aw), aB.amount)])
284- if ((aS == aS))
275+ let aQ = invoke(aO, "burn", nil, [AttachedPayment(fromBase58String(aw), aB.amount)])
276+ if ((aQ == aQ))
285277 then [BooleanEntry(I(w, x), true), StringEntry(J(w, x), toString(ae.caller)), IntegerEntry(C(), aN), StringEntry(B(w, x), (toString(aN) + D)), IntegerEntry(M(w, x), height), StringEntry(v(w, x), E), IntegerEntry(K(w, x), az.amount), IntegerEntry(L(w, x), aA.amount)]
286278 else throw("Strict value is not equal to itself.")
287279 }
288280 else throw("Strict value is not equal to itself.")
289281 }
290282
291283
292284
293285 @Callable(ae)
294-func activate (aT,w,aU,x,aV,aW) = {
295- let aR = [ah(ae), if (Z(w, x))
286+func activate (aR,w,aS,x,aT,aU) = {
287+ let aP = [ah(ae), if (Z(w, x))
296288 then true
297289 else g(), if ((value(getString(v(w, x))) == E))
298290 then true
299291 else o()]
300- if ((aR == aR))
292+ if ((aP == aP))
301293 then {
302- let aX = invoke(Y, "activateNewPool", [aT, w, x, ((aU + aV) + "LP"), (((aU + "/") + aV) + " pool liquidity provider token"), 0, "VLTPOOL", aW], nil)
303- if ((aX == aX))
294+ let aV = invoke(Y, "activateNewPool", [aR, w, x, ((aS + aT) + "LP"), (((aS + "/") + aT) + " pool liquidity provider token"), 0, "VLTPOOL", aU], nil)
295+ if ((aV == aV))
304296 then {
305- let aY = {
306- let W = aX
297+ let aW = {
298+ let W = aV
307299 if ($isInstanceOf(W, "String"))
308300 then {
309301 let an = W
310302 an
311303 }
312304 else p()
313305 }
314- if ((aY == aY))
306+ if ((aW == aW))
315307 then {
316- let aZ = assetBalance(this, fromBase58String(aY))
317- if ((aZ == aZ))
308+ let aX = assetBalance(this, fromBase58String(aW))
309+ if ((aX == aX))
318310 then {
319- let ba = invoke(addressFromStringValue(aT), "put", [0, false], [AttachedPayment(if ((w == "WAVES"))
311+ let aY = invoke(addressFromStringValue(aR), "put", [0, false], [AttachedPayment(if ((w == "WAVES"))
320312 then unit
321313 else fromBase58String(w), value(getInteger(K(w, x)))), AttachedPayment(if ((x == "WAVES"))
322314 then unit
323315 else fromBase58String(x), value(getInteger(L(w, x))))])
324- if ((ba == ba))
316+ if ((aY == aY))
325317 then {
326- let bb = assetBalance(this, fromBase58String(aY))
327- if ((bb == bb))
318+ let aZ = assetBalance(this, fromBase58String(aW))
319+ if ((aZ == aZ))
328320 then {
329- let bc = value(addressFromString(value(getString(J(w, x)))))
330-[StringEntry(v(w, x), G), ScriptTransfer(bc, (bb - aZ), fromBase58String(aY))]
321+ let ba = value(addressFromString(value(getString(J(w, x)))))
322+[StringEntry(v(w, x), G), ScriptTransfer(ba, (aZ - aX), fromBase58String(aW))]
331323 }
332324 else throw("Strict value is not equal to itself.")
333325 }
334326 else throw("Strict value is not equal to itself.")
335327 }
336328 else throw("Strict value is not equal to itself.")
337329 }
338330 else throw("Strict value is not equal to itself.")
339331 }
340332 else throw("Strict value is not equal to itself.")
341333 }
342334 else throw("Strict value is not equal to itself.")
343335 }
344336
345337
346338
347339 @Callable(ae)
348-func setAdmins (bd) = {
340+func setAdmins (bb) = {
349341 let ay = ag(ae)
350342 if ((ay == ay))
351- then [StringEntry(u(), makeString(bd, a))]
343+ then [StringEntry(u(), makeString(bb, a))]
352344 else throw("Strict value is not equal to itself.")
353345 }
354346
355347
356348
357349 @Callable(ae)
358-func setManager (be) = {
350+func setManager (bc) = {
359351 let ay = ag(ae)
360352 if ((ay == ay))
361353 then {
362- let bf = fromBase58String(be)
363- if ((bf == bf))
364- then [StringEntry(t(), be)]
354+ let bd = fromBase58String(bc)
355+ if ((bd == bd))
356+ then [StringEntry(t(), bc)]
365357 else throw("Strict value is not equal to itself.")
366358 }
367359 else throw("Strict value is not equal to itself.")
368360 }
369361
370362
371363
372364 @Callable(ae)
373365 func confirmManager () = {
374- let bg = ac()
375- let bh = if (isDefined(bg))
366+ let be = ac()
367+ let bf = if (isDefined(be))
376368 then true
377369 else throw("No pending manager")
378- if ((bh == bh))
370+ if ((bf == bf))
379371 then {
380- let bi = if ((ae.callerPublicKey == value(bg)))
372+ let bg = if ((ae.callerPublicKey == value(be)))
381373 then true
382374 else throw("You are not pending manager")
383- if ((bi == bi))
384- then [StringEntry(s(), toBase58String(value(bg))), DeleteEntry(t())]
375+ if ((bg == bg))
376+ then [StringEntry(s(), toBase58String(value(be))), DeleteEntry(t())]
385377 else throw("Strict value is not equal to itself.")
386378 }
387379 else throw("Strict value is not equal to itself.")
388380 }
389381
390382
391383
392384 @Callable(ae)
393385 func priceAssetsREADONLY () = $Tuple2(nil, U(getString(R())))
394386
395387
396388
397389 @Callable(ae)
398390 func statusREADONLY (w,x) = {
399391 let aq = {
400392 let W = getString(v(w, x))
401393 if ($isInstanceOf(W, "String"))
402394 then {
403395 let X = W
404396 X
405397 }
406398 else unit
407399 }
408400 $Tuple2(nil, aq)
409401 }
410402
411403
412-@Verifier(bj)
413-func bk () = {
414- let bl = {
404+@Verifier(bh)
405+func bi () = {
406+ let bj = {
415407 let W = ab()
416408 if ($isInstanceOf(W, "ByteVector"))
417409 then {
418410 let af = W
419411 af
420412 }
421413 else if ($isInstanceOf(W, "Unit"))
422- then bj.senderPublicKey
414+ then bh.senderPublicKey
423415 else throw("Match error")
424416 }
425- sigVerify(bj.bodyBytes, bj.proofs[0], bl)
417+ sigVerify(bh.bodyBytes, bh.proofs[0], bj)
426418 }
427419

github/deemru/w8io/026f985 
72.24 ms