tx · 5rroJTk9KHPkMV8U42gh4Nr13zvyTRDVF8TNCzi8qv7c

3NAGCoPxtjSJXUwo7MBkgHVCSg9jUJQCASm:  -0.02100000 Waves

2024.10.29 22:48 [3348601] smart account 3NAGCoPxtjSJXUwo7MBkgHVCSg9jUJQCASm > SELF 0.00000000 Waves

{ "type": 13, "id": "5rroJTk9KHPkMV8U42gh4Nr13zvyTRDVF8TNCzi8qv7c", "fee": 2100000, "feeAssetId": null, "timestamp": 1730231378914, "version": 2, "chainId": 84, "sender": "3NAGCoPxtjSJXUwo7MBkgHVCSg9jUJQCASm", "senderPublicKey": "5d3H2Xdx687hF9NxBJuTCuS2FS55h8G4mHGvXJvS16ji", "proofs": [ "2VamrLNAk3BAE8YMCEoKQsdtgqi9YTWUavC1DDxH5Njshh54UGHFjB9M3sV9jaBypwqSirkQW6tYxKNYsv6fQszz" ], "script": "base64:BgItCAISBwoFCAgICAESBwoFCAgICAESABIDCgEIEgQKAggBEgUKAwgIARIDCgEIRwAHVkVSU0lPTgIIUE0tMC43LjAACWNvbmZpZ1N0cgkBC3ZhbHVlT3JFbHNlAgkAnQgCBQR0aGlzAg1jb25maWdBZGRyZXNzAiMzTjkxZTd3SGlWN1FhZERzeDNSVUpReHgxZXRxY0FLcmZIagAOQ09ORklHX0FERFJFU1MDCQAAAgUJY29uZmlnU3RyAgAFBHRoaXMJAQdBZGRyZXNzAQkA2QQBBQljb25maWdTdHIAFUFzc2V0c1dlaWdodHNEZWNpbWFscwAEAAVTY2FsZQCQTgAGU2NhbGU4AIDC1y8AB1NjYWxlMTYAgICE/qbe4REACEZlZVNjYWxlAJBOABFQb29sVG9rZW5EZWNpbWFscwAIAA5Qb29sVG9rZW5TY2FsZQkAbAYACgAABRFQb29sVG9rZW5EZWNpbWFscwAAAAAFBkhBTEZVUAAQTUlOX1NURVBTX0FNT1VOVAkBC3ZhbHVlT3JFbHNlAgkAmggCBQ5DT05GSUdfQUREUkVTUwIQbWluX3N0ZXBzX2Ftb3VudAAB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ZXIJAAIBAid0aGlzIGNhbGwgYXZhaWxhYmxlIG9ubHkgZm9yIHBvb2wgb3duZXIJAMwIAgkBC1N0cmluZ0VudHJ5AgIQc3RhdGljX3Bvb2xPd25lcgUPbmV3T3duZXJBZGRyZXNzBQNuaWwAkFzlgg==", "height": 3348601, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 8J8JUzyhV1ANkwfM6DwPpF9YTGJSiD2yptvgpZwonEZx Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = "PM-0.7.0"
5+
6+let b = valueOrElse(getString(this, "configAddress"), "3N91e7wHiV7QadDsx3RUJQxx1etqcAKrfHj")
7+
8+let c = if ((b == ""))
9+ then this
10+ else Address(fromBase58String(b))
11+
12+let d = 4
13+
14+let e = 10000
15+
16+let f = 100000000
17+
18+let g = 10000000000000000
19+
20+let h = 10000
21+
22+let i = 8
23+
24+let j = pow(10, 0, i, 0, 0, HALFUP)
25+
26+let k = valueOrElse(getInteger(c, "min_steps_amount"), 1)
27+
28+let l = valueOrElse(getInteger(c, "max_steps_amount"), 500)
29+
30+let m = valueOrElse(getInteger(c, "min_steps_interval"), 1)
31+
32+let n = valueOrElse(getInteger(c, "max_steps_interval"), 10000)
33+
34+let o = valueOrElse(getInteger(c, "min_weight"), 100)
35+
36+let p = valueOrElse(getInteger(c, "max_weight"), 9900)
37+
38+func q (r) = {
39+ let s = getInteger(this, r)
40+ if ($isInstanceOf(s, "Int"))
41+ then {
42+ let t = s
43+ t
44+ }
45+ else 0
46+ }
47+
48+
49+func u (r) = {
50+ let s = getBinary(this, r)
51+ if ($isInstanceOf(s, "ByteVector"))
52+ then {
53+ let t = s
54+ t
55+ }
56+ else base58''
57+ }
58+
59+
60+func v (r) = {
61+ let s = getString(this, r)
62+ if ($isInstanceOf(s, "String"))
63+ then {
64+ let t = s
65+ t
66+ }
67+ else ""
68+ }
69+
70+
71+func w (r) = {
72+ let s = getString(this, r)
73+ if ($isInstanceOf(s, "String"))
74+ then {
75+ let t = s
76+ t
77+ }
78+ else throw(("no such key in data storage: " + r))
79+ }
80+
81+
82+func x (y) = {
83+ let s = y
84+ if ($isInstanceOf(s, "ByteVector"))
85+ then {
86+ let t = s
87+ toBase58String(t)
88+ }
89+ else "WAVES"
90+ }
91+
92+
93+func z (A) = if ((A == "WAVES"))
94+ then unit
95+ else fromBase58String(A)
96+
97+
98+func B (y) = {
99+ let s = y
100+ if ($isInstanceOf(s, "ByteVector"))
101+ then {
102+ let C = s
103+ assetBalance(this, C)
104+ }
105+ else wavesBalance(this).available
106+ }
107+
108+
109+func D (E,F) = (E ++ [z(F)])
110+
111+
112+func G (E,F) = (E ++ [q((("static_" + x(F)) + "_weight"))])
113+
114+
115+func H (E,F) = (E ++ [toString(q((("static_" + F) + "_weight")))])
116+
117+
118+func I (E,F) = (E ++ [q((("static_" + x(F)) + "_decimals"))])
119+
120+
121+func J (E,F) = (E ++ [q((("static_" + x(F)) + "_scale"))])
122+
123+
124+func K (E,F) = (E ++ [parseIntValue(F)])
125+
126+
127+let L = valueOrElse(getString(c, "usdnAssetIdStr"), "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")
128+
129+let M = valueOrElse(getString(c, "puzzleAssetIdStr"), "HEB8Qaw9xrWpWs8tHsiATYGBWDBtP2S7kcPALrMu43AS")
130+
131+let N = valueOrElse(getString(c, "usdtAssetIdStr"), "34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ")
132+
133+let O = valueOrElse(getString(c, "usdtPptAssetIdStr"), "9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi")
134+
135+let P = valueOrElse(getString(c, "romeAssetIdStr"), "AP4Cb5xLYGH6ZigHreCZHoXpQTWDkPsG2BHqfDUx6taJ")
136+
137+let Q = "WAVES"
138+
139+let R = fromBase58String(L)
140+
141+let S = fromBase58String(M)
142+
143+let T = fromBase58String(N)
144+
145+let U = fromBase58String(O)
146+
147+let V = fromBase58String(P)
148+
149+let W = unit
150+
151+let X = [L, M, N, O, Q, P]
152+
153+let Y = Address(fromBase58String(valueOrElse(getString(c, "oracleAddress"), "3N91e7wHiV7QadDsx3RUJQxx1etqcAKrfHj")))
154+
155+let Z = Address(fromBase58String(valueOrElse(getString(c, "feesAddress"), "3N91e7wHiV7QadDsx3RUJQxx1etqcAKrfHj")))
156+
157+let aa = valueOrElse(getString(c, "shutdownAddress"), "3N91e7wHiV7QadDsx3RUJQxx1etqcAKrfHj")
158+
159+let ab = valueOrElse(getString(c, "layer2Addresses"), "3N91e7wHiV7QadDsx3RUJQxx1etqcAKrfHj")
160+
161+let ac = Address(fromBase58String(valueOrElse(getString(c, "coldMasterAddress"), "3N91e7wHiV7QadDsx3RUJQxx1etqcAKrfHj")))
162+
163+let ad = Address(fromBase58String(valueOrElse(getString(c, "factoryAddress"), "3N1ytAUyhtig9X6F2hHHs1jbzYxr47Yp8Fr")))
164+
165+let ae = Address(fromBase58String(valueOrElse(getString(c, "factoryAddress"), "3MsgzbtRg8NEkbTcHBywtwTdCe9BRxMQo5T")))
166+
167+let af = fromBase58String(valueOrElse(getString(c, "masterPubKey"), "4z8CKSYQBKkzx7PBb5uBP1YPa6YAHRNTApW1sQVHT5eU"))
168+
169+let ag = q("static_tokensAmount")
170+
171+let ah = {
172+ let ai = split(v("static_tokenIds"), ",")
173+ let aj = size(ai)
174+ let ak = nil
175+ func al (am,an) = if ((an >= aj))
176+ then am
177+ else D(am, ai[an])
178+
179+ func ao (am,an) = if ((an >= aj))
180+ then am
181+ else throw("List size exceeds 10")
182+
183+ ao(al(al(al(al(al(al(al(al(al(al(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
184+ }
185+
186+let ap = {
187+ let ai = ah
188+ let aj = size(ai)
189+ let ak = nil
190+ func aq (am,an) = if ((an >= aj))
191+ then am
192+ else G(am, ai[an])
193+
194+ func ar (am,an) = if ((an >= aj))
195+ then am
196+ else throw("List size exceeds 10")
197+
198+ ar(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
199+ }
200+
201+let as = {
202+ let ai = ah
203+ let aj = size(ai)
204+ let ak = nil
205+ func at (am,an) = if ((an >= aj))
206+ then am
207+ else I(am, ai[an])
208+
209+ func au (am,an) = if ((an >= aj))
210+ then am
211+ else throw("List size exceeds 10")
212+
213+ au(at(at(at(at(at(at(at(at(at(at(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
214+ }
215+
216+let av = {
217+ let ai = ah
218+ let aj = size(ai)
219+ let ak = nil
220+ func aw (am,an) = if ((an >= aj))
221+ then am
222+ else J(am, ai[an])
223+
224+ func ax (am,an) = if ((an >= aj))
225+ then am
226+ else throw("List size exceeds 10")
227+
228+ ax(aw(aw(aw(aw(aw(aw(aw(aw(aw(aw(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
229+ }
230+
231+let ay = q("static_fee")
232+
233+let az = ah
234+
235+func aA () = {
236+ let aB = valueOrElse(getString(ae, ("pool__" + toString(this))), "")
237+ let aC = valueOrElse(getInteger(ae, ("pool__" + aB)), 2)
238+ aC
239+ }
240+
241+
242+func aD (r) = getIntegerValue(ae, ("setup__" + r))
243+
244+
245+let aE = aD("virtualLiquidity")
246+
247+let aF = aD("creationFee")
248+
249+let aG = aD("curveTarget")
250+
251+func aH () = {
252+ let aI = addressFromString(aa)
253+ if ((aI == unit))
254+ then false
255+ else {
256+ let s = getBoolean(value(aI), "is_shutdown")
257+ if ($isInstanceOf(s, "Boolean"))
258+ then {
259+ let aJ = s
260+ aJ
261+ }
262+ else false
263+ }
264+ }
265+
266+
267+func aK (A) = {
268+ let s = getInteger(Y, (A + "_twap5B"))
269+ if ($isInstanceOf(s, "Int"))
270+ then {
271+ let aJ = s
272+ aJ
273+ }
274+ else 1000000
275+ }
276+
277+
278+func aL (y,aM,aN) = {
279+ let aO = q((("static_" + x(y)) + "_weight"))
280+ let aP = v("static_feeToken")
281+ let aQ = getIntegerValue(this, (("static_" + aP) + "_scale"))
282+ let aR = value(indexOf(ah, z(aP)))
283+ let aS = ap[aR]
284+ let aT = q((("global_" + aP) + "_balance"))
285+ let aU = fraction(aM, (aT / aS), (aN / aO))
286+ let aV = aK(aP)
287+ fraction(aU, aV, aQ)
288+ }
289+
290+
291+func aW (aX,aY,aZ,ba,bb) = {
292+ let bc = value(indexOf(ah, aY))
293+ let bd = value(indexOf(ah, aZ))
294+ if ((bc == bd))
295+ then aX
296+ else fraction(bb, ((f * f) - toInt(pow(fraction((toBigInt(ba) * toBigInt(10000)), toBigInt((f * f)), (toBigInt((ba + aX)) * toBigInt(10000)), HALFUP), 16, toBigInt(fraction(ap[bc], 1000000000000, ap[bd])), 12, 16, CEILING))), (f * f), HALFEVEN)
297+ }
298+
299+
300+func be (y,A,aN,bf) = {
301+ let bg = q("global_indexStaked")
302+ let bh = bf
303+ let bi = (B(y) - aN)
304+ let bj = if ((bi > bh))
305+ then bi
306+ else bh
307+ let bk = (bj - bh)
308+ let bl = if ((bg == 0))
309+ then 0
310+ else fraction(bk, f, bg)
311+ let bm = q((("global_lastCheck_" + A) + "_interest"))
312+ (bm + bl)
313+ }
314+
315+
316+func bn (bo) = {
317+ let bp = toString(bo)
318+ let bq = q((bp + "_indexStaked"))
319+ func br (E,y) = {
320+ let A = x(y)
321+ let aN = q((("global_" + x(y)) + "_balance"))
322+ let bf = q((("global_lastCheck_" + A) + "_earnings"))
323+ let bs = be(y, A, aN, bf)
324+ let bj = max([bf, (B(y) - aN)])
325+ let bt = fraction(bq, (bs - q((((bp + "_lastCheck_") + A) + "_interest"))), f)
326+ let bu = if ((bt == 0))
327+ then nil
328+ else [ScriptTransfer(bo, bt, y)]
329+ $Tuple2(((E._1 ++ bu) ++ [IntegerEntry((("global_lastCheck_" + A) + "_earnings"), (bj - bt)), IntegerEntry((("global_lastCheck_" + A) + "_interest"), bs), IntegerEntry((((bp + "_lastCheck_") + A) + "_interest"), bs)]), (E._2 + aL(y, bt, aN)))
330+ }
331+
332+ let E = {
333+ let ai = az
334+ let aj = size(ai)
335+ let ak = $Tuple2(nil, 0)
336+ func bv (am,an) = if ((an >= aj))
337+ then am
338+ else br(am, ai[an])
339+
340+ func bw (am,an) = if ((an >= aj))
341+ then am
342+ else throw("List size exceeds 10")
343+
344+ bw(bv(bv(bv(bv(bv(bv(bv(bv(bv(bv(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
345+ }
346+ $Tuple2((E._1 ++ [IntegerEntry((bp + "_claimedRewardUSD"), (q((bp + "_claimedRewardUSD")) + E._2)), IntegerEntry((bp + "_lastClaim"), lastBlock.timestamp)]), E._2)
347+ }
348+
349+
350+func bx (E,by) = (E + parseIntValue(by))
351+
352+
353+func bz (E,bA) = if (if ((indexOf(X, bA) != unit))
354+ then (E == "")
355+ else false)
356+ then bA
357+ else E
358+
359+
360+func bB (aY,aZ,bC,bD,bE) = {
361+ let aX = bC
362+ let bF = z(aY)
363+ let bG = z(aZ)
364+ let bH = (f / q((("static_" + aY) + "_scale")))
365+ let bI = (f / q((("static_" + aZ) + "_scale")))
366+ let bJ = v("static_feeToken")
367+ let bK = if ((bJ == ""))
368+ then W
369+ else z(bJ)
370+ let bL = q((("global_" + x(bF)) + "_balance"))
371+ let bM = q((("global_" + aZ) + "_balance"))
372+ let bN = (bL * bH)
373+ let bO = (bM * bI)
374+ let bP = fraction(aX, ay, h)
375+ let bQ = (aX - bP)
376+ let bR = (bQ * bH)
377+ let bS = aW(bR, bF, bG, bN, bO)
378+ let bT = fraction(bS, 1, bI)
379+ let bU = (bM - bT)
380+ let bV = (bL + bQ)
381+ let bW = if ((bK == bF))
382+ then bV
383+ else if ((bK == bG))
384+ then bU
385+ else q((("global_" + x(bK)) + "_balance"))
386+ let bX = aW(bP, bF, bK, bL, bW)
387+ if ((bD > bT))
388+ then throw("amount to recieve is lower than given one")
389+ else if ((bG == bF))
390+ then throw("this swap is not allowed")
391+ else if ((0 > (bM - bT)))
392+ then throw("contract is out of reserves")
393+ else if (aH())
394+ then throw("contract is on stop")
395+ else {
396+ let bY = fraction(bX, 1, 10)
397+ let bZ = fraction(bX, 4, 10)
398+ let ca = bV
399+ let cb = (bU - (if ((bG == bK))
400+ then bX
401+ else 0))
402+ let cc = if (if ((bK != bF))
403+ then (bK != bG)
404+ else false)
405+ then (bW - bX)
406+ else unit
407+ let cd = IntegerEntry((("global_" + x(bF)) + "_balance"), ca)
408+ let ce = IntegerEntry((("global_" + aZ) + "_balance"), cb)
409+ let cf = if ((cc != unit))
410+ then IntegerEntry((("global_" + x(bK)) + "_balance"), value(cc))
411+ else StringEntry("hello", "world")
412+ let cg = aL(bF, aX, bL)
413+ $Tuple2([ce, cd, cf, ScriptTransfer(addressFromStringValue(bE), bT, bG), ScriptTransfer(addressFromStringValue(v("static_poolOwner")), bY, bK), IntegerEntry("global_earnedByOwner", (q("global_earnedByOwner") + bY)), IntegerEntry("global_volume_usd", (q("global_volume_usd") + cg)), ScriptTransfer(Z, bZ, bK)], bT)
414+ }
415+ }
416+
417+
418+@Callable(ch)
419+func initPool (ci,cj,ck,cl,cm) = {
420+ func cn (co) = {
421+ func br (E,cp) = {
422+ let y = cp.assetId
423+ func cq (E,by) = if ((by == y))
424+ then value(indexOf(ah, by))
425+ else E
426+
427+ let cr = {
428+ let ai = ah
429+ let aj = size(ai)
430+ let ak = 1
431+ func bv (am,an) = if ((an >= aj))
432+ then am
433+ else cq(am, ai[an])
434+
435+ func bw (am,an) = if ((an >= aj))
436+ then am
437+ else throw("List size exceeds 10")
438+
439+ bw(bv(bv(bv(bv(bv(bv(bv(bv(bv(bv(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
440+ }
441+ fraction(E, pow(cp.amount, as[cr], ap[cr], d, 8, FLOOR), f)
442+ }
443+
444+ let ai = co
445+ let aj = size(ai)
446+ let ak = j
447+ func bv (am,an) = if ((an >= aj))
448+ then am
449+ else br(am, ai[an])
450+
451+ func bw (am,an) = if ((an >= aj))
452+ then am
453+ else throw("List size exceeds 10")
454+
455+ bw(bv(bv(bv(bv(bv(bv(bv(bv(bv(bv(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
456+ }
457+
458+ let cs = Issue(ck, cl, cm, 8, false)
459+ let ct = calculateAssetId(cs)
460+ let cu = x(ct)
461+ let cv = "5000,5000"
462+ let cw = "WAVES"
463+ let cx = Address(fromBase58String(cj))
464+ let cy = ("WAVES," + cu)
465+ let cz = split(cy, ",")
466+ let cA = {
467+ let ai = cz
468+ let aj = size(ai)
469+ let ak = nil
470+ func bv (am,an) = if ((an >= aj))
471+ then am
472+ else D(am, ai[an])
473+
474+ func bw (am,an) = if ((an >= aj))
475+ then am
476+ else throw("List size exceeds 10")
477+
478+ bw(bv(bv(bv(bv(bv(bv(bv(bv(bv(bv(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
479+ }
480+ let cB = 100
481+ let aP = {
482+ let ai = cz
483+ let aj = size(ai)
484+ let ak = ""
485+ func cC (am,an) = if ((an >= aj))
486+ then am
487+ else bz(am, ai[an])
488+
489+ func cD (am,an) = if ((an >= aj))
490+ then am
491+ else throw("List size exceeds 10")
492+
493+ cD(cC(cC(cC(cC(cC(cC(cC(cC(cC(cC(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
494+ }
495+ let cp = ch.payments[0]
496+ let aM = cp.amount
497+ let cE = if ((cp.assetId == unit))
498+ then "WAVES"
499+ else throw("you have to attach some WAVES")
500+ if ((this != this))
501+ then throw("self-invoke only")
502+ else if ((aP == ""))
503+ then throw("pool must have one of the supported fee assets in the composition")
504+ else if ((size(ci) > 13))
505+ then throw("too large pool domain")
506+ else if (if ((cB > 500))
507+ then true
508+ else (0 > cB))
509+ then throw("fee value must be between 50 and 500 (0.5-5%)")
510+ else if (aH())
511+ then throw("contract is on stop")
512+ else {
513+ let cF = split(cv, ",")
514+ let cG = {
515+ let ai = cF
516+ let aj = size(ai)
517+ let ak = 0
518+ func cH (am,an) = if ((an >= aj))
519+ then am
520+ else bx(am, ai[an])
521+
522+ func cI (am,an) = if ((an >= aj))
523+ then am
524+ else throw("List size exceeds 10")
525+
526+ cI(cH(cH(cH(cH(cH(cH(cH(cH(cH(cH(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
527+ }
528+ func cJ (E,cK) = if ((cK >= size(cA)))
529+ then E
530+ else {
531+ let cL = 8
532+ (E ++ [IntegerEntry((("static_" + cz[cK]) + "_scale"), pow(10, 0, cL, 0, 0, DOWN)), IntegerEntry((("static_" + cz[cK]) + "_decimals"), cL), IntegerEntry((("static_" + cz[cK]) + "_weight"), value(parseInt(cF[cK])))])
533+ }
534+
535+ let cM = cn(ch.payments)
536+ if ((cG != 10000))
537+ then throw("sum of token weights must be equal to 10000")
538+ else if ((cM == 0))
539+ then throw("you need a bigger tokens amount to launch the pool")
540+ else {
541+ let cN = Issue(("PZ " + ci), "Puzzle Swap: pool index token", cM, i, true, unit, 0)
542+ let cO = calculateAssetId(cN)
543+ $Tuple2(((({
544+ let ai = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
545+ let aj = size(ai)
546+ let ak = nil
547+ func cP (am,an) = if ((an >= aj))
548+ then am
549+ else cJ(am, ai[an])
550+
551+ func cQ (am,an) = if ((an >= aj))
552+ then am
553+ else throw("List size exceeds 10")
554+
555+ cQ(cP(cP(cP(cP(cP(cP(cP(cP(cP(cP(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
556+ } ++ [cs, StringEntry("static_tokenIds", cy), StringEntry("static_feeToken", aP), StringEntry("static_tokenWeights", cv), IntegerEntry("static_tokensAmount", size(cA)), StringEntry("static_poolDomain", ci), StringEntry("static_baseTokenId", cw), StringEntry("static_poolOwner", cj), IntegerEntry("static_fee", cB), IntegerEntry("static_KMult", g), IntegerEntry("global_wasPreInited", 1)]) ++ [IntegerEntry("global_WAVES_balance", aE), IntegerEntry((("global_" + cu) + "_balance"), cm)]) ++ [cN, IntegerEntry("global_poolToken_amount", cM), IntegerEntry("global_wasInited", 1), BinaryEntry("global_poolToken_id", cO), StringEntry("static_poolToken_idStr", x(cO)), IntegerEntry((toString(ch.caller) + "_indexStaked"), cM), IntegerEntry("global_indexStaked", cM)]), cu)
557+ }
558+ }
559+ }
560+
561+
562+
563+@Callable(ch)
564+func init (ci,cj,ck,cl,cm) = if ((ch.caller != ae))
565+ then throw("admin only")
566+ else {
567+ let cR = invoke(this, "initPool", [ci, cj, ck, cl, cm], nil)
568+ if ((cR == cR))
569+ then {
570+ let cu = {
571+ let cS = cR
572+ if ($isInstanceOf(cS, "String"))
573+ then cS
574+ else throw(($getType(cS) + " couldn't be cast to String"))
575+ }
576+ bB("WAVES", cu, (ch.payments[0].amount - aF), 0, toString(ch.caller))._1
577+ }
578+ else throw("Strict value is not equal to itself.")
579+ }
580+
581+
582+
583+@Callable(ch)
584+func claimIndexRewards () = if (aH())
585+ then throw("contract is on stop")
586+ else bn(ch.caller)
587+
588+
589+
590+@Callable(ch)
591+func evaluateClaim (cT) = $Tuple2(nil, bn(addressFromStringValue(cT))._2)
592+
593+
594+
595+@Callable(ch)
596+func swap (aZ,bD) = {
597+ let aC = aA()
598+ if ((2 > aC))
599+ then {
600+ let cp = if ((size(ch.payments) == 1))
601+ then value(ch.payments[0])
602+ else throw("please attach exactly one payment")
603+ let aX = value(ch.payments[0].amount)
604+ let bF = ch.payments[0].assetId
605+ let cU = bB(x(bF), aZ, aX, bD, toString(ch.caller))
606+ if ((getIntegerValue("global_WAVES_balance") > aG))
607+ then {
608+ let cV = invoke(ae, "notifyStatusUpdate", [2], nil)
609+ if ((cV == cV))
610+ then cU
611+ else throw("Strict value is not equal to itself.")
612+ }
613+ else cU
614+ }
615+ else throw("pool is stopped: most probably it reached the target liquidity")
616+ }
617+
618+
619+
620+@Callable(ch)
621+func swapReadOnly (aY,aZ,aX) = {
622+ let bF = z(aY)
623+ let bG = z(aZ)
624+ let bH = (f / q((("static_" + aY) + "_scale")))
625+ let bI = (f / q((("static_" + aZ) + "_scale")))
626+ let bJ = v("static_feeToken")
627+ let bK = if ((bJ == ""))
628+ then R
629+ else z(bJ)
630+ let bL = q((("global_" + x(bF)) + "_balance"))
631+ let bM = q((("global_" + aZ) + "_balance"))
632+ let bN = (bL * bH)
633+ let bO = (bM * bI)
634+ let bP = fraction(aX, ay, h)
635+ let bQ = (aX - bP)
636+ let bR = (bQ * bH)
637+ let bS = aW(bR, bF, bG, bN, bO)
638+ let bT = fraction(bS, 1, bI)
639+ let bU = (bM - bT)
640+ let bV = (bL + bQ)
641+ let bW = if ((bK == bF))
642+ then bV
643+ else if ((bK == bG))
644+ then bU
645+ else q((("global_" + x(bK)) + "_balance"))
646+ let bX = aW(bP, bF, bK, bL, bW)
647+ if ((bG == bF))
648+ then throw("this swap is not allowed")
649+ else if ((0 > (bM - bT)))
650+ then throw("contract is out of reserves")
651+ else if (aH())
652+ then throw("contract is on stop")
653+ else $Tuple2(nil, bT)
654+ }
655+
656+
657+
658+@Callable(ch)
659+func transferOwnership (cW) = if ((toString(ch.caller) != v("static_poolOwner")))
660+ then throw("this call available only for pool owner")
661+ else [StringEntry("static_poolOwner", cW)]
662+
663+

github/deemru/w8io/026f985 
66.33 ms