tx · 7QWTpL9726Vun1qSoTrAfJbbNKEinTu31PVws1zsNseH

3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai:  -0.02600000 Waves

2023.05.02 09:51 [2559807] smart account 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai > SELF 0.00000000 Waves

{ "type": 13, "id": "7QWTpL9726Vun1qSoTrAfJbbNKEinTu31PVws1zsNseH", "fee": 2600000, "feeAssetId": null, "timestamp": 1683010324889, "version": 2, "chainId": 84, "sender": "3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai", "senderPublicKey": "2JEaBjtjvMoNGKZmL9QxYefa1VkMJM3vMW8rNvTs9R2H", "proofs": [ "PUfytw8j1VHkj9QvLqiH1W3gv8hDA8wzaxgJPZvKSQG8NjsRJCHqY5TSRqynD91QT3oshMm3V4py4LLQxB6LPPf" ], "script": "base64:BgKUKwgCEgASBAoCCAgSBAoCCAgSAwoBCBIKCggICAgICAgIARIDCgEIEgYKBAgICAgSBAoCCBgSAwoBCBIECgIIGBIDCgEIEgASAwoBGBIKCggICAgICAEICBIECgIIARIDCgEBEgMKAQESBAoCCAESBgoECAgICBIECgIICBIECgIICBIECgIICBIDCgEIEgMKAQgSAwoBCBIDCgEIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgQKAggIEgMKAQgSAwoBCBIDCgEIIgZTQ0FMRTgiBU1VTFQ4IgZNVUxUMTIiB1NDQUxFMTgiBk1VTFQxOCIOUE9PTFdFSUdIVE1VTFQiDkdXWHZpcnR1YWxQT09MIgxsYWJlbFBvb2xzTHAiDWRlZmF1bHRTcHJlYWQiC3dhdmVzU3RyaW5nIhFkZWNpbWFsc011bHRQcmljZSIDU0VQIgVFTVBUWSIKUG9vbEFjdGl2ZSIPUG9vbFB1dERpc2FibGVkIhNQb29sTWF0Y2hlckRpc2FibGVkIgxQb29sU2h1dGRvd24iEmlkeEludGVybmFsQXNzZXRJZCIPaWR4UmVzdXRBY3Rpb25zIiBpZHhJZkF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CCAUCZmQGcHJvb2ZzAAAFAmZmKUKn6A==", "height": 2559807, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AaxkrQ4SAMqRawyTuwASWjtmgFWG3TTxEajXN2iH3FVb Next: pLWsnrdP6ZaJx2eYnARYSaR7fvvXBCKcLE3r2fQSeF5 Diff:
OldNewDifferences
7373 func I () = "%s__allowedLpStableScriptHash"
7474
7575
76-func J () = "%s__allowedLpStableAddonScriptHash"
76+func J () = "%s__swapContract"
7777
7878
79-func K () = "%s__swapContract"
79+func K () = "%s__factoryConfig"
8080
8181
82-func L () = "%s__factoryConfig"
82+func L () = "%s__lpTokensList"
8383
8484
85-func M () = "%s__lpTokensList"
85+func M () = "%s%s__pool__scriptHash"
8686
8787
88-func N () = "%s%s__pool__scriptHash"
88+func N () = "%s%s__matcher__publicKey"
8989
9090
91-func O () = "%s%s__matcher__publicKey"
91+func O () = "%s__legacyFactoryContract"
9292
9393
94-func P () = "%s__legacyFactoryContract"
94+func P () = "%s__legacyPools"
9595
9696
97-func Q () = "%s__legacyPools"
97+func Q () = "%s__managerPublicKey"
9898
9999
100-func R () = "%s__managerPublicKey"
100+func R () = "%s__pendingManagerPublicKey"
101101
102102
103-func S () = "%s__pendingManagerPublicKey"
103+func S () = "%s__adminPubKeys"
104104
105105
106-func T () = "%s__adminPubKeys"
106+func T () = "%s__assetsStoreContract"
107107
108108
109-func U () = "%s__assetsStoreContract"
109+func U () = "%s__votingEmissionContract"
110110
111111
112-func V () = "%s__votingEmissionContract"
112+func V () = makeString(["%s", "priceAssets"], l)
113113
114114
115-func W () = makeString(["%s", "priceAssets"], l)
115+func W () = "%s__priceDecimals"
116116
117117
118-func X () = "%s__priceDecimals"
118+func X () = "%s__shutdown"
119119
120120
121-func Y () = "%s__shutdown"
121+func Y () = "%s__nextInternalAssetId"
122122
123123
124-func Z () = "%s__nextInternalAssetId"
124+func Z (aa) = ("%s%s__poolWeight__" + aa)
125125
126126
127-func aa (ab) = ("%s%s__poolWeight__" + ab)
127+func ab (aa,ac) = ((("%s%s__poolWeight__" + aa) + "__") + toString(ac))
128128
129129
130-func ac (ab,ad) = ((("%s%s__poolWeight__" + ab) + "__") + toString(ad))
130+func ad (ae) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(ae))
131131
132132
133-func ae (af) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(af))
133+func af (ag) = ("%s%s%s__mappings__baseAsset2internalId__" + ag)
134134
135135
136-func ag (ah) = ("%s%s%s__mappings__baseAsset2internalId__" + ah)
136+func ah (ai,aj) = (((("%d%d%s__" + ai) + "__") + aj) + "__config")
137137
138138
139-func ai (aj,ak) = (((("%d%d%s__" + aj) + "__") + ak) + "__config")
140-
141-
142-func al (am) = {
143- let an = am
144- let aj = an._1
145- let ak = an._2
146- makeString(["%d%d%s", toString(aj), toString(ak), "oneTokenOperationsDisabled"], l)
139+func ak (al) = {
140+ let am = al
141+ let ai = am._1
142+ let aj = am._2
143+ makeString(["%d%d%s", toString(ai), toString(aj), "oneTokenOperationsDisabled"], l)
147144 }
148145
149146
150-func ao () = makeString(["%s", "oneTokenOperationsDisabled"], l)
147+func an () = makeString(["%s", "oneTokenOperationsDisabled"], l)
151148
152149
153-func ap (aq) = (("%s%s%s__" + aq) + "__mappings__lpAsset2Pool")
150+func ao (ap) = (("%s%s%s__" + ap) + "__mappings__lpAsset2Pool")
154151
155152
156-func ar (as,at) = (((("%d%d%s%s__" + as) + "__") + at) + "__mappings__PoolAssets2LpAsset")
153+func aq (ar,as) = (((("%d%d%s%s__" + ar) + "__") + as) + "__mappings__PoolAssets2LpAsset")
157154
158155
159-func au (ab) = ("%s%s__spread__" + ab)
156+func at (aa) = ("%s%s__spread__" + aa)
160157
161158
162-func av (aw) = (("%s%s%s__" + aw) + "__mappings__poolContract2PoolAssets")
159+func au (av) = (("%s%s%s__" + av) + "__mappings__poolContract2PoolAssets")
163160
164161
165-func ax (as,at) = (((("%d%d%s%s__" + toString(as)) + "__") + toString(at)) + "__mappings__poolAssets2PoolContract")
162+func aw (ar,as) = (((("%d%d%s%s__" + toString(ar)) + "__") + toString(as)) + "__mappings__poolAssets2PoolContract")
166163
167164
168-func ay (aw) = (("%s%s%s__" + aw) + "__mappings__poolContract2LpAsset")
165+func ax (av) = (("%s%s%s__" + av) + "__mappings__poolContract2LpAsset")
169166
170167
171-func az (aq) = (("%s%s%s__" + aq) + "__mappings__lpAsset2PoolContract")
168+func ay (ap) = (("%s%s%s__" + ap) + "__mappings__lpAsset2PoolContract")
172169
173170
174-func aA (aB,aC) = ((("%s%s%s__wxEmission__" + aB) + "__") + aC)
171+func az (aA,aB) = ((("%s%s%s__wxEmission__" + aA) + "__") + aB)
175172
176173
177-func aD (ab) = ("%s%s__inFee__" + ab)
174+func aC (aa) = ("%s%s__inFee__" + aa)
178175
179176
180-func aE () = "%s__inFeeDefault"
177+func aD () = "%s__inFeeDefault"
181178
182179
183-func aF (ab) = ("%s%s__outFee__" + ab)
180+func aE (aa) = ("%s%s__outFee__" + aa)
184181
185182
186-func aG () = "%s__outFeeDefault"
183+func aF () = "%s__outFeeDefault"
187184
188185
189-func aH (ab) = ("%s%s__skipOrderValidation__" + ab)
186+func aG (aa) = ("%s%s__skipOrderValidation__" + aa)
190187
191188
192-func aI (ab) = ("%s%s__changeAmpDelay__" + ab)
189+func aH (aa) = ("%s%s__changeAmpDelay__" + aa)
193190
194191
195-func aJ (ab) = ("%s%s__changeAmpDelta__" + ab)
192+func aI (aa) = ("%s%s__changeAmpDelta__" + aa)
196193
197194
198-func aK (ab) = ("%s%s__changeAmpTarget__" + ab)
195+func aJ (aa) = ("%s%s__changeAmpTarget__" + aa)
199196
200197
201-func aL () = "%s__sWavesProxyAddress"
198+func aK () = "%s__sWavesProxyAddress"
202199
203200
204-func aM () = "%s__sWavesAssetId"
201+func aL () = "%s__sWavesAssetId"
205202
206203
207-func aN () = "%s__stakingProfitAddress"
204+func aM () = "%s__stakingProfitAddress"
208205
209206
210-func aO (ab,aP) = makeString(["%s%s%s", "leasedRatio", ab, aP], l)
207+func aN (aa,aO) = makeString(["%s%s%s", "leasedRatio", aa, aO], l)
211208
212209
213-func aQ (aP) = makeString(["%s%s", "leasedRatioDefault", aP], l)
210+func aP (aO) = makeString(["%s%s", "leasedRatioDefault", aO], l)
214211
215212
216-func aR (ab,aP) = makeString(["%s%s%s", "leasedRatioTolerance", ab, aP], l)
213+func aQ (aa,aO) = makeString(["%s%s%s", "leasedRatioTolerance", aa, aO], l)
217214
218215
219-func aS (ab,aP) = makeString(["%s%s%s", "minBalance", ab, aP], l)
216+func aR (aa,aO) = makeString(["%s%s%s", "minBalance", aa, aO], l)
220217
221218
222-func aT (aP) = makeString(["%s%s", "minBalanceDefault", aP], l)
219+func aS (aO) = makeString(["%s%s", "minBalanceDefault", aO], l)
223220
224221
225-func aU (aV) = valueOrErrorMessage(getString(this, aV), ("No data for this.key=" + aV))
222+func aT (aU) = valueOrErrorMessage(getString(this, aU), ("No data for this.key=" + aU))
226223
227224
228-func aW (aV) = valueOrErrorMessage(getBoolean(this, aV), ("No data for this.key=" + aV))
225+func aV (aU) = valueOrErrorMessage(getBoolean(this, aU), ("No data for this.key=" + aU))
229226
230227
231-func aX (aV) = valueOrErrorMessage(getInteger(this, aV), ("No data for this.key=" + aV))
228+func aW (aU) = valueOrErrorMessage(getInteger(this, aU), ("No data for this.key=" + aU))
232229
233230
234-func aY (aZ) = if ((aZ == j))
231+func aX (aY) = if ((aY == j))
235232 then unit
236- else fromBase58String(aZ)
233+ else fromBase58String(aY)
237234
238235
239-let ba = 1
236+let aZ = 1
240237
241-let bb = 2
238+let ba = 2
242239
243-let bc = 3
240+let bb = 3
244241
245-let bd = 4
242+let bc = 4
246243
247-let be = 5
244+let bd = 5
248245
249-let bf = 6
246+let be = 6
250247
251-let bg = 7
248+let bf = 7
252249
253-let bh = 8
250+let bg = 8
254251
255-let bi = 9
252+let bh = 9
256253
257-let bj = 10
254+let bi = 10
258255
259-let bk = 11
256+let bj = 11
260257
261-func bl (bm) = addressFromStringValue(bm[bb])
258+func bk (bl) = addressFromStringValue(bl[ba])
262259
263260
264-func bn (bm) = addressFromStringValue(bm[be])
261+func bm (bl) = addressFromStringValue(bl[bd])
265262
266263
267-func bo (bm) = addressFromStringValue(bm[ba])
264+func bn (bl) = addressFromStringValue(bl[aZ])
268265
269266
270-func bp (bm) = addressFromStringValue(bm[bj])
267+func bo (bl) = addressFromStringValue(bl[bi])
271268
272269
273-func bq () = {
274- let br = getString(W())
275- if ($isInstanceOf(br, "String"))
270+func bp () = {
271+ let bq = getString(V())
272+ if ($isInstanceOf(bq, "String"))
276273 then {
277- let bs = br
278- if ((size(bs) == 0))
274+ let br = bq
275+ if ((size(br) == 0))
279276 then nil
280- else split(bs, l)
277+ else split(br, l)
281278 }
282279 else nil
283280 }
284281
285282
286-func bt () = {
287- let br = getString(R())
288- if ($isInstanceOf(br, "String"))
283+func bs () = {
284+ let bq = getString(Q())
285+ if ($isInstanceOf(bq, "String"))
289286 then {
290- let bs = br
291- fromBase58String(bs)
287+ let br = bq
288+ fromBase58String(br)
292289 }
293- else if ($isInstanceOf(br, "Unit"))
290+ else if ($isInstanceOf(bq, "Unit"))
294291 then unit
295292 else throw("Match error")
296293 }
297294
298295
299-func bu () = {
300- let br = getString(S())
301- if ($isInstanceOf(br, "String"))
296+func bt () = {
297+ let bq = getString(R())
298+ if ($isInstanceOf(bq, "String"))
302299 then {
303- let bs = br
304- fromBase58String(bs)
300+ let br = bq
301+ fromBase58String(br)
305302 }
306- else if ($isInstanceOf(br, "Unit"))
303+ else if ($isInstanceOf(bq, "Unit"))
307304 then unit
308305 else throw("Match error")
309306 }
310307
311308
312-let bv = throw("Permission denied")
309+let bu = throw("Permission denied")
313310
314-let bw = throw("Test error here")
311+let bv = throw("Test error here")
315312
316-func bx (by) = if ((by.caller == this))
313+func bw (bx) = if ((bx.caller == this))
317314 then true
318- else bv
315+ else bu
319316
320317
321-func bz (by) = {
322- let br = bt()
323- if ($isInstanceOf(br, "ByteVector"))
318+func by (bx) = {
319+ let bq = bs()
320+ if ($isInstanceOf(bq, "ByteVector"))
324321 then {
325- let bA = br
326- if ((by.callerPublicKey == bA))
322+ let bz = bq
323+ if ((bx.callerPublicKey == bz))
327324 then true
328- else bv
325+ else bu
329326 }
330- else if ($isInstanceOf(br, "Unit"))
331- then bx(by)
327+ else if ($isInstanceOf(bq, "Unit"))
328+ then bw(bx)
332329 else throw("Match error")
333330 }
334331
335332
336-func bB (bC,bD,bE,bF,bG,bH,bI,bJ,bK,bL,bM) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM], l)
333+func bA (bB,bC,bD,bE,bF,bG,bH,bI,bJ,bK,bL) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL], l)
337334
338335
339-func bN (bC,bD,bE,bF,bG,bH,bI) = makeString(["%s%s%s%s%s%s", bC, bD, bE, bF, bG, bH, bI], l)
336+func bM (bB,bC,bD,bE,bF,bG,bH) = makeString(["%s%s%s%s%s%s", bB, bC, bD, bE, bF, bG, bH], l)
340337
341338
342-func bO (ab,bP,bQ,bR,bS,bT,bU,bV,bW,bX,bY) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", ab, bP, bQ, bR, bS, toString(bT), toString(bU), toString(bV), toString(bW), toString(bX), bY], l)
339+func bN (aa,bO,bP,bQ,bR,bS,bT,bU,bV,bW,bX) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", aa, bO, bP, bQ, bR, toString(bS), toString(bT), toString(bU), toString(bV), toString(bW), bX], l)
343340
344341
345-func bZ (ca,cb) = makeString(["%d%d", toString(ca), toString(cb)], l)
342+func bY (bZ,ca) = makeString(["%d%d", toString(bZ), toString(ca)], l)
346343
347344
348-func cc (ab) = {
349- let cd = split(aU(av(ab)), l)
350- let aj = cd[1]
351- let ak = cd[2]
352- split(aU(ai(aj, ak)), l)
345+func cb (aa) = {
346+ let cc = split(aT(au(aa)), l)
347+ let ai = cc[1]
348+ let aj = cc[2]
349+ split(aT(ah(ai, aj)), l)
353350 }
354351
355352
356-func ce (cf,cg) = {
357- let ch = valueOrElse(getInteger(this, ag(cf)), 0)
358- let ci = valueOrElse(getInteger(this, Z()), 0)
359- let cj = if ((ch == 0))
353+func cd (ce,cf) = {
354+ let cg = valueOrElse(getInteger(this, af(ce)), 0)
355+ let ch = valueOrElse(getInteger(this, Y()), 0)
356+ let ci = if ((cg == 0))
360357 then {
361- let ck = (ci + cg)
362- $Tuple3(ck, [IntegerEntry(Z(), ck), IntegerEntry(ag(cf), ck), StringEntry(ae(ck), cf)], true)
358+ let cj = (ch + cf)
359+ $Tuple3(cj, [IntegerEntry(Y(), cj), IntegerEntry(af(ce), cj), StringEntry(ad(cj), ce)], true)
363360 }
364- else $Tuple3(ch, nil, false)
365- cj
361+ else $Tuple3(cg, nil, false)
362+ ci
366363 }
367364
368365
369-func cl (by) = {
370- let cm = split(valueOrElse(getString(T()), m), l)
371- if (containsElement(cm, toBase58String(by.callerPublicKey)))
366+func ck (bx) = {
367+ let cl = split(valueOrElse(getString(S()), m), l)
368+ if (containsElement(cl, toBase58String(bx.callerPublicKey)))
372369 then true
373370 else {
374- let cn = bz(by)
375- if ((cn == cn))
371+ let cm = by(bx)
372+ if ((cm == cm))
376373 then true
377374 else throw("Strict value is not equal to itself.")
378375 }
379376 }
380377
381378
382-func co (aV,cp,cq) = valueOrElse(getInteger(this, aV), valueOrElse(getInteger(this, cp), cq))
379+func cn (aU,co,cp) = valueOrElse(getInteger(this, aU), valueOrElse(getInteger(this, co), cp))
383380
384381
385-func cr (aB,aC) = {
386- let aj = getInteger(ag(aB))
387- let ak = getInteger(ag(aC))
388- if (if ((aj == unit))
382+func cq (aA,aB) = {
383+ let ai = getInteger(af(aA))
384+ let aj = getInteger(af(aB))
385+ if (if ((ai == unit))
389386 then true
390- else (ak == unit))
387+ else (aj == unit))
391388 then false
392389 else {
390+ let cr = toString(value(ai))
393391 let cs = toString(value(aj))
394- let ct = toString(value(ak))
395- let cu = getString(ai(cs, ct))
396- let cv = getString(ai(ct, cs))
397- let cw = if ((cu != unit))
392+ let ct = getString(ah(cr, cs))
393+ let cu = getString(ah(cs, cr))
394+ let cv = if ((ct != unit))
398395 then true
399- else (cv != unit)
400- cw
396+ else (cu != unit)
397+ cv
401398 }
402399 }
403400
404401
405-@Callable(by)
406-func getSwapContractREADONLY () = $Tuple2(nil, aU(K()))
402+@Callable(bx)
403+func getSwapContractREADONLY () = $Tuple2(nil, aT(J()))
407404
408405
409406
410-@Callable(by)
411-func getPoolLeaseConfigREADONLY (ab,aP) = {
412- let cx = {
413- let br = getInteger(this, aO(ab, aP))
414- if ($isInstanceOf(br, "Int"))
407+@Callable(bx)
408+func getPoolLeaseConfigREADONLY (aa,aO) = {
409+ let cw = {
410+ let bq = getInteger(this, aN(aa, aO))
411+ if ($isInstanceOf(bq, "Int"))
415412 then {
416- let cy = br
417- $Tuple2(true, min([100, max([0, cy])]))
413+ let cx = bq
414+ $Tuple2(true, min([100, max([0, cx])]))
418415 }
419416 else {
420- let cz = getInteger(this, aQ(aP))
421- if ($isInstanceOf(cz, "Int"))
417+ let cy = getInteger(this, aP(aO))
418+ if ($isInstanceOf(cy, "Int"))
422419 then {
423- let cA = cz
424- $Tuple2(true, min([100, max([0, cA])]))
420+ let cz = cy
421+ $Tuple2(true, min([100, max([0, cz])]))
425422 }
426423 else $Tuple2(false, 0)
427424 }
428425 }
429- let cB = cx._1
430- let cC = cx._2
431- let cD = {
432- let br = getInteger(this, aS(ab, aP))
433- if ($isInstanceOf(br, "Int"))
426+ let cA = cw._1
427+ let cB = cw._2
428+ let cC = {
429+ let bq = getInteger(this, aR(aa, aO))
430+ if ($isInstanceOf(bq, "Int"))
434431 then {
435- let cE = br
436- max([0, cE])
432+ let cD = bq
433+ max([0, cD])
437434 }
438435 else {
439- let cz = getInteger(this, aT(aP))
440- if ($isInstanceOf(cz, "Int"))
436+ let cy = getInteger(this, aS(aO))
437+ if ($isInstanceOf(cy, "Int"))
441438 then {
442- let cF = cz
443- max([0, cF])
439+ let cE = cy
440+ max([0, cE])
444441 }
445442 else 0
446443 }
447444 }
448- let cG = if ((aP == "WAVES"))
449- then $Tuple3(valueOrElse(getString(this, aL()), ""), getString(this, valueOrElse(aM(), "")), c)
445+ let cF = if ((aO == "WAVES"))
446+ then $Tuple3(valueOrElse(getString(this, aK()), ""), getString(this, valueOrElse(aL(), "")), c)
450447 else $Tuple3("", "", 0)
451- let cH = cG._1
452- let cI = cG._2
453- let cJ = cG._3
454- let cK = valueOrElse(getString(this, aN()), "")
455- $Tuple2(nil, $Tuple7(cB, cC, cD, cH, cI, cJ, cK))
448+ let cG = cF._1
449+ let cH = cF._2
450+ let cI = cF._3
451+ let cJ = valueOrElse(getString(this, aM()), "")
452+ $Tuple2(nil, $Tuple7(cA, cB, cC, cG, cH, cI, cJ))
456453 }
457454
458455
459456
460-@Callable(by)
461-func getLpAssetFromPoolAssetsREADONLY (cL,cM) = if (if ((cL == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"))
462- then (cM == "WAVES")
457+@Callable(bx)
458+func getLpAssetFromPoolAssetsREADONLY (cK,cL) = if (if ((cK == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"))
459+ then (cL == "WAVES")
463460 else false)
464461 then $Tuple2(nil, unit)
465462 else {
466- let cN = value(getInteger(this, ag(cL)))
467- let cO = value(getInteger(this, ag(cM)))
468- let cP = getString(this, ar(toString(cN), toString(cO)))
469- let cQ = if ((cP == unit))
463+ let cM = value(getInteger(this, af(cK)))
464+ let cN = value(getInteger(this, af(cL)))
465+ let cO = getString(this, aq(toString(cM), toString(cN)))
466+ let cP = if ((cO == unit))
470467 then unit
471- else drop(value(cP), 4)
472- $Tuple2(nil, cQ)
468+ else drop(value(cO), 4)
469+ $Tuple2(nil, cP)
473470 }
474471
475472
476473
477-@Callable(by)
478-func getPoolAddressFromLpAssetREADONLY (cR) = $Tuple2(nil, valueOrElse(getString(this, az(cR)), ""))
474+@Callable(bx)
475+func getPoolAddressFromLpAssetREADONLY (cQ) = $Tuple2(nil, valueOrElse(getString(this, ay(cQ)), ""))
479476
480477
481478
482-@Callable(by)
483-func constructor (cS,cT,bE,bF,bG,bH,cU,cV) = {
484- let cW = bz(by)
485- if ((cW == cW))
486- then [StringEntry(L(), bN(cS, cT, bE, bF, bG, bH, cU)), IntegerEntry(X(), cV)]
479+@Callable(bx)
480+func constructor (cR,cS,bD,bE,bF,bG,cT,cU) = {
481+ let cV = by(bx)
482+ if ((cV == cV))
483+ then [StringEntry(K(), bM(cR, cS, bD, bE, bF, bG, cT)), IntegerEntry(W(), cU)]
487484 else throw("Strict value is not equal to itself.")
488485 }
489486
490487
491488
492-@Callable(by)
493-func constructorV2 (cX) = {
494- let cW = bz(by)
495- if ((cW == cW))
489+@Callable(bx)
490+func constructorV2 (cW) = {
491+ let cV = by(bx)
492+ if ((cV == cV))
496493 then {
497- let cY = addressFromPublicKey(fromBase58String(cX))
498- if ((cY == cY))
499- then [StringEntry(O(), cX)]
494+ let cX = addressFromPublicKey(fromBase58String(cW))
495+ if ((cX == cX))
496+ then [StringEntry(N(), cW)]
500497 else throw("Strict value is not equal to itself.")
501498 }
502499 else throw("Strict value is not equal to itself.")
504501
505502
506503
507-@Callable(by)
508-func constructorV3 (bJ,bK,bL,bM) = {
509- let cW = bz(by)
510- if ((cW == cW))
504+@Callable(bx)
505+func constructorV3 (bI,bJ,bK,bL) = {
506+ let cV = by(bx)
507+ if ((cV == cV))
511508 then {
512- let bm = split(aU(L()), l)
513-[StringEntry(L(), bB(bm[1], bm[2], bm[3], bm[4], bm[5], bm[6], bm[7], bJ, bK, bL, bM))]
509+ let bl = split(aT(K()), l)
510+[StringEntry(K(), bA(bl[1], bl[2], bl[3], bl[4], bl[5], bl[6], bl[7], bI, bJ, bK, bL))]
514511 }
515512 else throw("Strict value is not equal to itself.")
516513 }
517514
518515
519516
520-@Callable(by)
521-func constructorV4 (cZ,da) = {
522- let cW = bz(by)
523- if ((cW == cW))
524- then [StringEntry(P(), cZ), StringEntry(Q(), makeString(da, l))]
517+@Callable(bx)
518+func constructorV4 (cY,cZ) = {
519+ let cV = by(bx)
520+ if ((cV == cV))
521+ then [StringEntry(O(), cY), StringEntry(P(), makeString(cZ, l))]
525522 else throw("Strict value is not equal to itself.")
526523 }
527524
528525
529526
530-@Callable(by)
531-func constructorV5 (db) = {
532- let cW = bz(by)
533- if ((cW == cW))
534- then [StringEntry(U(), db)]
527+@Callable(bx)
528+func constructorV5 (da) = {
529+ let cV = by(bx)
530+ if ((cV == cV))
531+ then [StringEntry(T(), da)]
535532 else throw("Strict value is not equal to itself.")
536533 }
537534
538535
539536
540-@Callable(by)
541-func constructorV6 (dc,dd) = {
542- let de = [bz(by), if ((addressFromString(dc) != unit))
537+@Callable(bx)
538+func constructorV6 (db,dc) = {
539+ let dd = [by(bx), if ((addressFromString(db) != unit))
543540 then true
544541 else "invalid voting emission contract address"]
545- if ((de == de))
546- then [StringEntry(V(), dc), StringEntry(W(), makeString(dd, l))]
542+ if ((dd == dd))
543+ then [StringEntry(U(), db), StringEntry(V(), makeString(dc, l))]
547544 else throw("Strict value is not equal to itself.")
548545 }
549546
550547
551548
552-@Callable(by)
553-func setManager (df) = {
554- let cW = bz(by)
555- if ((cW == cW))
549+@Callable(bx)
550+func setManager (de) = {
551+ let cV = by(bx)
552+ if ((cV == cV))
556553 then {
557- let dg = fromBase58String(df)
558- if ((dg == dg))
559- then [StringEntry(S(), df)]
554+ let df = fromBase58String(de)
555+ if ((df == df))
556+ then [StringEntry(R(), de)]
560557 else throw("Strict value is not equal to itself.")
561558 }
562559 else throw("Strict value is not equal to itself.")
564561
565562
566563
567-@Callable(by)
564+@Callable(bx)
568565 func confirmManager () = {
569- let dh = bu()
570- let di = if (isDefined(dh))
566+ let dg = bt()
567+ let dh = if (isDefined(dg))
571568 then true
572569 else throw("No pending manager")
573- if ((di == di))
570+ if ((dh == dh))
574571 then {
575- let dj = if ((by.callerPublicKey == value(dh)))
572+ let di = if ((bx.callerPublicKey == value(dg)))
576573 then true
577574 else throw("You are not pending manager")
578- if ((dj == dj))
579- then [StringEntry(R(), toBase58String(value(dh))), DeleteEntry(S())]
575+ if ((di == di))
576+ then [StringEntry(Q(), toBase58String(value(dg))), DeleteEntry(R())]
580577 else throw("Strict value is not equal to itself.")
581578 }
582579 else throw("Strict value is not equal to itself.")
584581
585582
586583
587-@Callable(by)
588-func setAdmins (dk) = {
589- let cW = bz(by)
590- if ((cW == cW))
591- then [StringEntry(T(), makeString(dk, l))]
584+@Callable(bx)
585+func setAdmins (dj) = {
586+ let cV = by(bx)
587+ if ((cV == cV))
588+ then [StringEntry(S(), makeString(dj, l))]
592589 else throw("Strict value is not equal to itself.")
593590 }
594591
595592
596593
597-@Callable(by)
598-func activateNewPool (ab,bR,bS,dl,dm,dn,bY,do) = {
599- let cW = cl(by)
600- if ((cW == cW))
601- then if (isDefined(getString(av(ab))))
602- then throw((("Pool address " + ab) + " already registered."))
594+@Callable(bx)
595+func activateNewPool (aa,bQ,bR,dk,dl,dm,bX,dn) = {
596+ let cV = ck(bx)
597+ if ((cV == cV))
598+ then if (isDefined(getString(au(aa))))
599+ then throw((("Pool address " + aa) + " already registered."))
603600 else {
604- let dp = ce(bR, 1)
605- let dq = dp._1
606- let dr = ce(bS, if (dp._3)
601+ let do = cd(bQ, 1)
602+ let dp = do._1
603+ let dq = cd(bR, if (do._3)
607604 then 2
608605 else 1)
609- let ds = dr._1
610- let dt = valueOrErrorMessage(scriptHash(addressFromStringValue(ab)), ("No script has been found on pool account " + ab))
611- let du = getBinaryValue(N())
612- let dv = cr(bR, bS)
613- if (dv)
614- then throw((((("Pool " + bR) + "/") + bS) + " has already been activated."))
606+ let dr = dq._1
607+ let ds = valueOrErrorMessage(scriptHash(addressFromStringValue(aa)), ("No script has been found on pool account " + aa))
608+ let dt = getBinaryValue(M())
609+ let du = cq(bQ, bR)
610+ if (du)
611+ then throw((((("Pool " + bQ) + "/") + bR) + " has already been activated."))
615612 else {
616- let dw = value(getString(this, ai(toString(dq), toString(ds))))
613+ let dv = value(getString(this, ah(toString(dp), toString(dr))))
614+ let dw = if ((bQ == "WAVES"))
615+ then k
616+ else pow(10, 0, value(assetInfo(fromBase58String(bQ))).decimals, 0, 0, DOWN)
617617 let dx = if ((bR == "WAVES"))
618618 then k
619619 else pow(10, 0, value(assetInfo(fromBase58String(bR))).decimals, 0, 0, DOWN)
620- let dy = if ((bS == "WAVES"))
621- then k
622- else pow(10, 0, value(assetInfo(fromBase58String(bS))).decimals, 0, 0, DOWN)
623- let dz = Issue(dl, dm, 1, 8, true)
624- let bQ = calculateAssetId(dz)
625- let dA = toBase58String(bQ)
626- let dB = invoke(addressFromStringValue(ab), "activate", [bR, bS], nil)
627- if ((dB == dB))
628- then if ((dB != "success"))
620+ let dy = Issue(dk, dl, 1, 8, true)
621+ let bP = calculateAssetId(dy)
622+ let dz = toBase58String(bP)
623+ let dA = invoke(addressFromStringValue(aa), "activate", [bQ, bR], nil)
624+ if ((dA == dA))
625+ then if ((dA != "success"))
629626 then throw("Pool initialisation error happened.")
630627 else {
631- let db = addressFromStringValue(aU(U()))
632- let dC = invoke(db, "createOrUpdate", [dA, dl, false], nil)
633- if ((dC == dC))
628+ let da = addressFromStringValue(aT(T()))
629+ let dB = invoke(da, "createOrUpdate", [dz, dk, false], nil)
630+ if ((dB == dB))
634631 then {
635- let dD = invoke(db, "addLabel", [dA, h], nil)
636- if ((dD == dD))
632+ let dC = invoke(da, "addLabel", [dz, h], nil)
633+ if ((dC == dC))
637634 then {
638- let dE = invoke(db, "setLogo", [dA, do], nil)
639- if ((dE == dE))
635+ let dD = invoke(da, "setLogo", [dz, dn], nil)
636+ if ((dD == dD))
640637 then {
641- let dF = invoke(db, "addAssetsLink", [bR, bS, dA], nil)
642- if ((dF == dF))
638+ let dE = invoke(da, "addAssetsLink", [bQ, bR, dz], nil)
639+ if ((dE == dE))
643640 then {
644- let dG = invoke(db, "increaseAssetPoolsNumber", [bR], nil)
645- if ((dG == dG))
646- then $Tuple2(((dp._2 ++ dr._2) ++ [dz, Burn(bQ, 1), StringEntry(ai(toString(dq), toString(ds)), bO(ab, toString(n), dA, bR, bS, dx, dy, dq, ds, k, bY)), StringEntry(ap(dA), bZ(dq, ds)), StringEntry(ar(toString(dq), toString(ds)), ("%s__" + dA)), StringEntry(av(ab), bZ(dq, ds)), StringEntry(ax(dq, ds), ab), StringEntry(az(dA), ab), StringEntry(ay(ab), dA), IntegerEntry(aa(ab), dn), IntegerEntry(au(ab), i)]), dA)
641+ let dF = invoke(da, "increaseAssetPoolsNumber", [bQ], nil)
642+ if ((dF == dF))
643+ then $Tuple2(((do._2 ++ dq._2) ++ [dy, Burn(bP, 1), StringEntry(ah(toString(dp), toString(dr)), bN(aa, toString(n), dz, bQ, bR, dw, dx, dp, dr, k, bX)), StringEntry(ao(dz), bY(dp, dr)), StringEntry(aq(toString(dp), toString(dr)), ("%s__" + dz)), StringEntry(au(aa), bY(dp, dr)), StringEntry(aw(dp, dr), aa), StringEntry(ay(dz), aa), StringEntry(ax(aa), dz), IntegerEntry(Z(aa), dm), IntegerEntry(at(aa), i)]), dz)
647644 else throw("Strict value is not equal to itself.")
648645 }
649646 else throw("Strict value is not equal to itself.")
662659
663660
664661
665-@Callable(by)
666-func managePool (ab,dH) = {
667- let cW = bz(by)
668- if ((cW == cW))
662+@Callable(bx)
663+func managePool (aa,dG) = {
664+ let cV = by(bx)
665+ if ((cV == cV))
669666 then {
670- let dI = cc(ab)
671- let bP = dI[v]
672- let dA = dI[w]
673- let bR = dI[x]
674- let bS = dI[y]
675- let dx = parseIntValue(dI[z])
676- let dy = parseIntValue(dI[A])
677- let dq = parseIntValue(dI[B])
678- let ds = parseIntValue(dI[C])
679- let dJ = parseIntValue(dI[D])
680- let bY = dI[E]
681-[StringEntry(ai(toString(dq), toString(ds)), bO(ab, toString(dH), dA, bR, bS, dx, dy, dq, ds, dJ, bY))]
667+ let dH = cb(aa)
668+ let bO = dH[v]
669+ let dz = dH[w]
670+ let bQ = dH[x]
671+ let bR = dH[y]
672+ let dw = parseIntValue(dH[z])
673+ let dx = parseIntValue(dH[A])
674+ let dp = parseIntValue(dH[B])
675+ let dr = parseIntValue(dH[C])
676+ let dI = parseIntValue(dH[D])
677+ let bX = dH[E]
678+[StringEntry(ah(toString(dp), toString(dr)), bN(aa, toString(dG), dz, bQ, bR, dw, dx, dp, dr, dI, bX))]
682679 }
683680 else throw("Strict value is not equal to itself.")
684681 }
685682
686683
687684
688-@Callable(by)
689-func emit (dK) = {
690- let dL = by.caller
691- let dM = by.originCaller
692- let dN = valueOrErrorMessage(getString(ay(toString(dL))), "Invalid LP address called me.")
693- let dO = fromBase58String(dN)
694- let da = split(valueOrElse(getString(Q()), m), l)
695- let cZ = addressFromStringValue(valueOrErrorMessage(getString(P()), "Legacy factory contract does not exists."))
696- if ((0 >= dK))
685+@Callable(bx)
686+func emit (dJ) = {
687+ let dK = bx.caller
688+ let dL = bx.originCaller
689+ let dM = valueOrErrorMessage(getString(ax(toString(dK))), "Invalid LP address called me.")
690+ let dN = fromBase58String(dM)
691+ let cZ = split(valueOrElse(getString(P()), m), l)
692+ let cY = addressFromStringValue(valueOrErrorMessage(getString(O()), "Legacy factory contract does not exists."))
693+ if ((0 >= dJ))
697694 then nil
698- else if (containsElement(da, toString(dL)))
699- then $Tuple2(nil, cZ)
700- else $Tuple2([Reissue(dO, dK, true), ScriptTransfer(by.caller, dK, dO)], "success")
695+ else if (containsElement(cZ, toString(dK)))
696+ then $Tuple2(nil, cY)
697+ else $Tuple2([Reissue(dN, dJ, true), ScriptTransfer(bx.caller, dJ, dN)], "success")
701698 }
702699
703700
704701
705-@Callable(by)
706-func burn (dP) = {
707- let dL = by.caller
708- let dM = by.originCaller
709- let dQ = value(by.payments[0])
710- let dR = value(dQ.amount)
711- let dS = toBase58String(value(dQ.assetId))
712- let dT = valueOrErrorMessage(getString(ay(toString(dL))), "Invalid LP address called me.")
713- if ((dS != dT))
702+@Callable(bx)
703+func burn (dO) = {
704+ let dK = bx.caller
705+ let dL = bx.originCaller
706+ let dP = value(bx.payments[0])
707+ let dQ = value(dP.amount)
708+ let dR = toBase58String(value(dP.assetId))
709+ let dS = valueOrErrorMessage(getString(ax(toString(dK))), "Invalid LP address called me.")
710+ if ((dR != dS))
714711 then throw("Invalid asset passed.")
715- else if ((dP != dR))
712+ else if ((dO != dQ))
716713 then throw("Invalid amount passed.")
717714 else {
718- let dO = fromBase58String(dT)
719- $Tuple2([Burn(dO, dP)], "success")
715+ let dN = fromBase58String(dS)
716+ $Tuple2([Burn(dN, dO)], "success")
720717 }
721718 }
722719
723720
724721
725-@Callable(by)
726-func modifyWeight (bQ,dU) = {
727- let cW = if ((toBase58String(by.caller.bytes) == valueOrElse(getString(this, V()), "")))
722+@Callable(bx)
723+func modifyWeight (bP,dT) = {
724+ let cV = if ((toBase58String(bx.caller.bytes) == valueOrElse(getString(this, U()), "")))
728725 then true
729- else bz(by)
730- if ((cW == cW))
726+ else by(bx)
727+ if ((cV == cV))
731728 then {
732- let aw = aU(az(bQ))
733- let dV = aa(aw)
734- let dW = aa(g)
735- let dX = valueOrElse(getInteger(dW), 0)
736- let dn = valueOrElse(getInteger(dV), 0)
737- let dY = dU
738- let bm = split(aU(L()), l)
739- let cS = bo(bm)
740- let dZ = invoke(cS, "onModifyWeight", [bQ, aw], nil)
741- if ((dZ == dZ))
729+ let av = aT(ay(bP))
730+ let dU = Z(av)
731+ let dV = Z(g)
732+ let dW = valueOrElse(getInteger(dV), 0)
733+ let dm = valueOrElse(getInteger(dU), 0)
734+ let dX = dT
735+ let bl = split(aT(K()), l)
736+ let cR = bn(bl)
737+ let dY = invoke(cR, "onModifyWeight", [bP, av], nil)
738+ if ((dY == dY))
742739 then {
743- let ea = if ((dX == 0))
740+ let dZ = if ((dW == 0))
744741 then nil
745- else [IntegerEntry(dW, 0)]
746- let eb = ac(aw, 0)
747- let ec = getInteger(eb)
748- let ed = if ((ec == unit))
742+ else [IntegerEntry(dV, 0)]
743+ let ea = ab(av, 0)
744+ let eb = getInteger(ea)
745+ let ec = if ((eb == unit))
749746 then nil
750- else [DeleteEntry(eb)]
751- (([IntegerEntry(dV, dY)] ++ ea) ++ ed)
747+ else [DeleteEntry(ea)]
748+ (([IntegerEntry(dU, dX)] ++ dZ) ++ ec)
752749 }
753750 else throw("Strict value is not equal to itself.")
754751 }
757754
758755
759756
760-@Callable(by)
761-func modifyWeights (ee,ef,eg,eh) = {
762- let cW = bz(by)
763- if ((cW == cW))
757+@Callable(bx)
758+func modifyWeights (ed,ee,ef,eg) = {
759+ let cV = by(bx)
760+ if ((cV == cV))
764761 then {
762+ let eh = ((5 * f) / 100)
765763 let ei = ((5 * f) / 100)
766764 let ej = ((5 * f) / 100)
767- let ek = ((5 * f) / 100)
768- let bm = split(aU(L()), l)
769- let el = bo(bm)
770- let em = bp(bm)
771- let en = aa(ee)
772- let eo = aa(ef)
773- let ep = aa(eg)
774- let eq = aa(eh)
775- let er = aX(en)
776- let es = aX(eo)
777- let et = (er - ek)
778- let eu = (es - ek)
779- if ((0 >= et))
780- then throw(("invalid btcWeightNew: " + toString(et)))
781- else if ((0 >= eu))
782- then throw(("invalid ethWeightNew: " + toString(eu)))
765+ let bl = split(aT(K()), l)
766+ let ek = bn(bl)
767+ let el = bo(bl)
768+ let em = Z(ed)
769+ let en = Z(ee)
770+ let eo = Z(ef)
771+ let ep = Z(eg)
772+ let eq = aW(em)
773+ let er = aW(en)
774+ let es = (eq - ej)
775+ let et = (er - ej)
776+ if ((0 >= es))
777+ then throw(("invalid btcWeightNew: " + toString(es)))
778+ else if ((0 >= et))
779+ then throw(("invalid ethWeightNew: " + toString(et)))
783780 else {
784- let ev = aU(ay(ee))
785- let ew = aU(ay(ef))
786- let ex = aU(ay(eg))
787- let ey = aU(ay(eh))
788- let ez = invoke(el, "onModifyWeight", [ev, ee], nil)
789- if ((ez == ez))
781+ let eu = aT(ax(ed))
782+ let ev = aT(ax(ee))
783+ let ew = aT(ax(ef))
784+ let ex = aT(ax(eg))
785+ let ey = invoke(ek, "onModifyWeight", [eu, ed], nil)
786+ if ((ey == ey))
790787 then {
791- let eA = invoke(el, "onModifyWeight", [ew, ef], nil)
792- if ((eA == eA))
788+ let ez = invoke(ek, "onModifyWeight", [ev, ee], nil)
789+ if ((ez == ez))
793790 then {
794- let eB = invoke(el, "onModifyWeight", [ex, eg], nil)
795- if ((eB == eB))
791+ let eA = invoke(ek, "onModifyWeight", [ew, ef], nil)
792+ if ((eA == eA))
796793 then {
797- let eC = invoke(el, "onModifyWeight", [ey, eh], nil)
798- if ((eC == eC))
799- then [IntegerEntry(en, et), IntegerEntry(eo, eu), IntegerEntry(ep, ei), IntegerEntry(eq, ej), IntegerEntry(ac(ee, 0), er), IntegerEntry(ac(ef, 0), es), IntegerEntry(ac(eg, 0), ei), IntegerEntry(ac(eh, 0), ej)]
794+ let eB = invoke(ek, "onModifyWeight", [ex, eg], nil)
795+ if ((eB == eB))
796+ then [IntegerEntry(em, es), IntegerEntry(en, et), IntegerEntry(eo, eh), IntegerEntry(ep, ei), IntegerEntry(ab(ed, 0), eq), IntegerEntry(ab(ee, 0), er), IntegerEntry(ab(ef, 0), eh), IntegerEntry(ab(eg, 0), ei)]
800797 else throw("Strict value is not equal to itself.")
801798 }
802799 else throw("Strict value is not equal to itself.")
811808
812809
813810
814-@Callable(by)
815-func checkWxEmissionPoolLabel (aB,aC) = {
816- let eD = {
817- let br = getBoolean(aA(aB, aC))
818- if ($isInstanceOf(br, "Boolean"))
811+@Callable(bx)
812+func checkWxEmissionPoolLabel (aA,aB) = {
813+ let eC = {
814+ let bq = getBoolean(az(aA, aB))
815+ if ($isInstanceOf(bq, "Boolean"))
819816 then {
820- let cE = br
821- cE
817+ let cD = bq
818+ cD
822819 }
823820 else false
824821 }
825- $Tuple2(nil, eD)
822+ $Tuple2(nil, eC)
826823 }
827824
828825
829826
830-@Callable(by)
831-func setWxEmissionPoolLabel (aB,aC) = {
832- let cW = cl(by)
833- if ((cW == cW))
834- then $Tuple2([BooleanEntry(aA(aB, aC), true)], unit)
827+@Callable(bx)
828+func setWxEmissionPoolLabel (aA,aB) = {
829+ let cV = ck(bx)
830+ if ((cV == cV))
831+ then $Tuple2([BooleanEntry(az(aA, aB), true)], unit)
835832 else throw("Strict value is not equal to itself.")
836833 }
837834
838835
839836
840-@Callable(by)
841-func deleteWxEmissionPoolLabel (aB,aC) = {
842- let cW = if (bx(by))
837+@Callable(bx)
838+func deleteWxEmissionPoolLabel (aA,aB) = {
839+ let cV = if ((bx.caller == this))
843840 then true
844- else cl(by)
845- if ((cW == cW))
846- then $Tuple2([DeleteEntry(aA(aB, aC))], unit)
841+ else ck(bx)
842+ if ((cV == cV))
843+ then $Tuple2([DeleteEntry(az(aA, aB))], unit)
847844 else throw("Strict value is not equal to itself.")
848845 }
849846
850847
851848
852-@Callable(by)
853-func onVerificationLoss (aP) = {
854- let cW = if ((toBase58String(by.caller.bytes) == valueOrElse(getString(this, U()), "")))
849+@Callable(bx)
850+func onVerificationLoss (aO) = {
851+ let cV = if ((toBase58String(bx.caller.bytes) == valueOrElse(getString(this, T()), "")))
855852 then true
856- else bz(by)
857- if ((cW == cW))
853+ else by(bx)
854+ if ((cV == cV))
858855 then {
859- let dd = bq()
860- let eE = if ((size(dd) > 0))
856+ let dc = bp()
857+ let eD = if ((size(dc) > 0))
861858 then true
862859 else throw("invalid price assets")
863- if ((eE == eE))
860+ if ((eD == eD))
864861 then {
865- func eF (eG,eH) = {
866- let cy = invoke(this, "deleteWxEmissionPoolLabel", [aP, eH], nil)
867- if ((cy == cy))
862+ func eE (eF,eG) = {
863+ let cx = invoke(this, "deleteWxEmissionPoolLabel", [aO, eG], nil)
864+ if ((cx == cx))
868865 then unit
869866 else throw("Strict value is not equal to itself.")
870867 }
871868
872- let eI = {
873- let eJ = dd
874- let eK = size(eJ)
875- let eL = unit
876- func eM (eN,eO) = if ((eO >= eK))
877- then eN
878- else eF(eN, eJ[eO])
869+ let eH = {
870+ let eI = dc
871+ let eJ = size(eI)
872+ let eK = unit
873+ func eL (eM,eN) = if ((eN >= eJ))
874+ then eM
875+ else eE(eM, eI[eN])
879876
880- func eP (eN,eO) = if ((eO >= eK))
881- then eN
877+ func eO (eM,eN) = if ((eN >= eJ))
878+ then eM
882879 else throw("List size exceeds 4")
883880
884- eP(eM(eM(eM(eM(eL, 0), 1), 2), 3), 4)
881+ eO(eL(eL(eL(eL(eK, 0), 1), 2), 3), 4)
885882 }
886- if ((eI == eI))
883+ if ((eH == eH))
887884 then $Tuple2(nil, unit)
888885 else throw("Strict value is not equal to itself.")
889886 }
894891
895892
896893
897-@Callable(by)
898-func isPoolOneTokenOperationsDisabledREADONLY (ab) = {
899- let dI = cc(ab)
900- let am = $Tuple2(parseIntValue(dI[B]), parseIntValue(dI[C]))
901- let eQ = valueOrElse(getBoolean(al(am)), false)
902- let eR = valueOrElse(getBoolean(ao()), false)
903- $Tuple2(nil, if (eR)
894+@Callable(bx)
895+func isPoolOneTokenOperationsDisabledREADONLY (aa) = {
896+ let dH = cb(aa)
897+ let al = $Tuple2(parseIntValue(dH[B]), parseIntValue(dH[C]))
898+ let eP = valueOrElse(getBoolean(ak(al)), false)
899+ let eQ = valueOrElse(getBoolean(an()), false)
900+ $Tuple2(nil, if (eQ)
904901 then true
905- else eQ)
902+ else eP)
906903 }
907904
908905
909906
910-@Callable(by)
911-func getInFeeREADONLY (ab) = {
912- let eS = co(aD(ab), aE(), 0)
913- $Tuple2(nil, eS)
907+@Callable(bx)
908+func getInFeeREADONLY (aa) = {
909+ let eR = cn(aC(aa), aD(), 0)
910+ $Tuple2(nil, eR)
914911 }
915912
916913
917914
918-@Callable(by)
919-func getOutFeeREADONLY (ab) = {
920- let eS = co(aF(ab), aG(), fraction(10, b, 10000))
921- $Tuple2(nil, eS)
915+@Callable(bx)
916+func getOutFeeREADONLY (aa) = {
917+ let eR = cn(aE(aa), aF(), fraction(10, b, 10000))
918+ $Tuple2(nil, eR)
922919 }
923920
924921
925922
926-@Callable(by)
927-func poolInfoREADONLY (eT,eU) = {
928- let eV = getInteger(this, ag(eT))
929- let eW = getInteger(this, ag(eU))
930- let eX = getString(this, ax(value(eV), value(eW)))
931- let eY = getString(this, ay(value(eX)))
932- let dv = if (if (isDefined(eV))
923+@Callable(bx)
924+func poolInfoREADONLY (eS,eT) = {
925+ let eU = getInteger(this, af(eS))
926+ let eV = getInteger(this, af(eT))
927+ let eW = getString(this, aw(value(eU), value(eV)))
928+ let eX = getString(this, ax(value(eW)))
929+ let du = if (if (isDefined(eU))
930+ then isDefined(eV)
931+ else false)
933932 then isDefined(eW)
934- else false)
935- then isDefined(eX)
936933 else false
937- let eZ = if (dv)
938- then $Tuple2(addressFromStringValue(value(eX)), aY(value(eY)))
934+ let eY = if (du)
935+ then $Tuple2(addressFromStringValue(value(eW)), aX(value(eX)))
939936 else unit
940- $Tuple2(nil, eZ)
937+ $Tuple2(nil, eY)
941938 }
942939
943940
944941
945-@Callable(by)
946-func getPoolStatusREADONLY (ab) = {
947- let cd = split(aU(av(ab)), l)
948- let aj = cd[1]
949- let ak = cd[2]
950- let cu = split(aU(ai(aj, ak)), l)
951- $Tuple2(nil, parseIntValue(cu[v]))
942+@Callable(bx)
943+func getPoolStatusREADONLY (aa) = {
944+ let cc = split(aT(au(aa)), l)
945+ let ai = cc[1]
946+ let aj = cc[2]
947+ let ct = split(aT(ah(ai, aj)), l)
948+ $Tuple2(nil, parseIntValue(ct[v]))
952949 }
953950
954951
955952
956-@Callable(by)
957-func getPoolConfigREADONLY (ab) = {
958- let cd = split(aU(av(ab)), l)
959- let aj = cd[1]
960- let ak = cd[2]
961- let cu = split(aU(ai(aj, ak)), l)
962- $Tuple2(nil, cu)
953+@Callable(bx)
954+func getPoolConfigREADONLY (aa) = {
955+ let cc = split(aT(au(aa)), l)
956+ let ai = cc[1]
957+ let aj = cc[2]
958+ let ct = split(aT(ah(ai, aj)), l)
959+ $Tuple2(nil, ct)
963960 }
964961
965962
966963
967-@Callable(by)
968-func getPoolConfigByLpAssetIdREADONLY (dA) = {
969- let cd = split(aU(ap(dA)), l)
970- let aj = cd[1]
971- let ak = cd[2]
972- let cu = split(aU(ai(aj, ak)), l)
973- $Tuple2(nil, cu)
964+@Callable(bx)
965+func getPoolConfigByLpAssetIdREADONLY (dz) = {
966+ let cc = split(aT(ao(dz)), l)
967+ let ai = cc[1]
968+ let aj = cc[2]
969+ let ct = split(aT(ah(ai, aj)), l)
970+ $Tuple2(nil, ct)
974971 }
975972
976973
977974
978-@Callable(by)
979-func poolExistsREADONLY (aB,aC) = $Tuple2(nil, cr(aB, aC))
975+@Callable(bx)
976+func poolExistsREADONLY (aA,aB) = $Tuple2(nil, cq(aA, aB))
980977
981978
982979
983-@Callable(by)
984-func skipOrderValidationREADONLY (ab) = $Tuple2(nil, valueOrElse(getBoolean(aH(ab)), false))
980+@Callable(bx)
981+func skipOrderValidationREADONLY (aa) = $Tuple2(nil, valueOrElse(getBoolean(aG(aa)), false))
985982
986983
987984
988-@Callable(by)
989-func getChangeAmpConfigREADONLY (ab) = {
990- let fa = getIntegerValue(aI(ab))
991- let fb = getIntegerValue(aJ(ab))
992- let fc = getIntegerValue(aK(ab))
993- $Tuple2(nil, [fa, fb, fc])
985+@Callable(bx)
986+func getChangeAmpConfigREADONLY (aa) = {
987+ let eZ = getIntegerValue(aH(aa))
988+ let fa = getIntegerValue(aI(aa))
989+ let fb = getIntegerValue(aJ(aa))
990+ $Tuple2(nil, [eZ, fa, fb])
994991 }
995992
996993
997994
998-@Callable(by)
999-func getPoolWeightREADONLY (bQ) = {
1000- let ab = aU(az(bQ))
1001- let fd = valueOrElse(getInteger(aa(ab)), 0)
1002- $Tuple2(nil, fd)
995+@Callable(bx)
996+func getPoolWeightREADONLY (bP) = {
997+ let aa = aT(ay(bP))
998+ let fc = valueOrElse(getInteger(Z(aa)), 0)
999+ $Tuple2(nil, fc)
10031000 }
10041001
10051002
1006-@Verifier(fe)
1007-func ff () = {
1008- let fg = {
1009- let br = bt()
1010- if ($isInstanceOf(br, "ByteVector"))
1003+@Verifier(fd)
1004+func fe () = {
1005+ let ff = {
1006+ let bq = bs()
1007+ if ($isInstanceOf(bq, "ByteVector"))
10111008 then {
1012- let bA = br
1013- bA
1009+ let bz = bq
1010+ bz
10141011 }
1015- else if ($isInstanceOf(br, "Unit"))
1016- then fe.senderPublicKey
1012+ else if ($isInstanceOf(bq, "Unit"))
1013+ then fd.senderPublicKey
10171014 else throw("Match error")
10181015 }
1019- sigVerify(fe.bodyBytes, fe.proofs[0], fg)
1016+ sigVerify(fd.bodyBytes, fd.proofs[0], ff)
10201017 }
10211018
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 8
55
66 let b = 100000000
77
88 let c = 1000000000000
99
1010 let d = 18
1111
1212 let e = toBigInt(1000000000000000000)
1313
1414 let f = b
1515
1616 let g = "GWXvirtualPOOL"
1717
1818 let h = "POOLS_LP"
1919
2020 let i = 2000000
2121
2222 let j = "WAVES"
2323
2424 let k = ((100 * 1000) * 1000)
2525
2626 let l = "__"
2727
2828 let m = ""
2929
3030 let n = 1
3131
3232 let o = 2
3333
3434 let p = 3
3535
3636 let q = 4
3737
3838 let r = 1
3939
4040 let s = 2
4141
4242 let t = 3
4343
4444 let u = 1
4545
4646 let v = 2
4747
4848 let w = 3
4949
5050 let x = 4
5151
5252 let y = 5
5353
5454 let z = 6
5555
5656 let A = 7
5757
5858 let B = 8
5959
6060 let C = 9
6161
6262 let D = 10
6363
6464 let E = 11
6565
6666 let F = "WX_EMISSION"
6767
6868 let G = [F]
6969
7070 func H () = "%s__allowedLpScriptHash"
7171
7272
7373 func I () = "%s__allowedLpStableScriptHash"
7474
7575
76-func J () = "%s__allowedLpStableAddonScriptHash"
76+func J () = "%s__swapContract"
7777
7878
79-func K () = "%s__swapContract"
79+func K () = "%s__factoryConfig"
8080
8181
82-func L () = "%s__factoryConfig"
82+func L () = "%s__lpTokensList"
8383
8484
85-func M () = "%s__lpTokensList"
85+func M () = "%s%s__pool__scriptHash"
8686
8787
88-func N () = "%s%s__pool__scriptHash"
88+func N () = "%s%s__matcher__publicKey"
8989
9090
91-func O () = "%s%s__matcher__publicKey"
91+func O () = "%s__legacyFactoryContract"
9292
9393
94-func P () = "%s__legacyFactoryContract"
94+func P () = "%s__legacyPools"
9595
9696
97-func Q () = "%s__legacyPools"
97+func Q () = "%s__managerPublicKey"
9898
9999
100-func R () = "%s__managerPublicKey"
100+func R () = "%s__pendingManagerPublicKey"
101101
102102
103-func S () = "%s__pendingManagerPublicKey"
103+func S () = "%s__adminPubKeys"
104104
105105
106-func T () = "%s__adminPubKeys"
106+func T () = "%s__assetsStoreContract"
107107
108108
109-func U () = "%s__assetsStoreContract"
109+func U () = "%s__votingEmissionContract"
110110
111111
112-func V () = "%s__votingEmissionContract"
112+func V () = makeString(["%s", "priceAssets"], l)
113113
114114
115-func W () = makeString(["%s", "priceAssets"], l)
115+func W () = "%s__priceDecimals"
116116
117117
118-func X () = "%s__priceDecimals"
118+func X () = "%s__shutdown"
119119
120120
121-func Y () = "%s__shutdown"
121+func Y () = "%s__nextInternalAssetId"
122122
123123
124-func Z () = "%s__nextInternalAssetId"
124+func Z (aa) = ("%s%s__poolWeight__" + aa)
125125
126126
127-func aa (ab) = ("%s%s__poolWeight__" + ab)
127+func ab (aa,ac) = ((("%s%s__poolWeight__" + aa) + "__") + toString(ac))
128128
129129
130-func ac (ab,ad) = ((("%s%s__poolWeight__" + ab) + "__") + toString(ad))
130+func ad (ae) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(ae))
131131
132132
133-func ae (af) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(af))
133+func af (ag) = ("%s%s%s__mappings__baseAsset2internalId__" + ag)
134134
135135
136-func ag (ah) = ("%s%s%s__mappings__baseAsset2internalId__" + ah)
136+func ah (ai,aj) = (((("%d%d%s__" + ai) + "__") + aj) + "__config")
137137
138138
139-func ai (aj,ak) = (((("%d%d%s__" + aj) + "__") + ak) + "__config")
140-
141-
142-func al (am) = {
143- let an = am
144- let aj = an._1
145- let ak = an._2
146- makeString(["%d%d%s", toString(aj), toString(ak), "oneTokenOperationsDisabled"], l)
139+func ak (al) = {
140+ let am = al
141+ let ai = am._1
142+ let aj = am._2
143+ makeString(["%d%d%s", toString(ai), toString(aj), "oneTokenOperationsDisabled"], l)
147144 }
148145
149146
150-func ao () = makeString(["%s", "oneTokenOperationsDisabled"], l)
147+func an () = makeString(["%s", "oneTokenOperationsDisabled"], l)
151148
152149
153-func ap (aq) = (("%s%s%s__" + aq) + "__mappings__lpAsset2Pool")
150+func ao (ap) = (("%s%s%s__" + ap) + "__mappings__lpAsset2Pool")
154151
155152
156-func ar (as,at) = (((("%d%d%s%s__" + as) + "__") + at) + "__mappings__PoolAssets2LpAsset")
153+func aq (ar,as) = (((("%d%d%s%s__" + ar) + "__") + as) + "__mappings__PoolAssets2LpAsset")
157154
158155
159-func au (ab) = ("%s%s__spread__" + ab)
156+func at (aa) = ("%s%s__spread__" + aa)
160157
161158
162-func av (aw) = (("%s%s%s__" + aw) + "__mappings__poolContract2PoolAssets")
159+func au (av) = (("%s%s%s__" + av) + "__mappings__poolContract2PoolAssets")
163160
164161
165-func ax (as,at) = (((("%d%d%s%s__" + toString(as)) + "__") + toString(at)) + "__mappings__poolAssets2PoolContract")
162+func aw (ar,as) = (((("%d%d%s%s__" + toString(ar)) + "__") + toString(as)) + "__mappings__poolAssets2PoolContract")
166163
167164
168-func ay (aw) = (("%s%s%s__" + aw) + "__mappings__poolContract2LpAsset")
165+func ax (av) = (("%s%s%s__" + av) + "__mappings__poolContract2LpAsset")
169166
170167
171-func az (aq) = (("%s%s%s__" + aq) + "__mappings__lpAsset2PoolContract")
168+func ay (ap) = (("%s%s%s__" + ap) + "__mappings__lpAsset2PoolContract")
172169
173170
174-func aA (aB,aC) = ((("%s%s%s__wxEmission__" + aB) + "__") + aC)
171+func az (aA,aB) = ((("%s%s%s__wxEmission__" + aA) + "__") + aB)
175172
176173
177-func aD (ab) = ("%s%s__inFee__" + ab)
174+func aC (aa) = ("%s%s__inFee__" + aa)
178175
179176
180-func aE () = "%s__inFeeDefault"
177+func aD () = "%s__inFeeDefault"
181178
182179
183-func aF (ab) = ("%s%s__outFee__" + ab)
180+func aE (aa) = ("%s%s__outFee__" + aa)
184181
185182
186-func aG () = "%s__outFeeDefault"
183+func aF () = "%s__outFeeDefault"
187184
188185
189-func aH (ab) = ("%s%s__skipOrderValidation__" + ab)
186+func aG (aa) = ("%s%s__skipOrderValidation__" + aa)
190187
191188
192-func aI (ab) = ("%s%s__changeAmpDelay__" + ab)
189+func aH (aa) = ("%s%s__changeAmpDelay__" + aa)
193190
194191
195-func aJ (ab) = ("%s%s__changeAmpDelta__" + ab)
192+func aI (aa) = ("%s%s__changeAmpDelta__" + aa)
196193
197194
198-func aK (ab) = ("%s%s__changeAmpTarget__" + ab)
195+func aJ (aa) = ("%s%s__changeAmpTarget__" + aa)
199196
200197
201-func aL () = "%s__sWavesProxyAddress"
198+func aK () = "%s__sWavesProxyAddress"
202199
203200
204-func aM () = "%s__sWavesAssetId"
201+func aL () = "%s__sWavesAssetId"
205202
206203
207-func aN () = "%s__stakingProfitAddress"
204+func aM () = "%s__stakingProfitAddress"
208205
209206
210-func aO (ab,aP) = makeString(["%s%s%s", "leasedRatio", ab, aP], l)
207+func aN (aa,aO) = makeString(["%s%s%s", "leasedRatio", aa, aO], l)
211208
212209
213-func aQ (aP) = makeString(["%s%s", "leasedRatioDefault", aP], l)
210+func aP (aO) = makeString(["%s%s", "leasedRatioDefault", aO], l)
214211
215212
216-func aR (ab,aP) = makeString(["%s%s%s", "leasedRatioTolerance", ab, aP], l)
213+func aQ (aa,aO) = makeString(["%s%s%s", "leasedRatioTolerance", aa, aO], l)
217214
218215
219-func aS (ab,aP) = makeString(["%s%s%s", "minBalance", ab, aP], l)
216+func aR (aa,aO) = makeString(["%s%s%s", "minBalance", aa, aO], l)
220217
221218
222-func aT (aP) = makeString(["%s%s", "minBalanceDefault", aP], l)
219+func aS (aO) = makeString(["%s%s", "minBalanceDefault", aO], l)
223220
224221
225-func aU (aV) = valueOrErrorMessage(getString(this, aV), ("No data for this.key=" + aV))
222+func aT (aU) = valueOrErrorMessage(getString(this, aU), ("No data for this.key=" + aU))
226223
227224
228-func aW (aV) = valueOrErrorMessage(getBoolean(this, aV), ("No data for this.key=" + aV))
225+func aV (aU) = valueOrErrorMessage(getBoolean(this, aU), ("No data for this.key=" + aU))
229226
230227
231-func aX (aV) = valueOrErrorMessage(getInteger(this, aV), ("No data for this.key=" + aV))
228+func aW (aU) = valueOrErrorMessage(getInteger(this, aU), ("No data for this.key=" + aU))
232229
233230
234-func aY (aZ) = if ((aZ == j))
231+func aX (aY) = if ((aY == j))
235232 then unit
236- else fromBase58String(aZ)
233+ else fromBase58String(aY)
237234
238235
239-let ba = 1
236+let aZ = 1
240237
241-let bb = 2
238+let ba = 2
242239
243-let bc = 3
240+let bb = 3
244241
245-let bd = 4
242+let bc = 4
246243
247-let be = 5
244+let bd = 5
248245
249-let bf = 6
246+let be = 6
250247
251-let bg = 7
248+let bf = 7
252249
253-let bh = 8
250+let bg = 8
254251
255-let bi = 9
252+let bh = 9
256253
257-let bj = 10
254+let bi = 10
258255
259-let bk = 11
256+let bj = 11
260257
261-func bl (bm) = addressFromStringValue(bm[bb])
258+func bk (bl) = addressFromStringValue(bl[ba])
262259
263260
264-func bn (bm) = addressFromStringValue(bm[be])
261+func bm (bl) = addressFromStringValue(bl[bd])
265262
266263
267-func bo (bm) = addressFromStringValue(bm[ba])
264+func bn (bl) = addressFromStringValue(bl[aZ])
268265
269266
270-func bp (bm) = addressFromStringValue(bm[bj])
267+func bo (bl) = addressFromStringValue(bl[bi])
271268
272269
273-func bq () = {
274- let br = getString(W())
275- if ($isInstanceOf(br, "String"))
270+func bp () = {
271+ let bq = getString(V())
272+ if ($isInstanceOf(bq, "String"))
276273 then {
277- let bs = br
278- if ((size(bs) == 0))
274+ let br = bq
275+ if ((size(br) == 0))
279276 then nil
280- else split(bs, l)
277+ else split(br, l)
281278 }
282279 else nil
283280 }
284281
285282
286-func bt () = {
287- let br = getString(R())
288- if ($isInstanceOf(br, "String"))
283+func bs () = {
284+ let bq = getString(Q())
285+ if ($isInstanceOf(bq, "String"))
289286 then {
290- let bs = br
291- fromBase58String(bs)
287+ let br = bq
288+ fromBase58String(br)
292289 }
293- else if ($isInstanceOf(br, "Unit"))
290+ else if ($isInstanceOf(bq, "Unit"))
294291 then unit
295292 else throw("Match error")
296293 }
297294
298295
299-func bu () = {
300- let br = getString(S())
301- if ($isInstanceOf(br, "String"))
296+func bt () = {
297+ let bq = getString(R())
298+ if ($isInstanceOf(bq, "String"))
302299 then {
303- let bs = br
304- fromBase58String(bs)
300+ let br = bq
301+ fromBase58String(br)
305302 }
306- else if ($isInstanceOf(br, "Unit"))
303+ else if ($isInstanceOf(bq, "Unit"))
307304 then unit
308305 else throw("Match error")
309306 }
310307
311308
312-let bv = throw("Permission denied")
309+let bu = throw("Permission denied")
313310
314-let bw = throw("Test error here")
311+let bv = throw("Test error here")
315312
316-func bx (by) = if ((by.caller == this))
313+func bw (bx) = if ((bx.caller == this))
317314 then true
318- else bv
315+ else bu
319316
320317
321-func bz (by) = {
322- let br = bt()
323- if ($isInstanceOf(br, "ByteVector"))
318+func by (bx) = {
319+ let bq = bs()
320+ if ($isInstanceOf(bq, "ByteVector"))
324321 then {
325- let bA = br
326- if ((by.callerPublicKey == bA))
322+ let bz = bq
323+ if ((bx.callerPublicKey == bz))
327324 then true
328- else bv
325+ else bu
329326 }
330- else if ($isInstanceOf(br, "Unit"))
331- then bx(by)
327+ else if ($isInstanceOf(bq, "Unit"))
328+ then bw(bx)
332329 else throw("Match error")
333330 }
334331
335332
336-func bB (bC,bD,bE,bF,bG,bH,bI,bJ,bK,bL,bM) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM], l)
333+func bA (bB,bC,bD,bE,bF,bG,bH,bI,bJ,bK,bL) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL], l)
337334
338335
339-func bN (bC,bD,bE,bF,bG,bH,bI) = makeString(["%s%s%s%s%s%s", bC, bD, bE, bF, bG, bH, bI], l)
336+func bM (bB,bC,bD,bE,bF,bG,bH) = makeString(["%s%s%s%s%s%s", bB, bC, bD, bE, bF, bG, bH], l)
340337
341338
342-func bO (ab,bP,bQ,bR,bS,bT,bU,bV,bW,bX,bY) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", ab, bP, bQ, bR, bS, toString(bT), toString(bU), toString(bV), toString(bW), toString(bX), bY], l)
339+func bN (aa,bO,bP,bQ,bR,bS,bT,bU,bV,bW,bX) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", aa, bO, bP, bQ, bR, toString(bS), toString(bT), toString(bU), toString(bV), toString(bW), bX], l)
343340
344341
345-func bZ (ca,cb) = makeString(["%d%d", toString(ca), toString(cb)], l)
342+func bY (bZ,ca) = makeString(["%d%d", toString(bZ), toString(ca)], l)
346343
347344
348-func cc (ab) = {
349- let cd = split(aU(av(ab)), l)
350- let aj = cd[1]
351- let ak = cd[2]
352- split(aU(ai(aj, ak)), l)
345+func cb (aa) = {
346+ let cc = split(aT(au(aa)), l)
347+ let ai = cc[1]
348+ let aj = cc[2]
349+ split(aT(ah(ai, aj)), l)
353350 }
354351
355352
356-func ce (cf,cg) = {
357- let ch = valueOrElse(getInteger(this, ag(cf)), 0)
358- let ci = valueOrElse(getInteger(this, Z()), 0)
359- let cj = if ((ch == 0))
353+func cd (ce,cf) = {
354+ let cg = valueOrElse(getInteger(this, af(ce)), 0)
355+ let ch = valueOrElse(getInteger(this, Y()), 0)
356+ let ci = if ((cg == 0))
360357 then {
361- let ck = (ci + cg)
362- $Tuple3(ck, [IntegerEntry(Z(), ck), IntegerEntry(ag(cf), ck), StringEntry(ae(ck), cf)], true)
358+ let cj = (ch + cf)
359+ $Tuple3(cj, [IntegerEntry(Y(), cj), IntegerEntry(af(ce), cj), StringEntry(ad(cj), ce)], true)
363360 }
364- else $Tuple3(ch, nil, false)
365- cj
361+ else $Tuple3(cg, nil, false)
362+ ci
366363 }
367364
368365
369-func cl (by) = {
370- let cm = split(valueOrElse(getString(T()), m), l)
371- if (containsElement(cm, toBase58String(by.callerPublicKey)))
366+func ck (bx) = {
367+ let cl = split(valueOrElse(getString(S()), m), l)
368+ if (containsElement(cl, toBase58String(bx.callerPublicKey)))
372369 then true
373370 else {
374- let cn = bz(by)
375- if ((cn == cn))
371+ let cm = by(bx)
372+ if ((cm == cm))
376373 then true
377374 else throw("Strict value is not equal to itself.")
378375 }
379376 }
380377
381378
382-func co (aV,cp,cq) = valueOrElse(getInteger(this, aV), valueOrElse(getInteger(this, cp), cq))
379+func cn (aU,co,cp) = valueOrElse(getInteger(this, aU), valueOrElse(getInteger(this, co), cp))
383380
384381
385-func cr (aB,aC) = {
386- let aj = getInteger(ag(aB))
387- let ak = getInteger(ag(aC))
388- if (if ((aj == unit))
382+func cq (aA,aB) = {
383+ let ai = getInteger(af(aA))
384+ let aj = getInteger(af(aB))
385+ if (if ((ai == unit))
389386 then true
390- else (ak == unit))
387+ else (aj == unit))
391388 then false
392389 else {
390+ let cr = toString(value(ai))
393391 let cs = toString(value(aj))
394- let ct = toString(value(ak))
395- let cu = getString(ai(cs, ct))
396- let cv = getString(ai(ct, cs))
397- let cw = if ((cu != unit))
392+ let ct = getString(ah(cr, cs))
393+ let cu = getString(ah(cs, cr))
394+ let cv = if ((ct != unit))
398395 then true
399- else (cv != unit)
400- cw
396+ else (cu != unit)
397+ cv
401398 }
402399 }
403400
404401
405-@Callable(by)
406-func getSwapContractREADONLY () = $Tuple2(nil, aU(K()))
402+@Callable(bx)
403+func getSwapContractREADONLY () = $Tuple2(nil, aT(J()))
407404
408405
409406
410-@Callable(by)
411-func getPoolLeaseConfigREADONLY (ab,aP) = {
412- let cx = {
413- let br = getInteger(this, aO(ab, aP))
414- if ($isInstanceOf(br, "Int"))
407+@Callable(bx)
408+func getPoolLeaseConfigREADONLY (aa,aO) = {
409+ let cw = {
410+ let bq = getInteger(this, aN(aa, aO))
411+ if ($isInstanceOf(bq, "Int"))
415412 then {
416- let cy = br
417- $Tuple2(true, min([100, max([0, cy])]))
413+ let cx = bq
414+ $Tuple2(true, min([100, max([0, cx])]))
418415 }
419416 else {
420- let cz = getInteger(this, aQ(aP))
421- if ($isInstanceOf(cz, "Int"))
417+ let cy = getInteger(this, aP(aO))
418+ if ($isInstanceOf(cy, "Int"))
422419 then {
423- let cA = cz
424- $Tuple2(true, min([100, max([0, cA])]))
420+ let cz = cy
421+ $Tuple2(true, min([100, max([0, cz])]))
425422 }
426423 else $Tuple2(false, 0)
427424 }
428425 }
429- let cB = cx._1
430- let cC = cx._2
431- let cD = {
432- let br = getInteger(this, aS(ab, aP))
433- if ($isInstanceOf(br, "Int"))
426+ let cA = cw._1
427+ let cB = cw._2
428+ let cC = {
429+ let bq = getInteger(this, aR(aa, aO))
430+ if ($isInstanceOf(bq, "Int"))
434431 then {
435- let cE = br
436- max([0, cE])
432+ let cD = bq
433+ max([0, cD])
437434 }
438435 else {
439- let cz = getInteger(this, aT(aP))
440- if ($isInstanceOf(cz, "Int"))
436+ let cy = getInteger(this, aS(aO))
437+ if ($isInstanceOf(cy, "Int"))
441438 then {
442- let cF = cz
443- max([0, cF])
439+ let cE = cy
440+ max([0, cE])
444441 }
445442 else 0
446443 }
447444 }
448- let cG = if ((aP == "WAVES"))
449- then $Tuple3(valueOrElse(getString(this, aL()), ""), getString(this, valueOrElse(aM(), "")), c)
445+ let cF = if ((aO == "WAVES"))
446+ then $Tuple3(valueOrElse(getString(this, aK()), ""), getString(this, valueOrElse(aL(), "")), c)
450447 else $Tuple3("", "", 0)
451- let cH = cG._1
452- let cI = cG._2
453- let cJ = cG._3
454- let cK = valueOrElse(getString(this, aN()), "")
455- $Tuple2(nil, $Tuple7(cB, cC, cD, cH, cI, cJ, cK))
448+ let cG = cF._1
449+ let cH = cF._2
450+ let cI = cF._3
451+ let cJ = valueOrElse(getString(this, aM()), "")
452+ $Tuple2(nil, $Tuple7(cA, cB, cC, cG, cH, cI, cJ))
456453 }
457454
458455
459456
460-@Callable(by)
461-func getLpAssetFromPoolAssetsREADONLY (cL,cM) = if (if ((cL == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"))
462- then (cM == "WAVES")
457+@Callable(bx)
458+func getLpAssetFromPoolAssetsREADONLY (cK,cL) = if (if ((cK == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"))
459+ then (cL == "WAVES")
463460 else false)
464461 then $Tuple2(nil, unit)
465462 else {
466- let cN = value(getInteger(this, ag(cL)))
467- let cO = value(getInteger(this, ag(cM)))
468- let cP = getString(this, ar(toString(cN), toString(cO)))
469- let cQ = if ((cP == unit))
463+ let cM = value(getInteger(this, af(cK)))
464+ let cN = value(getInteger(this, af(cL)))
465+ let cO = getString(this, aq(toString(cM), toString(cN)))
466+ let cP = if ((cO == unit))
470467 then unit
471- else drop(value(cP), 4)
472- $Tuple2(nil, cQ)
468+ else drop(value(cO), 4)
469+ $Tuple2(nil, cP)
473470 }
474471
475472
476473
477-@Callable(by)
478-func getPoolAddressFromLpAssetREADONLY (cR) = $Tuple2(nil, valueOrElse(getString(this, az(cR)), ""))
474+@Callable(bx)
475+func getPoolAddressFromLpAssetREADONLY (cQ) = $Tuple2(nil, valueOrElse(getString(this, ay(cQ)), ""))
479476
480477
481478
482-@Callable(by)
483-func constructor (cS,cT,bE,bF,bG,bH,cU,cV) = {
484- let cW = bz(by)
485- if ((cW == cW))
486- then [StringEntry(L(), bN(cS, cT, bE, bF, bG, bH, cU)), IntegerEntry(X(), cV)]
479+@Callable(bx)
480+func constructor (cR,cS,bD,bE,bF,bG,cT,cU) = {
481+ let cV = by(bx)
482+ if ((cV == cV))
483+ then [StringEntry(K(), bM(cR, cS, bD, bE, bF, bG, cT)), IntegerEntry(W(), cU)]
487484 else throw("Strict value is not equal to itself.")
488485 }
489486
490487
491488
492-@Callable(by)
493-func constructorV2 (cX) = {
494- let cW = bz(by)
495- if ((cW == cW))
489+@Callable(bx)
490+func constructorV2 (cW) = {
491+ let cV = by(bx)
492+ if ((cV == cV))
496493 then {
497- let cY = addressFromPublicKey(fromBase58String(cX))
498- if ((cY == cY))
499- then [StringEntry(O(), cX)]
494+ let cX = addressFromPublicKey(fromBase58String(cW))
495+ if ((cX == cX))
496+ then [StringEntry(N(), cW)]
500497 else throw("Strict value is not equal to itself.")
501498 }
502499 else throw("Strict value is not equal to itself.")
503500 }
504501
505502
506503
507-@Callable(by)
508-func constructorV3 (bJ,bK,bL,bM) = {
509- let cW = bz(by)
510- if ((cW == cW))
504+@Callable(bx)
505+func constructorV3 (bI,bJ,bK,bL) = {
506+ let cV = by(bx)
507+ if ((cV == cV))
511508 then {
512- let bm = split(aU(L()), l)
513-[StringEntry(L(), bB(bm[1], bm[2], bm[3], bm[4], bm[5], bm[6], bm[7], bJ, bK, bL, bM))]
509+ let bl = split(aT(K()), l)
510+[StringEntry(K(), bA(bl[1], bl[2], bl[3], bl[4], bl[5], bl[6], bl[7], bI, bJ, bK, bL))]
514511 }
515512 else throw("Strict value is not equal to itself.")
516513 }
517514
518515
519516
520-@Callable(by)
521-func constructorV4 (cZ,da) = {
522- let cW = bz(by)
523- if ((cW == cW))
524- then [StringEntry(P(), cZ), StringEntry(Q(), makeString(da, l))]
517+@Callable(bx)
518+func constructorV4 (cY,cZ) = {
519+ let cV = by(bx)
520+ if ((cV == cV))
521+ then [StringEntry(O(), cY), StringEntry(P(), makeString(cZ, l))]
525522 else throw("Strict value is not equal to itself.")
526523 }
527524
528525
529526
530-@Callable(by)
531-func constructorV5 (db) = {
532- let cW = bz(by)
533- if ((cW == cW))
534- then [StringEntry(U(), db)]
527+@Callable(bx)
528+func constructorV5 (da) = {
529+ let cV = by(bx)
530+ if ((cV == cV))
531+ then [StringEntry(T(), da)]
535532 else throw("Strict value is not equal to itself.")
536533 }
537534
538535
539536
540-@Callable(by)
541-func constructorV6 (dc,dd) = {
542- let de = [bz(by), if ((addressFromString(dc) != unit))
537+@Callable(bx)
538+func constructorV6 (db,dc) = {
539+ let dd = [by(bx), if ((addressFromString(db) != unit))
543540 then true
544541 else "invalid voting emission contract address"]
545- if ((de == de))
546- then [StringEntry(V(), dc), StringEntry(W(), makeString(dd, l))]
542+ if ((dd == dd))
543+ then [StringEntry(U(), db), StringEntry(V(), makeString(dc, l))]
547544 else throw("Strict value is not equal to itself.")
548545 }
549546
550547
551548
552-@Callable(by)
553-func setManager (df) = {
554- let cW = bz(by)
555- if ((cW == cW))
549+@Callable(bx)
550+func setManager (de) = {
551+ let cV = by(bx)
552+ if ((cV == cV))
556553 then {
557- let dg = fromBase58String(df)
558- if ((dg == dg))
559- then [StringEntry(S(), df)]
554+ let df = fromBase58String(de)
555+ if ((df == df))
556+ then [StringEntry(R(), de)]
560557 else throw("Strict value is not equal to itself.")
561558 }
562559 else throw("Strict value is not equal to itself.")
563560 }
564561
565562
566563
567-@Callable(by)
564+@Callable(bx)
568565 func confirmManager () = {
569- let dh = bu()
570- let di = if (isDefined(dh))
566+ let dg = bt()
567+ let dh = if (isDefined(dg))
571568 then true
572569 else throw("No pending manager")
573- if ((di == di))
570+ if ((dh == dh))
574571 then {
575- let dj = if ((by.callerPublicKey == value(dh)))
572+ let di = if ((bx.callerPublicKey == value(dg)))
576573 then true
577574 else throw("You are not pending manager")
578- if ((dj == dj))
579- then [StringEntry(R(), toBase58String(value(dh))), DeleteEntry(S())]
575+ if ((di == di))
576+ then [StringEntry(Q(), toBase58String(value(dg))), DeleteEntry(R())]
580577 else throw("Strict value is not equal to itself.")
581578 }
582579 else throw("Strict value is not equal to itself.")
583580 }
584581
585582
586583
587-@Callable(by)
588-func setAdmins (dk) = {
589- let cW = bz(by)
590- if ((cW == cW))
591- then [StringEntry(T(), makeString(dk, l))]
584+@Callable(bx)
585+func setAdmins (dj) = {
586+ let cV = by(bx)
587+ if ((cV == cV))
588+ then [StringEntry(S(), makeString(dj, l))]
592589 else throw("Strict value is not equal to itself.")
593590 }
594591
595592
596593
597-@Callable(by)
598-func activateNewPool (ab,bR,bS,dl,dm,dn,bY,do) = {
599- let cW = cl(by)
600- if ((cW == cW))
601- then if (isDefined(getString(av(ab))))
602- then throw((("Pool address " + ab) + " already registered."))
594+@Callable(bx)
595+func activateNewPool (aa,bQ,bR,dk,dl,dm,bX,dn) = {
596+ let cV = ck(bx)
597+ if ((cV == cV))
598+ then if (isDefined(getString(au(aa))))
599+ then throw((("Pool address " + aa) + " already registered."))
603600 else {
604- let dp = ce(bR, 1)
605- let dq = dp._1
606- let dr = ce(bS, if (dp._3)
601+ let do = cd(bQ, 1)
602+ let dp = do._1
603+ let dq = cd(bR, if (do._3)
607604 then 2
608605 else 1)
609- let ds = dr._1
610- let dt = valueOrErrorMessage(scriptHash(addressFromStringValue(ab)), ("No script has been found on pool account " + ab))
611- let du = getBinaryValue(N())
612- let dv = cr(bR, bS)
613- if (dv)
614- then throw((((("Pool " + bR) + "/") + bS) + " has already been activated."))
606+ let dr = dq._1
607+ let ds = valueOrErrorMessage(scriptHash(addressFromStringValue(aa)), ("No script has been found on pool account " + aa))
608+ let dt = getBinaryValue(M())
609+ let du = cq(bQ, bR)
610+ if (du)
611+ then throw((((("Pool " + bQ) + "/") + bR) + " has already been activated."))
615612 else {
616- let dw = value(getString(this, ai(toString(dq), toString(ds))))
613+ let dv = value(getString(this, ah(toString(dp), toString(dr))))
614+ let dw = if ((bQ == "WAVES"))
615+ then k
616+ else pow(10, 0, value(assetInfo(fromBase58String(bQ))).decimals, 0, 0, DOWN)
617617 let dx = if ((bR == "WAVES"))
618618 then k
619619 else pow(10, 0, value(assetInfo(fromBase58String(bR))).decimals, 0, 0, DOWN)
620- let dy = if ((bS == "WAVES"))
621- then k
622- else pow(10, 0, value(assetInfo(fromBase58String(bS))).decimals, 0, 0, DOWN)
623- let dz = Issue(dl, dm, 1, 8, true)
624- let bQ = calculateAssetId(dz)
625- let dA = toBase58String(bQ)
626- let dB = invoke(addressFromStringValue(ab), "activate", [bR, bS], nil)
627- if ((dB == dB))
628- then if ((dB != "success"))
620+ let dy = Issue(dk, dl, 1, 8, true)
621+ let bP = calculateAssetId(dy)
622+ let dz = toBase58String(bP)
623+ let dA = invoke(addressFromStringValue(aa), "activate", [bQ, bR], nil)
624+ if ((dA == dA))
625+ then if ((dA != "success"))
629626 then throw("Pool initialisation error happened.")
630627 else {
631- let db = addressFromStringValue(aU(U()))
632- let dC = invoke(db, "createOrUpdate", [dA, dl, false], nil)
633- if ((dC == dC))
628+ let da = addressFromStringValue(aT(T()))
629+ let dB = invoke(da, "createOrUpdate", [dz, dk, false], nil)
630+ if ((dB == dB))
634631 then {
635- let dD = invoke(db, "addLabel", [dA, h], nil)
636- if ((dD == dD))
632+ let dC = invoke(da, "addLabel", [dz, h], nil)
633+ if ((dC == dC))
637634 then {
638- let dE = invoke(db, "setLogo", [dA, do], nil)
639- if ((dE == dE))
635+ let dD = invoke(da, "setLogo", [dz, dn], nil)
636+ if ((dD == dD))
640637 then {
641- let dF = invoke(db, "addAssetsLink", [bR, bS, dA], nil)
642- if ((dF == dF))
638+ let dE = invoke(da, "addAssetsLink", [bQ, bR, dz], nil)
639+ if ((dE == dE))
643640 then {
644- let dG = invoke(db, "increaseAssetPoolsNumber", [bR], nil)
645- if ((dG == dG))
646- then $Tuple2(((dp._2 ++ dr._2) ++ [dz, Burn(bQ, 1), StringEntry(ai(toString(dq), toString(ds)), bO(ab, toString(n), dA, bR, bS, dx, dy, dq, ds, k, bY)), StringEntry(ap(dA), bZ(dq, ds)), StringEntry(ar(toString(dq), toString(ds)), ("%s__" + dA)), StringEntry(av(ab), bZ(dq, ds)), StringEntry(ax(dq, ds), ab), StringEntry(az(dA), ab), StringEntry(ay(ab), dA), IntegerEntry(aa(ab), dn), IntegerEntry(au(ab), i)]), dA)
641+ let dF = invoke(da, "increaseAssetPoolsNumber", [bQ], nil)
642+ if ((dF == dF))
643+ then $Tuple2(((do._2 ++ dq._2) ++ [dy, Burn(bP, 1), StringEntry(ah(toString(dp), toString(dr)), bN(aa, toString(n), dz, bQ, bR, dw, dx, dp, dr, k, bX)), StringEntry(ao(dz), bY(dp, dr)), StringEntry(aq(toString(dp), toString(dr)), ("%s__" + dz)), StringEntry(au(aa), bY(dp, dr)), StringEntry(aw(dp, dr), aa), StringEntry(ay(dz), aa), StringEntry(ax(aa), dz), IntegerEntry(Z(aa), dm), IntegerEntry(at(aa), i)]), dz)
647644 else throw("Strict value is not equal to itself.")
648645 }
649646 else throw("Strict value is not equal to itself.")
650647 }
651648 else throw("Strict value is not equal to itself.")
652649 }
653650 else throw("Strict value is not equal to itself.")
654651 }
655652 else throw("Strict value is not equal to itself.")
656653 }
657654 else throw("Strict value is not equal to itself.")
658655 }
659656 }
660657 else throw("Strict value is not equal to itself.")
661658 }
662659
663660
664661
665-@Callable(by)
666-func managePool (ab,dH) = {
667- let cW = bz(by)
668- if ((cW == cW))
662+@Callable(bx)
663+func managePool (aa,dG) = {
664+ let cV = by(bx)
665+ if ((cV == cV))
669666 then {
670- let dI = cc(ab)
671- let bP = dI[v]
672- let dA = dI[w]
673- let bR = dI[x]
674- let bS = dI[y]
675- let dx = parseIntValue(dI[z])
676- let dy = parseIntValue(dI[A])
677- let dq = parseIntValue(dI[B])
678- let ds = parseIntValue(dI[C])
679- let dJ = parseIntValue(dI[D])
680- let bY = dI[E]
681-[StringEntry(ai(toString(dq), toString(ds)), bO(ab, toString(dH), dA, bR, bS, dx, dy, dq, ds, dJ, bY))]
667+ let dH = cb(aa)
668+ let bO = dH[v]
669+ let dz = dH[w]
670+ let bQ = dH[x]
671+ let bR = dH[y]
672+ let dw = parseIntValue(dH[z])
673+ let dx = parseIntValue(dH[A])
674+ let dp = parseIntValue(dH[B])
675+ let dr = parseIntValue(dH[C])
676+ let dI = parseIntValue(dH[D])
677+ let bX = dH[E]
678+[StringEntry(ah(toString(dp), toString(dr)), bN(aa, toString(dG), dz, bQ, bR, dw, dx, dp, dr, dI, bX))]
682679 }
683680 else throw("Strict value is not equal to itself.")
684681 }
685682
686683
687684
688-@Callable(by)
689-func emit (dK) = {
690- let dL = by.caller
691- let dM = by.originCaller
692- let dN = valueOrErrorMessage(getString(ay(toString(dL))), "Invalid LP address called me.")
693- let dO = fromBase58String(dN)
694- let da = split(valueOrElse(getString(Q()), m), l)
695- let cZ = addressFromStringValue(valueOrErrorMessage(getString(P()), "Legacy factory contract does not exists."))
696- if ((0 >= dK))
685+@Callable(bx)
686+func emit (dJ) = {
687+ let dK = bx.caller
688+ let dL = bx.originCaller
689+ let dM = valueOrErrorMessage(getString(ax(toString(dK))), "Invalid LP address called me.")
690+ let dN = fromBase58String(dM)
691+ let cZ = split(valueOrElse(getString(P()), m), l)
692+ let cY = addressFromStringValue(valueOrErrorMessage(getString(O()), "Legacy factory contract does not exists."))
693+ if ((0 >= dJ))
697694 then nil
698- else if (containsElement(da, toString(dL)))
699- then $Tuple2(nil, cZ)
700- else $Tuple2([Reissue(dO, dK, true), ScriptTransfer(by.caller, dK, dO)], "success")
695+ else if (containsElement(cZ, toString(dK)))
696+ then $Tuple2(nil, cY)
697+ else $Tuple2([Reissue(dN, dJ, true), ScriptTransfer(bx.caller, dJ, dN)], "success")
701698 }
702699
703700
704701
705-@Callable(by)
706-func burn (dP) = {
707- let dL = by.caller
708- let dM = by.originCaller
709- let dQ = value(by.payments[0])
710- let dR = value(dQ.amount)
711- let dS = toBase58String(value(dQ.assetId))
712- let dT = valueOrErrorMessage(getString(ay(toString(dL))), "Invalid LP address called me.")
713- if ((dS != dT))
702+@Callable(bx)
703+func burn (dO) = {
704+ let dK = bx.caller
705+ let dL = bx.originCaller
706+ let dP = value(bx.payments[0])
707+ let dQ = value(dP.amount)
708+ let dR = toBase58String(value(dP.assetId))
709+ let dS = valueOrErrorMessage(getString(ax(toString(dK))), "Invalid LP address called me.")
710+ if ((dR != dS))
714711 then throw("Invalid asset passed.")
715- else if ((dP != dR))
712+ else if ((dO != dQ))
716713 then throw("Invalid amount passed.")
717714 else {
718- let dO = fromBase58String(dT)
719- $Tuple2([Burn(dO, dP)], "success")
715+ let dN = fromBase58String(dS)
716+ $Tuple2([Burn(dN, dO)], "success")
720717 }
721718 }
722719
723720
724721
725-@Callable(by)
726-func modifyWeight (bQ,dU) = {
727- let cW = if ((toBase58String(by.caller.bytes) == valueOrElse(getString(this, V()), "")))
722+@Callable(bx)
723+func modifyWeight (bP,dT) = {
724+ let cV = if ((toBase58String(bx.caller.bytes) == valueOrElse(getString(this, U()), "")))
728725 then true
729- else bz(by)
730- if ((cW == cW))
726+ else by(bx)
727+ if ((cV == cV))
731728 then {
732- let aw = aU(az(bQ))
733- let dV = aa(aw)
734- let dW = aa(g)
735- let dX = valueOrElse(getInteger(dW), 0)
736- let dn = valueOrElse(getInteger(dV), 0)
737- let dY = dU
738- let bm = split(aU(L()), l)
739- let cS = bo(bm)
740- let dZ = invoke(cS, "onModifyWeight", [bQ, aw], nil)
741- if ((dZ == dZ))
729+ let av = aT(ay(bP))
730+ let dU = Z(av)
731+ let dV = Z(g)
732+ let dW = valueOrElse(getInteger(dV), 0)
733+ let dm = valueOrElse(getInteger(dU), 0)
734+ let dX = dT
735+ let bl = split(aT(K()), l)
736+ let cR = bn(bl)
737+ let dY = invoke(cR, "onModifyWeight", [bP, av], nil)
738+ if ((dY == dY))
742739 then {
743- let ea = if ((dX == 0))
740+ let dZ = if ((dW == 0))
744741 then nil
745- else [IntegerEntry(dW, 0)]
746- let eb = ac(aw, 0)
747- let ec = getInteger(eb)
748- let ed = if ((ec == unit))
742+ else [IntegerEntry(dV, 0)]
743+ let ea = ab(av, 0)
744+ let eb = getInteger(ea)
745+ let ec = if ((eb == unit))
749746 then nil
750- else [DeleteEntry(eb)]
751- (([IntegerEntry(dV, dY)] ++ ea) ++ ed)
747+ else [DeleteEntry(ea)]
748+ (([IntegerEntry(dU, dX)] ++ dZ) ++ ec)
752749 }
753750 else throw("Strict value is not equal to itself.")
754751 }
755752 else throw("Strict value is not equal to itself.")
756753 }
757754
758755
759756
760-@Callable(by)
761-func modifyWeights (ee,ef,eg,eh) = {
762- let cW = bz(by)
763- if ((cW == cW))
757+@Callable(bx)
758+func modifyWeights (ed,ee,ef,eg) = {
759+ let cV = by(bx)
760+ if ((cV == cV))
764761 then {
762+ let eh = ((5 * f) / 100)
765763 let ei = ((5 * f) / 100)
766764 let ej = ((5 * f) / 100)
767- let ek = ((5 * f) / 100)
768- let bm = split(aU(L()), l)
769- let el = bo(bm)
770- let em = bp(bm)
771- let en = aa(ee)
772- let eo = aa(ef)
773- let ep = aa(eg)
774- let eq = aa(eh)
775- let er = aX(en)
776- let es = aX(eo)
777- let et = (er - ek)
778- let eu = (es - ek)
779- if ((0 >= et))
780- then throw(("invalid btcWeightNew: " + toString(et)))
781- else if ((0 >= eu))
782- then throw(("invalid ethWeightNew: " + toString(eu)))
765+ let bl = split(aT(K()), l)
766+ let ek = bn(bl)
767+ let el = bo(bl)
768+ let em = Z(ed)
769+ let en = Z(ee)
770+ let eo = Z(ef)
771+ let ep = Z(eg)
772+ let eq = aW(em)
773+ let er = aW(en)
774+ let es = (eq - ej)
775+ let et = (er - ej)
776+ if ((0 >= es))
777+ then throw(("invalid btcWeightNew: " + toString(es)))
778+ else if ((0 >= et))
779+ then throw(("invalid ethWeightNew: " + toString(et)))
783780 else {
784- let ev = aU(ay(ee))
785- let ew = aU(ay(ef))
786- let ex = aU(ay(eg))
787- let ey = aU(ay(eh))
788- let ez = invoke(el, "onModifyWeight", [ev, ee], nil)
789- if ((ez == ez))
781+ let eu = aT(ax(ed))
782+ let ev = aT(ax(ee))
783+ let ew = aT(ax(ef))
784+ let ex = aT(ax(eg))
785+ let ey = invoke(ek, "onModifyWeight", [eu, ed], nil)
786+ if ((ey == ey))
790787 then {
791- let eA = invoke(el, "onModifyWeight", [ew, ef], nil)
792- if ((eA == eA))
788+ let ez = invoke(ek, "onModifyWeight", [ev, ee], nil)
789+ if ((ez == ez))
793790 then {
794- let eB = invoke(el, "onModifyWeight", [ex, eg], nil)
795- if ((eB == eB))
791+ let eA = invoke(ek, "onModifyWeight", [ew, ef], nil)
792+ if ((eA == eA))
796793 then {
797- let eC = invoke(el, "onModifyWeight", [ey, eh], nil)
798- if ((eC == eC))
799- then [IntegerEntry(en, et), IntegerEntry(eo, eu), IntegerEntry(ep, ei), IntegerEntry(eq, ej), IntegerEntry(ac(ee, 0), er), IntegerEntry(ac(ef, 0), es), IntegerEntry(ac(eg, 0), ei), IntegerEntry(ac(eh, 0), ej)]
794+ let eB = invoke(ek, "onModifyWeight", [ex, eg], nil)
795+ if ((eB == eB))
796+ then [IntegerEntry(em, es), IntegerEntry(en, et), IntegerEntry(eo, eh), IntegerEntry(ep, ei), IntegerEntry(ab(ed, 0), eq), IntegerEntry(ab(ee, 0), er), IntegerEntry(ab(ef, 0), eh), IntegerEntry(ab(eg, 0), ei)]
800797 else throw("Strict value is not equal to itself.")
801798 }
802799 else throw("Strict value is not equal to itself.")
803800 }
804801 else throw("Strict value is not equal to itself.")
805802 }
806803 else throw("Strict value is not equal to itself.")
807804 }
808805 }
809806 else throw("Strict value is not equal to itself.")
810807 }
811808
812809
813810
814-@Callable(by)
815-func checkWxEmissionPoolLabel (aB,aC) = {
816- let eD = {
817- let br = getBoolean(aA(aB, aC))
818- if ($isInstanceOf(br, "Boolean"))
811+@Callable(bx)
812+func checkWxEmissionPoolLabel (aA,aB) = {
813+ let eC = {
814+ let bq = getBoolean(az(aA, aB))
815+ if ($isInstanceOf(bq, "Boolean"))
819816 then {
820- let cE = br
821- cE
817+ let cD = bq
818+ cD
822819 }
823820 else false
824821 }
825- $Tuple2(nil, eD)
822+ $Tuple2(nil, eC)
826823 }
827824
828825
829826
830-@Callable(by)
831-func setWxEmissionPoolLabel (aB,aC) = {
832- let cW = cl(by)
833- if ((cW == cW))
834- then $Tuple2([BooleanEntry(aA(aB, aC), true)], unit)
827+@Callable(bx)
828+func setWxEmissionPoolLabel (aA,aB) = {
829+ let cV = ck(bx)
830+ if ((cV == cV))
831+ then $Tuple2([BooleanEntry(az(aA, aB), true)], unit)
835832 else throw("Strict value is not equal to itself.")
836833 }
837834
838835
839836
840-@Callable(by)
841-func deleteWxEmissionPoolLabel (aB,aC) = {
842- let cW = if (bx(by))
837+@Callable(bx)
838+func deleteWxEmissionPoolLabel (aA,aB) = {
839+ let cV = if ((bx.caller == this))
843840 then true
844- else cl(by)
845- if ((cW == cW))
846- then $Tuple2([DeleteEntry(aA(aB, aC))], unit)
841+ else ck(bx)
842+ if ((cV == cV))
843+ then $Tuple2([DeleteEntry(az(aA, aB))], unit)
847844 else throw("Strict value is not equal to itself.")
848845 }
849846
850847
851848
852-@Callable(by)
853-func onVerificationLoss (aP) = {
854- let cW = if ((toBase58String(by.caller.bytes) == valueOrElse(getString(this, U()), "")))
849+@Callable(bx)
850+func onVerificationLoss (aO) = {
851+ let cV = if ((toBase58String(bx.caller.bytes) == valueOrElse(getString(this, T()), "")))
855852 then true
856- else bz(by)
857- if ((cW == cW))
853+ else by(bx)
854+ if ((cV == cV))
858855 then {
859- let dd = bq()
860- let eE = if ((size(dd) > 0))
856+ let dc = bp()
857+ let eD = if ((size(dc) > 0))
861858 then true
862859 else throw("invalid price assets")
863- if ((eE == eE))
860+ if ((eD == eD))
864861 then {
865- func eF (eG,eH) = {
866- let cy = invoke(this, "deleteWxEmissionPoolLabel", [aP, eH], nil)
867- if ((cy == cy))
862+ func eE (eF,eG) = {
863+ let cx = invoke(this, "deleteWxEmissionPoolLabel", [aO, eG], nil)
864+ if ((cx == cx))
868865 then unit
869866 else throw("Strict value is not equal to itself.")
870867 }
871868
872- let eI = {
873- let eJ = dd
874- let eK = size(eJ)
875- let eL = unit
876- func eM (eN,eO) = if ((eO >= eK))
877- then eN
878- else eF(eN, eJ[eO])
869+ let eH = {
870+ let eI = dc
871+ let eJ = size(eI)
872+ let eK = unit
873+ func eL (eM,eN) = if ((eN >= eJ))
874+ then eM
875+ else eE(eM, eI[eN])
879876
880- func eP (eN,eO) = if ((eO >= eK))
881- then eN
877+ func eO (eM,eN) = if ((eN >= eJ))
878+ then eM
882879 else throw("List size exceeds 4")
883880
884- eP(eM(eM(eM(eM(eL, 0), 1), 2), 3), 4)
881+ eO(eL(eL(eL(eL(eK, 0), 1), 2), 3), 4)
885882 }
886- if ((eI == eI))
883+ if ((eH == eH))
887884 then $Tuple2(nil, unit)
888885 else throw("Strict value is not equal to itself.")
889886 }
890887 else throw("Strict value is not equal to itself.")
891888 }
892889 else throw("Strict value is not equal to itself.")
893890 }
894891
895892
896893
897-@Callable(by)
898-func isPoolOneTokenOperationsDisabledREADONLY (ab) = {
899- let dI = cc(ab)
900- let am = $Tuple2(parseIntValue(dI[B]), parseIntValue(dI[C]))
901- let eQ = valueOrElse(getBoolean(al(am)), false)
902- let eR = valueOrElse(getBoolean(ao()), false)
903- $Tuple2(nil, if (eR)
894+@Callable(bx)
895+func isPoolOneTokenOperationsDisabledREADONLY (aa) = {
896+ let dH = cb(aa)
897+ let al = $Tuple2(parseIntValue(dH[B]), parseIntValue(dH[C]))
898+ let eP = valueOrElse(getBoolean(ak(al)), false)
899+ let eQ = valueOrElse(getBoolean(an()), false)
900+ $Tuple2(nil, if (eQ)
904901 then true
905- else eQ)
902+ else eP)
906903 }
907904
908905
909906
910-@Callable(by)
911-func getInFeeREADONLY (ab) = {
912- let eS = co(aD(ab), aE(), 0)
913- $Tuple2(nil, eS)
907+@Callable(bx)
908+func getInFeeREADONLY (aa) = {
909+ let eR = cn(aC(aa), aD(), 0)
910+ $Tuple2(nil, eR)
914911 }
915912
916913
917914
918-@Callable(by)
919-func getOutFeeREADONLY (ab) = {
920- let eS = co(aF(ab), aG(), fraction(10, b, 10000))
921- $Tuple2(nil, eS)
915+@Callable(bx)
916+func getOutFeeREADONLY (aa) = {
917+ let eR = cn(aE(aa), aF(), fraction(10, b, 10000))
918+ $Tuple2(nil, eR)
922919 }
923920
924921
925922
926-@Callable(by)
927-func poolInfoREADONLY (eT,eU) = {
928- let eV = getInteger(this, ag(eT))
929- let eW = getInteger(this, ag(eU))
930- let eX = getString(this, ax(value(eV), value(eW)))
931- let eY = getString(this, ay(value(eX)))
932- let dv = if (if (isDefined(eV))
923+@Callable(bx)
924+func poolInfoREADONLY (eS,eT) = {
925+ let eU = getInteger(this, af(eS))
926+ let eV = getInteger(this, af(eT))
927+ let eW = getString(this, aw(value(eU), value(eV)))
928+ let eX = getString(this, ax(value(eW)))
929+ let du = if (if (isDefined(eU))
930+ then isDefined(eV)
931+ else false)
933932 then isDefined(eW)
934- else false)
935- then isDefined(eX)
936933 else false
937- let eZ = if (dv)
938- then $Tuple2(addressFromStringValue(value(eX)), aY(value(eY)))
934+ let eY = if (du)
935+ then $Tuple2(addressFromStringValue(value(eW)), aX(value(eX)))
939936 else unit
940- $Tuple2(nil, eZ)
937+ $Tuple2(nil, eY)
941938 }
942939
943940
944941
945-@Callable(by)
946-func getPoolStatusREADONLY (ab) = {
947- let cd = split(aU(av(ab)), l)
948- let aj = cd[1]
949- let ak = cd[2]
950- let cu = split(aU(ai(aj, ak)), l)
951- $Tuple2(nil, parseIntValue(cu[v]))
942+@Callable(bx)
943+func getPoolStatusREADONLY (aa) = {
944+ let cc = split(aT(au(aa)), l)
945+ let ai = cc[1]
946+ let aj = cc[2]
947+ let ct = split(aT(ah(ai, aj)), l)
948+ $Tuple2(nil, parseIntValue(ct[v]))
952949 }
953950
954951
955952
956-@Callable(by)
957-func getPoolConfigREADONLY (ab) = {
958- let cd = split(aU(av(ab)), l)
959- let aj = cd[1]
960- let ak = cd[2]
961- let cu = split(aU(ai(aj, ak)), l)
962- $Tuple2(nil, cu)
953+@Callable(bx)
954+func getPoolConfigREADONLY (aa) = {
955+ let cc = split(aT(au(aa)), l)
956+ let ai = cc[1]
957+ let aj = cc[2]
958+ let ct = split(aT(ah(ai, aj)), l)
959+ $Tuple2(nil, ct)
963960 }
964961
965962
966963
967-@Callable(by)
968-func getPoolConfigByLpAssetIdREADONLY (dA) = {
969- let cd = split(aU(ap(dA)), l)
970- let aj = cd[1]
971- let ak = cd[2]
972- let cu = split(aU(ai(aj, ak)), l)
973- $Tuple2(nil, cu)
964+@Callable(bx)
965+func getPoolConfigByLpAssetIdREADONLY (dz) = {
966+ let cc = split(aT(ao(dz)), l)
967+ let ai = cc[1]
968+ let aj = cc[2]
969+ let ct = split(aT(ah(ai, aj)), l)
970+ $Tuple2(nil, ct)
974971 }
975972
976973
977974
978-@Callable(by)
979-func poolExistsREADONLY (aB,aC) = $Tuple2(nil, cr(aB, aC))
975+@Callable(bx)
976+func poolExistsREADONLY (aA,aB) = $Tuple2(nil, cq(aA, aB))
980977
981978
982979
983-@Callable(by)
984-func skipOrderValidationREADONLY (ab) = $Tuple2(nil, valueOrElse(getBoolean(aH(ab)), false))
980+@Callable(bx)
981+func skipOrderValidationREADONLY (aa) = $Tuple2(nil, valueOrElse(getBoolean(aG(aa)), false))
985982
986983
987984
988-@Callable(by)
989-func getChangeAmpConfigREADONLY (ab) = {
990- let fa = getIntegerValue(aI(ab))
991- let fb = getIntegerValue(aJ(ab))
992- let fc = getIntegerValue(aK(ab))
993- $Tuple2(nil, [fa, fb, fc])
985+@Callable(bx)
986+func getChangeAmpConfigREADONLY (aa) = {
987+ let eZ = getIntegerValue(aH(aa))
988+ let fa = getIntegerValue(aI(aa))
989+ let fb = getIntegerValue(aJ(aa))
990+ $Tuple2(nil, [eZ, fa, fb])
994991 }
995992
996993
997994
998-@Callable(by)
999-func getPoolWeightREADONLY (bQ) = {
1000- let ab = aU(az(bQ))
1001- let fd = valueOrElse(getInteger(aa(ab)), 0)
1002- $Tuple2(nil, fd)
995+@Callable(bx)
996+func getPoolWeightREADONLY (bP) = {
997+ let aa = aT(ay(bP))
998+ let fc = valueOrElse(getInteger(Z(aa)), 0)
999+ $Tuple2(nil, fc)
10031000 }
10041001
10051002
1006-@Verifier(fe)
1007-func ff () = {
1008- let fg = {
1009- let br = bt()
1010- if ($isInstanceOf(br, "ByteVector"))
1003+@Verifier(fd)
1004+func fe () = {
1005+ let ff = {
1006+ let bq = bs()
1007+ if ($isInstanceOf(bq, "ByteVector"))
10111008 then {
1012- let bA = br
1013- bA
1009+ let bz = bq
1010+ bz
10141011 }
1015- else if ($isInstanceOf(br, "Unit"))
1016- then fe.senderPublicKey
1012+ else if ($isInstanceOf(bq, "Unit"))
1013+ then fd.senderPublicKey
10171014 else throw("Match error")
10181015 }
1019- sigVerify(fe.bodyBytes, fe.proofs[0], fg)
1016+ sigVerify(fd.bodyBytes, fd.proofs[0], ff)
10201017 }
10211018

github/deemru/w8io/026f985 
347.78 ms