tx · 7vkxsNQfvLGVZHaRnq2gEWyBMTBfuYEiTyc7o7U9vGvE

3N8qV3cjfyQC6D7BFdcBrDRgvJkF8j68Gft:  -0.02900000 Waves

2023.02.16 17:21 [2452278] smart account 3N8qV3cjfyQC6D7BFdcBrDRgvJkF8j68Gft > SELF 0.00000000 Waves

{ "type": 13, "id": "7vkxsNQfvLGVZHaRnq2gEWyBMTBfuYEiTyc7o7U9vGvE", "fee": 2900000, "feeAssetId": null, "timestamp": 1676557285854, "version": 1, "sender": "3N8qV3cjfyQC6D7BFdcBrDRgvJkF8j68Gft", "senderPublicKey": "Dwq9QnZbnZDWTiYELd4ztRaExuWzcd8g7ALtnFjtJXXj", "proofs": [ "3QcbJyN6wwAFdJooCSfDisVTbKezvAEm3xZ7CZsP8SVhVhXgGAYwFje7vGhpYg8UPWL4peqMtcNeRe9Fp1np3tix" ], "script": "base64:BgKNAQgCEgoKCAgICAgICAgBEgMKAQgSBgoECAgICBIECgIIGBIDCgEIEgQKAggYEgMKAQgSABIDCgEYEgoKCAgICAgIAQgIEgQKAggBEgMKAQESAwoBARIECgIIARIGCgQICAgIEgQKAggIEgQKAggIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCGQABlNDQUxFOAAIAAVNVUxUOACAwtcvAAdTQ0FMRTE4ABIABk1VTFQxOAkAtgIBAICAkLu61q3wDQAOUE9PTFdFSUdIVE1VTFQFBU1VTFQ4AA5HV1h2aXJ0dWFsUE9PTAIOR1dYdmlydHVhbFBPT0wADGxhYmVsUG9vbHNMcAIIUE9PTFNfTFAADWRlZmF1bHRTcHJlYWQAgIl6ABFkZWNpbWFsc011bHRQcmljZQkAaAIJAGgCAGQA6AcA6AcAA1NFUAICX18ABUVNUFRZAgAAClBvb2xBY3RpdmUAAQAPUG9vbFB1dERpc2FibGVkAAIAE1Bvb2xNYXRjaGVyRGlzYWJsZWQAAwAMUG9vbFNodXRkb3duAAQAEmlkeEludGVybmFsQXNzZXRJZAABAA9pZHhS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2xBc3NldHMBBQtwb29sQWRkcmVzcwUDU0VQBBNhbW91bnRBc3NldEludGVybmFsCQCRAwIFCnBvb2xBc3NldHMAAQQScHJpY2VBc3NldEludGVybmFsCQCRAwIFCnBvb2xBc3NldHMAAgQDY2ZnCQC1CQIJAQ9nZXRTdHJpbmdPckZhaWwBCQENa2V5UG9vbENvbmZpZwIFE2Ftb3VudEFzc2V0SW50ZXJuYWwFEnByaWNlQXNzZXRJbnRlcm5hbAUDU0VQCQCUCgIFA25pbAkBDXBhcnNlSW50VmFsdWUBCQCRAwIFA2NmZwUNaWR4UG9vbFN0YXR1cwECdHgBBnZlcmlmeQAED3RhcmdldFB1YmxpY0tleQQHJG1hdGNoMAkBFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAwkAAQIFByRtYXRjaDACCkJ5dGVWZWN0b3IEAnBrBQckbWF0Y2gwBQJwawMJAAECBQckbWF0Y2gwAgRVbml0CAUCdHgPc2VuZGVyUHVibGljS2V5CQACAQILTWF0Y2ggZXJyb3IJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFD3RhcmdldFB1YmxpY0tleQudyio=", "chainId": 84, "height": 2452278, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: RBc1d7tquVPDujPCr74Le64N5dHzHujQ1riwBEPfPXn Next: 9vyEQcAo3jyyGTDQZEEUHZBb7BXA4R8NFXuzzpLJDbGV Diff:
OldNewDifferences
7272 func H () = "%s__allowedLpStableAddonScriptHash"
7373
7474
75-func I () = "%s__swapContract"
75+func I () = "%s__factoryConfig"
7676
7777
78-func J () = "%s__factoryConfig"
78+func J () = "%s__lpTokensList"
7979
8080
81-func K () = "%s__lpTokensList"
81+func K () = "%s%s__pool__scriptHash"
8282
8383
84-func L () = "%s%s__pool__scriptHash"
84+func L () = "%s%s__matcher__publicKey"
8585
8686
87-func M () = "%s%s__matcher__publicKey"
87+func M () = "%s__legacyFactoryContract"
8888
8989
90-func N () = "%s__legacyFactoryContract"
90+func N () = "%s__legacyPools"
9191
9292
93-func O () = "%s__legacyPools"
93+func O () = "%s__managerPublicKey"
9494
9595
96-func P () = "%s__managerPublicKey"
96+func P () = "%s__pendingManagerPublicKey"
9797
9898
99-func Q () = "%s__pendingManagerPublicKey"
99+func Q () = "%s__adminPubKeys"
100100
101101
102-func R () = "%s__adminPubKeys"
102+func R () = "%s__assetsStoreContract"
103103
104104
105-func S () = "%s__assetsStoreContract"
105+func S () = "%s__votingEmissionContract"
106106
107107
108-func T () = "%s__votingEmissionContract"
108+func T () = makeString(["%s", "priceAssets"], j)
109109
110110
111-func U () = makeString(["%s", "priceAssets"], j)
111+func U () = "%s__priceDecimals"
112112
113113
114-func V () = "%s__priceDecimals"
114+func V () = "%s__shutdown"
115115
116116
117-func W () = "%s__shutdown"
117+func W () = "%s__nextInternalAssetId"
118118
119119
120-func X () = "%s__nextInternalAssetId"
120+func X (Y) = ("%s%s__poolWeight__" + Y)
121121
122122
123-func Y (Z) = ("%s%s__poolWeight__" + Z)
123+func Z (Y,aa) = ((("%s%s__poolWeight__" + Y) + "__") + toString(aa))
124124
125125
126-func aa (Z,ab) = ((("%s%s__poolWeight__" + Z) + "__") + toString(ab))
126+func ab (ac) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(ac))
127127
128128
129-func ac (ad) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(ad))
129+func ad (ae) = ("%s%s%s__mappings__baseAsset2internalId__" + ae)
130130
131131
132-func ae (af) = ("%s%s%s__mappings__baseAsset2internalId__" + af)
132+func af (ag,ah) = (((("%d%d%s__" + ag) + "__") + ah) + "__config")
133133
134134
135-func ag (ah,ai) = (((("%d%d%s__" + ah) + "__") + ai) + "__config")
136-
137-
138-func aj (ak) = {
139- let al = ak
140- let ah = al._1
141- let ai = al._2
142- makeString(["%d%d%s", toString(ah), toString(ai), "oneTokenOperationsDisabled"], j)
135+func ai (aj) = {
136+ let ak = aj
137+ let ag = ak._1
138+ let ah = ak._2
139+ makeString(["%d%d%s", toString(ag), toString(ah), "oneTokenOperationsDisabled"], j)
143140 }
144141
145142
146-func am () = makeString(["%s", "oneTokenOperationsDisabled"], j)
143+func al () = makeString(["%s", "oneTokenOperationsDisabled"], j)
147144
148145
149-func an (ao) = (("%s%s%s__" + ao) + "__mappings__lpAsset2Pool")
146+func am (an) = (("%s%s%s__" + an) + "__mappings__lpAsset2Pool")
150147
151148
152-func ap (aq,ar) = (((("%d%d%s%s__" + aq) + "__") + ar) + "__mappings__PoolAssets2LpAsset")
149+func ao (ap,aq) = (((("%d%d%s%s__" + ap) + "__") + aq) + "__mappings__PoolAssets2LpAsset")
153150
154151
155-func as (Z) = ("%s%s__spread__" + Z)
152+func ar (Y) = ("%s%s__spread__" + Y)
156153
157154
158-func at (au) = (("%s%s%s__" + au) + "__mappings__poolContract2PoolAssets")
155+func as (at) = (("%s%s%s__" + at) + "__mappings__poolContract2PoolAssets")
159156
160157
161-func av (aq,ar) = (((("%d%d%s%s__" + toString(aq)) + "__") + toString(ar)) + "__mappings__poolAssets2PoolContract")
158+func au (ap,aq) = (((("%d%d%s%s__" + toString(ap)) + "__") + toString(aq)) + "__mappings__poolAssets2PoolContract")
162159
163160
164-func aw (au) = (("%s%s%s__" + au) + "__mappings__poolContract2LpAsset")
161+func av (at) = (("%s%s%s__" + at) + "__mappings__poolContract2LpAsset")
165162
166163
167-func ax (ao) = (("%s%s%s__" + ao) + "__mappings__lpAsset2PoolContract")
164+func aw (an) = (("%s%s%s__" + an) + "__mappings__lpAsset2PoolContract")
168165
169166
170-func ay (az,aA) = ((("%s%s%s__wxEmission__" + az) + "__") + aA)
167+func ax (ay,az) = ((("%s%s%s__wxEmission__" + ay) + "__") + az)
171168
172169
173-func aB (Z) = ("%s%s__inFee__" + Z)
170+func aA (Y) = ("%s%s__inFee__" + Y)
174171
175172
176-func aC () = "%s__inFeeDefault"
173+func aB () = "%s__inFeeDefault"
177174
178175
179-func aD (Z) = ("%s%s__outFee__" + Z)
176+func aC (Y) = ("%s%s__outFee__" + Y)
180177
181178
182-func aE () = "%s__outFeeDefault"
179+func aD () = "%s__outFeeDefault"
183180
184181
185-func aF (aG) = valueOrErrorMessage(getString(this, aG), ("No data for this.key=" + aG))
182+func aE (aF) = valueOrErrorMessage(getString(this, aF), ("No data for this.key=" + aF))
186183
187184
188-func aH (aG) = valueOrErrorMessage(getBoolean(this, aG), ("No data for this.key=" + aG))
185+func aG (aF) = valueOrErrorMessage(getBoolean(this, aF), ("No data for this.key=" + aF))
189186
190187
191-func aI (aG) = valueOrErrorMessage(getInteger(this, aG), ("No data for this.key=" + aG))
188+func aH (aF) = valueOrErrorMessage(getInteger(this, aF), ("No data for this.key=" + aF))
192189
193190
194-let aJ = 1
191+let aI = 1
195192
196-let aK = 2
193+let aJ = 2
197194
198-let aL = 3
195+let aK = 3
199196
200-let aM = 4
197+let aL = 4
201198
202-let aN = 5
199+let aM = 5
203200
204-let aO = 6
201+let aN = 6
205202
206-let aP = 7
203+let aO = 7
207204
208-let aQ = 8
205+let aP = 8
209206
210-let aR = 9
207+let aQ = 9
211208
212-let aS = 10
209+let aR = 10
213210
214-let aT = 11
211+let aS = 11
215212
216-func aU (aV) = addressFromStringValue(aV[aK])
213+func aT (aU) = addressFromStringValue(aU[aJ])
217214
218215
219-func aW (aV) = addressFromStringValue(aV[aN])
216+func aV (aU) = addressFromStringValue(aU[aM])
220217
221218
222-func aX (aV) = addressFromStringValue(aV[aJ])
219+func aW (aU) = addressFromStringValue(aU[aI])
223220
224221
225-func aY (aV) = addressFromStringValue(aV[aS])
222+func aX (aU) = addressFromStringValue(aU[aR])
226223
227224
228-func aZ () = {
229- let ba = getString(U())
230- if ($isInstanceOf(ba, "String"))
225+func aY () = {
226+ let aZ = getString(T())
227+ if ($isInstanceOf(aZ, "String"))
231228 then {
232- let bb = ba
233- if ((size(bb) == 0))
229+ let ba = aZ
230+ if ((size(ba) == 0))
234231 then nil
235- else split(bb, j)
232+ else split(ba, j)
236233 }
237234 else nil
238235 }
239236
240237
241-func bc () = {
242- let ba = getString(P())
243- if ($isInstanceOf(ba, "String"))
238+func bb () = {
239+ let aZ = getString(O())
240+ if ($isInstanceOf(aZ, "String"))
244241 then {
245- let bb = ba
246- fromBase58String(bb)
242+ let ba = aZ
243+ fromBase58String(ba)
247244 }
248- else if ($isInstanceOf(ba, "Unit"))
245+ else if ($isInstanceOf(aZ, "Unit"))
249246 then unit
250247 else throw("Match error")
251248 }
252249
253250
254-func bd () = {
255- let ba = getString(Q())
256- if ($isInstanceOf(ba, "String"))
251+func bc () = {
252+ let aZ = getString(P())
253+ if ($isInstanceOf(aZ, "String"))
257254 then {
258- let bb = ba
259- fromBase58String(bb)
255+ let ba = aZ
256+ fromBase58String(ba)
260257 }
261- else if ($isInstanceOf(ba, "Unit"))
258+ else if ($isInstanceOf(aZ, "Unit"))
262259 then unit
263260 else throw("Match error")
264261 }
265262
266263
267-let be = throw("Permission denied")
264+let bd = throw("Permission denied")
268265
269-let bf = throw("Test error here")
270-
271-func bg (bh) = if ((bh.caller == this))
266+func be (bf) = if ((bf.caller == this))
272267 then true
273- else be
268+ else bd
274269
275270
276-func bi (bh) = {
277- let ba = bc()
278- if ($isInstanceOf(ba, "ByteVector"))
271+func bg (bf) = {
272+ let aZ = bb()
273+ if ($isInstanceOf(aZ, "ByteVector"))
279274 then {
280- let bj = ba
281- if ((bh.callerPublicKey == bj))
275+ let bh = aZ
276+ if ((bf.callerPublicKey == bh))
282277 then true
283- else be
278+ else bd
284279 }
285- else if ($isInstanceOf(ba, "Unit"))
286- then bg(bh)
280+ else if ($isInstanceOf(aZ, "Unit"))
281+ then be(bf)
287282 else throw("Match error")
288283 }
289284
290285
291-func bk (bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv], j)
286+func bi (bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt], j)
292287
293288
294-func bw (bl,bm,bn,bo,bp,bq,br) = makeString(["%s%s%s%s%s%s", bl, bm, bn, bo, bp, bq, br], j)
289+func bu (bj,bk,bl,bm,bn,bo,bp) = makeString(["%s%s%s%s%s%s", bj, bk, bl, bm, bn, bo, bp], j)
295290
296291
297-func bx (Z,by,bz,bA,bB,bC,bD,bE,bF,bG,bH) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", Z, by, bz, bA, bB, toString(bC), toString(bD), toString(bE), toString(bF), toString(bG), bH], j)
292+func bv (Y,bw,bx,by,bz,bA,bB,bC,bD,bE,bF) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", Y, bw, bx, by, bz, toString(bA), toString(bB), toString(bC), toString(bD), toString(bE), bF], j)
298293
299294
300-func bI (bJ,bK) = makeString(["%d%d", toString(bJ), toString(bK)], j)
295+func bG (bH,bI) = makeString(["%d%d", toString(bH), toString(bI)], j)
301296
302297
303-func bL (Z) = {
304- let bM = split(aF(at(Z)), j)
305- let ah = bM[1]
306- let ai = bM[2]
307- split(aF(ag(ah, ai)), j)
298+func bJ (Y) = {
299+ let bK = split(aE(as(Y)), j)
300+ let ag = bK[1]
301+ let ah = bK[2]
302+ split(aE(af(ag, ah)), j)
308303 }
309304
310305
311-func bN (bO,bP) = {
312- let bQ = valueOrElse(getInteger(this, ae(bO)), 0)
313- let bR = valueOrElse(getInteger(this, X()), 0)
314- let bS = if ((bQ == 0))
306+func bL (bM,bN) = {
307+ let bO = valueOrElse(getInteger(this, ad(bM)), 0)
308+ let bP = valueOrElse(getInteger(this, W()), 0)
309+ let bQ = if ((bO == 0))
315310 then {
316- let bT = (bR + bP)
317- $Tuple3(bT, [IntegerEntry(X(), bT), IntegerEntry(ae(bO), bT), StringEntry(ac(bT), bO)], true)
311+ let bR = (bP + bN)
312+ $Tuple3(bR, [IntegerEntry(W(), bR), IntegerEntry(ad(bM), bR), StringEntry(ab(bR), bM)], true)
318313 }
319- else $Tuple3(bQ, nil, false)
320- bS
314+ else $Tuple3(bO, nil, false)
315+ bQ
321316 }
322317
323318
324-func bU (bh) = {
325- let bV = split(valueOrElse(getString(R()), k), j)
326- if (containsElement(bV, toBase58String(bh.callerPublicKey)))
319+func bS (bf) = {
320+ let bT = split(valueOrElse(getString(Q()), k), j)
321+ if (containsElement(bT, toBase58String(bf.callerPublicKey)))
327322 then true
328323 else {
329- let bW = bi(bh)
330- if ((bW == bW))
324+ let bU = bg(bf)
325+ if ((bU == bU))
331326 then true
332327 else throw("Strict value is not equal to itself.")
333328 }
334329 }
335330
336331
337-func bX (aG,bY,bZ) = valueOrElse(getInteger(this, aG), valueOrElse(getInteger(this, bY), bZ))
332+func bV (aF,bW,bX) = valueOrElse(getInteger(this, aF), valueOrElse(getInteger(this, bW), bX))
338333
339334
340-@Callable(bh)
341-func getSwapContractREADONLY () = $Tuple2(nil, aF(I()))
342-
343-
344-
345-@Callable(bh)
346-func getLpAssetFromPoolAssetsREADONLY (ca,cb) = if (if ((ca == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"))
347- then (cb == "WAVES")
348- else false)
349- then $Tuple2(nil, unit)
350- else {
351- let cc = value(getInteger(this, ae(ca)))
352- let cd = value(getInteger(this, ae(cb)))
353- let ce = getString(this, ap(toString(cc), toString(cd)))
354- let cf = if ((ce == unit))
355- then unit
356- else drop(value(ce), 4)
357- $Tuple2(nil, cf)
358- }
359-
360-
361-
362-@Callable(bh)
363-func getPoolAddressFromLpAssetREADONLY (cg) = $Tuple2(nil, valueOrElse(getString(this, ax(cg)), ""))
364-
365-
366-
367-@Callable(bh)
368-func constructor (ch,ci,bn,bo,bp,bq,cj,ck) = {
369- let cl = bi(bh)
370- if ((cl == cl))
371- then [StringEntry(J(), bw(ch, ci, bn, bo, bp, bq, cj)), IntegerEntry(V(), ck)]
335+@Callable(bf)
336+func constructor (bY,bZ,bl,bm,bn,bo,ca,cb) = {
337+ let cc = bg(bf)
338+ if ((cc == cc))
339+ then [StringEntry(I(), bu(bY, bZ, bl, bm, bn, bo, ca)), IntegerEntry(U(), cb)]
372340 else throw("Strict value is not equal to itself.")
373341 }
374342
375343
376344
377-@Callable(bh)
378-func constructorV2 (cm) = {
379- let cl = bi(bh)
380- if ((cl == cl))
345+@Callable(bf)
346+func constructorV2 (cd) = {
347+ let cc = bg(bf)
348+ if ((cc == cc))
381349 then {
382- let cn = addressFromPublicKey(fromBase58String(cm))
383- if ((cn == cn))
384- then [StringEntry(M(), cm)]
350+ let ce = addressFromPublicKey(fromBase58String(cd))
351+ if ((ce == ce))
352+ then [StringEntry(L(), cd)]
385353 else throw("Strict value is not equal to itself.")
386354 }
387355 else throw("Strict value is not equal to itself.")
389357
390358
391359
392-@Callable(bh)
393-func constructorV3 (bs,bt,bu,bv) = {
394- let cl = bi(bh)
395- if ((cl == cl))
360+@Callable(bf)
361+func constructorV3 (bq,br,bs,bt) = {
362+ let cc = bg(bf)
363+ if ((cc == cc))
396364 then {
397- let aV = split(aF(J()), j)
398-[StringEntry(J(), bk(aV[1], aV[2], aV[3], aV[4], aV[5], aV[6], aV[7], bs, bt, bu, bv))]
365+ let aU = split(aE(I()), j)
366+[StringEntry(I(), bi(aU[1], aU[2], aU[3], aU[4], aU[5], aU[6], aU[7], bq, br, bs, bt))]
399367 }
400368 else throw("Strict value is not equal to itself.")
401369 }
402370
403371
404372
405-@Callable(bh)
406-func constructorV4 (co,cp) = {
407- let cl = bi(bh)
408- if ((cl == cl))
409- then [StringEntry(N(), co), StringEntry(O(), makeString(cp, j))]
373+@Callable(bf)
374+func constructorV4 (cf,cg) = {
375+ let cc = bg(bf)
376+ if ((cc == cc))
377+ then [StringEntry(M(), cf), StringEntry(N(), makeString(cg, j))]
410378 else throw("Strict value is not equal to itself.")
411379 }
412380
413381
414382
415-@Callable(bh)
416-func constructorV5 (cq) = {
417- let cl = bi(bh)
418- if ((cl == cl))
419- then [StringEntry(S(), cq)]
383+@Callable(bf)
384+func constructorV5 (ch) = {
385+ let cc = bg(bf)
386+ if ((cc == cc))
387+ then [StringEntry(R(), ch)]
420388 else throw("Strict value is not equal to itself.")
421389 }
422390
423391
424392
425-@Callable(bh)
426-func constructorV6 (cr,cs) = {
427- let ct = [bi(bh), if ((addressFromString(cr) != unit))
393+@Callable(bf)
394+func constructorV6 (ci,cj) = {
395+ let ck = [bg(bf), if ((addressFromString(ci) != unit))
428396 then true
429397 else "invalid voting emission contract address"]
430- if ((ct == ct))
431- then [StringEntry(T(), cr), StringEntry(U(), makeString(cs, j))]
398+ if ((ck == ck))
399+ then [StringEntry(S(), ci), StringEntry(T(), makeString(cj, j))]
432400 else throw("Strict value is not equal to itself.")
433401 }
434402
435403
436404
437-@Callable(bh)
438-func setManager (cu) = {
439- let cl = bi(bh)
440- if ((cl == cl))
405+@Callable(bf)
406+func setManager (cl) = {
407+ let cc = bg(bf)
408+ if ((cc == cc))
441409 then {
442- let cv = fromBase58String(cu)
443- if ((cv == cv))
444- then [StringEntry(Q(), cu)]
410+ let cm = fromBase58String(cl)
411+ if ((cm == cm))
412+ then [StringEntry(P(), cl)]
445413 else throw("Strict value is not equal to itself.")
446414 }
447415 else throw("Strict value is not equal to itself.")
449417
450418
451419
452-@Callable(bh)
420+@Callable(bf)
453421 func confirmManager () = {
454- let cw = bd()
455- let cx = if (isDefined(cw))
422+ let cn = bc()
423+ let co = if (isDefined(cn))
456424 then true
457425 else throw("No pending manager")
458- if ((cx == cx))
426+ if ((co == co))
459427 then {
460- let cy = if ((bh.callerPublicKey == value(cw)))
428+ let cp = if ((bf.callerPublicKey == value(cn)))
461429 then true
462430 else throw("You are not pending manager")
463- if ((cy == cy))
464- then [StringEntry(P(), toBase58String(value(cw))), DeleteEntry(Q())]
431+ if ((cp == cp))
432+ then [StringEntry(O(), toBase58String(value(cn))), DeleteEntry(P())]
465433 else throw("Strict value is not equal to itself.")
466434 }
467435 else throw("Strict value is not equal to itself.")
469437
470438
471439
472-@Callable(bh)
473-func setAdmins (cz) = {
474- let cl = bi(bh)
475- if ((cl == cl))
476- then [StringEntry(R(), makeString(cz, j))]
440+@Callable(bf)
441+func setAdmins (cq) = {
442+ let cc = bg(bf)
443+ if ((cc == cc))
444+ then [StringEntry(Q(), makeString(cq, j))]
477445 else throw("Strict value is not equal to itself.")
478446 }
479447
480448
481449
482-@Callable(bh)
483-func activateNewPool (Z,bA,bB,cA,cB,cC,bH,cD) = {
484- let cl = bU(bh)
485- if ((cl == cl))
486- then if (isDefined(getString(at(Z))))
487- then throw((("Pool address " + Z) + " already registered."))
450+@Callable(bf)
451+func activateNewPool (Y,by,bz,cr,cs,ct,bF,cu) = {
452+ let cc = bS(bf)
453+ if ((cc == cc))
454+ then if (isDefined(getString(as(Y))))
455+ then throw((("Pool address " + Y) + " already registered."))
488456 else {
489- let cE = bN(bA, 1)
490- let cF = cE._1
491- let cG = bN(bB, if (cE._3)
457+ let cv = bL(by, 1)
458+ let cw = cv._1
459+ let cx = bL(bz, if (cv._3)
492460 then 2
493461 else 1)
494- let cH = cG._1
495- let cI = valueOrErrorMessage(scriptHash(addressFromStringValue(Z)), ("No script has been found on pool account " + Z))
496- let cJ = getBinaryValue(L())
497- let cK = getString(this, ag(toString(cF), toString(cH)))
498- if (isDefined(cK))
499- then throw((((("Pool " + bA) + "/") + bB) + " has already been activated."))
462+ let cy = cx._1
463+ let cz = valueOrErrorMessage(scriptHash(addressFromStringValue(Y)), ("No script has been found on pool account " + Y))
464+ let cA = getBinaryValue(K())
465+ let cB = getString(this, af(toString(cw), toString(cy)))
466+ if (isDefined(cB))
467+ then throw((((("Pool " + by) + "/") + bz) + " has already been activated."))
500468 else {
501- let cL = value(getString(this, ag(toString(cF), toString(cH))))
502- let cM = if ((bA == "WAVES"))
469+ let cC = value(getString(this, af(toString(cw), toString(cy))))
470+ let cD = if ((by == "WAVES"))
503471 then i
504- else pow(10, 0, value(assetInfo(fromBase58String(bA))).decimals, 0, 0, DOWN)
505- let cN = if ((bB == "WAVES"))
472+ else pow(10, 0, value(assetInfo(fromBase58String(by))).decimals, 0, 0, DOWN)
473+ let cE = if ((bz == "WAVES"))
506474 then i
507- else pow(10, 0, value(assetInfo(fromBase58String(bB))).decimals, 0, 0, DOWN)
508- let cO = Issue(cA, cB, 1, 8, true)
509- let bz = calculateAssetId(cO)
510- let cP = toBase58String(bz)
511- let cQ = invoke(addressFromStringValue(Z), "activate", [bA, bB], nil)
512- if ((cQ == cQ))
513- then if ((cQ != "success"))
475+ else pow(10, 0, value(assetInfo(fromBase58String(bz))).decimals, 0, 0, DOWN)
476+ let cF = Issue(cr, cs, 1, 8, true)
477+ let bx = calculateAssetId(cF)
478+ let cG = toBase58String(bx)
479+ let cH = invoke(addressFromStringValue(Y), "activate", [by, bz], nil)
480+ if ((cH == cH))
481+ then if ((cH != "success"))
514482 then throw("Pool initialisation error happened.")
515483 else {
516- let cq = addressFromStringValue(aF(S()))
517- let cR = invoke(cq, "createOrUpdate", [cP, cA, false], nil)
518- if ((cR == cR))
484+ let ch = addressFromStringValue(aE(R()))
485+ let cI = invoke(ch, "createOrUpdate", [cG, cr, false], nil)
486+ if ((cI == cI))
519487 then {
520- let cS = invoke(cq, "addLabel", [cP, g], nil)
521- if ((cS == cS))
488+ let cJ = invoke(ch, "addLabel", [cG, g], nil)
489+ if ((cJ == cJ))
522490 then {
523- let cT = invoke(cq, "setLogo", [cP, cD], nil)
524- if ((cT == cT))
491+ let cK = invoke(ch, "setLogo", [cG, cu], nil)
492+ if ((cK == cK))
525493 then {
526- let cU = invoke(cq, "addAssetsLink", [bA, bB, cP], nil)
527- if ((cU == cU))
494+ let cL = invoke(ch, "addAssetsLink", [by, bz, cG], nil)
495+ if ((cL == cL))
528496 then {
529- let cV = invoke(cq, "increaseAssetPoolsNumber", [bA], nil)
530- if ((cV == cV))
531- then $Tuple2(((cE._2 ++ cG._2) ++ [cO, Burn(bz, 1), StringEntry(ag(toString(cF), toString(cH)), bx(Z, toString(l), cP, bA, bB, cM, cN, cF, cH, i, bH)), StringEntry(an(cP), bI(cF, cH)), StringEntry(ap(toString(cF), toString(cH)), ("%s__" + cP)), StringEntry(at(Z), bI(cF, cH)), StringEntry(av(cF, cH), Z), StringEntry(ax(cP), Z), StringEntry(aw(Z), cP), IntegerEntry(Y(Z), cC), IntegerEntry(as(Z), h)]), cP)
497+ let cM = invoke(ch, "increaseAssetPoolsNumber", [by], nil)
498+ if ((cM == cM))
499+ then $Tuple2(((cv._2 ++ cx._2) ++ [cF, Burn(bx, 1), StringEntry(af(toString(cw), toString(cy)), bv(Y, toString(l), cG, by, bz, cD, cE, cw, cy, i, bF)), StringEntry(am(cG), bG(cw, cy)), StringEntry(ao(toString(cw), toString(cy)), ("%s__" + cG)), StringEntry(as(Y), bG(cw, cy)), StringEntry(au(cw, cy), Y), StringEntry(aw(cG), Y), StringEntry(av(Y), cG), IntegerEntry(X(Y), ct), IntegerEntry(ar(Y), h)]), cG)
532500 else throw("Strict value is not equal to itself.")
533501 }
534502 else throw("Strict value is not equal to itself.")
547515
548516
549517
550-@Callable(bh)
551-func managePool (Z,cW) = {
552- let cl = bi(bh)
553- if ((cl == cl))
518+@Callable(bf)
519+func managePool (Y,cN) = {
520+ let cc = bg(bf)
521+ if ((cc == cc))
554522 then {
555- let cK = bL(Z)
556- let by = cK[t]
557- let cP = cK[u]
558- let bA = cK[v]
559- let bB = cK[w]
560- let cM = parseIntValue(cK[x])
561- let cN = parseIntValue(cK[y])
562- let cF = parseIntValue(cK[z])
563- let cH = parseIntValue(cK[A])
564- let cX = parseIntValue(cK[B])
565- let bH = cK[C]
566-[StringEntry(ag(toString(cF), toString(cH)), bx(Z, toString(cW), cP, bA, bB, cM, cN, cF, cH, cX, bH))]
523+ let cB = bJ(Y)
524+ let bw = cB[t]
525+ let cG = cB[u]
526+ let by = cB[v]
527+ let bz = cB[w]
528+ let cD = parseIntValue(cB[x])
529+ let cE = parseIntValue(cB[y])
530+ let cw = parseIntValue(cB[z])
531+ let cy = parseIntValue(cB[A])
532+ let cO = parseIntValue(cB[B])
533+ let bF = cB[C]
534+[StringEntry(af(toString(cw), toString(cy)), bv(Y, toString(cN), cG, by, bz, cD, cE, cw, cy, cO, bF))]
567535 }
568536 else throw("Strict value is not equal to itself.")
569537 }
570538
571539
572540
573-@Callable(bh)
574-func emit (cY) = {
575- let cZ = bh.caller
576- let da = bh.originCaller
577- let db = valueOrErrorMessage(getString(aw(toString(cZ))), "Invalid LP address called me.")
578- let dc = fromBase58String(db)
579- let cp = split(valueOrElse(getString(O()), k), j)
580- let co = addressFromStringValue(valueOrErrorMessage(getString(N()), "Legacy factory contract does not exists."))
581- if ((0 >= cY))
541+@Callable(bf)
542+func emit (cP) = {
543+ let cQ = bf.caller
544+ let cR = bf.originCaller
545+ let cS = valueOrErrorMessage(getString(av(toString(cQ))), "Invalid LP address called me.")
546+ let cT = fromBase58String(cS)
547+ let cg = split(valueOrElse(getString(N()), k), j)
548+ let cf = addressFromStringValue(valueOrErrorMessage(getString(M()), "Legacy factory contract does not exists."))
549+ if ((0 >= cP))
582550 then nil
583- else if (containsElement(cp, toString(cZ)))
584- then $Tuple2(nil, co)
585- else $Tuple2([Reissue(dc, cY, true), ScriptTransfer(bh.caller, cY, dc)], "success")
551+ else if (containsElement(cg, toString(cQ)))
552+ then $Tuple2(nil, cf)
553+ else $Tuple2([Reissue(cT, cP, true), ScriptTransfer(bf.caller, cP, cT)], "success")
586554 }
587555
588556
589557
590-@Callable(bh)
591-func burn (dd) = {
592- let cZ = bh.caller
593- let da = bh.originCaller
594- let de = value(bh.payments[0])
595- let df = value(de.amount)
596- let dg = toBase58String(value(de.assetId))
597- let dh = valueOrErrorMessage(getString(aw(toString(cZ))), "Invalid LP address called me.")
598- if ((dg != dh))
558+@Callable(bf)
559+func burn (cU) = {
560+ let cQ = bf.caller
561+ let cR = bf.originCaller
562+ let cV = value(bf.payments[0])
563+ let cW = value(cV.amount)
564+ let cX = toBase58String(value(cV.assetId))
565+ let cY = valueOrErrorMessage(getString(av(toString(cQ))), "Invalid LP address called me.")
566+ if ((cX != cY))
599567 then throw("Invalid asset passed.")
600- else if ((dd != df))
568+ else if ((cU != cW))
601569 then throw("Invalid amount passed.")
602570 else {
603- let dc = fromBase58String(dh)
604- $Tuple2([Burn(dc, dd)], "success")
571+ let cT = fromBase58String(cY)
572+ $Tuple2([Burn(cT, cU)], "success")
605573 }
606574 }
607575
608576
609577
610-@Callable(bh)
611-func modifyWeight (bz,di) = {
612- let cl = if ((toBase58String(bh.caller.bytes) == valueOrElse(getString(this, T()), "")))
578+@Callable(bf)
579+func modifyWeight (bx,cZ) = {
580+ let cc = if ((toBase58String(bf.caller.bytes) == valueOrElse(getString(this, S()), "")))
613581 then true
614- else bi(bh)
615- if ((cl == cl))
582+ else bg(bf)
583+ if ((cc == cc))
616584 then {
617- let au = aF(ax(bz))
618- let dj = Y(au)
619- let dk = Y(f)
620- let dl = valueOrElse(getInteger(dk), 0)
621- let cC = valueOrElse(getInteger(dj), 0)
622- let dm = di
623- let aV = split(aF(J()), j)
624- let ch = aX(aV)
625- let dn = invoke(ch, "onModifyWeight", [bz, au], nil)
626- if ((dn == dn))
585+ let at = aE(aw(bx))
586+ let da = X(at)
587+ let db = X(f)
588+ let dc = valueOrElse(getInteger(db), 0)
589+ let ct = valueOrElse(getInteger(da), 0)
590+ let dd = cZ
591+ let aU = split(aE(I()), j)
592+ let bY = aW(aU)
593+ let de = invoke(bY, "onModifyWeight", [bx, at], nil)
594+ if ((de == de))
627595 then {
628- let do = if ((dl == 0))
596+ let df = if ((dc == 0))
629597 then nil
630- else [IntegerEntry(dk, 0)]
631- let dp = aa(au, 0)
632- let dq = getInteger(dp)
633- let dr = if ((dq == unit))
598+ else [IntegerEntry(db, 0)]
599+ let dg = Z(at, 0)
600+ let dh = getInteger(dg)
601+ let di = if ((dh == unit))
634602 then nil
635- else [DeleteEntry(dp)]
636- (([IntegerEntry(dj, dm)] ++ do) ++ dr)
603+ else [DeleteEntry(dg)]
604+ (([IntegerEntry(da, dd)] ++ df) ++ di)
637605 }
638606 else throw("Strict value is not equal to itself.")
639607 }
642610
643611
644612
645-@Callable(bh)
646-func modifyWeights (ds,dt,du,dv) = {
647- let cl = bi(bh)
648- if ((cl == cl))
613+@Callable(bf)
614+func modifyWeights (dj,dk,dl,dm) = {
615+ let cc = bg(bf)
616+ if ((cc == cc))
649617 then {
650- let dw = ((5 * e) / 100)
651- let dx = ((5 * e) / 100)
652- let dy = ((5 * e) / 100)
653- let aV = split(aF(J()), j)
654- let dz = aX(aV)
655- let dA = aY(aV)
656- let dB = Y(ds)
657- let dC = Y(dt)
658- let dD = Y(du)
659- let dE = Y(dv)
660- let dF = aI(dB)
661- let dG = aI(dC)
662- let dH = (dF - dy)
663- let dI = (dG - dy)
664- if ((0 >= dH))
665- then throw(("invalid btcWeightNew: " + toString(dH)))
666- else if ((0 >= dI))
667- then throw(("invalid ethWeightNew: " + toString(dI)))
618+ let dn = ((5 * e) / 100)
619+ let do = ((5 * e) / 100)
620+ let dp = ((5 * e) / 100)
621+ let aU = split(aE(I()), j)
622+ let dq = aW(aU)
623+ let dr = aX(aU)
624+ let ds = X(dj)
625+ let dt = X(dk)
626+ let du = X(dl)
627+ let dv = X(dm)
628+ let dw = aH(ds)
629+ let dx = aH(dt)
630+ let dy = (dw - dp)
631+ let dz = (dx - dp)
632+ if ((0 >= dy))
633+ then throw(("invalid btcWeightNew: " + toString(dy)))
634+ else if ((0 >= dz))
635+ then throw(("invalid ethWeightNew: " + toString(dz)))
668636 else {
669- let dJ = aF(aw(ds))
670- let dK = aF(aw(dt))
671- let dL = aF(aw(du))
672- let dM = aF(aw(dv))
673- let dN = invoke(dz, "onModifyWeight", [dJ, ds], nil)
674- if ((dN == dN))
637+ let dA = aE(av(dj))
638+ let dB = aE(av(dk))
639+ let dC = aE(av(dl))
640+ let dD = aE(av(dm))
641+ let dE = invoke(dq, "onModifyWeight", [dA, dj], nil)
642+ if ((dE == dE))
675643 then {
676- let dO = invoke(dz, "onModifyWeight", [dK, dt], nil)
677- if ((dO == dO))
644+ let dF = invoke(dq, "onModifyWeight", [dB, dk], nil)
645+ if ((dF == dF))
678646 then {
679- let dP = invoke(dz, "onModifyWeight", [dL, du], nil)
680- if ((dP == dP))
647+ let dG = invoke(dq, "onModifyWeight", [dC, dl], nil)
648+ if ((dG == dG))
681649 then {
682- let dQ = invoke(dz, "onModifyWeight", [dM, dv], nil)
683- if ((dQ == dQ))
684- then [IntegerEntry(dB, dH), IntegerEntry(dC, dI), IntegerEntry(dD, dw), IntegerEntry(dE, dx), IntegerEntry(aa(ds, 0), dF), IntegerEntry(aa(dt, 0), dG), IntegerEntry(aa(du, 0), dw), IntegerEntry(aa(dv, 0), dx)]
650+ let dH = invoke(dq, "onModifyWeight", [dD, dm], nil)
651+ if ((dH == dH))
652+ then [IntegerEntry(ds, dy), IntegerEntry(dt, dz), IntegerEntry(du, dn), IntegerEntry(dv, do), IntegerEntry(Z(dj, 0), dw), IntegerEntry(Z(dk, 0), dx), IntegerEntry(Z(dl, 0), dn), IntegerEntry(Z(dm, 0), do)]
685653 else throw("Strict value is not equal to itself.")
686654 }
687655 else throw("Strict value is not equal to itself.")
696664
697665
698666
699-@Callable(bh)
700-func checkWxEmissionPoolLabel (az,aA) = {
701- let dR = {
702- let ba = getBoolean(ay(az, aA))
703- if ($isInstanceOf(ba, "Boolean"))
667+@Callable(bf)
668+func checkWxEmissionPoolLabel (ay,az) = {
669+ let dI = {
670+ let aZ = getBoolean(ax(ay, az))
671+ if ($isInstanceOf(aZ, "Boolean"))
704672 then {
705- let dS = ba
706- dS
673+ let dJ = aZ
674+ dJ
707675 }
708676 else false
709677 }
710- $Tuple2(nil, dR)
678+ $Tuple2(nil, dI)
711679 }
712680
713681
714682
715-@Callable(bh)
716-func setWxEmissionPoolLabel (az,aA) = {
717- let cl = bU(bh)
718- if ((cl == cl))
719- then $Tuple2([BooleanEntry(ay(az, aA), true)], unit)
683+@Callable(bf)
684+func setWxEmissionPoolLabel (ay,az) = {
685+ let cc = bS(bf)
686+ if ((cc == cc))
687+ then $Tuple2([BooleanEntry(ax(ay, az), true)], unit)
720688 else throw("Strict value is not equal to itself.")
721689 }
722690
723691
724692
725-@Callable(bh)
726-func deleteWxEmissionPoolLabel (az,aA) = {
727- let cl = if (bg(bh))
693+@Callable(bf)
694+func deleteWxEmissionPoolLabel (ay,az) = {
695+ let cc = if (be(bf))
728696 then true
729- else bU(bh)
730- if ((cl == cl))
731- then $Tuple2([DeleteEntry(ay(az, aA))], unit)
697+ else bS(bf)
698+ if ((cc == cc))
699+ then $Tuple2([DeleteEntry(ax(ay, az))], unit)
732700 else throw("Strict value is not equal to itself.")
733701 }
734702
735703
736704
737-@Callable(bh)
738-func onVerificationLoss (dT) = {
739- let cl = if ((toBase58String(bh.caller.bytes) == valueOrElse(getString(this, S()), "")))
705+@Callable(bf)
706+func onVerificationLoss (dK) = {
707+ let cc = if ((toBase58String(bf.caller.bytes) == valueOrElse(getString(this, R()), "")))
740708 then true
741- else bi(bh)
742- if ((cl == cl))
709+ else bg(bf)
710+ if ((cc == cc))
743711 then {
744- let cs = aZ()
745- let dU = if ((size(cs) > 0))
712+ let cj = aY()
713+ let dL = if ((size(cj) > 0))
746714 then true
747715 else throw("invalid price assets")
748- if ((dU == dU))
716+ if ((dL == dL))
749717 then {
750- func dV (dW,dX) = {
751- let dY = invoke(this, "deleteWxEmissionPoolLabel", [dT, dX], nil)
752- if ((dY == dY))
718+ func dM (dN,dO) = {
719+ let dP = invoke(this, "deleteWxEmissionPoolLabel", [dK, dO], nil)
720+ if ((dP == dP))
753721 then unit
754722 else throw("Strict value is not equal to itself.")
755723 }
756724
757- let dZ = {
758- let ea = cs
759- let eb = size(ea)
760- let ec = unit
761- func ed (ee,ef) = if ((ef >= eb))
762- then ee
763- else dV(ee, ea[ef])
725+ let dQ = {
726+ let dR = cj
727+ let dS = size(dR)
728+ let dT = unit
729+ func dU (dV,dW) = if ((dW >= dS))
730+ then dV
731+ else dM(dV, dR[dW])
764732
765- func eg (ee,ef) = if ((ef >= eb))
766- then ee
733+ func dX (dV,dW) = if ((dW >= dS))
734+ then dV
767735 else throw("List size exceeds 1")
768736
769- eg(ed(ec, 0), 1)
737+ dX(dU(dT, 0), 1)
770738 }
771- if ((dZ == dZ))
739+ if ((dQ == dQ))
772740 then $Tuple2(nil, unit)
773741 else throw("Strict value is not equal to itself.")
774742 }
779747
780748
781749
782-@Callable(bh)
783-func isPoolOneTokenOperationsDisabledREADONLY (Z) = {
784- let cK = bL(Z)
785- let ak = $Tuple2(parseIntValue(cK[z]), parseIntValue(cK[A]))
786- let eh = valueOrElse(getBoolean(aj(ak)), false)
787- let ei = valueOrElse(getBoolean(am()), false)
788- $Tuple2(nil, if (ei)
750+@Callable(bf)
751+func isPoolOneTokenOperationsDisabledREADONLY (Y) = {
752+ let cB = bJ(Y)
753+ let aj = $Tuple2(parseIntValue(cB[z]), parseIntValue(cB[A]))
754+ let dY = valueOrElse(getBoolean(ai(aj)), false)
755+ let dZ = valueOrElse(getBoolean(al()), false)
756+ $Tuple2(nil, if (dZ)
789757 then true
790- else eh)
758+ else dY)
791759 }
792760
793761
794762
795-@Callable(bh)
796-func getInFeeREADONLY (Z) = {
797- let ej = bX(aB(Z), aC(), 0)
798- $Tuple2(nil, ej)
763+@Callable(bf)
764+func getInFeeREADONLY (Y) = {
765+ let ea = bV(aA(Y), aB(), 0)
766+ $Tuple2(nil, ea)
799767 }
800768
801769
802770
803-@Callable(bh)
804-func getOutFeeREADONLY (Z) = {
805- let ej = bX(aD(Z), aE(), fraction(10, b, 10000))
806- $Tuple2(nil, ej)
771+@Callable(bf)
772+func getOutFeeREADONLY (Y) = {
773+ let ea = bV(aC(Y), aD(), fraction(10, b, 10000))
774+ $Tuple2(nil, ea)
807775 }
808776
809777
810778
811-@Callable(bh)
812-func getPoolStatusREADONLY (Z) = {
813- let bM = split(aF(at(Z)), j)
814- let ah = bM[1]
815- let ai = bM[2]
816- let ek = split(aF(ag(ah, ai)), j)
817- $Tuple2(nil, parseIntValue(ek[t]))
779+@Callable(bf)
780+func getPoolStatusREADONLY (Y) = {
781+ let bK = split(aE(as(Y)), j)
782+ let ag = bK[1]
783+ let ah = bK[2]
784+ let eb = split(aE(af(ag, ah)), j)
785+ $Tuple2(nil, parseIntValue(eb[t]))
818786 }
819787
820788
821-
822-@Callable(bh)
823-func getPoolAssetsByLpAssetId (cP) = {
824- let bM = split(aF(an(cP)), j)
825- let ah = bM[1]
826- let ai = bM[2]
827- let ek = split(aF(ag(ah, ai)), j)
828- $Tuple2(nil, ek)
829- }
830-
831-
832-@Verifier(el)
833-func em () = {
834- let en = {
835- let ba = bc()
836- if ($isInstanceOf(ba, "ByteVector"))
789+@Verifier(ec)
790+func ed () = {
791+ let ee = {
792+ let aZ = bb()
793+ if ($isInstanceOf(aZ, "ByteVector"))
837794 then {
838- let bj = ba
839- bj
795+ let bh = aZ
796+ bh
840797 }
841- else if ($isInstanceOf(ba, "Unit"))
842- then el.senderPublicKey
798+ else if ($isInstanceOf(aZ, "Unit"))
799+ then ec.senderPublicKey
843800 else throw("Match error")
844801 }
845- sigVerify(el.bodyBytes, el.proofs[0], en)
802+ sigVerify(ec.bodyBytes, ec.proofs[0], ee)
846803 }
847804
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 = 18
99
1010 let d = toBigInt(1000000000000000000)
1111
1212 let e = b
1313
1414 let f = "GWXvirtualPOOL"
1515
1616 let g = "POOLS_LP"
1717
1818 let h = 2000000
1919
2020 let i = ((100 * 1000) * 1000)
2121
2222 let j = "__"
2323
2424 let k = ""
2525
2626 let l = 1
2727
2828 let m = 2
2929
3030 let n = 3
3131
3232 let o = 4
3333
3434 let p = 1
3535
3636 let q = 2
3737
3838 let r = 3
3939
4040 let s = 1
4141
4242 let t = 2
4343
4444 let u = 3
4545
4646 let v = 4
4747
4848 let w = 5
4949
5050 let x = 6
5151
5252 let y = 7
5353
5454 let z = 8
5555
5656 let A = 9
5757
5858 let B = 10
5959
6060 let C = 11
6161
6262 let D = "WX_EMISSION"
6363
6464 let E = [D]
6565
6666 func F () = "%s__allowedLpScriptHash"
6767
6868
6969 func G () = "%s__allowedLpStableScriptHash"
7070
7171
7272 func H () = "%s__allowedLpStableAddonScriptHash"
7373
7474
75-func I () = "%s__swapContract"
75+func I () = "%s__factoryConfig"
7676
7777
78-func J () = "%s__factoryConfig"
78+func J () = "%s__lpTokensList"
7979
8080
81-func K () = "%s__lpTokensList"
81+func K () = "%s%s__pool__scriptHash"
8282
8383
84-func L () = "%s%s__pool__scriptHash"
84+func L () = "%s%s__matcher__publicKey"
8585
8686
87-func M () = "%s%s__matcher__publicKey"
87+func M () = "%s__legacyFactoryContract"
8888
8989
90-func N () = "%s__legacyFactoryContract"
90+func N () = "%s__legacyPools"
9191
9292
93-func O () = "%s__legacyPools"
93+func O () = "%s__managerPublicKey"
9494
9595
96-func P () = "%s__managerPublicKey"
96+func P () = "%s__pendingManagerPublicKey"
9797
9898
99-func Q () = "%s__pendingManagerPublicKey"
99+func Q () = "%s__adminPubKeys"
100100
101101
102-func R () = "%s__adminPubKeys"
102+func R () = "%s__assetsStoreContract"
103103
104104
105-func S () = "%s__assetsStoreContract"
105+func S () = "%s__votingEmissionContract"
106106
107107
108-func T () = "%s__votingEmissionContract"
108+func T () = makeString(["%s", "priceAssets"], j)
109109
110110
111-func U () = makeString(["%s", "priceAssets"], j)
111+func U () = "%s__priceDecimals"
112112
113113
114-func V () = "%s__priceDecimals"
114+func V () = "%s__shutdown"
115115
116116
117-func W () = "%s__shutdown"
117+func W () = "%s__nextInternalAssetId"
118118
119119
120-func X () = "%s__nextInternalAssetId"
120+func X (Y) = ("%s%s__poolWeight__" + Y)
121121
122122
123-func Y (Z) = ("%s%s__poolWeight__" + Z)
123+func Z (Y,aa) = ((("%s%s__poolWeight__" + Y) + "__") + toString(aa))
124124
125125
126-func aa (Z,ab) = ((("%s%s__poolWeight__" + Z) + "__") + toString(ab))
126+func ab (ac) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(ac))
127127
128128
129-func ac (ad) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(ad))
129+func ad (ae) = ("%s%s%s__mappings__baseAsset2internalId__" + ae)
130130
131131
132-func ae (af) = ("%s%s%s__mappings__baseAsset2internalId__" + af)
132+func af (ag,ah) = (((("%d%d%s__" + ag) + "__") + ah) + "__config")
133133
134134
135-func ag (ah,ai) = (((("%d%d%s__" + ah) + "__") + ai) + "__config")
136-
137-
138-func aj (ak) = {
139- let al = ak
140- let ah = al._1
141- let ai = al._2
142- makeString(["%d%d%s", toString(ah), toString(ai), "oneTokenOperationsDisabled"], j)
135+func ai (aj) = {
136+ let ak = aj
137+ let ag = ak._1
138+ let ah = ak._2
139+ makeString(["%d%d%s", toString(ag), toString(ah), "oneTokenOperationsDisabled"], j)
143140 }
144141
145142
146-func am () = makeString(["%s", "oneTokenOperationsDisabled"], j)
143+func al () = makeString(["%s", "oneTokenOperationsDisabled"], j)
147144
148145
149-func an (ao) = (("%s%s%s__" + ao) + "__mappings__lpAsset2Pool")
146+func am (an) = (("%s%s%s__" + an) + "__mappings__lpAsset2Pool")
150147
151148
152-func ap (aq,ar) = (((("%d%d%s%s__" + aq) + "__") + ar) + "__mappings__PoolAssets2LpAsset")
149+func ao (ap,aq) = (((("%d%d%s%s__" + ap) + "__") + aq) + "__mappings__PoolAssets2LpAsset")
153150
154151
155-func as (Z) = ("%s%s__spread__" + Z)
152+func ar (Y) = ("%s%s__spread__" + Y)
156153
157154
158-func at (au) = (("%s%s%s__" + au) + "__mappings__poolContract2PoolAssets")
155+func as (at) = (("%s%s%s__" + at) + "__mappings__poolContract2PoolAssets")
159156
160157
161-func av (aq,ar) = (((("%d%d%s%s__" + toString(aq)) + "__") + toString(ar)) + "__mappings__poolAssets2PoolContract")
158+func au (ap,aq) = (((("%d%d%s%s__" + toString(ap)) + "__") + toString(aq)) + "__mappings__poolAssets2PoolContract")
162159
163160
164-func aw (au) = (("%s%s%s__" + au) + "__mappings__poolContract2LpAsset")
161+func av (at) = (("%s%s%s__" + at) + "__mappings__poolContract2LpAsset")
165162
166163
167-func ax (ao) = (("%s%s%s__" + ao) + "__mappings__lpAsset2PoolContract")
164+func aw (an) = (("%s%s%s__" + an) + "__mappings__lpAsset2PoolContract")
168165
169166
170-func ay (az,aA) = ((("%s%s%s__wxEmission__" + az) + "__") + aA)
167+func ax (ay,az) = ((("%s%s%s__wxEmission__" + ay) + "__") + az)
171168
172169
173-func aB (Z) = ("%s%s__inFee__" + Z)
170+func aA (Y) = ("%s%s__inFee__" + Y)
174171
175172
176-func aC () = "%s__inFeeDefault"
173+func aB () = "%s__inFeeDefault"
177174
178175
179-func aD (Z) = ("%s%s__outFee__" + Z)
176+func aC (Y) = ("%s%s__outFee__" + Y)
180177
181178
182-func aE () = "%s__outFeeDefault"
179+func aD () = "%s__outFeeDefault"
183180
184181
185-func aF (aG) = valueOrErrorMessage(getString(this, aG), ("No data for this.key=" + aG))
182+func aE (aF) = valueOrErrorMessage(getString(this, aF), ("No data for this.key=" + aF))
186183
187184
188-func aH (aG) = valueOrErrorMessage(getBoolean(this, aG), ("No data for this.key=" + aG))
185+func aG (aF) = valueOrErrorMessage(getBoolean(this, aF), ("No data for this.key=" + aF))
189186
190187
191-func aI (aG) = valueOrErrorMessage(getInteger(this, aG), ("No data for this.key=" + aG))
188+func aH (aF) = valueOrErrorMessage(getInteger(this, aF), ("No data for this.key=" + aF))
192189
193190
194-let aJ = 1
191+let aI = 1
195192
196-let aK = 2
193+let aJ = 2
197194
198-let aL = 3
195+let aK = 3
199196
200-let aM = 4
197+let aL = 4
201198
202-let aN = 5
199+let aM = 5
203200
204-let aO = 6
201+let aN = 6
205202
206-let aP = 7
203+let aO = 7
207204
208-let aQ = 8
205+let aP = 8
209206
210-let aR = 9
207+let aQ = 9
211208
212-let aS = 10
209+let aR = 10
213210
214-let aT = 11
211+let aS = 11
215212
216-func aU (aV) = addressFromStringValue(aV[aK])
213+func aT (aU) = addressFromStringValue(aU[aJ])
217214
218215
219-func aW (aV) = addressFromStringValue(aV[aN])
216+func aV (aU) = addressFromStringValue(aU[aM])
220217
221218
222-func aX (aV) = addressFromStringValue(aV[aJ])
219+func aW (aU) = addressFromStringValue(aU[aI])
223220
224221
225-func aY (aV) = addressFromStringValue(aV[aS])
222+func aX (aU) = addressFromStringValue(aU[aR])
226223
227224
228-func aZ () = {
229- let ba = getString(U())
230- if ($isInstanceOf(ba, "String"))
225+func aY () = {
226+ let aZ = getString(T())
227+ if ($isInstanceOf(aZ, "String"))
231228 then {
232- let bb = ba
233- if ((size(bb) == 0))
229+ let ba = aZ
230+ if ((size(ba) == 0))
234231 then nil
235- else split(bb, j)
232+ else split(ba, j)
236233 }
237234 else nil
238235 }
239236
240237
241-func bc () = {
242- let ba = getString(P())
243- if ($isInstanceOf(ba, "String"))
238+func bb () = {
239+ let aZ = getString(O())
240+ if ($isInstanceOf(aZ, "String"))
244241 then {
245- let bb = ba
246- fromBase58String(bb)
242+ let ba = aZ
243+ fromBase58String(ba)
247244 }
248- else if ($isInstanceOf(ba, "Unit"))
245+ else if ($isInstanceOf(aZ, "Unit"))
249246 then unit
250247 else throw("Match error")
251248 }
252249
253250
254-func bd () = {
255- let ba = getString(Q())
256- if ($isInstanceOf(ba, "String"))
251+func bc () = {
252+ let aZ = getString(P())
253+ if ($isInstanceOf(aZ, "String"))
257254 then {
258- let bb = ba
259- fromBase58String(bb)
255+ let ba = aZ
256+ fromBase58String(ba)
260257 }
261- else if ($isInstanceOf(ba, "Unit"))
258+ else if ($isInstanceOf(aZ, "Unit"))
262259 then unit
263260 else throw("Match error")
264261 }
265262
266263
267-let be = throw("Permission denied")
264+let bd = throw("Permission denied")
268265
269-let bf = throw("Test error here")
270-
271-func bg (bh) = if ((bh.caller == this))
266+func be (bf) = if ((bf.caller == this))
272267 then true
273- else be
268+ else bd
274269
275270
276-func bi (bh) = {
277- let ba = bc()
278- if ($isInstanceOf(ba, "ByteVector"))
271+func bg (bf) = {
272+ let aZ = bb()
273+ if ($isInstanceOf(aZ, "ByteVector"))
279274 then {
280- let bj = ba
281- if ((bh.callerPublicKey == bj))
275+ let bh = aZ
276+ if ((bf.callerPublicKey == bh))
282277 then true
283- else be
278+ else bd
284279 }
285- else if ($isInstanceOf(ba, "Unit"))
286- then bg(bh)
280+ else if ($isInstanceOf(aZ, "Unit"))
281+ then be(bf)
287282 else throw("Match error")
288283 }
289284
290285
291-func bk (bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv], j)
286+func bi (bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt], j)
292287
293288
294-func bw (bl,bm,bn,bo,bp,bq,br) = makeString(["%s%s%s%s%s%s", bl, bm, bn, bo, bp, bq, br], j)
289+func bu (bj,bk,bl,bm,bn,bo,bp) = makeString(["%s%s%s%s%s%s", bj, bk, bl, bm, bn, bo, bp], j)
295290
296291
297-func bx (Z,by,bz,bA,bB,bC,bD,bE,bF,bG,bH) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", Z, by, bz, bA, bB, toString(bC), toString(bD), toString(bE), toString(bF), toString(bG), bH], j)
292+func bv (Y,bw,bx,by,bz,bA,bB,bC,bD,bE,bF) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", Y, bw, bx, by, bz, toString(bA), toString(bB), toString(bC), toString(bD), toString(bE), bF], j)
298293
299294
300-func bI (bJ,bK) = makeString(["%d%d", toString(bJ), toString(bK)], j)
295+func bG (bH,bI) = makeString(["%d%d", toString(bH), toString(bI)], j)
301296
302297
303-func bL (Z) = {
304- let bM = split(aF(at(Z)), j)
305- let ah = bM[1]
306- let ai = bM[2]
307- split(aF(ag(ah, ai)), j)
298+func bJ (Y) = {
299+ let bK = split(aE(as(Y)), j)
300+ let ag = bK[1]
301+ let ah = bK[2]
302+ split(aE(af(ag, ah)), j)
308303 }
309304
310305
311-func bN (bO,bP) = {
312- let bQ = valueOrElse(getInteger(this, ae(bO)), 0)
313- let bR = valueOrElse(getInteger(this, X()), 0)
314- let bS = if ((bQ == 0))
306+func bL (bM,bN) = {
307+ let bO = valueOrElse(getInteger(this, ad(bM)), 0)
308+ let bP = valueOrElse(getInteger(this, W()), 0)
309+ let bQ = if ((bO == 0))
315310 then {
316- let bT = (bR + bP)
317- $Tuple3(bT, [IntegerEntry(X(), bT), IntegerEntry(ae(bO), bT), StringEntry(ac(bT), bO)], true)
311+ let bR = (bP + bN)
312+ $Tuple3(bR, [IntegerEntry(W(), bR), IntegerEntry(ad(bM), bR), StringEntry(ab(bR), bM)], true)
318313 }
319- else $Tuple3(bQ, nil, false)
320- bS
314+ else $Tuple3(bO, nil, false)
315+ bQ
321316 }
322317
323318
324-func bU (bh) = {
325- let bV = split(valueOrElse(getString(R()), k), j)
326- if (containsElement(bV, toBase58String(bh.callerPublicKey)))
319+func bS (bf) = {
320+ let bT = split(valueOrElse(getString(Q()), k), j)
321+ if (containsElement(bT, toBase58String(bf.callerPublicKey)))
327322 then true
328323 else {
329- let bW = bi(bh)
330- if ((bW == bW))
324+ let bU = bg(bf)
325+ if ((bU == bU))
331326 then true
332327 else throw("Strict value is not equal to itself.")
333328 }
334329 }
335330
336331
337-func bX (aG,bY,bZ) = valueOrElse(getInteger(this, aG), valueOrElse(getInteger(this, bY), bZ))
332+func bV (aF,bW,bX) = valueOrElse(getInteger(this, aF), valueOrElse(getInteger(this, bW), bX))
338333
339334
340-@Callable(bh)
341-func getSwapContractREADONLY () = $Tuple2(nil, aF(I()))
342-
343-
344-
345-@Callable(bh)
346-func getLpAssetFromPoolAssetsREADONLY (ca,cb) = if (if ((ca == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"))
347- then (cb == "WAVES")
348- else false)
349- then $Tuple2(nil, unit)
350- else {
351- let cc = value(getInteger(this, ae(ca)))
352- let cd = value(getInteger(this, ae(cb)))
353- let ce = getString(this, ap(toString(cc), toString(cd)))
354- let cf = if ((ce == unit))
355- then unit
356- else drop(value(ce), 4)
357- $Tuple2(nil, cf)
358- }
359-
360-
361-
362-@Callable(bh)
363-func getPoolAddressFromLpAssetREADONLY (cg) = $Tuple2(nil, valueOrElse(getString(this, ax(cg)), ""))
364-
365-
366-
367-@Callable(bh)
368-func constructor (ch,ci,bn,bo,bp,bq,cj,ck) = {
369- let cl = bi(bh)
370- if ((cl == cl))
371- then [StringEntry(J(), bw(ch, ci, bn, bo, bp, bq, cj)), IntegerEntry(V(), ck)]
335+@Callable(bf)
336+func constructor (bY,bZ,bl,bm,bn,bo,ca,cb) = {
337+ let cc = bg(bf)
338+ if ((cc == cc))
339+ then [StringEntry(I(), bu(bY, bZ, bl, bm, bn, bo, ca)), IntegerEntry(U(), cb)]
372340 else throw("Strict value is not equal to itself.")
373341 }
374342
375343
376344
377-@Callable(bh)
378-func constructorV2 (cm) = {
379- let cl = bi(bh)
380- if ((cl == cl))
345+@Callable(bf)
346+func constructorV2 (cd) = {
347+ let cc = bg(bf)
348+ if ((cc == cc))
381349 then {
382- let cn = addressFromPublicKey(fromBase58String(cm))
383- if ((cn == cn))
384- then [StringEntry(M(), cm)]
350+ let ce = addressFromPublicKey(fromBase58String(cd))
351+ if ((ce == ce))
352+ then [StringEntry(L(), cd)]
385353 else throw("Strict value is not equal to itself.")
386354 }
387355 else throw("Strict value is not equal to itself.")
388356 }
389357
390358
391359
392-@Callable(bh)
393-func constructorV3 (bs,bt,bu,bv) = {
394- let cl = bi(bh)
395- if ((cl == cl))
360+@Callable(bf)
361+func constructorV3 (bq,br,bs,bt) = {
362+ let cc = bg(bf)
363+ if ((cc == cc))
396364 then {
397- let aV = split(aF(J()), j)
398-[StringEntry(J(), bk(aV[1], aV[2], aV[3], aV[4], aV[5], aV[6], aV[7], bs, bt, bu, bv))]
365+ let aU = split(aE(I()), j)
366+[StringEntry(I(), bi(aU[1], aU[2], aU[3], aU[4], aU[5], aU[6], aU[7], bq, br, bs, bt))]
399367 }
400368 else throw("Strict value is not equal to itself.")
401369 }
402370
403371
404372
405-@Callable(bh)
406-func constructorV4 (co,cp) = {
407- let cl = bi(bh)
408- if ((cl == cl))
409- then [StringEntry(N(), co), StringEntry(O(), makeString(cp, j))]
373+@Callable(bf)
374+func constructorV4 (cf,cg) = {
375+ let cc = bg(bf)
376+ if ((cc == cc))
377+ then [StringEntry(M(), cf), StringEntry(N(), makeString(cg, j))]
410378 else throw("Strict value is not equal to itself.")
411379 }
412380
413381
414382
415-@Callable(bh)
416-func constructorV5 (cq) = {
417- let cl = bi(bh)
418- if ((cl == cl))
419- then [StringEntry(S(), cq)]
383+@Callable(bf)
384+func constructorV5 (ch) = {
385+ let cc = bg(bf)
386+ if ((cc == cc))
387+ then [StringEntry(R(), ch)]
420388 else throw("Strict value is not equal to itself.")
421389 }
422390
423391
424392
425-@Callable(bh)
426-func constructorV6 (cr,cs) = {
427- let ct = [bi(bh), if ((addressFromString(cr) != unit))
393+@Callable(bf)
394+func constructorV6 (ci,cj) = {
395+ let ck = [bg(bf), if ((addressFromString(ci) != unit))
428396 then true
429397 else "invalid voting emission contract address"]
430- if ((ct == ct))
431- then [StringEntry(T(), cr), StringEntry(U(), makeString(cs, j))]
398+ if ((ck == ck))
399+ then [StringEntry(S(), ci), StringEntry(T(), makeString(cj, j))]
432400 else throw("Strict value is not equal to itself.")
433401 }
434402
435403
436404
437-@Callable(bh)
438-func setManager (cu) = {
439- let cl = bi(bh)
440- if ((cl == cl))
405+@Callable(bf)
406+func setManager (cl) = {
407+ let cc = bg(bf)
408+ if ((cc == cc))
441409 then {
442- let cv = fromBase58String(cu)
443- if ((cv == cv))
444- then [StringEntry(Q(), cu)]
410+ let cm = fromBase58String(cl)
411+ if ((cm == cm))
412+ then [StringEntry(P(), cl)]
445413 else throw("Strict value is not equal to itself.")
446414 }
447415 else throw("Strict value is not equal to itself.")
448416 }
449417
450418
451419
452-@Callable(bh)
420+@Callable(bf)
453421 func confirmManager () = {
454- let cw = bd()
455- let cx = if (isDefined(cw))
422+ let cn = bc()
423+ let co = if (isDefined(cn))
456424 then true
457425 else throw("No pending manager")
458- if ((cx == cx))
426+ if ((co == co))
459427 then {
460- let cy = if ((bh.callerPublicKey == value(cw)))
428+ let cp = if ((bf.callerPublicKey == value(cn)))
461429 then true
462430 else throw("You are not pending manager")
463- if ((cy == cy))
464- then [StringEntry(P(), toBase58String(value(cw))), DeleteEntry(Q())]
431+ if ((cp == cp))
432+ then [StringEntry(O(), toBase58String(value(cn))), DeleteEntry(P())]
465433 else throw("Strict value is not equal to itself.")
466434 }
467435 else throw("Strict value is not equal to itself.")
468436 }
469437
470438
471439
472-@Callable(bh)
473-func setAdmins (cz) = {
474- let cl = bi(bh)
475- if ((cl == cl))
476- then [StringEntry(R(), makeString(cz, j))]
440+@Callable(bf)
441+func setAdmins (cq) = {
442+ let cc = bg(bf)
443+ if ((cc == cc))
444+ then [StringEntry(Q(), makeString(cq, j))]
477445 else throw("Strict value is not equal to itself.")
478446 }
479447
480448
481449
482-@Callable(bh)
483-func activateNewPool (Z,bA,bB,cA,cB,cC,bH,cD) = {
484- let cl = bU(bh)
485- if ((cl == cl))
486- then if (isDefined(getString(at(Z))))
487- then throw((("Pool address " + Z) + " already registered."))
450+@Callable(bf)
451+func activateNewPool (Y,by,bz,cr,cs,ct,bF,cu) = {
452+ let cc = bS(bf)
453+ if ((cc == cc))
454+ then if (isDefined(getString(as(Y))))
455+ then throw((("Pool address " + Y) + " already registered."))
488456 else {
489- let cE = bN(bA, 1)
490- let cF = cE._1
491- let cG = bN(bB, if (cE._3)
457+ let cv = bL(by, 1)
458+ let cw = cv._1
459+ let cx = bL(bz, if (cv._3)
492460 then 2
493461 else 1)
494- let cH = cG._1
495- let cI = valueOrErrorMessage(scriptHash(addressFromStringValue(Z)), ("No script has been found on pool account " + Z))
496- let cJ = getBinaryValue(L())
497- let cK = getString(this, ag(toString(cF), toString(cH)))
498- if (isDefined(cK))
499- then throw((((("Pool " + bA) + "/") + bB) + " has already been activated."))
462+ let cy = cx._1
463+ let cz = valueOrErrorMessage(scriptHash(addressFromStringValue(Y)), ("No script has been found on pool account " + Y))
464+ let cA = getBinaryValue(K())
465+ let cB = getString(this, af(toString(cw), toString(cy)))
466+ if (isDefined(cB))
467+ then throw((((("Pool " + by) + "/") + bz) + " has already been activated."))
500468 else {
501- let cL = value(getString(this, ag(toString(cF), toString(cH))))
502- let cM = if ((bA == "WAVES"))
469+ let cC = value(getString(this, af(toString(cw), toString(cy))))
470+ let cD = if ((by == "WAVES"))
503471 then i
504- else pow(10, 0, value(assetInfo(fromBase58String(bA))).decimals, 0, 0, DOWN)
505- let cN = if ((bB == "WAVES"))
472+ else pow(10, 0, value(assetInfo(fromBase58String(by))).decimals, 0, 0, DOWN)
473+ let cE = if ((bz == "WAVES"))
506474 then i
507- else pow(10, 0, value(assetInfo(fromBase58String(bB))).decimals, 0, 0, DOWN)
508- let cO = Issue(cA, cB, 1, 8, true)
509- let bz = calculateAssetId(cO)
510- let cP = toBase58String(bz)
511- let cQ = invoke(addressFromStringValue(Z), "activate", [bA, bB], nil)
512- if ((cQ == cQ))
513- then if ((cQ != "success"))
475+ else pow(10, 0, value(assetInfo(fromBase58String(bz))).decimals, 0, 0, DOWN)
476+ let cF = Issue(cr, cs, 1, 8, true)
477+ let bx = calculateAssetId(cF)
478+ let cG = toBase58String(bx)
479+ let cH = invoke(addressFromStringValue(Y), "activate", [by, bz], nil)
480+ if ((cH == cH))
481+ then if ((cH != "success"))
514482 then throw("Pool initialisation error happened.")
515483 else {
516- let cq = addressFromStringValue(aF(S()))
517- let cR = invoke(cq, "createOrUpdate", [cP, cA, false], nil)
518- if ((cR == cR))
484+ let ch = addressFromStringValue(aE(R()))
485+ let cI = invoke(ch, "createOrUpdate", [cG, cr, false], nil)
486+ if ((cI == cI))
519487 then {
520- let cS = invoke(cq, "addLabel", [cP, g], nil)
521- if ((cS == cS))
488+ let cJ = invoke(ch, "addLabel", [cG, g], nil)
489+ if ((cJ == cJ))
522490 then {
523- let cT = invoke(cq, "setLogo", [cP, cD], nil)
524- if ((cT == cT))
491+ let cK = invoke(ch, "setLogo", [cG, cu], nil)
492+ if ((cK == cK))
525493 then {
526- let cU = invoke(cq, "addAssetsLink", [bA, bB, cP], nil)
527- if ((cU == cU))
494+ let cL = invoke(ch, "addAssetsLink", [by, bz, cG], nil)
495+ if ((cL == cL))
528496 then {
529- let cV = invoke(cq, "increaseAssetPoolsNumber", [bA], nil)
530- if ((cV == cV))
531- then $Tuple2(((cE._2 ++ cG._2) ++ [cO, Burn(bz, 1), StringEntry(ag(toString(cF), toString(cH)), bx(Z, toString(l), cP, bA, bB, cM, cN, cF, cH, i, bH)), StringEntry(an(cP), bI(cF, cH)), StringEntry(ap(toString(cF), toString(cH)), ("%s__" + cP)), StringEntry(at(Z), bI(cF, cH)), StringEntry(av(cF, cH), Z), StringEntry(ax(cP), Z), StringEntry(aw(Z), cP), IntegerEntry(Y(Z), cC), IntegerEntry(as(Z), h)]), cP)
497+ let cM = invoke(ch, "increaseAssetPoolsNumber", [by], nil)
498+ if ((cM == cM))
499+ then $Tuple2(((cv._2 ++ cx._2) ++ [cF, Burn(bx, 1), StringEntry(af(toString(cw), toString(cy)), bv(Y, toString(l), cG, by, bz, cD, cE, cw, cy, i, bF)), StringEntry(am(cG), bG(cw, cy)), StringEntry(ao(toString(cw), toString(cy)), ("%s__" + cG)), StringEntry(as(Y), bG(cw, cy)), StringEntry(au(cw, cy), Y), StringEntry(aw(cG), Y), StringEntry(av(Y), cG), IntegerEntry(X(Y), ct), IntegerEntry(ar(Y), h)]), cG)
532500 else throw("Strict value is not equal to itself.")
533501 }
534502 else throw("Strict value is not equal to itself.")
535503 }
536504 else throw("Strict value is not equal to itself.")
537505 }
538506 else throw("Strict value is not equal to itself.")
539507 }
540508 else throw("Strict value is not equal to itself.")
541509 }
542510 else throw("Strict value is not equal to itself.")
543511 }
544512 }
545513 else throw("Strict value is not equal to itself.")
546514 }
547515
548516
549517
550-@Callable(bh)
551-func managePool (Z,cW) = {
552- let cl = bi(bh)
553- if ((cl == cl))
518+@Callable(bf)
519+func managePool (Y,cN) = {
520+ let cc = bg(bf)
521+ if ((cc == cc))
554522 then {
555- let cK = bL(Z)
556- let by = cK[t]
557- let cP = cK[u]
558- let bA = cK[v]
559- let bB = cK[w]
560- let cM = parseIntValue(cK[x])
561- let cN = parseIntValue(cK[y])
562- let cF = parseIntValue(cK[z])
563- let cH = parseIntValue(cK[A])
564- let cX = parseIntValue(cK[B])
565- let bH = cK[C]
566-[StringEntry(ag(toString(cF), toString(cH)), bx(Z, toString(cW), cP, bA, bB, cM, cN, cF, cH, cX, bH))]
523+ let cB = bJ(Y)
524+ let bw = cB[t]
525+ let cG = cB[u]
526+ let by = cB[v]
527+ let bz = cB[w]
528+ let cD = parseIntValue(cB[x])
529+ let cE = parseIntValue(cB[y])
530+ let cw = parseIntValue(cB[z])
531+ let cy = parseIntValue(cB[A])
532+ let cO = parseIntValue(cB[B])
533+ let bF = cB[C]
534+[StringEntry(af(toString(cw), toString(cy)), bv(Y, toString(cN), cG, by, bz, cD, cE, cw, cy, cO, bF))]
567535 }
568536 else throw("Strict value is not equal to itself.")
569537 }
570538
571539
572540
573-@Callable(bh)
574-func emit (cY) = {
575- let cZ = bh.caller
576- let da = bh.originCaller
577- let db = valueOrErrorMessage(getString(aw(toString(cZ))), "Invalid LP address called me.")
578- let dc = fromBase58String(db)
579- let cp = split(valueOrElse(getString(O()), k), j)
580- let co = addressFromStringValue(valueOrErrorMessage(getString(N()), "Legacy factory contract does not exists."))
581- if ((0 >= cY))
541+@Callable(bf)
542+func emit (cP) = {
543+ let cQ = bf.caller
544+ let cR = bf.originCaller
545+ let cS = valueOrErrorMessage(getString(av(toString(cQ))), "Invalid LP address called me.")
546+ let cT = fromBase58String(cS)
547+ let cg = split(valueOrElse(getString(N()), k), j)
548+ let cf = addressFromStringValue(valueOrErrorMessage(getString(M()), "Legacy factory contract does not exists."))
549+ if ((0 >= cP))
582550 then nil
583- else if (containsElement(cp, toString(cZ)))
584- then $Tuple2(nil, co)
585- else $Tuple2([Reissue(dc, cY, true), ScriptTransfer(bh.caller, cY, dc)], "success")
551+ else if (containsElement(cg, toString(cQ)))
552+ then $Tuple2(nil, cf)
553+ else $Tuple2([Reissue(cT, cP, true), ScriptTransfer(bf.caller, cP, cT)], "success")
586554 }
587555
588556
589557
590-@Callable(bh)
591-func burn (dd) = {
592- let cZ = bh.caller
593- let da = bh.originCaller
594- let de = value(bh.payments[0])
595- let df = value(de.amount)
596- let dg = toBase58String(value(de.assetId))
597- let dh = valueOrErrorMessage(getString(aw(toString(cZ))), "Invalid LP address called me.")
598- if ((dg != dh))
558+@Callable(bf)
559+func burn (cU) = {
560+ let cQ = bf.caller
561+ let cR = bf.originCaller
562+ let cV = value(bf.payments[0])
563+ let cW = value(cV.amount)
564+ let cX = toBase58String(value(cV.assetId))
565+ let cY = valueOrErrorMessage(getString(av(toString(cQ))), "Invalid LP address called me.")
566+ if ((cX != cY))
599567 then throw("Invalid asset passed.")
600- else if ((dd != df))
568+ else if ((cU != cW))
601569 then throw("Invalid amount passed.")
602570 else {
603- let dc = fromBase58String(dh)
604- $Tuple2([Burn(dc, dd)], "success")
571+ let cT = fromBase58String(cY)
572+ $Tuple2([Burn(cT, cU)], "success")
605573 }
606574 }
607575
608576
609577
610-@Callable(bh)
611-func modifyWeight (bz,di) = {
612- let cl = if ((toBase58String(bh.caller.bytes) == valueOrElse(getString(this, T()), "")))
578+@Callable(bf)
579+func modifyWeight (bx,cZ) = {
580+ let cc = if ((toBase58String(bf.caller.bytes) == valueOrElse(getString(this, S()), "")))
613581 then true
614- else bi(bh)
615- if ((cl == cl))
582+ else bg(bf)
583+ if ((cc == cc))
616584 then {
617- let au = aF(ax(bz))
618- let dj = Y(au)
619- let dk = Y(f)
620- let dl = valueOrElse(getInteger(dk), 0)
621- let cC = valueOrElse(getInteger(dj), 0)
622- let dm = di
623- let aV = split(aF(J()), j)
624- let ch = aX(aV)
625- let dn = invoke(ch, "onModifyWeight", [bz, au], nil)
626- if ((dn == dn))
585+ let at = aE(aw(bx))
586+ let da = X(at)
587+ let db = X(f)
588+ let dc = valueOrElse(getInteger(db), 0)
589+ let ct = valueOrElse(getInteger(da), 0)
590+ let dd = cZ
591+ let aU = split(aE(I()), j)
592+ let bY = aW(aU)
593+ let de = invoke(bY, "onModifyWeight", [bx, at], nil)
594+ if ((de == de))
627595 then {
628- let do = if ((dl == 0))
596+ let df = if ((dc == 0))
629597 then nil
630- else [IntegerEntry(dk, 0)]
631- let dp = aa(au, 0)
632- let dq = getInteger(dp)
633- let dr = if ((dq == unit))
598+ else [IntegerEntry(db, 0)]
599+ let dg = Z(at, 0)
600+ let dh = getInteger(dg)
601+ let di = if ((dh == unit))
634602 then nil
635- else [DeleteEntry(dp)]
636- (([IntegerEntry(dj, dm)] ++ do) ++ dr)
603+ else [DeleteEntry(dg)]
604+ (([IntegerEntry(da, dd)] ++ df) ++ di)
637605 }
638606 else throw("Strict value is not equal to itself.")
639607 }
640608 else throw("Strict value is not equal to itself.")
641609 }
642610
643611
644612
645-@Callable(bh)
646-func modifyWeights (ds,dt,du,dv) = {
647- let cl = bi(bh)
648- if ((cl == cl))
613+@Callable(bf)
614+func modifyWeights (dj,dk,dl,dm) = {
615+ let cc = bg(bf)
616+ if ((cc == cc))
649617 then {
650- let dw = ((5 * e) / 100)
651- let dx = ((5 * e) / 100)
652- let dy = ((5 * e) / 100)
653- let aV = split(aF(J()), j)
654- let dz = aX(aV)
655- let dA = aY(aV)
656- let dB = Y(ds)
657- let dC = Y(dt)
658- let dD = Y(du)
659- let dE = Y(dv)
660- let dF = aI(dB)
661- let dG = aI(dC)
662- let dH = (dF - dy)
663- let dI = (dG - dy)
664- if ((0 >= dH))
665- then throw(("invalid btcWeightNew: " + toString(dH)))
666- else if ((0 >= dI))
667- then throw(("invalid ethWeightNew: " + toString(dI)))
618+ let dn = ((5 * e) / 100)
619+ let do = ((5 * e) / 100)
620+ let dp = ((5 * e) / 100)
621+ let aU = split(aE(I()), j)
622+ let dq = aW(aU)
623+ let dr = aX(aU)
624+ let ds = X(dj)
625+ let dt = X(dk)
626+ let du = X(dl)
627+ let dv = X(dm)
628+ let dw = aH(ds)
629+ let dx = aH(dt)
630+ let dy = (dw - dp)
631+ let dz = (dx - dp)
632+ if ((0 >= dy))
633+ then throw(("invalid btcWeightNew: " + toString(dy)))
634+ else if ((0 >= dz))
635+ then throw(("invalid ethWeightNew: " + toString(dz)))
668636 else {
669- let dJ = aF(aw(ds))
670- let dK = aF(aw(dt))
671- let dL = aF(aw(du))
672- let dM = aF(aw(dv))
673- let dN = invoke(dz, "onModifyWeight", [dJ, ds], nil)
674- if ((dN == dN))
637+ let dA = aE(av(dj))
638+ let dB = aE(av(dk))
639+ let dC = aE(av(dl))
640+ let dD = aE(av(dm))
641+ let dE = invoke(dq, "onModifyWeight", [dA, dj], nil)
642+ if ((dE == dE))
675643 then {
676- let dO = invoke(dz, "onModifyWeight", [dK, dt], nil)
677- if ((dO == dO))
644+ let dF = invoke(dq, "onModifyWeight", [dB, dk], nil)
645+ if ((dF == dF))
678646 then {
679- let dP = invoke(dz, "onModifyWeight", [dL, du], nil)
680- if ((dP == dP))
647+ let dG = invoke(dq, "onModifyWeight", [dC, dl], nil)
648+ if ((dG == dG))
681649 then {
682- let dQ = invoke(dz, "onModifyWeight", [dM, dv], nil)
683- if ((dQ == dQ))
684- then [IntegerEntry(dB, dH), IntegerEntry(dC, dI), IntegerEntry(dD, dw), IntegerEntry(dE, dx), IntegerEntry(aa(ds, 0), dF), IntegerEntry(aa(dt, 0), dG), IntegerEntry(aa(du, 0), dw), IntegerEntry(aa(dv, 0), dx)]
650+ let dH = invoke(dq, "onModifyWeight", [dD, dm], nil)
651+ if ((dH == dH))
652+ then [IntegerEntry(ds, dy), IntegerEntry(dt, dz), IntegerEntry(du, dn), IntegerEntry(dv, do), IntegerEntry(Z(dj, 0), dw), IntegerEntry(Z(dk, 0), dx), IntegerEntry(Z(dl, 0), dn), IntegerEntry(Z(dm, 0), do)]
685653 else throw("Strict value is not equal to itself.")
686654 }
687655 else throw("Strict value is not equal to itself.")
688656 }
689657 else throw("Strict value is not equal to itself.")
690658 }
691659 else throw("Strict value is not equal to itself.")
692660 }
693661 }
694662 else throw("Strict value is not equal to itself.")
695663 }
696664
697665
698666
699-@Callable(bh)
700-func checkWxEmissionPoolLabel (az,aA) = {
701- let dR = {
702- let ba = getBoolean(ay(az, aA))
703- if ($isInstanceOf(ba, "Boolean"))
667+@Callable(bf)
668+func checkWxEmissionPoolLabel (ay,az) = {
669+ let dI = {
670+ let aZ = getBoolean(ax(ay, az))
671+ if ($isInstanceOf(aZ, "Boolean"))
704672 then {
705- let dS = ba
706- dS
673+ let dJ = aZ
674+ dJ
707675 }
708676 else false
709677 }
710- $Tuple2(nil, dR)
678+ $Tuple2(nil, dI)
711679 }
712680
713681
714682
715-@Callable(bh)
716-func setWxEmissionPoolLabel (az,aA) = {
717- let cl = bU(bh)
718- if ((cl == cl))
719- then $Tuple2([BooleanEntry(ay(az, aA), true)], unit)
683+@Callable(bf)
684+func setWxEmissionPoolLabel (ay,az) = {
685+ let cc = bS(bf)
686+ if ((cc == cc))
687+ then $Tuple2([BooleanEntry(ax(ay, az), true)], unit)
720688 else throw("Strict value is not equal to itself.")
721689 }
722690
723691
724692
725-@Callable(bh)
726-func deleteWxEmissionPoolLabel (az,aA) = {
727- let cl = if (bg(bh))
693+@Callable(bf)
694+func deleteWxEmissionPoolLabel (ay,az) = {
695+ let cc = if (be(bf))
728696 then true
729- else bU(bh)
730- if ((cl == cl))
731- then $Tuple2([DeleteEntry(ay(az, aA))], unit)
697+ else bS(bf)
698+ if ((cc == cc))
699+ then $Tuple2([DeleteEntry(ax(ay, az))], unit)
732700 else throw("Strict value is not equal to itself.")
733701 }
734702
735703
736704
737-@Callable(bh)
738-func onVerificationLoss (dT) = {
739- let cl = if ((toBase58String(bh.caller.bytes) == valueOrElse(getString(this, S()), "")))
705+@Callable(bf)
706+func onVerificationLoss (dK) = {
707+ let cc = if ((toBase58String(bf.caller.bytes) == valueOrElse(getString(this, R()), "")))
740708 then true
741- else bi(bh)
742- if ((cl == cl))
709+ else bg(bf)
710+ if ((cc == cc))
743711 then {
744- let cs = aZ()
745- let dU = if ((size(cs) > 0))
712+ let cj = aY()
713+ let dL = if ((size(cj) > 0))
746714 then true
747715 else throw("invalid price assets")
748- if ((dU == dU))
716+ if ((dL == dL))
749717 then {
750- func dV (dW,dX) = {
751- let dY = invoke(this, "deleteWxEmissionPoolLabel", [dT, dX], nil)
752- if ((dY == dY))
718+ func dM (dN,dO) = {
719+ let dP = invoke(this, "deleteWxEmissionPoolLabel", [dK, dO], nil)
720+ if ((dP == dP))
753721 then unit
754722 else throw("Strict value is not equal to itself.")
755723 }
756724
757- let dZ = {
758- let ea = cs
759- let eb = size(ea)
760- let ec = unit
761- func ed (ee,ef) = if ((ef >= eb))
762- then ee
763- else dV(ee, ea[ef])
725+ let dQ = {
726+ let dR = cj
727+ let dS = size(dR)
728+ let dT = unit
729+ func dU (dV,dW) = if ((dW >= dS))
730+ then dV
731+ else dM(dV, dR[dW])
764732
765- func eg (ee,ef) = if ((ef >= eb))
766- then ee
733+ func dX (dV,dW) = if ((dW >= dS))
734+ then dV
767735 else throw("List size exceeds 1")
768736
769- eg(ed(ec, 0), 1)
737+ dX(dU(dT, 0), 1)
770738 }
771- if ((dZ == dZ))
739+ if ((dQ == dQ))
772740 then $Tuple2(nil, unit)
773741 else throw("Strict value is not equal to itself.")
774742 }
775743 else throw("Strict value is not equal to itself.")
776744 }
777745 else throw("Strict value is not equal to itself.")
778746 }
779747
780748
781749
782-@Callable(bh)
783-func isPoolOneTokenOperationsDisabledREADONLY (Z) = {
784- let cK = bL(Z)
785- let ak = $Tuple2(parseIntValue(cK[z]), parseIntValue(cK[A]))
786- let eh = valueOrElse(getBoolean(aj(ak)), false)
787- let ei = valueOrElse(getBoolean(am()), false)
788- $Tuple2(nil, if (ei)
750+@Callable(bf)
751+func isPoolOneTokenOperationsDisabledREADONLY (Y) = {
752+ let cB = bJ(Y)
753+ let aj = $Tuple2(parseIntValue(cB[z]), parseIntValue(cB[A]))
754+ let dY = valueOrElse(getBoolean(ai(aj)), false)
755+ let dZ = valueOrElse(getBoolean(al()), false)
756+ $Tuple2(nil, if (dZ)
789757 then true
790- else eh)
758+ else dY)
791759 }
792760
793761
794762
795-@Callable(bh)
796-func getInFeeREADONLY (Z) = {
797- let ej = bX(aB(Z), aC(), 0)
798- $Tuple2(nil, ej)
763+@Callable(bf)
764+func getInFeeREADONLY (Y) = {
765+ let ea = bV(aA(Y), aB(), 0)
766+ $Tuple2(nil, ea)
799767 }
800768
801769
802770
803-@Callable(bh)
804-func getOutFeeREADONLY (Z) = {
805- let ej = bX(aD(Z), aE(), fraction(10, b, 10000))
806- $Tuple2(nil, ej)
771+@Callable(bf)
772+func getOutFeeREADONLY (Y) = {
773+ let ea = bV(aC(Y), aD(), fraction(10, b, 10000))
774+ $Tuple2(nil, ea)
807775 }
808776
809777
810778
811-@Callable(bh)
812-func getPoolStatusREADONLY (Z) = {
813- let bM = split(aF(at(Z)), j)
814- let ah = bM[1]
815- let ai = bM[2]
816- let ek = split(aF(ag(ah, ai)), j)
817- $Tuple2(nil, parseIntValue(ek[t]))
779+@Callable(bf)
780+func getPoolStatusREADONLY (Y) = {
781+ let bK = split(aE(as(Y)), j)
782+ let ag = bK[1]
783+ let ah = bK[2]
784+ let eb = split(aE(af(ag, ah)), j)
785+ $Tuple2(nil, parseIntValue(eb[t]))
818786 }
819787
820788
821-
822-@Callable(bh)
823-func getPoolAssetsByLpAssetId (cP) = {
824- let bM = split(aF(an(cP)), j)
825- let ah = bM[1]
826- let ai = bM[2]
827- let ek = split(aF(ag(ah, ai)), j)
828- $Tuple2(nil, ek)
829- }
830-
831-
832-@Verifier(el)
833-func em () = {
834- let en = {
835- let ba = bc()
836- if ($isInstanceOf(ba, "ByteVector"))
789+@Verifier(ec)
790+func ed () = {
791+ let ee = {
792+ let aZ = bb()
793+ if ($isInstanceOf(aZ, "ByteVector"))
837794 then {
838- let bj = ba
839- bj
795+ let bh = aZ
796+ bh
840797 }
841- else if ($isInstanceOf(ba, "Unit"))
842- then el.senderPublicKey
798+ else if ($isInstanceOf(aZ, "Unit"))
799+ then ec.senderPublicKey
843800 else throw("Match error")
844801 }
845- sigVerify(el.bodyBytes, el.proofs[0], en)
802+ sigVerify(ec.bodyBytes, ec.proofs[0], ee)
846803 }
847804

github/deemru/w8io/026f985 
275.13 ms