tx · GF22pAHoqkVWwjBzh7znDA6broC8QfRbGVMEWfefydp6

3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai:  -0.02500000 Waves

2023.06.21 11:41 [2632175] smart account 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai > SELF 0.00000000 Waves

{ "type": 13, "id": "GF22pAHoqkVWwjBzh7znDA6broC8QfRbGVMEWfefydp6", "fee": 2500000, "feeAssetId": null, "timestamp": 1687336895216, "version": 2, "chainId": 84, "sender": "3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai", "senderPublicKey": "2JEaBjtjvMoNGKZmL9QxYefa1VkMJM3vMW8rNvTs9R2H", "proofs": [ "3cvbwyn1CXwZe4qgCJZM4oqi5NNXd1UyeB7dCt9GfVE4ASg6UTEi9kLbGgAwmRXTZCYVEXK6ZRB9VPk2GuxXpuxf" ], "script": "base64:BgLZKggCEgASBAoCCAgSBAoCCAgSAwoBCBIKCggICAgICAgIARIDCgEIEgYKBAgICAgSBAoCCBgSAwoBCBIECgIIGBIDCgEYEgoKCAgICAgIAQgIEgQKAggBEgMKAQESAwoBARIECgIIARIGCgQICAgIEgQKAggIEgQKAggIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgMKAQgSBAoCCAgSAwoBCBIDCgEIEgMKAQgSBAoCCAgSAwoBCBIDCgEIEgMKAQgiBlNDQUxFOCIFTVVMVDgiBk1VTFQxMiIHU0NBTEUxOCIGTVVMVDE4Ig5QT09MV0VJR0hUTVVMVCIOR1dYdmlydHVhbFBPT0wiDGxhYmVsUG9vbHNMcCINZGVmYXVsdFNwcmVhZCILd2F2ZXNTdHJpbmciEWRlY2ltYWxzTXVsdFByaWNlIgNTRVAiBUVNUFRZIgpQb29sQWN0aXZlIg9Qb29sUHV0RGlzYWJsZWQiE1Bvb2xNYXRjaGVyRGlzYWJsZWQiDFBvb2xTaHV0ZG93biISaWR4SW50ZXJuYWxBc3NldElkIg9pZHhSZXN1dEFjdGlvbnMiIGl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gIFA25pbAkAzAgCBQJlVgkAzAgCBQJlVwkAzAgCBQJlWAUDbmlsAmJ5ARVnZXRQb29sV2VpZ2h0UkVBRE9OTFkBAmJRBAJhYQkBAmFUAQkBAmF5AQUCYlEEAmVZCQELdmFsdWVPckVsc2UCCQCfCAEJAQFaAQUCYWEAAAkAlAoCBQNuaWwFAmVZAQJlWgECZmEABAJmYgQCYmEJAQJidAADCQABAgUCYmECCkJ5dGVWZWN0b3IEAmJBBQJiYQUCYkEDCQABAgUCYmECBFVuaXQIBQJlWg9zZW5kZXJQdWJsaWNLZXkJAAIBAgtNYXRjaCBlcnJvcgkA9AMDCAUCZVoJYm9keUJ5dGVzCQCRAwIIBQJlWgZwcm9vZnMAAAUCZmKMPpMa", "height": 2632175, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Fbu3LcjNjY2fKFv6zNepNRNCHRHQn2td49g6E64eyy3i Next: 7qHNU28LTEdeHnhAG5KYoJ6w53Q6s6EufAfRqe6LvMJY Diff:
OldNewDifferences
2121
2222 let j = "WAVES"
2323
24-let k = "factory_v2.ride"
24+let k = ((100 * 1000) * 1000)
2525
26-let l = ((100 * 1000) * 1000)
26+let l = "__"
2727
28-let m = "__"
28+let m = ""
2929
30-let n = ""
30+let n = 1
3131
32-let o = 1
32+let o = 2
3333
34-let p = 2
34+let p = 3
3535
36-let q = 3
36+let q = 4
3737
38-let r = 4
38+let r = 1
3939
40-let s = 1
40+let s = 2
4141
42-let t = 2
42+let t = 3
4343
44-let u = 3
44+let u = 1
4545
46-let v = 1
46+let v = 2
4747
48-let w = 2
48+let w = 3
4949
50-let x = 3
50+let x = 4
5151
52-let y = 4
52+let y = 5
5353
54-let z = 5
54+let z = 6
5555
56-let A = 6
56+let A = 7
5757
58-let B = 7
58+let B = 8
5959
60-let C = 8
60+let C = 9
6161
62-let D = 9
62+let D = 10
6363
64-let E = 10
64+let E = 11
6565
66-let F = 11
66+let F = "WX_EMISSION"
6767
68-let G = "WX_EMISSION"
68+let G = [F]
6969
70-let H = [G]
71-
72-func I (J) = makeString([k, ": ", J], "")
70+func H () = "%s__allowedLpScriptHash"
7371
7472
75-func K (J) = throw(I(J))
73+func I () = "%s__allowedLpStableScriptHash"
7674
7775
78-func L () = "%s__allowedLpScriptHash"
76+func J () = "%s__swapContract"
7977
8078
81-func M () = "%s__allowedLpStableScriptHash"
79+func K () = "%s__factoryConfig"
8280
8381
84-func N () = "%s__swapContract"
82+func L () = "%s__lpTokensList"
8583
8684
87-func O () = "%s__factoryConfig"
85+func M () = "%s%s__pool__scriptHash"
8886
8987
90-func P () = "%s__lpTokensList"
88+func N () = "%s%s__matcher__publicKey"
9189
9290
93-func Q () = "%s%s__pool__scriptHash"
91+func O () = "%s__legacyFactoryContract"
9492
9593
96-func R () = "%s%s__matcher__publicKey"
94+func P () = "%s__legacyPools"
9795
9896
99-func S () = "%s__legacyFactoryContract"
97+func Q () = "%s__managerPublicKey"
10098
10199
102-func T () = "%s__legacyPools"
100+func R () = "%s__managerVaultAddress"
103101
104102
105-func U () = "%s__managerPublicKey"
103+func S () = "%s__adminPubKeys"
106104
107105
108-func V () = "%s__managerVaultAddress"
106+func T () = "%s__assetsStoreContract"
109107
110108
111-func W () = "%s__adminPubKeys"
109+func U () = "%s__votingEmissionContract"
112110
113111
114-func X () = "%s__assetsStoreContract"
112+func V () = makeString(["%s", "priceAssets"], l)
115113
116114
117-func Y () = "%s__votingEmissionContract"
115+func W () = "%s__priceDecimals"
118116
119117
120-func Z () = "%s__userPoolsContract"
118+func X () = "%s__shutdown"
121119
122120
123-func aa () = makeString(["%s", "priceAssets"], m)
121+func Y () = "%s__nextInternalAssetId"
124122
125123
126-func ab () = "%s__priceDecimals"
124+func Z (aa) = ("%s%s__poolWeight__" + aa)
127125
128126
129-func ac () = "%s__shutdown"
127+func ab (aa,ac) = ((("%s%s__poolWeight__" + aa) + "__") + toString(ac))
130128
131129
132-func ad () = "%s__nextInternalAssetId"
130+func ad (ae) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(ae))
133131
134132
135-func ae (af) = ("%s%s__poolWeight__" + af)
133+func af (ag) = ("%s%s%s__mappings__baseAsset2internalId__" + ag)
136134
137135
138-func ag (af,ah) = ((("%s%s__poolWeight__" + af) + "__") + toString(ah))
136+func ah (ai,aj) = (((("%d%d%s__" + ai) + "__") + aj) + "__config")
139137
140138
141-func ai (aj) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(aj))
142-
143-
144-func ak (al) = ("%s%s%s__mappings__baseAsset2internalId__" + al)
145-
146-
147-func am (an,ao) = (((("%d%d%s__" + an) + "__") + ao) + "__config")
148-
149-
150-func ap (aq) = {
151- let ar = aq
152- let an = ar._1
153- let ao = ar._2
154- makeString(["%d%d%s", toString(an), toString(ao), "oneTokenOperationsDisabled"], m)
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)
155144 }
156145
157146
158-func as () = makeString(["%s", "oneTokenOperationsDisabled"], m)
147+func an () = makeString(["%s", "oneTokenOperationsDisabled"], l)
159148
160149
161-func at (au) = (("%s%s%s__" + au) + "__mappings__lpAsset2Pool")
150+func ao (ap) = (("%s%s%s__" + ap) + "__mappings__lpAsset2Pool")
162151
163152
164-func av (aw,ax) = (((("%d%d%s%s__" + aw) + "__") + ax) + "__mappings__PoolAssets2LpAsset")
153+func aq (ar,as) = (((("%d%d%s%s__" + ar) + "__") + as) + "__mappings__PoolAssets2LpAsset")
165154
166155
167-func ay (af) = ("%s%s__spread__" + af)
156+func at (aa) = ("%s%s__spread__" + aa)
168157
169158
170-func az (aA) = (("%s%s%s__" + aA) + "__mappings__poolContract2PoolAssets")
159+func au (av) = (("%s%s%s__" + av) + "__mappings__poolContract2PoolAssets")
171160
172161
173-func aB (aw,ax) = (((("%d%d%s%s__" + toString(aw)) + "__") + toString(ax)) + "__mappings__poolAssets2PoolContract")
162+func aw (ar,as) = (((("%d%d%s%s__" + toString(ar)) + "__") + toString(as)) + "__mappings__poolAssets2PoolContract")
174163
175164
176-func aC (aA) = (("%s%s%s__" + aA) + "__mappings__poolContract2LpAsset")
165+func ax (av) = (("%s%s%s__" + av) + "__mappings__poolContract2LpAsset")
177166
178167
179-func aD (au) = (("%s%s%s__" + au) + "__mappings__lpAsset2PoolContract")
168+func ay (ap) = (("%s%s%s__" + ap) + "__mappings__lpAsset2PoolContract")
180169
181170
182-func aE (aF,aG) = ((("%s%s%s__wxEmission__" + aF) + "__") + aG)
171+func az (aA,aB) = ((("%s%s%s__wxEmission__" + aA) + "__") + aB)
183172
184173
185-func aH (af) = ("%s%s__inFee__" + af)
174+func aC (aa) = ("%s%s__inFee__" + aa)
186175
187176
188-func aI () = "%s__inFeeDefault"
177+func aD () = "%s__inFeeDefault"
189178
190179
191-func aJ (af) = ("%s%s__outFee__" + af)
180+func aE (aa) = ("%s%s__outFee__" + aa)
192181
193182
194-func aK () = "%s__outFeeDefault"
183+func aF () = "%s__outFeeDefault"
195184
196185
197-func aL (af) = ("%s%s__skipOrderValidation__" + af)
186+func aG (aa) = ("%s%s__skipOrderValidation__" + aa)
198187
199188
200-func aM (af) = ("%s%s__changeAmpDelay__" + af)
189+func aH (aa) = ("%s%s__changeAmpDelay__" + aa)
201190
202191
203-func aN (af) = ("%s%s__changeAmpDelta__" + af)
192+func aI (aa) = ("%s%s__changeAmpDelta__" + aa)
204193
205194
206-func aO (af) = ("%s%s__changeAmpTarget__" + af)
195+func aJ (aa) = ("%s%s__changeAmpTarget__" + aa)
207196
208197
209-func aP () = "%s__sWavesProxyAddress"
198+func aK () = "%s__sWavesProxyAddress"
210199
211200
212-func aQ () = "%s__sWavesAssetId"
201+func aL () = "%s__sWavesAssetId"
213202
214203
215-func aR () = "%s__stakingProfitAddress"
204+func aM () = "%s__stakingProfitAddress"
216205
217206
218-func aS (af,aT) = makeString(["%s%s%s", "leasedRatio", af, aT], m)
207+func aN (aa,aO) = makeString(["%s%s%s", "leasedRatio", aa, aO], l)
219208
220209
221-func aU (aT) = makeString(["%s%s", "leasedRatioDefault", aT], m)
210+func aP (aO) = makeString(["%s%s", "leasedRatioDefault", aO], l)
222211
223212
224-func aV (af,aT) = makeString(["%s%s%s", "leasedRatioTolerance", af, aT], m)
213+func aQ (aa,aO) = makeString(["%s%s%s", "leasedRatioTolerance", aa, aO], l)
225214
226215
227-func aW (af,aT) = makeString(["%s%s%s", "minBalance", af, aT], m)
216+func aR (aa,aO) = makeString(["%s%s%s", "minBalance", aa, aO], l)
228217
229218
230-func aX (aT) = makeString(["%s%s", "minBalanceDefault", aT], m)
219+func aS (aO) = makeString(["%s%s", "minBalanceDefault", aO], l)
231220
232221
233-func aY (aZ) = valueOrErrorMessage(getString(this, aZ), ("No data for this.key=" + aZ))
222+func aT (aU) = valueOrErrorMessage(getString(this, aU), ("No data for this.key=" + aU))
234223
235224
236-func ba (aZ) = valueOrErrorMessage(getBoolean(this, aZ), ("No data for this.key=" + aZ))
225+func aV (aU) = valueOrErrorMessage(getBoolean(this, aU), ("No data for this.key=" + aU))
237226
238227
239-func bb (aZ) = valueOrErrorMessage(getInteger(this, aZ), ("No data for this.key=" + aZ))
228+func aW (aU) = valueOrErrorMessage(getInteger(this, aU), ("No data for this.key=" + aU))
240229
241230
242-func bc (bd) = if ((bd == j))
231+func aX (aY) = if ((aY == j))
243232 then unit
244- else fromBase58String(bd)
233+ else fromBase58String(aY)
245234
246235
247-func be () = {
248- let bf = getString(V())
249- if ($isInstanceOf(bf, "String"))
236+func aZ () = {
237+ let ba = getString(R())
238+ if ($isInstanceOf(ba, "String"))
250239 then {
251- let bg = bf
252- addressFromStringValue(bg)
240+ let bb = ba
241+ addressFromStringValue(bb)
253242 }
254243 else this
255244 }
256245
257246
258-let bh = 1
247+let bc = 1
259248
260-let bi = 2
249+let bd = 2
261250
262-let bj = 3
251+let be = 3
263252
264-let bk = 4
253+let bf = 4
265254
266-let bl = 5
255+let bg = 5
267256
268-let bm = 6
257+let bh = 6
269258
270-let bn = 7
259+let bi = 7
271260
272-let bo = 8
261+let bj = 8
273262
274-let bp = 9
263+let bk = 9
275264
276-let bq = 10
265+let bl = 10
277266
278-let br = 11
267+let bm = 11
279268
280-func bs (bt) = addressFromStringValue(bt[bi])
269+func bn (bo) = addressFromStringValue(bo[bd])
281270
282271
283-func bu (bt) = addressFromStringValue(bt[bl])
272+func bp (bo) = addressFromStringValue(bo[bg])
284273
285274
286-func bv (bt) = addressFromStringValue(bt[bh])
275+func bq (bo) = addressFromStringValue(bo[bc])
287276
288277
289-func bw (bt) = addressFromStringValue(bt[bq])
278+func br (bo) = addressFromStringValue(bo[bl])
290279
291280
292-func bx () = {
293- let bf = getString(aa())
294- if ($isInstanceOf(bf, "String"))
281+func bs () = {
282+ let ba = getString(V())
283+ if ($isInstanceOf(ba, "String"))
295284 then {
296- let bg = bf
297- if ((size(bg) == 0))
285+ let bb = ba
286+ if ((size(bb) == 0))
298287 then nil
299- else split(bg, m)
288+ else split(bb, l)
300289 }
301290 else nil
302291 }
303292
304293
305-func by () = {
306- let bz = be()
307- let bf = getString(bz, U())
308- if ($isInstanceOf(bf, "String"))
294+func bt () = {
295+ let bu = aZ()
296+ let ba = getString(bu, Q())
297+ if ($isInstanceOf(ba, "String"))
309298 then {
310- let bg = bf
311- fromBase58String(bg)
299+ let bb = ba
300+ fromBase58String(bb)
312301 }
313- else if ($isInstanceOf(bf, "Unit"))
302+ else if ($isInstanceOf(ba, "Unit"))
314303 then unit
315304 else throw("Match error")
316305 }
317306
318307
319-let bA = K("Permission denied")
308+let bv = throw("Permission denied")
320309
321-let bB = K("Test error here")
310+let bw = throw("Test error here")
322311
323-func bC (bD) = if ((bD.caller == this))
312+func bx (by) = if ((by.caller == this))
324313 then true
325- else bA
314+ else bv
326315
327316
328-func bE (bD) = {
329- let bf = by()
330- if ($isInstanceOf(bf, "ByteVector"))
317+func bz (by) = {
318+ let ba = bt()
319+ if ($isInstanceOf(ba, "ByteVector"))
331320 then {
332- let bF = bf
333- if ((bD.callerPublicKey == bF))
321+ let bA = ba
322+ if ((by.callerPublicKey == bA))
334323 then true
335- else bA
324+ else bv
336325 }
337- else if ($isInstanceOf(bf, "Unit"))
338- then bC(bD)
326+ else if ($isInstanceOf(ba, "Unit"))
327+ then bx(by)
339328 else throw("Match error")
340329 }
341330
342331
343-func bG (bH,bI,bJ,bK,bL,bM,bN,bO,bP,bQ,bR) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR], m)
332+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)
344333
345334
346-func bS (bH,bI,bJ,bK,bL,bM,bN) = makeString(["%s%s%s%s%s%s", bH, bI, bJ, bK, bL, bM, bN], m)
335+func bN (bC,bD,bE,bF,bG,bH,bI) = makeString(["%s%s%s%s%s%s", bC, bD, bE, bF, bG, bH, bI], l)
347336
348337
349-func bT (af,bU,bV,bW,bX,bY,bZ,ca,cb,cc,cd) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", af, bU, bV, bW, bX, toString(bY), toString(bZ), toString(ca), toString(cb), toString(cc), cd], m)
338+func bO (aa,bP,bQ,bR,bS,bT,bU,bV,bW,bX,bY) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", aa, bP, bQ, bR, bS, toString(bT), toString(bU), toString(bV), toString(bW), toString(bX), bY], l)
350339
351340
352-func ce (cf,cg) = makeString(["%d%d", toString(cf), toString(cg)], m)
341+func bZ (ca,cb) = makeString(["%d%d", toString(ca), toString(cb)], l)
353342
354343
355-func ch (af) = {
356- let ci = split(aY(az(af)), m)
357- let an = ci[1]
358- let ao = ci[2]
359- split(aY(am(an, ao)), m)
344+func cc (aa) = {
345+ let cd = split(aT(au(aa)), l)
346+ let ai = cd[1]
347+ let aj = cd[2]
348+ split(aT(ah(ai, aj)), l)
360349 }
361350
362351
363-func cj (ck,cl) = {
364- let cm = valueOrElse(getInteger(this, ak(ck)), 0)
365- let cn = valueOrElse(getInteger(this, ad()), 0)
366- let co = if ((cm == 0))
352+func ce (cf,cg) = {
353+ let ch = valueOrElse(getInteger(this, af(cf)), 0)
354+ let ci = valueOrElse(getInteger(this, Y()), 0)
355+ let cj = if ((ch == 0))
367356 then {
368- let cp = (cn + cl)
369- $Tuple3(cp, [IntegerEntry(ad(), cp), IntegerEntry(ak(ck), cp), StringEntry(ai(cp), ck)], true)
357+ let ck = (ci + cg)
358+ $Tuple3(ck, [IntegerEntry(Y(), ck), IntegerEntry(af(cf), ck), StringEntry(ad(ck), cf)], true)
370359 }
371- else $Tuple3(cm, nil, false)
372- co
360+ else $Tuple3(ch, nil, false)
361+ cj
373362 }
374363
375364
376-func cq (bD) = {
377- let cr = split(valueOrElse(getString(W()), n), m)
378- if (containsElement(cr, toBase58String(bD.callerPublicKey)))
365+func cl (by) = {
366+ let cm = split(valueOrElse(getString(S()), m), l)
367+ if (containsElement(cm, toBase58String(by.callerPublicKey)))
379368 then true
380369 else {
381- let cs = bE(bD)
382- if ((cs == cs))
370+ let cn = bz(by)
371+ if ((cn == cn))
383372 then true
384373 else throw("Strict value is not equal to itself.")
385374 }
386375 }
387376
388377
389-func ct (aZ,cu,cv) = valueOrElse(getInteger(this, aZ), valueOrElse(getInteger(this, cu), cv))
378+func co (aU,cp,cq) = valueOrElse(getInteger(this, aU), valueOrElse(getInteger(this, cp), cq))
390379
391380
392-func cw (aF,aG) = {
393- let an = getInteger(ak(aF))
394- let ao = getInteger(ak(aG))
395- if (if ((an == unit))
381+func cr (aA,aB) = {
382+ let ai = getInteger(af(aA))
383+ let aj = getInteger(af(aB))
384+ if (if ((ai == unit))
396385 then true
397- else (ao == unit))
386+ else (aj == unit))
398387 then false
399388 else {
400- let cx = toString(value(an))
401- let cy = toString(value(ao))
402- let cz = getString(am(cx, cy))
403- let cA = getString(am(cy, cx))
404- let cB = if ((cz != unit))
389+ let cs = toString(value(ai))
390+ let ct = toString(value(aj))
391+ let cu = getString(ah(cs, ct))
392+ let cv = getString(ah(ct, cs))
393+ let cw = if ((cu != unit))
405394 then true
406- else (cA != unit)
407- cB
395+ else (cv != unit)
396+ cw
408397 }
409398 }
410399
411400
412-func cC (aA) = {
413- let ci = {
414- let bf = getString(az(aA))
415- if ($isInstanceOf(bf, "String"))
416- then {
417- let bg = bf
418- split(bg, m)
419- }
420- else K(makeString([aA, "pool is not found"], " "))
421- }
422- let an = parseIntValue(ci[1])
423- let ao = parseIntValue(ci[2])
424- let aF = getStringValue(ai(an))
425- let aG = getStringValue(ai(ao))
426- let bV = getStringValue(aC(aA))
427- $Tuple5(aF, aG, bV, an, ao)
428- }
429-
430-
431-func cD (aA) = {
432- let cE = cC(aA)
433- let aF = cE._1
434- let aG = cE._2
435- let bV = cE._3
436- let an = cE._4
437- let ao = cE._5
438- let cF = addressFromStringValue(getStringValue(Z()))
439- let cG = invoke(cF, "getPoolCreatorREADONLY", [aF, aG], nil)
440- cG
441- }
442-
443-
444-func cH (cI,cJ) = {
445- let cK = addressFromStringValue(cI)
446- if ((cJ == "WAVES"))
447- then wavesBalance(cK).regular
448- else {
449- let aT = fromBase58String(cJ)
450- assetBalance(cK, aT)
451- }
452- }
453-
454-
455-func cL (aA) = {
456- let cM = cC(aA)
457- let aF = cM._1
458- let aG = cM._2
459- let bV = cM._3
460- let an = cM._4
461- let ao = cM._5
462- if ((cH(aA, aF) == 0))
463- then (cH(aA, aG) == 0)
464- else false
465- }
466-
467-
468-@Callable(bD)
469-func getSwapContractREADONLY () = $Tuple2(nil, aY(N()))
401+@Callable(by)
402+func getSwapContractREADONLY () = $Tuple2(nil, aT(J()))
470403
471404
472405
473-@Callable(bD)
474-func getPoolLeaseConfigREADONLY (af,aT) = {
475- let cN = {
476- let bf = getInteger(this, aS(af, aT))
477- if ($isInstanceOf(bf, "Int"))
406+@Callable(by)
407+func getPoolLeaseConfigREADONLY (aa,aO) = {
408+ let cx = {
409+ let ba = getInteger(this, aN(aa, aO))
410+ if ($isInstanceOf(ba, "Int"))
478411 then {
479- let cO = bf
480- $Tuple2(true, min([100, max([0, cO])]))
412+ let cy = ba
413+ $Tuple2(true, min([100, max([0, cy])]))
481414 }
482415 else {
483- let cP = getInteger(this, aU(aT))
484- if ($isInstanceOf(cP, "Int"))
416+ let cz = getInteger(this, aP(aO))
417+ if ($isInstanceOf(cz, "Int"))
485418 then {
486- let cQ = cP
487- $Tuple2(true, min([100, max([0, cQ])]))
419+ let cA = cz
420+ $Tuple2(true, min([100, max([0, cA])]))
488421 }
489422 else $Tuple2(false, 0)
490423 }
491424 }
492- let cR = cN._1
493- let cS = cN._2
494- let cT = {
495- let bf = getInteger(this, aW(af, aT))
496- if ($isInstanceOf(bf, "Int"))
425+ let cB = cx._1
426+ let cC = cx._2
427+ let cD = {
428+ let ba = getInteger(this, aR(aa, aO))
429+ if ($isInstanceOf(ba, "Int"))
497430 then {
498- let cU = bf
499- max([0, cU])
431+ let cE = ba
432+ max([0, cE])
500433 }
501434 else {
502- let cP = getInteger(this, aX(aT))
503- if ($isInstanceOf(cP, "Int"))
435+ let cz = getInteger(this, aS(aO))
436+ if ($isInstanceOf(cz, "Int"))
504437 then {
505- let cV = cP
506- max([0, cV])
438+ let cF = cz
439+ max([0, cF])
507440 }
508441 else 0
509442 }
510443 }
511- let cW = if ((aT == "WAVES"))
512- then $Tuple3(valueOrElse(getString(this, aP()), ""), getString(this, valueOrElse(aQ(), "")), c)
444+ let cG = if ((aO == "WAVES"))
445+ then $Tuple3(valueOrElse(getString(this, aK()), ""), getString(this, valueOrElse(aL(), "")), c)
513446 else $Tuple3("", "", 0)
514- let cX = cW._1
515- let cY = cW._2
516- let cZ = cW._3
517- let da = valueOrElse(getString(this, aR()), "")
518- $Tuple2(nil, $Tuple7(cR, cS, cT, cX, cY, cZ, da))
447+ let cH = cG._1
448+ let cI = cG._2
449+ let cJ = cG._3
450+ let cK = valueOrElse(getString(this, aM()), "")
451+ $Tuple2(nil, $Tuple7(cB, cC, cD, cH, cI, cJ, cK))
519452 }
520453
521454
522455
523-@Callable(bD)
524-func getLpAssetFromPoolAssetsREADONLY (db,dc) = if (if ((db == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"))
525- then (dc == "WAVES")
456+@Callable(by)
457+func getLpAssetFromPoolAssetsREADONLY (cL,cM) = if (if ((cL == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"))
458+ then (cM == "WAVES")
526459 else false)
527460 then $Tuple2(nil, unit)
528461 else {
529- let dd = value(getInteger(this, ak(db)))
530- let de = value(getInteger(this, ak(dc)))
531- let df = getString(this, av(toString(dd), toString(de)))
532- let dg = if ((df == unit))
462+ let cN = value(getInteger(this, af(cL)))
463+ let cO = value(getInteger(this, af(cM)))
464+ let cP = getString(this, aq(toString(cN), toString(cO)))
465+ let cQ = if ((cP == unit))
533466 then unit
534- else drop(value(df), 4)
535- $Tuple2(nil, dg)
467+ else drop(value(cP), 4)
468+ $Tuple2(nil, cQ)
536469 }
537470
538471
539472
540-@Callable(bD)
541-func getPoolAddressFromLpAssetREADONLY (dh) = $Tuple2(nil, valueOrElse(getString(this, aD(dh)), ""))
473+@Callable(by)
474+func getPoolAddressFromLpAssetREADONLY (cR) = $Tuple2(nil, valueOrElse(getString(this, ay(cR)), ""))
542475
543476
544477
545-@Callable(bD)
546-func constructor (di,dj,bJ,bK,bL,bM,dk,dl) = {
547- let dm = bE(bD)
548- if ((dm == dm))
549- then [StringEntry(O(), bS(di, dj, bJ, bK, bL, bM, dk)), IntegerEntry(ab(), dl)]
478+@Callable(by)
479+func constructor (cS,cT,bE,bF,bG,bH,cU,cV) = {
480+ let cW = bz(by)
481+ if ((cW == cW))
482+ then [StringEntry(K(), bN(cS, cT, bE, bF, bG, bH, cU)), IntegerEntry(W(), cV)]
550483 else throw("Strict value is not equal to itself.")
551484 }
552485
553486
554487
555-@Callable(bD)
556-func constructorV2 (dn) = {
557- let dm = bE(bD)
558- if ((dm == dm))
488+@Callable(by)
489+func constructorV2 (cX) = {
490+ let cW = bz(by)
491+ if ((cW == cW))
559492 then {
560- let do = addressFromPublicKey(fromBase58String(dn))
561- if ((do == do))
562- then [StringEntry(R(), dn)]
493+ let cY = addressFromPublicKey(fromBase58String(cX))
494+ if ((cY == cY))
495+ then [StringEntry(N(), cX)]
563496 else throw("Strict value is not equal to itself.")
564497 }
565498 else throw("Strict value is not equal to itself.")
567500
568501
569502
570-@Callable(bD)
571-func constructorV3 (bO,bP,bQ,bR) = {
572- let dm = bE(bD)
573- if ((dm == dm))
503+@Callable(by)
504+func constructorV3 (bJ,bK,bL,bM) = {
505+ let cW = bz(by)
506+ if ((cW == cW))
574507 then {
575- let bt = split(aY(O()), m)
576-[StringEntry(O(), bG(bt[1], bt[2], bt[3], bt[4], bt[5], bt[6], bt[7], bO, bP, bQ, bR))]
508+ let bo = split(aT(K()), l)
509+[StringEntry(K(), bB(bo[1], bo[2], bo[3], bo[4], bo[5], bo[6], bo[7], bJ, bK, bL, bM))]
577510 }
578511 else throw("Strict value is not equal to itself.")
579512 }
580513
581514
582515
583-@Callable(bD)
584-func constructorV4 (dp,dq) = {
585- let dm = bE(bD)
586- if ((dm == dm))
587- then [StringEntry(S(), dp), StringEntry(T(), makeString(dq, m))]
516+@Callable(by)
517+func constructorV4 (cZ,da) = {
518+ let cW = bz(by)
519+ if ((cW == cW))
520+ then [StringEntry(O(), cZ), StringEntry(P(), makeString(da, l))]
588521 else throw("Strict value is not equal to itself.")
589522 }
590523
591524
592525
593-@Callable(bD)
594-func constructorV5 (dr) = {
595- let dm = bE(bD)
596- if ((dm == dm))
597- then [StringEntry(X(), dr)]
526+@Callable(by)
527+func constructorV5 (db) = {
528+ let cW = bz(by)
529+ if ((cW == cW))
530+ then [StringEntry(T(), db)]
598531 else throw("Strict value is not equal to itself.")
599532 }
600533
601534
602535
603-@Callable(bD)
604-func constructorV6 (ds,dt) = {
605- let du = [bE(bD), if ((addressFromString(ds) != unit))
536+@Callable(by)
537+func constructorV6 (dc,dd) = {
538+ let de = [bz(by), if ((addressFromString(dc) != unit))
606539 then true
607540 else "invalid voting emission contract address"]
608- if ((du == du))
609- then [StringEntry(Y(), ds), StringEntry(aa(), makeString(dt, m))]
541+ if ((de == de))
542+ then [StringEntry(U(), dc), StringEntry(V(), makeString(dd, l))]
610543 else throw("Strict value is not equal to itself.")
611544 }
612545
613546
614547
615-@Callable(bD)
616-func setAdmins (dv) = {
617- let dm = bE(bD)
618- if ((dm == dm))
619- then [StringEntry(W(), makeString(dv, m))]
548+@Callable(by)
549+func setAdmins (df) = {
550+ let cW = bz(by)
551+ if ((cW == cW))
552+ then [StringEntry(S(), makeString(df, l))]
620553 else throw("Strict value is not equal to itself.")
621554 }
622555
623556
624557
625-@Callable(bD)
626-func activateNewPool (af,bW,bX,dw,dx,dy,cd,dz) = {
627- let dm = cq(bD)
628- if ((dm == dm))
629- then if (isDefined(getString(az(af))))
630- then K((("Pool address " + af) + " already registered."))
558+@Callable(by)
559+func activateNewPool (aa,bR,bS,dg,dh,di,bY,dj) = {
560+ let cW = cl(by)
561+ if ((cW == cW))
562+ then if (isDefined(getString(au(aa))))
563+ then throw((("Pool address " + aa) + " already registered."))
631564 else {
632- let dA = cj(bW, 1)
633- let dB = dA._1
634- let dC = cj(bX, if (dA._3)
565+ let dk = ce(bR, 1)
566+ let dl = dk._1
567+ let dm = ce(bS, if (dk._3)
635568 then 2
636569 else 1)
637- let dD = dC._1
638- let dE = valueOrErrorMessage(scriptHash(addressFromStringValue(af)), ("No script has been found on pool account " + af))
639- let dF = getBinaryValue(Q())
640- let dG = cw(bW, bX)
641- if (dG)
642- then K((((("Pool " + bW) + "/") + bX) + " has already been activated."))
570+ let dn = dm._1
571+ let do = valueOrErrorMessage(scriptHash(addressFromStringValue(aa)), ("No script has been found on pool account " + aa))
572+ let dp = getBinaryValue(M())
573+ let dq = cr(bR, bS)
574+ if (dq)
575+ then throw((((("Pool " + bR) + "/") + bS) + " has already been activated."))
643576 else {
644- let dH = value(getString(this, am(toString(dB), toString(dD))))
645- let dI = if ((bW == "WAVES"))
646- then l
647- else pow(10, 0, value(assetInfo(fromBase58String(bW))).decimals, 0, 0, DOWN)
648- let dJ = if ((bX == "WAVES"))
649- then l
650- else pow(10, 0, value(assetInfo(fromBase58String(bX))).decimals, 0, 0, DOWN)
651- let dK = Issue(dw, dx, 1, 8, true)
652- let bV = calculateAssetId(dK)
653- let dL = toBase58String(bV)
654- let dM = invoke(addressFromStringValue(af), "activate", [bW, bX], nil)
655- if ((dM == dM))
656- then if ((dM != "success"))
657- then K("Pool initialisation error happened.")
577+ let dr = value(getString(this, ah(toString(dl), toString(dn))))
578+ let ds = if ((bR == "WAVES"))
579+ then k
580+ else pow(10, 0, value(assetInfo(fromBase58String(bR))).decimals, 0, 0, DOWN)
581+ let dt = if ((bS == "WAVES"))
582+ then k
583+ else pow(10, 0, value(assetInfo(fromBase58String(bS))).decimals, 0, 0, DOWN)
584+ let du = Issue(dg, dh, 1, 8, true)
585+ let bQ = calculateAssetId(du)
586+ let dv = toBase58String(bQ)
587+ let dw = invoke(addressFromStringValue(aa), "activate", [bR, bS], nil)
588+ if ((dw == dw))
589+ then if ((dw != "success"))
590+ then throw("Pool initialisation error happened.")
658591 else {
659- let dr = addressFromStringValue(aY(X()))
660- let dN = invoke(dr, "createOrUpdate", [dL, dw, false], nil)
661- if ((dN == dN))
592+ let db = addressFromStringValue(aT(T()))
593+ let dx = invoke(db, "createOrUpdate", [dv, dg, false], nil)
594+ if ((dx == dx))
662595 then {
663- let dO = invoke(dr, "addLabel", [dL, h], nil)
664- if ((dO == dO))
596+ let dy = invoke(db, "addLabel", [dv, h], nil)
597+ if ((dy == dy))
665598 then {
666- let dP = invoke(dr, "setLogo", [dL, dz], nil)
667- if ((dP == dP))
599+ let dz = invoke(db, "setLogo", [dv, dj], nil)
600+ if ((dz == dz))
668601 then {
669- let dQ = invoke(dr, "addAssetsLink", [bW, bX, dL], nil)
670- if ((dQ == dQ))
602+ let dA = invoke(db, "addAssetsLink", [bR, bS, dv], nil)
603+ if ((dA == dA))
671604 then {
672- let dR = invoke(dr, "increaseAssetPoolsNumber", [bW], nil)
673- if ((dR == dR))
674- then $Tuple2(((dA._2 ++ dC._2) ++ [dK, Burn(bV, 1), StringEntry(am(toString(dB), toString(dD)), bT(af, toString(o), dL, bW, bX, dI, dJ, dB, dD, l, cd)), StringEntry(at(dL), ce(dB, dD)), StringEntry(av(toString(dB), toString(dD)), ("%s__" + dL)), StringEntry(az(af), ce(dB, dD)), StringEntry(aB(dB, dD), af), StringEntry(aD(dL), af), StringEntry(aC(af), dL), IntegerEntry(ae(af), dy), IntegerEntry(ay(af), i)]), dL)
605+ let dB = invoke(db, "increaseAssetPoolsNumber", [bR], nil)
606+ if ((dB == dB))
607+ then $Tuple2(((dk._2 ++ dm._2) ++ [du, Burn(bQ, 1), StringEntry(ah(toString(dl), toString(dn)), bO(aa, toString(n), dv, bR, bS, ds, dt, dl, dn, k, bY)), StringEntry(ao(dv), bZ(dl, dn)), StringEntry(aq(toString(dl), toString(dn)), ("%s__" + dv)), StringEntry(au(aa), bZ(dl, dn)), StringEntry(aw(dl, dn), aa), StringEntry(ay(dv), aa), StringEntry(ax(aa), dv), IntegerEntry(Z(aa), di), IntegerEntry(at(aa), i)]), dv)
675608 else throw("Strict value is not equal to itself.")
676609 }
677610 else throw("Strict value is not equal to itself.")
690623
691624
692625
693-@Callable(bD)
694-func managePool (af,dS) = {
695- let dm = bE(bD)
696- if ((dm == dm))
626+@Callable(by)
627+func managePool (aa,dC) = {
628+ let cW = bz(by)
629+ if ((cW == cW))
697630 then {
698- let dT = ch(af)
699- let bU = dT[w]
700- let dL = dT[x]
701- let bW = dT[y]
702- let bX = dT[z]
703- let dI = parseIntValue(dT[A])
704- let dJ = parseIntValue(dT[B])
705- let dB = parseIntValue(dT[C])
706- let dD = parseIntValue(dT[D])
707- let dU = parseIntValue(dT[E])
708- let cd = dT[F]
709-[StringEntry(am(toString(dB), toString(dD)), bT(af, toString(dS), dL, bW, bX, dI, dJ, dB, dD, dU, cd))]
631+ let dD = cc(aa)
632+ let bP = dD[v]
633+ let dv = dD[w]
634+ let bR = dD[x]
635+ let bS = dD[y]
636+ let ds = parseIntValue(dD[z])
637+ let dt = parseIntValue(dD[A])
638+ let dl = parseIntValue(dD[B])
639+ let dn = parseIntValue(dD[C])
640+ let dE = parseIntValue(dD[D])
641+ let bY = dD[E]
642+[StringEntry(ah(toString(dl), toString(dn)), bO(aa, toString(dC), dv, bR, bS, ds, dt, dl, dn, dE, bY))]
710643 }
711644 else throw("Strict value is not equal to itself.")
712645 }
713646
714647
715648
716-@Callable(bD)
717-func emit (dV) = {
718- let dW = bD.caller
719- let dX = bD.originCaller
720- let dY = valueOrErrorMessage(getString(aC(toString(dW))), "Invalid LP address called me.")
721- let dZ = fromBase58String(dY)
722- let dq = split(valueOrElse(getString(T()), n), m)
723- let dp = addressFromStringValue(valueOrErrorMessage(getString(S()), "Legacy factory contract does not exists."))
724- if ((0 >= dV))
649+@Callable(by)
650+func emit (dF) = {
651+ let dG = by.caller
652+ let dH = by.originCaller
653+ let dI = valueOrErrorMessage(getString(ax(toString(dG))), "Invalid LP address called me.")
654+ let dJ = fromBase58String(dI)
655+ let da = split(valueOrElse(getString(P()), m), l)
656+ let cZ = addressFromStringValue(valueOrErrorMessage(getString(O()), "Legacy factory contract does not exists."))
657+ if ((0 >= dF))
725658 then nil
726- else if (containsElement(dq, toString(dW)))
727- then $Tuple2(nil, dp)
728- else $Tuple2([Reissue(dZ, dV, true), ScriptTransfer(bD.caller, dV, dZ)], "success")
659+ else if (containsElement(da, toString(dG)))
660+ then $Tuple2(nil, cZ)
661+ else $Tuple2([Reissue(dJ, dF, true), ScriptTransfer(by.caller, dF, dJ)], "success")
729662 }
730663
731664
732665
733-@Callable(bD)
734-func burn (ea) = {
735- let dW = bD.caller
736- let dX = bD.originCaller
737- let eb = value(bD.payments[0])
738- let ec = value(eb.amount)
739- let ed = toBase58String(value(eb.assetId))
740- let ee = valueOrErrorMessage(getString(aC(toString(dW))), "Invalid LP address called me.")
741- if ((ed != ee))
742- then K("Invalid asset passed.")
743- else if ((ea != ec))
744- then K("Invalid amount passed.")
666+@Callable(by)
667+func burn (dK) = {
668+ let dG = by.caller
669+ let dH = by.originCaller
670+ let dL = value(by.payments[0])
671+ let dM = value(dL.amount)
672+ let dN = toBase58String(value(dL.assetId))
673+ let dO = valueOrErrorMessage(getString(ax(toString(dG))), "Invalid LP address called me.")
674+ if ((dN != dO))
675+ then throw("Invalid asset passed.")
676+ else if ((dK != dM))
677+ then throw("Invalid amount passed.")
745678 else {
746- let dZ = fromBase58String(ee)
747- $Tuple2([Burn(dZ, ea)], "success")
679+ let dJ = fromBase58String(dO)
680+ $Tuple2([Burn(dJ, dK)], "success")
748681 }
749682 }
750683
751684
752685
753-@Callable(bD)
754-func modifyWeight (bV,ef) = {
755- let dm = if ((toBase58String(bD.caller.bytes) == valueOrElse(getString(this, Y()), "")))
686+@Callable(by)
687+func modifyWeight (bQ,dP) = {
688+ let cW = if ((toBase58String(by.caller.bytes) == valueOrElse(getString(this, U()), "")))
756689 then true
757- else bE(bD)
758- if ((dm == dm))
690+ else bz(by)
691+ if ((cW == cW))
759692 then {
760- let aA = aY(aD(bV))
761- let eg = ae(aA)
762- let eh = ae(g)
763- let ei = valueOrElse(getInteger(eh), 0)
764- let dy = valueOrElse(getInteger(eg), 0)
765- let ej = ef
766- let bt = split(aY(O()), m)
767- let di = bv(bt)
768- let ek = invoke(di, "onModifyWeight", [bV, aA], nil)
769- if ((ek == ek))
693+ let av = aT(ay(bQ))
694+ let dQ = Z(av)
695+ let dR = Z(g)
696+ let dS = valueOrElse(getInteger(dR), 0)
697+ let di = valueOrElse(getInteger(dQ), 0)
698+ let dT = dP
699+ let bo = split(aT(K()), l)
700+ let cS = bq(bo)
701+ let dU = invoke(cS, "onModifyWeight", [bQ, av], nil)
702+ if ((dU == dU))
770703 then {
771- let el = if ((ei == 0))
704+ let dV = if ((dS == 0))
772705 then nil
773- else [IntegerEntry(eh, 0)]
774- let em = ag(aA, 0)
775- let en = getInteger(em)
776- let eo = if ((en == unit))
706+ else [IntegerEntry(dR, 0)]
707+ let dW = ab(av, 0)
708+ let dX = getInteger(dW)
709+ let dY = if ((dX == unit))
777710 then nil
778- else [DeleteEntry(em)]
779- (([IntegerEntry(eg, ej)] ++ el) ++ eo)
711+ else [DeleteEntry(dW)]
712+ (([IntegerEntry(dQ, dT)] ++ dV) ++ dY)
780713 }
781714 else throw("Strict value is not equal to itself.")
782715 }
785718
786719
787720
788-@Callable(bD)
789-func modifyWeights (ep,eq,er,es) = {
790- let dm = bE(bD)
791- if ((dm == dm))
721+@Callable(by)
722+func modifyWeights (dZ,ea,eb,ec) = {
723+ let cW = bz(by)
724+ if ((cW == cW))
792725 then {
793- let et = ((5 * f) / 100)
794- let eu = ((5 * f) / 100)
795- let ev = ((5 * f) / 100)
796- let bt = split(aY(O()), m)
797- let ew = bv(bt)
798- let ex = bw(bt)
799- let ey = ae(ep)
800- let ez = ae(eq)
801- let eA = ae(er)
802- let eB = ae(es)
803- let eC = bb(ey)
804- let eD = bb(ez)
805- let eE = (eC - ev)
806- let eF = (eD - ev)
807- if ((0 >= eE))
808- then K(("invalid btcWeightNew: " + toString(eE)))
809- else if ((0 >= eF))
810- then K(("invalid ethWeightNew: " + toString(eF)))
726+ let ed = ((5 * f) / 100)
727+ let ee = ((5 * f) / 100)
728+ let ef = ((5 * f) / 100)
729+ let bo = split(aT(K()), l)
730+ let eg = bq(bo)
731+ let eh = br(bo)
732+ let ei = Z(dZ)
733+ let ej = Z(ea)
734+ let ek = Z(eb)
735+ let el = Z(ec)
736+ let em = aW(ei)
737+ let en = aW(ej)
738+ let eo = (em - ef)
739+ let ep = (en - ef)
740+ if ((0 >= eo))
741+ then throw(("invalid btcWeightNew: " + toString(eo)))
742+ else if ((0 >= ep))
743+ then throw(("invalid ethWeightNew: " + toString(ep)))
811744 else {
812- let eG = aY(aC(ep))
813- let eH = aY(aC(eq))
814- let eI = aY(aC(er))
815- let eJ = aY(aC(es))
816- let eK = invoke(ew, "onModifyWeight", [eG, ep], nil)
817- if ((eK == eK))
745+ let eq = aT(ax(dZ))
746+ let er = aT(ax(ea))
747+ let es = aT(ax(eb))
748+ let et = aT(ax(ec))
749+ let eu = invoke(eg, "onModifyWeight", [eq, dZ], nil)
750+ if ((eu == eu))
818751 then {
819- let eL = invoke(ew, "onModifyWeight", [eH, eq], nil)
820- if ((eL == eL))
752+ let ev = invoke(eg, "onModifyWeight", [er, ea], nil)
753+ if ((ev == ev))
821754 then {
822- let eM = invoke(ew, "onModifyWeight", [eI, er], nil)
823- if ((eM == eM))
755+ let ew = invoke(eg, "onModifyWeight", [es, eb], nil)
756+ if ((ew == ew))
824757 then {
825- let eN = invoke(ew, "onModifyWeight", [eJ, es], nil)
826- if ((eN == eN))
827- then [IntegerEntry(ey, eE), IntegerEntry(ez, eF), IntegerEntry(eA, et), IntegerEntry(eB, eu), IntegerEntry(ag(ep, 0), eC), IntegerEntry(ag(eq, 0), eD), IntegerEntry(ag(er, 0), et), IntegerEntry(ag(es, 0), eu)]
758+ let ex = invoke(eg, "onModifyWeight", [et, ec], nil)
759+ if ((ex == ex))
760+ then [IntegerEntry(ei, eo), IntegerEntry(ej, ep), IntegerEntry(ek, ed), IntegerEntry(el, ee), IntegerEntry(ab(dZ, 0), em), IntegerEntry(ab(ea, 0), en), IntegerEntry(ab(eb, 0), ed), IntegerEntry(ab(ec, 0), ee)]
828761 else throw("Strict value is not equal to itself.")
829762 }
830763 else throw("Strict value is not equal to itself.")
839772
840773
841774
842-@Callable(bD)
843-func checkWxEmissionPoolLabel (aF,aG) = {
844- let eO = {
845- let bf = getBoolean(aE(aF, aG))
846- if ($isInstanceOf(bf, "Boolean"))
775+@Callable(by)
776+func checkWxEmissionPoolLabel (aA,aB) = {
777+ let ey = {
778+ let ba = getBoolean(az(aA, aB))
779+ if ($isInstanceOf(ba, "Boolean"))
847780 then {
848- let cU = bf
849- cU
781+ let cE = ba
782+ cE
850783 }
851784 else false
852785 }
853- $Tuple2(nil, eO)
786+ $Tuple2(nil, ey)
854787 }
855788
856789
857790
858-@Callable(bD)
859-func setWxEmissionPoolLabel (aF,aG) = {
860- let dm = cq(bD)
861- if ((dm == dm))
862- then $Tuple2([BooleanEntry(aE(aF, aG), true)], unit)
791+@Callable(by)
792+func setWxEmissionPoolLabel (aA,aB) = {
793+ let cW = cl(by)
794+ if ((cW == cW))
795+ then $Tuple2([BooleanEntry(az(aA, aB), true)], unit)
863796 else throw("Strict value is not equal to itself.")
864797 }
865798
866799
867800
868-@Callable(bD)
869-func deleteWxEmissionPoolLabel (aF,aG) = {
870- let dm = if ((bD.caller == this))
801+@Callable(by)
802+func deleteWxEmissionPoolLabel (aA,aB) = {
803+ let cW = if ((by.caller == this))
871804 then true
872- else cq(bD)
873- if ((dm == dm))
874- then $Tuple2([DeleteEntry(aE(aF, aG))], unit)
805+ else cl(by)
806+ if ((cW == cW))
807+ then $Tuple2([DeleteEntry(az(aA, aB))], unit)
875808 else throw("Strict value is not equal to itself.")
876809 }
877810
878811
879812
880-@Callable(bD)
881-func onVerificationLoss (aT) = {
882- let dm = if ((toBase58String(bD.caller.bytes) == valueOrElse(getString(this, X()), "")))
813+@Callable(by)
814+func onVerificationLoss (aO) = {
815+ let cW = if ((toBase58String(by.caller.bytes) == valueOrElse(getString(this, T()), "")))
883816 then true
884- else bE(bD)
885- if ((dm == dm))
817+ else bz(by)
818+ if ((cW == cW))
886819 then {
887- let dt = bx()
888- let eP = if ((size(dt) > 0))
820+ let dd = bs()
821+ let ez = if ((size(dd) > 0))
889822 then true
890- else K("invalid price assets")
891- if ((eP == eP))
823+ else throw("invalid price assets")
824+ if ((ez == ez))
892825 then {
893- func eQ (eR,eS) = {
894- let cO = invoke(this, "deleteWxEmissionPoolLabel", [aT, eS], nil)
895- if ((cO == cO))
826+ func eA (eB,eC) = {
827+ let cy = invoke(this, "deleteWxEmissionPoolLabel", [aO, eC], nil)
828+ if ((cy == cy))
896829 then unit
897830 else throw("Strict value is not equal to itself.")
898831 }
899832
900- let eT = {
901- let eU = dt
902- let eV = size(eU)
903- let eW = unit
904- func eX (eY,eZ) = if ((eZ >= eV))
905- then eY
906- else eQ(eY, eU[eZ])
833+ let eD = {
834+ let eE = dd
835+ let eF = size(eE)
836+ let eG = unit
837+ func eH (eI,eJ) = if ((eJ >= eF))
838+ then eI
839+ else eA(eI, eE[eJ])
907840
908- func fa (eY,eZ) = if ((eZ >= eV))
909- then eY
841+ func eK (eI,eJ) = if ((eJ >= eF))
842+ then eI
910843 else throw("List size exceeds 11")
911844
912- fa(eX(eX(eX(eX(eX(eX(eX(eX(eX(eX(eX(eW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11)
845+ eK(eH(eH(eH(eH(eH(eH(eH(eH(eH(eH(eH(eG, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11)
913846 }
914- if ((eT == eT))
847+ if ((eD == eD))
915848 then $Tuple2(nil, unit)
916849 else throw("Strict value is not equal to itself.")
917850 }
922855
923856
924857
925-@Callable(bD)
926-func isPoolOneTokenOperationsDisabledREADONLY (af) = {
927- let dT = ch(af)
928- let aq = $Tuple2(parseIntValue(dT[C]), parseIntValue(dT[D]))
929- let fb = valueOrElse(getBoolean(ap(aq)), false)
930- let fc = valueOrElse(getBoolean(as()), false)
931- $Tuple2(nil, if (fc)
858+@Callable(by)
859+func isPoolOneTokenOperationsDisabledREADONLY (aa) = {
860+ let dD = cc(aa)
861+ let al = $Tuple2(parseIntValue(dD[B]), parseIntValue(dD[C]))
862+ let eL = valueOrElse(getBoolean(ak(al)), false)
863+ let eM = valueOrElse(getBoolean(an()), false)
864+ $Tuple2(nil, if (eM)
932865 then true
933- else fb)
866+ else eL)
934867 }
935868
936869
937870
938-@Callable(bD)
939-func getInFeeREADONLY (af) = {
940- let fd = ct(aH(af), aI(), 0)
941- $Tuple2(nil, fd)
871+@Callable(by)
872+func getInFeeREADONLY (aa) = {
873+ let eN = co(aC(aa), aD(), 0)
874+ $Tuple2(nil, eN)
942875 }
943876
944877
945878
946-@Callable(bD)
947-func getOutFeeREADONLY (af) = {
948- let fd = ct(aJ(af), aK(), fraction(10, b, 10000))
949- $Tuple2(nil, fd)
879+@Callable(by)
880+func getOutFeeREADONLY (aa) = {
881+ let eN = co(aE(aa), aF(), fraction(10, b, 10000))
882+ $Tuple2(nil, eN)
950883 }
951884
952885
953886
954-@Callable(bD)
955-func poolInfoREADONLY (fe,ff) = {
956- let fg = getInteger(this, ak(fe))
957- let fh = getInteger(this, ak(ff))
958- let fi = getString(this, aB(value(fg), value(fh)))
959- let fj = getString(this, aC(value(fi)))
960- let dG = if (if (isDefined(fg))
961- then isDefined(fh)
887+@Callable(by)
888+func poolInfoREADONLY (eO,eP) = {
889+ let eQ = getInteger(this, af(eO))
890+ let eR = getInteger(this, af(eP))
891+ let eS = getString(this, aw(value(eQ), value(eR)))
892+ let eT = getString(this, ax(value(eS)))
893+ let dq = if (if (isDefined(eQ))
894+ then isDefined(eR)
962895 else false)
963- then isDefined(fi)
896+ then isDefined(eS)
964897 else false
965- let fk = if (dG)
966- then $Tuple2(addressFromStringValue(value(fi)), bc(value(fj)))
898+ let eU = if (dq)
899+ then $Tuple2(addressFromStringValue(value(eS)), aX(value(eT)))
967900 else unit
968- $Tuple2(nil, fk)
901+ $Tuple2(nil, eU)
969902 }
970903
971904
972905
973-@Callable(bD)
974-func getPoolStatusREADONLY (af) = {
975- let ci = split(aY(az(af)), m)
976- let an = ci[1]
977- let ao = ci[2]
978- let cz = split(aY(am(an, ao)), m)
979- $Tuple2(nil, parseIntValue(cz[w]))
906+@Callable(by)
907+func getPoolStatusREADONLY (aa) = {
908+ let cd = split(aT(au(aa)), l)
909+ let ai = cd[1]
910+ let aj = cd[2]
911+ let cu = split(aT(ah(ai, aj)), l)
912+ $Tuple2(nil, parseIntValue(cu[v]))
980913 }
981914
982915
983916
984-@Callable(bD)
985-func getPoolConfigREADONLY (af) = {
986- let ci = split(aY(az(af)), m)
987- let an = ci[1]
988- let ao = ci[2]
989- let cz = split(aY(am(an, ao)), m)
990- $Tuple2(nil, cz)
917+@Callable(by)
918+func getPoolConfigREADONLY (aa) = {
919+ let cd = split(aT(au(aa)), l)
920+ let ai = cd[1]
921+ let aj = cd[2]
922+ let cu = split(aT(ah(ai, aj)), l)
923+ $Tuple2(nil, cu)
991924 }
992925
993926
994927
995-@Callable(bD)
996-func getPoolConfigByLpAssetIdREADONLY (dL) = {
997- let ci = split(aY(at(dL)), m)
998- let an = ci[1]
999- let ao = ci[2]
1000- let cz = split(aY(am(an, ao)), m)
1001- $Tuple2(nil, cz)
928+@Callable(by)
929+func getPoolConfigByLpAssetIdREADONLY (dv) = {
930+ let cd = split(aT(ao(dv)), l)
931+ let ai = cd[1]
932+ let aj = cd[2]
933+ let cu = split(aT(ah(ai, aj)), l)
934+ $Tuple2(nil, cu)
1002935 }
1003936
1004937
1005938
1006-@Callable(bD)
1007-func poolExistsREADONLY (aF,aG) = $Tuple2(nil, cw(aF, aG))
939+@Callable(by)
940+func poolExistsREADONLY (aA,aB) = $Tuple2(nil, cr(aA, aB))
1008941
1009942
1010943
1011-@Callable(bD)
1012-func skipOrderValidationREADONLY (af) = $Tuple2(nil, valueOrElse(getBoolean(aL(af)), false))
944+@Callable(by)
945+func skipOrderValidationREADONLY (aa) = $Tuple2(nil, valueOrElse(getBoolean(aG(aa)), false))
1013946
1014947
1015948
1016-@Callable(bD)
1017-func getChangeAmpConfigREADONLY (af) = {
1018- let fl = getIntegerValue(aM(af))
1019- let fm = getIntegerValue(aN(af))
1020- let fn = getIntegerValue(aO(af))
1021- $Tuple2(nil, [fl, fm, fn])
949+@Callable(by)
950+func getChangeAmpConfigREADONLY (aa) = {
951+ let eV = getIntegerValue(aH(aa))
952+ let eW = getIntegerValue(aI(aa))
953+ let eX = getIntegerValue(aJ(aa))
954+ $Tuple2(nil, [eV, eW, eX])
1022955 }
1023956
1024957
1025958
1026-@Callable(bD)
1027-func getPoolWeightREADONLY (bV) = {
1028- let af = aY(aD(bV))
1029- let fo = valueOrElse(getInteger(ae(af)), 0)
1030- $Tuple2(nil, fo)
959+@Callable(by)
960+func getPoolWeightREADONLY (bQ) = {
961+ let aa = aT(ay(bQ))
962+ let eY = valueOrElse(getInteger(Z(aa)), 0)
963+ $Tuple2(nil, eY)
1031964 }
1032965
1033966
1034-
1035-@Callable(bD)
1036-func deletePool (aA) = {
1037- let dm = if ((toString(bD.caller) == cD(aA)))
1038- then if (cL(aA))
1039- then true
1040- else K("Pool is not empty")
1041- else bE(bD)
1042- if ((dm == dm))
1043- then {
1044- let fp = if ((valueOrElse(getInteger(ae(aA)), 0) == 0))
1045- then true
1046- else K("Pool weight is not Zero")
1047- if ((fp == fp))
1048- then {
1049- let fq = cC(aA)
1050- let aF = fq._1
1051- let aG = fq._2
1052- let bV = fq._3
1053- let an = fq._4
1054- let ao = fq._5
1055- let cF = addressFromStringValue(getStringValue(Z()))
1056- let fr = invoke(cF, "deletePool", [aF, aG], nil)
1057- if ((fr == fr))
1058- then {
1059- let ds = addressFromStringValue(getStringValue(Y()))
1060- let fs = invoke(ds, "deletePool", [aF, aG], nil)
1061- if ((fs == fs))
1062- then {
1063- let dr = addressFromStringValue(getStringValue(X()))
1064- let ft = invoke(dr, "deletePool", [aF, aG], nil)
1065- if ((ft == ft))
1066- then [DeleteEntry(aC(aA)), DeleteEntry(az(aA)), DeleteEntry(av(toString(an), toString(ao))), DeleteEntry(aB(an, ao)), DeleteEntry(am(toString(an), toString(ao))), DeleteEntry(at(bV)), DeleteEntry(aD(bV)), DeleteEntry(aE(aF, aG)), DeleteEntry(ae(aA)), DeleteEntry(ay(aA)), DeleteEntry(aH(aA)), DeleteEntry(aJ(aA)), DeleteEntry(aL(aA)), DeleteEntry(aM(aA)), DeleteEntry(aN(aA)), DeleteEntry(aO(aA))]
1067- else throw("Strict value is not equal to itself.")
1068- }
1069- else throw("Strict value is not equal to itself.")
1070- }
1071- else throw("Strict value is not equal to itself.")
1072- }
1073- else throw("Strict value is not equal to itself.")
1074- }
1075- else throw("Strict value is not equal to itself.")
1076- }
1077-
1078-
1079-@Verifier(fu)
1080-func fv () = {
1081- let fw = {
1082- let bf = by()
1083- if ($isInstanceOf(bf, "ByteVector"))
967+@Verifier(eZ)
968+func fa () = {
969+ let fb = {
970+ let ba = bt()
971+ if ($isInstanceOf(ba, "ByteVector"))
1084972 then {
1085- let bF = bf
1086- bF
973+ let bA = ba
974+ bA
1087975 }
1088- else if ($isInstanceOf(bf, "Unit"))
1089- then fu.senderPublicKey
976+ else if ($isInstanceOf(ba, "Unit"))
977+ then eZ.senderPublicKey
1090978 else throw("Match error")
1091979 }
1092- sigVerify(fu.bodyBytes, fu.proofs[0], fw)
980+ sigVerify(eZ.bodyBytes, eZ.proofs[0], fb)
1093981 }
1094982
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
24-let k = "factory_v2.ride"
24+let k = ((100 * 1000) * 1000)
2525
26-let l = ((100 * 1000) * 1000)
26+let l = "__"
2727
28-let m = "__"
28+let m = ""
2929
30-let n = ""
30+let n = 1
3131
32-let o = 1
32+let o = 2
3333
34-let p = 2
34+let p = 3
3535
36-let q = 3
36+let q = 4
3737
38-let r = 4
38+let r = 1
3939
40-let s = 1
40+let s = 2
4141
42-let t = 2
42+let t = 3
4343
44-let u = 3
44+let u = 1
4545
46-let v = 1
46+let v = 2
4747
48-let w = 2
48+let w = 3
4949
50-let x = 3
50+let x = 4
5151
52-let y = 4
52+let y = 5
5353
54-let z = 5
54+let z = 6
5555
56-let A = 6
56+let A = 7
5757
58-let B = 7
58+let B = 8
5959
60-let C = 8
60+let C = 9
6161
62-let D = 9
62+let D = 10
6363
64-let E = 10
64+let E = 11
6565
66-let F = 11
66+let F = "WX_EMISSION"
6767
68-let G = "WX_EMISSION"
68+let G = [F]
6969
70-let H = [G]
71-
72-func I (J) = makeString([k, ": ", J], "")
70+func H () = "%s__allowedLpScriptHash"
7371
7472
75-func K (J) = throw(I(J))
73+func I () = "%s__allowedLpStableScriptHash"
7674
7775
78-func L () = "%s__allowedLpScriptHash"
76+func J () = "%s__swapContract"
7977
8078
81-func M () = "%s__allowedLpStableScriptHash"
79+func K () = "%s__factoryConfig"
8280
8381
84-func N () = "%s__swapContract"
82+func L () = "%s__lpTokensList"
8583
8684
87-func O () = "%s__factoryConfig"
85+func M () = "%s%s__pool__scriptHash"
8886
8987
90-func P () = "%s__lpTokensList"
88+func N () = "%s%s__matcher__publicKey"
9189
9290
93-func Q () = "%s%s__pool__scriptHash"
91+func O () = "%s__legacyFactoryContract"
9492
9593
96-func R () = "%s%s__matcher__publicKey"
94+func P () = "%s__legacyPools"
9795
9896
99-func S () = "%s__legacyFactoryContract"
97+func Q () = "%s__managerPublicKey"
10098
10199
102-func T () = "%s__legacyPools"
100+func R () = "%s__managerVaultAddress"
103101
104102
105-func U () = "%s__managerPublicKey"
103+func S () = "%s__adminPubKeys"
106104
107105
108-func V () = "%s__managerVaultAddress"
106+func T () = "%s__assetsStoreContract"
109107
110108
111-func W () = "%s__adminPubKeys"
109+func U () = "%s__votingEmissionContract"
112110
113111
114-func X () = "%s__assetsStoreContract"
112+func V () = makeString(["%s", "priceAssets"], l)
115113
116114
117-func Y () = "%s__votingEmissionContract"
115+func W () = "%s__priceDecimals"
118116
119117
120-func Z () = "%s__userPoolsContract"
118+func X () = "%s__shutdown"
121119
122120
123-func aa () = makeString(["%s", "priceAssets"], m)
121+func Y () = "%s__nextInternalAssetId"
124122
125123
126-func ab () = "%s__priceDecimals"
124+func Z (aa) = ("%s%s__poolWeight__" + aa)
127125
128126
129-func ac () = "%s__shutdown"
127+func ab (aa,ac) = ((("%s%s__poolWeight__" + aa) + "__") + toString(ac))
130128
131129
132-func ad () = "%s__nextInternalAssetId"
130+func ad (ae) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(ae))
133131
134132
135-func ae (af) = ("%s%s__poolWeight__" + af)
133+func af (ag) = ("%s%s%s__mappings__baseAsset2internalId__" + ag)
136134
137135
138-func ag (af,ah) = ((("%s%s__poolWeight__" + af) + "__") + toString(ah))
136+func ah (ai,aj) = (((("%d%d%s__" + ai) + "__") + aj) + "__config")
139137
140138
141-func ai (aj) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(aj))
142-
143-
144-func ak (al) = ("%s%s%s__mappings__baseAsset2internalId__" + al)
145-
146-
147-func am (an,ao) = (((("%d%d%s__" + an) + "__") + ao) + "__config")
148-
149-
150-func ap (aq) = {
151- let ar = aq
152- let an = ar._1
153- let ao = ar._2
154- makeString(["%d%d%s", toString(an), toString(ao), "oneTokenOperationsDisabled"], m)
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)
155144 }
156145
157146
158-func as () = makeString(["%s", "oneTokenOperationsDisabled"], m)
147+func an () = makeString(["%s", "oneTokenOperationsDisabled"], l)
159148
160149
161-func at (au) = (("%s%s%s__" + au) + "__mappings__lpAsset2Pool")
150+func ao (ap) = (("%s%s%s__" + ap) + "__mappings__lpAsset2Pool")
162151
163152
164-func av (aw,ax) = (((("%d%d%s%s__" + aw) + "__") + ax) + "__mappings__PoolAssets2LpAsset")
153+func aq (ar,as) = (((("%d%d%s%s__" + ar) + "__") + as) + "__mappings__PoolAssets2LpAsset")
165154
166155
167-func ay (af) = ("%s%s__spread__" + af)
156+func at (aa) = ("%s%s__spread__" + aa)
168157
169158
170-func az (aA) = (("%s%s%s__" + aA) + "__mappings__poolContract2PoolAssets")
159+func au (av) = (("%s%s%s__" + av) + "__mappings__poolContract2PoolAssets")
171160
172161
173-func aB (aw,ax) = (((("%d%d%s%s__" + toString(aw)) + "__") + toString(ax)) + "__mappings__poolAssets2PoolContract")
162+func aw (ar,as) = (((("%d%d%s%s__" + toString(ar)) + "__") + toString(as)) + "__mappings__poolAssets2PoolContract")
174163
175164
176-func aC (aA) = (("%s%s%s__" + aA) + "__mappings__poolContract2LpAsset")
165+func ax (av) = (("%s%s%s__" + av) + "__mappings__poolContract2LpAsset")
177166
178167
179-func aD (au) = (("%s%s%s__" + au) + "__mappings__lpAsset2PoolContract")
168+func ay (ap) = (("%s%s%s__" + ap) + "__mappings__lpAsset2PoolContract")
180169
181170
182-func aE (aF,aG) = ((("%s%s%s__wxEmission__" + aF) + "__") + aG)
171+func az (aA,aB) = ((("%s%s%s__wxEmission__" + aA) + "__") + aB)
183172
184173
185-func aH (af) = ("%s%s__inFee__" + af)
174+func aC (aa) = ("%s%s__inFee__" + aa)
186175
187176
188-func aI () = "%s__inFeeDefault"
177+func aD () = "%s__inFeeDefault"
189178
190179
191-func aJ (af) = ("%s%s__outFee__" + af)
180+func aE (aa) = ("%s%s__outFee__" + aa)
192181
193182
194-func aK () = "%s__outFeeDefault"
183+func aF () = "%s__outFeeDefault"
195184
196185
197-func aL (af) = ("%s%s__skipOrderValidation__" + af)
186+func aG (aa) = ("%s%s__skipOrderValidation__" + aa)
198187
199188
200-func aM (af) = ("%s%s__changeAmpDelay__" + af)
189+func aH (aa) = ("%s%s__changeAmpDelay__" + aa)
201190
202191
203-func aN (af) = ("%s%s__changeAmpDelta__" + af)
192+func aI (aa) = ("%s%s__changeAmpDelta__" + aa)
204193
205194
206-func aO (af) = ("%s%s__changeAmpTarget__" + af)
195+func aJ (aa) = ("%s%s__changeAmpTarget__" + aa)
207196
208197
209-func aP () = "%s__sWavesProxyAddress"
198+func aK () = "%s__sWavesProxyAddress"
210199
211200
212-func aQ () = "%s__sWavesAssetId"
201+func aL () = "%s__sWavesAssetId"
213202
214203
215-func aR () = "%s__stakingProfitAddress"
204+func aM () = "%s__stakingProfitAddress"
216205
217206
218-func aS (af,aT) = makeString(["%s%s%s", "leasedRatio", af, aT], m)
207+func aN (aa,aO) = makeString(["%s%s%s", "leasedRatio", aa, aO], l)
219208
220209
221-func aU (aT) = makeString(["%s%s", "leasedRatioDefault", aT], m)
210+func aP (aO) = makeString(["%s%s", "leasedRatioDefault", aO], l)
222211
223212
224-func aV (af,aT) = makeString(["%s%s%s", "leasedRatioTolerance", af, aT], m)
213+func aQ (aa,aO) = makeString(["%s%s%s", "leasedRatioTolerance", aa, aO], l)
225214
226215
227-func aW (af,aT) = makeString(["%s%s%s", "minBalance", af, aT], m)
216+func aR (aa,aO) = makeString(["%s%s%s", "minBalance", aa, aO], l)
228217
229218
230-func aX (aT) = makeString(["%s%s", "minBalanceDefault", aT], m)
219+func aS (aO) = makeString(["%s%s", "minBalanceDefault", aO], l)
231220
232221
233-func aY (aZ) = valueOrErrorMessage(getString(this, aZ), ("No data for this.key=" + aZ))
222+func aT (aU) = valueOrErrorMessage(getString(this, aU), ("No data for this.key=" + aU))
234223
235224
236-func ba (aZ) = valueOrErrorMessage(getBoolean(this, aZ), ("No data for this.key=" + aZ))
225+func aV (aU) = valueOrErrorMessage(getBoolean(this, aU), ("No data for this.key=" + aU))
237226
238227
239-func bb (aZ) = valueOrErrorMessage(getInteger(this, aZ), ("No data for this.key=" + aZ))
228+func aW (aU) = valueOrErrorMessage(getInteger(this, aU), ("No data for this.key=" + aU))
240229
241230
242-func bc (bd) = if ((bd == j))
231+func aX (aY) = if ((aY == j))
243232 then unit
244- else fromBase58String(bd)
233+ else fromBase58String(aY)
245234
246235
247-func be () = {
248- let bf = getString(V())
249- if ($isInstanceOf(bf, "String"))
236+func aZ () = {
237+ let ba = getString(R())
238+ if ($isInstanceOf(ba, "String"))
250239 then {
251- let bg = bf
252- addressFromStringValue(bg)
240+ let bb = ba
241+ addressFromStringValue(bb)
253242 }
254243 else this
255244 }
256245
257246
258-let bh = 1
247+let bc = 1
259248
260-let bi = 2
249+let bd = 2
261250
262-let bj = 3
251+let be = 3
263252
264-let bk = 4
253+let bf = 4
265254
266-let bl = 5
255+let bg = 5
267256
268-let bm = 6
257+let bh = 6
269258
270-let bn = 7
259+let bi = 7
271260
272-let bo = 8
261+let bj = 8
273262
274-let bp = 9
263+let bk = 9
275264
276-let bq = 10
265+let bl = 10
277266
278-let br = 11
267+let bm = 11
279268
280-func bs (bt) = addressFromStringValue(bt[bi])
269+func bn (bo) = addressFromStringValue(bo[bd])
281270
282271
283-func bu (bt) = addressFromStringValue(bt[bl])
272+func bp (bo) = addressFromStringValue(bo[bg])
284273
285274
286-func bv (bt) = addressFromStringValue(bt[bh])
275+func bq (bo) = addressFromStringValue(bo[bc])
287276
288277
289-func bw (bt) = addressFromStringValue(bt[bq])
278+func br (bo) = addressFromStringValue(bo[bl])
290279
291280
292-func bx () = {
293- let bf = getString(aa())
294- if ($isInstanceOf(bf, "String"))
281+func bs () = {
282+ let ba = getString(V())
283+ if ($isInstanceOf(ba, "String"))
295284 then {
296- let bg = bf
297- if ((size(bg) == 0))
285+ let bb = ba
286+ if ((size(bb) == 0))
298287 then nil
299- else split(bg, m)
288+ else split(bb, l)
300289 }
301290 else nil
302291 }
303292
304293
305-func by () = {
306- let bz = be()
307- let bf = getString(bz, U())
308- if ($isInstanceOf(bf, "String"))
294+func bt () = {
295+ let bu = aZ()
296+ let ba = getString(bu, Q())
297+ if ($isInstanceOf(ba, "String"))
309298 then {
310- let bg = bf
311- fromBase58String(bg)
299+ let bb = ba
300+ fromBase58String(bb)
312301 }
313- else if ($isInstanceOf(bf, "Unit"))
302+ else if ($isInstanceOf(ba, "Unit"))
314303 then unit
315304 else throw("Match error")
316305 }
317306
318307
319-let bA = K("Permission denied")
308+let bv = throw("Permission denied")
320309
321-let bB = K("Test error here")
310+let bw = throw("Test error here")
322311
323-func bC (bD) = if ((bD.caller == this))
312+func bx (by) = if ((by.caller == this))
324313 then true
325- else bA
314+ else bv
326315
327316
328-func bE (bD) = {
329- let bf = by()
330- if ($isInstanceOf(bf, "ByteVector"))
317+func bz (by) = {
318+ let ba = bt()
319+ if ($isInstanceOf(ba, "ByteVector"))
331320 then {
332- let bF = bf
333- if ((bD.callerPublicKey == bF))
321+ let bA = ba
322+ if ((by.callerPublicKey == bA))
334323 then true
335- else bA
324+ else bv
336325 }
337- else if ($isInstanceOf(bf, "Unit"))
338- then bC(bD)
326+ else if ($isInstanceOf(ba, "Unit"))
327+ then bx(by)
339328 else throw("Match error")
340329 }
341330
342331
343-func bG (bH,bI,bJ,bK,bL,bM,bN,bO,bP,bQ,bR) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR], m)
332+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)
344333
345334
346-func bS (bH,bI,bJ,bK,bL,bM,bN) = makeString(["%s%s%s%s%s%s", bH, bI, bJ, bK, bL, bM, bN], m)
335+func bN (bC,bD,bE,bF,bG,bH,bI) = makeString(["%s%s%s%s%s%s", bC, bD, bE, bF, bG, bH, bI], l)
347336
348337
349-func bT (af,bU,bV,bW,bX,bY,bZ,ca,cb,cc,cd) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", af, bU, bV, bW, bX, toString(bY), toString(bZ), toString(ca), toString(cb), toString(cc), cd], m)
338+func bO (aa,bP,bQ,bR,bS,bT,bU,bV,bW,bX,bY) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", aa, bP, bQ, bR, bS, toString(bT), toString(bU), toString(bV), toString(bW), toString(bX), bY], l)
350339
351340
352-func ce (cf,cg) = makeString(["%d%d", toString(cf), toString(cg)], m)
341+func bZ (ca,cb) = makeString(["%d%d", toString(ca), toString(cb)], l)
353342
354343
355-func ch (af) = {
356- let ci = split(aY(az(af)), m)
357- let an = ci[1]
358- let ao = ci[2]
359- split(aY(am(an, ao)), m)
344+func cc (aa) = {
345+ let cd = split(aT(au(aa)), l)
346+ let ai = cd[1]
347+ let aj = cd[2]
348+ split(aT(ah(ai, aj)), l)
360349 }
361350
362351
363-func cj (ck,cl) = {
364- let cm = valueOrElse(getInteger(this, ak(ck)), 0)
365- let cn = valueOrElse(getInteger(this, ad()), 0)
366- let co = if ((cm == 0))
352+func ce (cf,cg) = {
353+ let ch = valueOrElse(getInteger(this, af(cf)), 0)
354+ let ci = valueOrElse(getInteger(this, Y()), 0)
355+ let cj = if ((ch == 0))
367356 then {
368- let cp = (cn + cl)
369- $Tuple3(cp, [IntegerEntry(ad(), cp), IntegerEntry(ak(ck), cp), StringEntry(ai(cp), ck)], true)
357+ let ck = (ci + cg)
358+ $Tuple3(ck, [IntegerEntry(Y(), ck), IntegerEntry(af(cf), ck), StringEntry(ad(ck), cf)], true)
370359 }
371- else $Tuple3(cm, nil, false)
372- co
360+ else $Tuple3(ch, nil, false)
361+ cj
373362 }
374363
375364
376-func cq (bD) = {
377- let cr = split(valueOrElse(getString(W()), n), m)
378- if (containsElement(cr, toBase58String(bD.callerPublicKey)))
365+func cl (by) = {
366+ let cm = split(valueOrElse(getString(S()), m), l)
367+ if (containsElement(cm, toBase58String(by.callerPublicKey)))
379368 then true
380369 else {
381- let cs = bE(bD)
382- if ((cs == cs))
370+ let cn = bz(by)
371+ if ((cn == cn))
383372 then true
384373 else throw("Strict value is not equal to itself.")
385374 }
386375 }
387376
388377
389-func ct (aZ,cu,cv) = valueOrElse(getInteger(this, aZ), valueOrElse(getInteger(this, cu), cv))
378+func co (aU,cp,cq) = valueOrElse(getInteger(this, aU), valueOrElse(getInteger(this, cp), cq))
390379
391380
392-func cw (aF,aG) = {
393- let an = getInteger(ak(aF))
394- let ao = getInteger(ak(aG))
395- if (if ((an == unit))
381+func cr (aA,aB) = {
382+ let ai = getInteger(af(aA))
383+ let aj = getInteger(af(aB))
384+ if (if ((ai == unit))
396385 then true
397- else (ao == unit))
386+ else (aj == unit))
398387 then false
399388 else {
400- let cx = toString(value(an))
401- let cy = toString(value(ao))
402- let cz = getString(am(cx, cy))
403- let cA = getString(am(cy, cx))
404- let cB = if ((cz != unit))
389+ let cs = toString(value(ai))
390+ let ct = toString(value(aj))
391+ let cu = getString(ah(cs, ct))
392+ let cv = getString(ah(ct, cs))
393+ let cw = if ((cu != unit))
405394 then true
406- else (cA != unit)
407- cB
395+ else (cv != unit)
396+ cw
408397 }
409398 }
410399
411400
412-func cC (aA) = {
413- let ci = {
414- let bf = getString(az(aA))
415- if ($isInstanceOf(bf, "String"))
416- then {
417- let bg = bf
418- split(bg, m)
419- }
420- else K(makeString([aA, "pool is not found"], " "))
421- }
422- let an = parseIntValue(ci[1])
423- let ao = parseIntValue(ci[2])
424- let aF = getStringValue(ai(an))
425- let aG = getStringValue(ai(ao))
426- let bV = getStringValue(aC(aA))
427- $Tuple5(aF, aG, bV, an, ao)
428- }
429-
430-
431-func cD (aA) = {
432- let cE = cC(aA)
433- let aF = cE._1
434- let aG = cE._2
435- let bV = cE._3
436- let an = cE._4
437- let ao = cE._5
438- let cF = addressFromStringValue(getStringValue(Z()))
439- let cG = invoke(cF, "getPoolCreatorREADONLY", [aF, aG], nil)
440- cG
441- }
442-
443-
444-func cH (cI,cJ) = {
445- let cK = addressFromStringValue(cI)
446- if ((cJ == "WAVES"))
447- then wavesBalance(cK).regular
448- else {
449- let aT = fromBase58String(cJ)
450- assetBalance(cK, aT)
451- }
452- }
453-
454-
455-func cL (aA) = {
456- let cM = cC(aA)
457- let aF = cM._1
458- let aG = cM._2
459- let bV = cM._3
460- let an = cM._4
461- let ao = cM._5
462- if ((cH(aA, aF) == 0))
463- then (cH(aA, aG) == 0)
464- else false
465- }
466-
467-
468-@Callable(bD)
469-func getSwapContractREADONLY () = $Tuple2(nil, aY(N()))
401+@Callable(by)
402+func getSwapContractREADONLY () = $Tuple2(nil, aT(J()))
470403
471404
472405
473-@Callable(bD)
474-func getPoolLeaseConfigREADONLY (af,aT) = {
475- let cN = {
476- let bf = getInteger(this, aS(af, aT))
477- if ($isInstanceOf(bf, "Int"))
406+@Callable(by)
407+func getPoolLeaseConfigREADONLY (aa,aO) = {
408+ let cx = {
409+ let ba = getInteger(this, aN(aa, aO))
410+ if ($isInstanceOf(ba, "Int"))
478411 then {
479- let cO = bf
480- $Tuple2(true, min([100, max([0, cO])]))
412+ let cy = ba
413+ $Tuple2(true, min([100, max([0, cy])]))
481414 }
482415 else {
483- let cP = getInteger(this, aU(aT))
484- if ($isInstanceOf(cP, "Int"))
416+ let cz = getInteger(this, aP(aO))
417+ if ($isInstanceOf(cz, "Int"))
485418 then {
486- let cQ = cP
487- $Tuple2(true, min([100, max([0, cQ])]))
419+ let cA = cz
420+ $Tuple2(true, min([100, max([0, cA])]))
488421 }
489422 else $Tuple2(false, 0)
490423 }
491424 }
492- let cR = cN._1
493- let cS = cN._2
494- let cT = {
495- let bf = getInteger(this, aW(af, aT))
496- if ($isInstanceOf(bf, "Int"))
425+ let cB = cx._1
426+ let cC = cx._2
427+ let cD = {
428+ let ba = getInteger(this, aR(aa, aO))
429+ if ($isInstanceOf(ba, "Int"))
497430 then {
498- let cU = bf
499- max([0, cU])
431+ let cE = ba
432+ max([0, cE])
500433 }
501434 else {
502- let cP = getInteger(this, aX(aT))
503- if ($isInstanceOf(cP, "Int"))
435+ let cz = getInteger(this, aS(aO))
436+ if ($isInstanceOf(cz, "Int"))
504437 then {
505- let cV = cP
506- max([0, cV])
438+ let cF = cz
439+ max([0, cF])
507440 }
508441 else 0
509442 }
510443 }
511- let cW = if ((aT == "WAVES"))
512- then $Tuple3(valueOrElse(getString(this, aP()), ""), getString(this, valueOrElse(aQ(), "")), c)
444+ let cG = if ((aO == "WAVES"))
445+ then $Tuple3(valueOrElse(getString(this, aK()), ""), getString(this, valueOrElse(aL(), "")), c)
513446 else $Tuple3("", "", 0)
514- let cX = cW._1
515- let cY = cW._2
516- let cZ = cW._3
517- let da = valueOrElse(getString(this, aR()), "")
518- $Tuple2(nil, $Tuple7(cR, cS, cT, cX, cY, cZ, da))
447+ let cH = cG._1
448+ let cI = cG._2
449+ let cJ = cG._3
450+ let cK = valueOrElse(getString(this, aM()), "")
451+ $Tuple2(nil, $Tuple7(cB, cC, cD, cH, cI, cJ, cK))
519452 }
520453
521454
522455
523-@Callable(bD)
524-func getLpAssetFromPoolAssetsREADONLY (db,dc) = if (if ((db == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"))
525- then (dc == "WAVES")
456+@Callable(by)
457+func getLpAssetFromPoolAssetsREADONLY (cL,cM) = if (if ((cL == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"))
458+ then (cM == "WAVES")
526459 else false)
527460 then $Tuple2(nil, unit)
528461 else {
529- let dd = value(getInteger(this, ak(db)))
530- let de = value(getInteger(this, ak(dc)))
531- let df = getString(this, av(toString(dd), toString(de)))
532- let dg = if ((df == unit))
462+ let cN = value(getInteger(this, af(cL)))
463+ let cO = value(getInteger(this, af(cM)))
464+ let cP = getString(this, aq(toString(cN), toString(cO)))
465+ let cQ = if ((cP == unit))
533466 then unit
534- else drop(value(df), 4)
535- $Tuple2(nil, dg)
467+ else drop(value(cP), 4)
468+ $Tuple2(nil, cQ)
536469 }
537470
538471
539472
540-@Callable(bD)
541-func getPoolAddressFromLpAssetREADONLY (dh) = $Tuple2(nil, valueOrElse(getString(this, aD(dh)), ""))
473+@Callable(by)
474+func getPoolAddressFromLpAssetREADONLY (cR) = $Tuple2(nil, valueOrElse(getString(this, ay(cR)), ""))
542475
543476
544477
545-@Callable(bD)
546-func constructor (di,dj,bJ,bK,bL,bM,dk,dl) = {
547- let dm = bE(bD)
548- if ((dm == dm))
549- then [StringEntry(O(), bS(di, dj, bJ, bK, bL, bM, dk)), IntegerEntry(ab(), dl)]
478+@Callable(by)
479+func constructor (cS,cT,bE,bF,bG,bH,cU,cV) = {
480+ let cW = bz(by)
481+ if ((cW == cW))
482+ then [StringEntry(K(), bN(cS, cT, bE, bF, bG, bH, cU)), IntegerEntry(W(), cV)]
550483 else throw("Strict value is not equal to itself.")
551484 }
552485
553486
554487
555-@Callable(bD)
556-func constructorV2 (dn) = {
557- let dm = bE(bD)
558- if ((dm == dm))
488+@Callable(by)
489+func constructorV2 (cX) = {
490+ let cW = bz(by)
491+ if ((cW == cW))
559492 then {
560- let do = addressFromPublicKey(fromBase58String(dn))
561- if ((do == do))
562- then [StringEntry(R(), dn)]
493+ let cY = addressFromPublicKey(fromBase58String(cX))
494+ if ((cY == cY))
495+ then [StringEntry(N(), cX)]
563496 else throw("Strict value is not equal to itself.")
564497 }
565498 else throw("Strict value is not equal to itself.")
566499 }
567500
568501
569502
570-@Callable(bD)
571-func constructorV3 (bO,bP,bQ,bR) = {
572- let dm = bE(bD)
573- if ((dm == dm))
503+@Callable(by)
504+func constructorV3 (bJ,bK,bL,bM) = {
505+ let cW = bz(by)
506+ if ((cW == cW))
574507 then {
575- let bt = split(aY(O()), m)
576-[StringEntry(O(), bG(bt[1], bt[2], bt[3], bt[4], bt[5], bt[6], bt[7], bO, bP, bQ, bR))]
508+ let bo = split(aT(K()), l)
509+[StringEntry(K(), bB(bo[1], bo[2], bo[3], bo[4], bo[5], bo[6], bo[7], bJ, bK, bL, bM))]
577510 }
578511 else throw("Strict value is not equal to itself.")
579512 }
580513
581514
582515
583-@Callable(bD)
584-func constructorV4 (dp,dq) = {
585- let dm = bE(bD)
586- if ((dm == dm))
587- then [StringEntry(S(), dp), StringEntry(T(), makeString(dq, m))]
516+@Callable(by)
517+func constructorV4 (cZ,da) = {
518+ let cW = bz(by)
519+ if ((cW == cW))
520+ then [StringEntry(O(), cZ), StringEntry(P(), makeString(da, l))]
588521 else throw("Strict value is not equal to itself.")
589522 }
590523
591524
592525
593-@Callable(bD)
594-func constructorV5 (dr) = {
595- let dm = bE(bD)
596- if ((dm == dm))
597- then [StringEntry(X(), dr)]
526+@Callable(by)
527+func constructorV5 (db) = {
528+ let cW = bz(by)
529+ if ((cW == cW))
530+ then [StringEntry(T(), db)]
598531 else throw("Strict value is not equal to itself.")
599532 }
600533
601534
602535
603-@Callable(bD)
604-func constructorV6 (ds,dt) = {
605- let du = [bE(bD), if ((addressFromString(ds) != unit))
536+@Callable(by)
537+func constructorV6 (dc,dd) = {
538+ let de = [bz(by), if ((addressFromString(dc) != unit))
606539 then true
607540 else "invalid voting emission contract address"]
608- if ((du == du))
609- then [StringEntry(Y(), ds), StringEntry(aa(), makeString(dt, m))]
541+ if ((de == de))
542+ then [StringEntry(U(), dc), StringEntry(V(), makeString(dd, l))]
610543 else throw("Strict value is not equal to itself.")
611544 }
612545
613546
614547
615-@Callable(bD)
616-func setAdmins (dv) = {
617- let dm = bE(bD)
618- if ((dm == dm))
619- then [StringEntry(W(), makeString(dv, m))]
548+@Callable(by)
549+func setAdmins (df) = {
550+ let cW = bz(by)
551+ if ((cW == cW))
552+ then [StringEntry(S(), makeString(df, l))]
620553 else throw("Strict value is not equal to itself.")
621554 }
622555
623556
624557
625-@Callable(bD)
626-func activateNewPool (af,bW,bX,dw,dx,dy,cd,dz) = {
627- let dm = cq(bD)
628- if ((dm == dm))
629- then if (isDefined(getString(az(af))))
630- then K((("Pool address " + af) + " already registered."))
558+@Callable(by)
559+func activateNewPool (aa,bR,bS,dg,dh,di,bY,dj) = {
560+ let cW = cl(by)
561+ if ((cW == cW))
562+ then if (isDefined(getString(au(aa))))
563+ then throw((("Pool address " + aa) + " already registered."))
631564 else {
632- let dA = cj(bW, 1)
633- let dB = dA._1
634- let dC = cj(bX, if (dA._3)
565+ let dk = ce(bR, 1)
566+ let dl = dk._1
567+ let dm = ce(bS, if (dk._3)
635568 then 2
636569 else 1)
637- let dD = dC._1
638- let dE = valueOrErrorMessage(scriptHash(addressFromStringValue(af)), ("No script has been found on pool account " + af))
639- let dF = getBinaryValue(Q())
640- let dG = cw(bW, bX)
641- if (dG)
642- then K((((("Pool " + bW) + "/") + bX) + " has already been activated."))
570+ let dn = dm._1
571+ let do = valueOrErrorMessage(scriptHash(addressFromStringValue(aa)), ("No script has been found on pool account " + aa))
572+ let dp = getBinaryValue(M())
573+ let dq = cr(bR, bS)
574+ if (dq)
575+ then throw((((("Pool " + bR) + "/") + bS) + " has already been activated."))
643576 else {
644- let dH = value(getString(this, am(toString(dB), toString(dD))))
645- let dI = if ((bW == "WAVES"))
646- then l
647- else pow(10, 0, value(assetInfo(fromBase58String(bW))).decimals, 0, 0, DOWN)
648- let dJ = if ((bX == "WAVES"))
649- then l
650- else pow(10, 0, value(assetInfo(fromBase58String(bX))).decimals, 0, 0, DOWN)
651- let dK = Issue(dw, dx, 1, 8, true)
652- let bV = calculateAssetId(dK)
653- let dL = toBase58String(bV)
654- let dM = invoke(addressFromStringValue(af), "activate", [bW, bX], nil)
655- if ((dM == dM))
656- then if ((dM != "success"))
657- then K("Pool initialisation error happened.")
577+ let dr = value(getString(this, ah(toString(dl), toString(dn))))
578+ let ds = if ((bR == "WAVES"))
579+ then k
580+ else pow(10, 0, value(assetInfo(fromBase58String(bR))).decimals, 0, 0, DOWN)
581+ let dt = if ((bS == "WAVES"))
582+ then k
583+ else pow(10, 0, value(assetInfo(fromBase58String(bS))).decimals, 0, 0, DOWN)
584+ let du = Issue(dg, dh, 1, 8, true)
585+ let bQ = calculateAssetId(du)
586+ let dv = toBase58String(bQ)
587+ let dw = invoke(addressFromStringValue(aa), "activate", [bR, bS], nil)
588+ if ((dw == dw))
589+ then if ((dw != "success"))
590+ then throw("Pool initialisation error happened.")
658591 else {
659- let dr = addressFromStringValue(aY(X()))
660- let dN = invoke(dr, "createOrUpdate", [dL, dw, false], nil)
661- if ((dN == dN))
592+ let db = addressFromStringValue(aT(T()))
593+ let dx = invoke(db, "createOrUpdate", [dv, dg, false], nil)
594+ if ((dx == dx))
662595 then {
663- let dO = invoke(dr, "addLabel", [dL, h], nil)
664- if ((dO == dO))
596+ let dy = invoke(db, "addLabel", [dv, h], nil)
597+ if ((dy == dy))
665598 then {
666- let dP = invoke(dr, "setLogo", [dL, dz], nil)
667- if ((dP == dP))
599+ let dz = invoke(db, "setLogo", [dv, dj], nil)
600+ if ((dz == dz))
668601 then {
669- let dQ = invoke(dr, "addAssetsLink", [bW, bX, dL], nil)
670- if ((dQ == dQ))
602+ let dA = invoke(db, "addAssetsLink", [bR, bS, dv], nil)
603+ if ((dA == dA))
671604 then {
672- let dR = invoke(dr, "increaseAssetPoolsNumber", [bW], nil)
673- if ((dR == dR))
674- then $Tuple2(((dA._2 ++ dC._2) ++ [dK, Burn(bV, 1), StringEntry(am(toString(dB), toString(dD)), bT(af, toString(o), dL, bW, bX, dI, dJ, dB, dD, l, cd)), StringEntry(at(dL), ce(dB, dD)), StringEntry(av(toString(dB), toString(dD)), ("%s__" + dL)), StringEntry(az(af), ce(dB, dD)), StringEntry(aB(dB, dD), af), StringEntry(aD(dL), af), StringEntry(aC(af), dL), IntegerEntry(ae(af), dy), IntegerEntry(ay(af), i)]), dL)
605+ let dB = invoke(db, "increaseAssetPoolsNumber", [bR], nil)
606+ if ((dB == dB))
607+ then $Tuple2(((dk._2 ++ dm._2) ++ [du, Burn(bQ, 1), StringEntry(ah(toString(dl), toString(dn)), bO(aa, toString(n), dv, bR, bS, ds, dt, dl, dn, k, bY)), StringEntry(ao(dv), bZ(dl, dn)), StringEntry(aq(toString(dl), toString(dn)), ("%s__" + dv)), StringEntry(au(aa), bZ(dl, dn)), StringEntry(aw(dl, dn), aa), StringEntry(ay(dv), aa), StringEntry(ax(aa), dv), IntegerEntry(Z(aa), di), IntegerEntry(at(aa), i)]), dv)
675608 else throw("Strict value is not equal to itself.")
676609 }
677610 else throw("Strict value is not equal to itself.")
678611 }
679612 else throw("Strict value is not equal to itself.")
680613 }
681614 else throw("Strict value is not equal to itself.")
682615 }
683616 else throw("Strict value is not equal to itself.")
684617 }
685618 else throw("Strict value is not equal to itself.")
686619 }
687620 }
688621 else throw("Strict value is not equal to itself.")
689622 }
690623
691624
692625
693-@Callable(bD)
694-func managePool (af,dS) = {
695- let dm = bE(bD)
696- if ((dm == dm))
626+@Callable(by)
627+func managePool (aa,dC) = {
628+ let cW = bz(by)
629+ if ((cW == cW))
697630 then {
698- let dT = ch(af)
699- let bU = dT[w]
700- let dL = dT[x]
701- let bW = dT[y]
702- let bX = dT[z]
703- let dI = parseIntValue(dT[A])
704- let dJ = parseIntValue(dT[B])
705- let dB = parseIntValue(dT[C])
706- let dD = parseIntValue(dT[D])
707- let dU = parseIntValue(dT[E])
708- let cd = dT[F]
709-[StringEntry(am(toString(dB), toString(dD)), bT(af, toString(dS), dL, bW, bX, dI, dJ, dB, dD, dU, cd))]
631+ let dD = cc(aa)
632+ let bP = dD[v]
633+ let dv = dD[w]
634+ let bR = dD[x]
635+ let bS = dD[y]
636+ let ds = parseIntValue(dD[z])
637+ let dt = parseIntValue(dD[A])
638+ let dl = parseIntValue(dD[B])
639+ let dn = parseIntValue(dD[C])
640+ let dE = parseIntValue(dD[D])
641+ let bY = dD[E]
642+[StringEntry(ah(toString(dl), toString(dn)), bO(aa, toString(dC), dv, bR, bS, ds, dt, dl, dn, dE, bY))]
710643 }
711644 else throw("Strict value is not equal to itself.")
712645 }
713646
714647
715648
716-@Callable(bD)
717-func emit (dV) = {
718- let dW = bD.caller
719- let dX = bD.originCaller
720- let dY = valueOrErrorMessage(getString(aC(toString(dW))), "Invalid LP address called me.")
721- let dZ = fromBase58String(dY)
722- let dq = split(valueOrElse(getString(T()), n), m)
723- let dp = addressFromStringValue(valueOrErrorMessage(getString(S()), "Legacy factory contract does not exists."))
724- if ((0 >= dV))
649+@Callable(by)
650+func emit (dF) = {
651+ let dG = by.caller
652+ let dH = by.originCaller
653+ let dI = valueOrErrorMessage(getString(ax(toString(dG))), "Invalid LP address called me.")
654+ let dJ = fromBase58String(dI)
655+ let da = split(valueOrElse(getString(P()), m), l)
656+ let cZ = addressFromStringValue(valueOrErrorMessage(getString(O()), "Legacy factory contract does not exists."))
657+ if ((0 >= dF))
725658 then nil
726- else if (containsElement(dq, toString(dW)))
727- then $Tuple2(nil, dp)
728- else $Tuple2([Reissue(dZ, dV, true), ScriptTransfer(bD.caller, dV, dZ)], "success")
659+ else if (containsElement(da, toString(dG)))
660+ then $Tuple2(nil, cZ)
661+ else $Tuple2([Reissue(dJ, dF, true), ScriptTransfer(by.caller, dF, dJ)], "success")
729662 }
730663
731664
732665
733-@Callable(bD)
734-func burn (ea) = {
735- let dW = bD.caller
736- let dX = bD.originCaller
737- let eb = value(bD.payments[0])
738- let ec = value(eb.amount)
739- let ed = toBase58String(value(eb.assetId))
740- let ee = valueOrErrorMessage(getString(aC(toString(dW))), "Invalid LP address called me.")
741- if ((ed != ee))
742- then K("Invalid asset passed.")
743- else if ((ea != ec))
744- then K("Invalid amount passed.")
666+@Callable(by)
667+func burn (dK) = {
668+ let dG = by.caller
669+ let dH = by.originCaller
670+ let dL = value(by.payments[0])
671+ let dM = value(dL.amount)
672+ let dN = toBase58String(value(dL.assetId))
673+ let dO = valueOrErrorMessage(getString(ax(toString(dG))), "Invalid LP address called me.")
674+ if ((dN != dO))
675+ then throw("Invalid asset passed.")
676+ else if ((dK != dM))
677+ then throw("Invalid amount passed.")
745678 else {
746- let dZ = fromBase58String(ee)
747- $Tuple2([Burn(dZ, ea)], "success")
679+ let dJ = fromBase58String(dO)
680+ $Tuple2([Burn(dJ, dK)], "success")
748681 }
749682 }
750683
751684
752685
753-@Callable(bD)
754-func modifyWeight (bV,ef) = {
755- let dm = if ((toBase58String(bD.caller.bytes) == valueOrElse(getString(this, Y()), "")))
686+@Callable(by)
687+func modifyWeight (bQ,dP) = {
688+ let cW = if ((toBase58String(by.caller.bytes) == valueOrElse(getString(this, U()), "")))
756689 then true
757- else bE(bD)
758- if ((dm == dm))
690+ else bz(by)
691+ if ((cW == cW))
759692 then {
760- let aA = aY(aD(bV))
761- let eg = ae(aA)
762- let eh = ae(g)
763- let ei = valueOrElse(getInteger(eh), 0)
764- let dy = valueOrElse(getInteger(eg), 0)
765- let ej = ef
766- let bt = split(aY(O()), m)
767- let di = bv(bt)
768- let ek = invoke(di, "onModifyWeight", [bV, aA], nil)
769- if ((ek == ek))
693+ let av = aT(ay(bQ))
694+ let dQ = Z(av)
695+ let dR = Z(g)
696+ let dS = valueOrElse(getInteger(dR), 0)
697+ let di = valueOrElse(getInteger(dQ), 0)
698+ let dT = dP
699+ let bo = split(aT(K()), l)
700+ let cS = bq(bo)
701+ let dU = invoke(cS, "onModifyWeight", [bQ, av], nil)
702+ if ((dU == dU))
770703 then {
771- let el = if ((ei == 0))
704+ let dV = if ((dS == 0))
772705 then nil
773- else [IntegerEntry(eh, 0)]
774- let em = ag(aA, 0)
775- let en = getInteger(em)
776- let eo = if ((en == unit))
706+ else [IntegerEntry(dR, 0)]
707+ let dW = ab(av, 0)
708+ let dX = getInteger(dW)
709+ let dY = if ((dX == unit))
777710 then nil
778- else [DeleteEntry(em)]
779- (([IntegerEntry(eg, ej)] ++ el) ++ eo)
711+ else [DeleteEntry(dW)]
712+ (([IntegerEntry(dQ, dT)] ++ dV) ++ dY)
780713 }
781714 else throw("Strict value is not equal to itself.")
782715 }
783716 else throw("Strict value is not equal to itself.")
784717 }
785718
786719
787720
788-@Callable(bD)
789-func modifyWeights (ep,eq,er,es) = {
790- let dm = bE(bD)
791- if ((dm == dm))
721+@Callable(by)
722+func modifyWeights (dZ,ea,eb,ec) = {
723+ let cW = bz(by)
724+ if ((cW == cW))
792725 then {
793- let et = ((5 * f) / 100)
794- let eu = ((5 * f) / 100)
795- let ev = ((5 * f) / 100)
796- let bt = split(aY(O()), m)
797- let ew = bv(bt)
798- let ex = bw(bt)
799- let ey = ae(ep)
800- let ez = ae(eq)
801- let eA = ae(er)
802- let eB = ae(es)
803- let eC = bb(ey)
804- let eD = bb(ez)
805- let eE = (eC - ev)
806- let eF = (eD - ev)
807- if ((0 >= eE))
808- then K(("invalid btcWeightNew: " + toString(eE)))
809- else if ((0 >= eF))
810- then K(("invalid ethWeightNew: " + toString(eF)))
726+ let ed = ((5 * f) / 100)
727+ let ee = ((5 * f) / 100)
728+ let ef = ((5 * f) / 100)
729+ let bo = split(aT(K()), l)
730+ let eg = bq(bo)
731+ let eh = br(bo)
732+ let ei = Z(dZ)
733+ let ej = Z(ea)
734+ let ek = Z(eb)
735+ let el = Z(ec)
736+ let em = aW(ei)
737+ let en = aW(ej)
738+ let eo = (em - ef)
739+ let ep = (en - ef)
740+ if ((0 >= eo))
741+ then throw(("invalid btcWeightNew: " + toString(eo)))
742+ else if ((0 >= ep))
743+ then throw(("invalid ethWeightNew: " + toString(ep)))
811744 else {
812- let eG = aY(aC(ep))
813- let eH = aY(aC(eq))
814- let eI = aY(aC(er))
815- let eJ = aY(aC(es))
816- let eK = invoke(ew, "onModifyWeight", [eG, ep], nil)
817- if ((eK == eK))
745+ let eq = aT(ax(dZ))
746+ let er = aT(ax(ea))
747+ let es = aT(ax(eb))
748+ let et = aT(ax(ec))
749+ let eu = invoke(eg, "onModifyWeight", [eq, dZ], nil)
750+ if ((eu == eu))
818751 then {
819- let eL = invoke(ew, "onModifyWeight", [eH, eq], nil)
820- if ((eL == eL))
752+ let ev = invoke(eg, "onModifyWeight", [er, ea], nil)
753+ if ((ev == ev))
821754 then {
822- let eM = invoke(ew, "onModifyWeight", [eI, er], nil)
823- if ((eM == eM))
755+ let ew = invoke(eg, "onModifyWeight", [es, eb], nil)
756+ if ((ew == ew))
824757 then {
825- let eN = invoke(ew, "onModifyWeight", [eJ, es], nil)
826- if ((eN == eN))
827- then [IntegerEntry(ey, eE), IntegerEntry(ez, eF), IntegerEntry(eA, et), IntegerEntry(eB, eu), IntegerEntry(ag(ep, 0), eC), IntegerEntry(ag(eq, 0), eD), IntegerEntry(ag(er, 0), et), IntegerEntry(ag(es, 0), eu)]
758+ let ex = invoke(eg, "onModifyWeight", [et, ec], nil)
759+ if ((ex == ex))
760+ then [IntegerEntry(ei, eo), IntegerEntry(ej, ep), IntegerEntry(ek, ed), IntegerEntry(el, ee), IntegerEntry(ab(dZ, 0), em), IntegerEntry(ab(ea, 0), en), IntegerEntry(ab(eb, 0), ed), IntegerEntry(ab(ec, 0), ee)]
828761 else throw("Strict value is not equal to itself.")
829762 }
830763 else throw("Strict value is not equal to itself.")
831764 }
832765 else throw("Strict value is not equal to itself.")
833766 }
834767 else throw("Strict value is not equal to itself.")
835768 }
836769 }
837770 else throw("Strict value is not equal to itself.")
838771 }
839772
840773
841774
842-@Callable(bD)
843-func checkWxEmissionPoolLabel (aF,aG) = {
844- let eO = {
845- let bf = getBoolean(aE(aF, aG))
846- if ($isInstanceOf(bf, "Boolean"))
775+@Callable(by)
776+func checkWxEmissionPoolLabel (aA,aB) = {
777+ let ey = {
778+ let ba = getBoolean(az(aA, aB))
779+ if ($isInstanceOf(ba, "Boolean"))
847780 then {
848- let cU = bf
849- cU
781+ let cE = ba
782+ cE
850783 }
851784 else false
852785 }
853- $Tuple2(nil, eO)
786+ $Tuple2(nil, ey)
854787 }
855788
856789
857790
858-@Callable(bD)
859-func setWxEmissionPoolLabel (aF,aG) = {
860- let dm = cq(bD)
861- if ((dm == dm))
862- then $Tuple2([BooleanEntry(aE(aF, aG), true)], unit)
791+@Callable(by)
792+func setWxEmissionPoolLabel (aA,aB) = {
793+ let cW = cl(by)
794+ if ((cW == cW))
795+ then $Tuple2([BooleanEntry(az(aA, aB), true)], unit)
863796 else throw("Strict value is not equal to itself.")
864797 }
865798
866799
867800
868-@Callable(bD)
869-func deleteWxEmissionPoolLabel (aF,aG) = {
870- let dm = if ((bD.caller == this))
801+@Callable(by)
802+func deleteWxEmissionPoolLabel (aA,aB) = {
803+ let cW = if ((by.caller == this))
871804 then true
872- else cq(bD)
873- if ((dm == dm))
874- then $Tuple2([DeleteEntry(aE(aF, aG))], unit)
805+ else cl(by)
806+ if ((cW == cW))
807+ then $Tuple2([DeleteEntry(az(aA, aB))], unit)
875808 else throw("Strict value is not equal to itself.")
876809 }
877810
878811
879812
880-@Callable(bD)
881-func onVerificationLoss (aT) = {
882- let dm = if ((toBase58String(bD.caller.bytes) == valueOrElse(getString(this, X()), "")))
813+@Callable(by)
814+func onVerificationLoss (aO) = {
815+ let cW = if ((toBase58String(by.caller.bytes) == valueOrElse(getString(this, T()), "")))
883816 then true
884- else bE(bD)
885- if ((dm == dm))
817+ else bz(by)
818+ if ((cW == cW))
886819 then {
887- let dt = bx()
888- let eP = if ((size(dt) > 0))
820+ let dd = bs()
821+ let ez = if ((size(dd) > 0))
889822 then true
890- else K("invalid price assets")
891- if ((eP == eP))
823+ else throw("invalid price assets")
824+ if ((ez == ez))
892825 then {
893- func eQ (eR,eS) = {
894- let cO = invoke(this, "deleteWxEmissionPoolLabel", [aT, eS], nil)
895- if ((cO == cO))
826+ func eA (eB,eC) = {
827+ let cy = invoke(this, "deleteWxEmissionPoolLabel", [aO, eC], nil)
828+ if ((cy == cy))
896829 then unit
897830 else throw("Strict value is not equal to itself.")
898831 }
899832
900- let eT = {
901- let eU = dt
902- let eV = size(eU)
903- let eW = unit
904- func eX (eY,eZ) = if ((eZ >= eV))
905- then eY
906- else eQ(eY, eU[eZ])
833+ let eD = {
834+ let eE = dd
835+ let eF = size(eE)
836+ let eG = unit
837+ func eH (eI,eJ) = if ((eJ >= eF))
838+ then eI
839+ else eA(eI, eE[eJ])
907840
908- func fa (eY,eZ) = if ((eZ >= eV))
909- then eY
841+ func eK (eI,eJ) = if ((eJ >= eF))
842+ then eI
910843 else throw("List size exceeds 11")
911844
912- fa(eX(eX(eX(eX(eX(eX(eX(eX(eX(eX(eX(eW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11)
845+ eK(eH(eH(eH(eH(eH(eH(eH(eH(eH(eH(eH(eG, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11)
913846 }
914- if ((eT == eT))
847+ if ((eD == eD))
915848 then $Tuple2(nil, unit)
916849 else throw("Strict value is not equal to itself.")
917850 }
918851 else throw("Strict value is not equal to itself.")
919852 }
920853 else throw("Strict value is not equal to itself.")
921854 }
922855
923856
924857
925-@Callable(bD)
926-func isPoolOneTokenOperationsDisabledREADONLY (af) = {
927- let dT = ch(af)
928- let aq = $Tuple2(parseIntValue(dT[C]), parseIntValue(dT[D]))
929- let fb = valueOrElse(getBoolean(ap(aq)), false)
930- let fc = valueOrElse(getBoolean(as()), false)
931- $Tuple2(nil, if (fc)
858+@Callable(by)
859+func isPoolOneTokenOperationsDisabledREADONLY (aa) = {
860+ let dD = cc(aa)
861+ let al = $Tuple2(parseIntValue(dD[B]), parseIntValue(dD[C]))
862+ let eL = valueOrElse(getBoolean(ak(al)), false)
863+ let eM = valueOrElse(getBoolean(an()), false)
864+ $Tuple2(nil, if (eM)
932865 then true
933- else fb)
866+ else eL)
934867 }
935868
936869
937870
938-@Callable(bD)
939-func getInFeeREADONLY (af) = {
940- let fd = ct(aH(af), aI(), 0)
941- $Tuple2(nil, fd)
871+@Callable(by)
872+func getInFeeREADONLY (aa) = {
873+ let eN = co(aC(aa), aD(), 0)
874+ $Tuple2(nil, eN)
942875 }
943876
944877
945878
946-@Callable(bD)
947-func getOutFeeREADONLY (af) = {
948- let fd = ct(aJ(af), aK(), fraction(10, b, 10000))
949- $Tuple2(nil, fd)
879+@Callable(by)
880+func getOutFeeREADONLY (aa) = {
881+ let eN = co(aE(aa), aF(), fraction(10, b, 10000))
882+ $Tuple2(nil, eN)
950883 }
951884
952885
953886
954-@Callable(bD)
955-func poolInfoREADONLY (fe,ff) = {
956- let fg = getInteger(this, ak(fe))
957- let fh = getInteger(this, ak(ff))
958- let fi = getString(this, aB(value(fg), value(fh)))
959- let fj = getString(this, aC(value(fi)))
960- let dG = if (if (isDefined(fg))
961- then isDefined(fh)
887+@Callable(by)
888+func poolInfoREADONLY (eO,eP) = {
889+ let eQ = getInteger(this, af(eO))
890+ let eR = getInteger(this, af(eP))
891+ let eS = getString(this, aw(value(eQ), value(eR)))
892+ let eT = getString(this, ax(value(eS)))
893+ let dq = if (if (isDefined(eQ))
894+ then isDefined(eR)
962895 else false)
963- then isDefined(fi)
896+ then isDefined(eS)
964897 else false
965- let fk = if (dG)
966- then $Tuple2(addressFromStringValue(value(fi)), bc(value(fj)))
898+ let eU = if (dq)
899+ then $Tuple2(addressFromStringValue(value(eS)), aX(value(eT)))
967900 else unit
968- $Tuple2(nil, fk)
901+ $Tuple2(nil, eU)
969902 }
970903
971904
972905
973-@Callable(bD)
974-func getPoolStatusREADONLY (af) = {
975- let ci = split(aY(az(af)), m)
976- let an = ci[1]
977- let ao = ci[2]
978- let cz = split(aY(am(an, ao)), m)
979- $Tuple2(nil, parseIntValue(cz[w]))
906+@Callable(by)
907+func getPoolStatusREADONLY (aa) = {
908+ let cd = split(aT(au(aa)), l)
909+ let ai = cd[1]
910+ let aj = cd[2]
911+ let cu = split(aT(ah(ai, aj)), l)
912+ $Tuple2(nil, parseIntValue(cu[v]))
980913 }
981914
982915
983916
984-@Callable(bD)
985-func getPoolConfigREADONLY (af) = {
986- let ci = split(aY(az(af)), m)
987- let an = ci[1]
988- let ao = ci[2]
989- let cz = split(aY(am(an, ao)), m)
990- $Tuple2(nil, cz)
917+@Callable(by)
918+func getPoolConfigREADONLY (aa) = {
919+ let cd = split(aT(au(aa)), l)
920+ let ai = cd[1]
921+ let aj = cd[2]
922+ let cu = split(aT(ah(ai, aj)), l)
923+ $Tuple2(nil, cu)
991924 }
992925
993926
994927
995-@Callable(bD)
996-func getPoolConfigByLpAssetIdREADONLY (dL) = {
997- let ci = split(aY(at(dL)), m)
998- let an = ci[1]
999- let ao = ci[2]
1000- let cz = split(aY(am(an, ao)), m)
1001- $Tuple2(nil, cz)
928+@Callable(by)
929+func getPoolConfigByLpAssetIdREADONLY (dv) = {
930+ let cd = split(aT(ao(dv)), l)
931+ let ai = cd[1]
932+ let aj = cd[2]
933+ let cu = split(aT(ah(ai, aj)), l)
934+ $Tuple2(nil, cu)
1002935 }
1003936
1004937
1005938
1006-@Callable(bD)
1007-func poolExistsREADONLY (aF,aG) = $Tuple2(nil, cw(aF, aG))
939+@Callable(by)
940+func poolExistsREADONLY (aA,aB) = $Tuple2(nil, cr(aA, aB))
1008941
1009942
1010943
1011-@Callable(bD)
1012-func skipOrderValidationREADONLY (af) = $Tuple2(nil, valueOrElse(getBoolean(aL(af)), false))
944+@Callable(by)
945+func skipOrderValidationREADONLY (aa) = $Tuple2(nil, valueOrElse(getBoolean(aG(aa)), false))
1013946
1014947
1015948
1016-@Callable(bD)
1017-func getChangeAmpConfigREADONLY (af) = {
1018- let fl = getIntegerValue(aM(af))
1019- let fm = getIntegerValue(aN(af))
1020- let fn = getIntegerValue(aO(af))
1021- $Tuple2(nil, [fl, fm, fn])
949+@Callable(by)
950+func getChangeAmpConfigREADONLY (aa) = {
951+ let eV = getIntegerValue(aH(aa))
952+ let eW = getIntegerValue(aI(aa))
953+ let eX = getIntegerValue(aJ(aa))
954+ $Tuple2(nil, [eV, eW, eX])
1022955 }
1023956
1024957
1025958
1026-@Callable(bD)
1027-func getPoolWeightREADONLY (bV) = {
1028- let af = aY(aD(bV))
1029- let fo = valueOrElse(getInteger(ae(af)), 0)
1030- $Tuple2(nil, fo)
959+@Callable(by)
960+func getPoolWeightREADONLY (bQ) = {
961+ let aa = aT(ay(bQ))
962+ let eY = valueOrElse(getInteger(Z(aa)), 0)
963+ $Tuple2(nil, eY)
1031964 }
1032965
1033966
1034-
1035-@Callable(bD)
1036-func deletePool (aA) = {
1037- let dm = if ((toString(bD.caller) == cD(aA)))
1038- then if (cL(aA))
1039- then true
1040- else K("Pool is not empty")
1041- else bE(bD)
1042- if ((dm == dm))
1043- then {
1044- let fp = if ((valueOrElse(getInteger(ae(aA)), 0) == 0))
1045- then true
1046- else K("Pool weight is not Zero")
1047- if ((fp == fp))
1048- then {
1049- let fq = cC(aA)
1050- let aF = fq._1
1051- let aG = fq._2
1052- let bV = fq._3
1053- let an = fq._4
1054- let ao = fq._5
1055- let cF = addressFromStringValue(getStringValue(Z()))
1056- let fr = invoke(cF, "deletePool", [aF, aG], nil)
1057- if ((fr == fr))
1058- then {
1059- let ds = addressFromStringValue(getStringValue(Y()))
1060- let fs = invoke(ds, "deletePool", [aF, aG], nil)
1061- if ((fs == fs))
1062- then {
1063- let dr = addressFromStringValue(getStringValue(X()))
1064- let ft = invoke(dr, "deletePool", [aF, aG], nil)
1065- if ((ft == ft))
1066- then [DeleteEntry(aC(aA)), DeleteEntry(az(aA)), DeleteEntry(av(toString(an), toString(ao))), DeleteEntry(aB(an, ao)), DeleteEntry(am(toString(an), toString(ao))), DeleteEntry(at(bV)), DeleteEntry(aD(bV)), DeleteEntry(aE(aF, aG)), DeleteEntry(ae(aA)), DeleteEntry(ay(aA)), DeleteEntry(aH(aA)), DeleteEntry(aJ(aA)), DeleteEntry(aL(aA)), DeleteEntry(aM(aA)), DeleteEntry(aN(aA)), DeleteEntry(aO(aA))]
1067- else throw("Strict value is not equal to itself.")
1068- }
1069- else throw("Strict value is not equal to itself.")
1070- }
1071- else throw("Strict value is not equal to itself.")
1072- }
1073- else throw("Strict value is not equal to itself.")
1074- }
1075- else throw("Strict value is not equal to itself.")
1076- }
1077-
1078-
1079-@Verifier(fu)
1080-func fv () = {
1081- let fw = {
1082- let bf = by()
1083- if ($isInstanceOf(bf, "ByteVector"))
967+@Verifier(eZ)
968+func fa () = {
969+ let fb = {
970+ let ba = bt()
971+ if ($isInstanceOf(ba, "ByteVector"))
1084972 then {
1085- let bF = bf
1086- bF
973+ let bA = ba
974+ bA
1087975 }
1088- else if ($isInstanceOf(bf, "Unit"))
1089- then fu.senderPublicKey
976+ else if ($isInstanceOf(ba, "Unit"))
977+ then eZ.senderPublicKey
1090978 else throw("Match error")
1091979 }
1092- sigVerify(fu.bodyBytes, fu.proofs[0], fw)
980+ sigVerify(eZ.bodyBytes, eZ.proofs[0], fb)
1093981 }
1094982

github/deemru/w8io/026f985 
374.42 ms