tx · E6yjVydeRMroSD1Rn25VDpyBK1p6boDK1odqACus7H6p 3ND3N2S8AdaypmtgGS9Qm8tHspH7zxRVdB6: -0.02600000 Waves 2024.10.03 11:53 [3310455] smart account 3ND3N2S8AdaypmtgGS9Qm8tHspH7zxRVdB6 > SELF 0.00000000 Waves
{ "type": 13, "id": "E6yjVydeRMroSD1Rn25VDpyBK1p6boDK1odqACus7H6p", "fee": 2600000, "feeAssetId": null, "timestamp": 1727945597079, "version": 2, "chainId": 84, "sender": "3ND3N2S8AdaypmtgGS9Qm8tHspH7zxRVdB6", "senderPublicKey": "EgXYkdoU2bQ85Rgp1iY18DGapCfcYNbWDAh95XiEPVDV", "proofs": [ "2CUc1A8GGTRo1iFiCPK7zvbZg4Wdot4pkgRP3z3JTdWQSgdZQjR7FxRWRqBC5E6LK16Fiwmo1uRBxyyptRwFxQY8" ], "script": "base64:BgJACAISABIHCgUICAgIARIHCgUICAgIARIDCgEEEgASAwoBCBIDCgEBEgASAwoBCBIECgIIARIFCgMICAESAwoBCEoAB1ZFUlNJT04CCFBNLTAuNC4wAAljb25maWdTdHIJAQt2YWx1ZU9yRWxzZQIJAJ0IAgUEdGhpcwINY29uZmlnQWRkcmVzcwIjM045MWU3d0hpVjdRYWREc3gzUlVKUXh4MWV0cWNBS3JmSGoADkNPTkZJR19BRERSRVNTAwkAAAIFCWNvbmZpZ1N0cgIABQR0aGlzCQEHQWRkcmVzcwEJANkEAQUJY29uZmlnU3RyABVBc3NldHNXZWlnaHRzRGVjaW1hbHMABAAFU2NhbGUAkE4ABlNjYWxlOACAwtcvAAdTY2FsZTE2AICAhP6m3uERAAhGZWVTY2FsZQCQTgARUG9vbFRva2VuRGVjaW1hbHMACAAOUG9vbFRva2VuU2NhbGUJAGwGAAoAAAURUG9vbFRva2VuRGVjaW1hbHMAAAAABQZIQUxGVVAAFEluaXRhbFdhdmVzTGlxdWlkaXR5BQZTY2FsZTgAEE1JTl9TVEVQU19BTU9VTlQJAQt2YWx1ZU9yR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"spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = "PM-0.4.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 = f | |
27 | + | ||
28 | + | let l = valueOrElse(getInteger(c, "min_steps_amount"), 1) | |
29 | + | ||
30 | + | let m = valueOrElse(getInteger(c, "max_steps_amount"), 500) | |
31 | + | ||
32 | + | let n = valueOrElse(getInteger(c, "min_steps_interval"), 1) | |
33 | + | ||
34 | + | let o = valueOrElse(getInteger(c, "max_steps_interval"), 10000) | |
35 | + | ||
36 | + | let p = valueOrElse(getInteger(c, "min_weight"), 100) | |
37 | + | ||
38 | + | let q = valueOrElse(getInteger(c, "max_weight"), 9900) | |
39 | + | ||
40 | + | func r (s) = { | |
41 | + | let t = getInteger(this, s) | |
42 | + | if ($isInstanceOf(t, "Int")) | |
43 | + | then { | |
44 | + | let u = t | |
45 | + | u | |
46 | + | } | |
47 | + | else 0 | |
48 | + | } | |
49 | + | ||
50 | + | ||
51 | + | func v (s) = { | |
52 | + | let t = getBinary(this, s) | |
53 | + | if ($isInstanceOf(t, "ByteVector")) | |
54 | + | then { | |
55 | + | let u = t | |
56 | + | u | |
57 | + | } | |
58 | + | else base58'' | |
59 | + | } | |
60 | + | ||
61 | + | ||
62 | + | func w (s) = { | |
63 | + | let t = getString(this, s) | |
64 | + | if ($isInstanceOf(t, "String")) | |
65 | + | then { | |
66 | + | let u = t | |
67 | + | u | |
68 | + | } | |
69 | + | else "" | |
70 | + | } | |
71 | + | ||
72 | + | ||
73 | + | func x (s) = { | |
74 | + | let t = getString(this, s) | |
75 | + | if ($isInstanceOf(t, "String")) | |
76 | + | then { | |
77 | + | let u = t | |
78 | + | u | |
79 | + | } | |
80 | + | else throw(("no such key in data storage: " + s)) | |
81 | + | } | |
82 | + | ||
83 | + | ||
84 | + | func y (z) = { | |
85 | + | let t = z | |
86 | + | if ($isInstanceOf(t, "ByteVector")) | |
87 | + | then { | |
88 | + | let u = t | |
89 | + | toBase58String(u) | |
90 | + | } | |
91 | + | else "WAVES" | |
92 | + | } | |
93 | + | ||
94 | + | ||
95 | + | func A (B) = if ((B == "WAVES")) | |
96 | + | then unit | |
97 | + | else fromBase58String(B) | |
98 | + | ||
99 | + | ||
100 | + | func C (z) = { | |
101 | + | let t = z | |
102 | + | if ($isInstanceOf(t, "ByteVector")) | |
103 | + | then { | |
104 | + | let D = t | |
105 | + | assetBalance(this, D) | |
106 | + | } | |
107 | + | else wavesBalance(this).available | |
108 | + | } | |
109 | + | ||
110 | + | ||
111 | + | func E (F,G) = (F ++ [A(G)]) | |
112 | + | ||
113 | + | ||
114 | + | func H (F,G) = (F ++ [r((("static_" + y(G)) + "_weight"))]) | |
115 | + | ||
116 | + | ||
117 | + | func I (F,G) = (F ++ [toString(r((("static_" + G) + "_weight")))]) | |
118 | + | ||
119 | + | ||
120 | + | func J (F,G) = (F ++ [r((("static_" + y(G)) + "_decimals"))]) | |
121 | + | ||
122 | + | ||
123 | + | func K (F,G) = (F ++ [r((("static_" + y(G)) + "_scale"))]) | |
124 | + | ||
125 | + | ||
126 | + | func L (F,G) = (F ++ [parseIntValue(G)]) | |
127 | + | ||
128 | + | ||
129 | + | let M = valueOrElse(getString(c, "usdnAssetIdStr"), "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p") | |
130 | + | ||
131 | + | let N = valueOrElse(getString(c, "puzzleAssetIdStr"), "HEB8Qaw9xrWpWs8tHsiATYGBWDBtP2S7kcPALrMu43AS") | |
132 | + | ||
133 | + | let O = valueOrElse(getString(c, "usdtAssetIdStr"), "34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ") | |
134 | + | ||
135 | + | let P = valueOrElse(getString(c, "usdtPptAssetIdStr"), "9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi") | |
136 | + | ||
137 | + | let Q = valueOrElse(getString(c, "romeAssetIdStr"), "AP4Cb5xLYGH6ZigHreCZHoXpQTWDkPsG2BHqfDUx6taJ") | |
138 | + | ||
139 | + | let R = "WAVES" | |
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 = fromBase58String(Q) | |
150 | + | ||
151 | + | let X = unit | |
152 | + | ||
153 | + | let Y = [M, N, O, P, R, Q] | |
154 | + | ||
155 | + | let Z = Address(fromBase58String(valueOrElse(getString(c, "oracleAddress"), "3N91e7wHiV7QadDsx3RUJQxx1etqcAKrfHj"))) | |
156 | + | ||
157 | + | let aa = Address(fromBase58String(valueOrElse(getString(c, "feesAddress"), "3N91e7wHiV7QadDsx3RUJQxx1etqcAKrfHj"))) | |
158 | + | ||
159 | + | let ab = valueOrElse(getString(c, "shutdownAddress"), "3N91e7wHiV7QadDsx3RUJQxx1etqcAKrfHj") | |
160 | + | ||
161 | + | let ac = valueOrElse(getString(c, "layer2Addresses"), "3N91e7wHiV7QadDsx3RUJQxx1etqcAKrfHj") | |
162 | + | ||
163 | + | let ad = Address(fromBase58String(valueOrElse(getString(c, "coldMasterAddress"), "3N91e7wHiV7QadDsx3RUJQxx1etqcAKrfHj"))) | |
164 | + | ||
165 | + | let ae = Address(fromBase58String(valueOrElse(getString(c, "factoryAddress"), "3MvowVxVnqTUZZyRL6i3vkHNGabjmFxkHBr"))) | |
166 | + | ||
167 | + | let af = fromBase58String(valueOrElse(getString(c, "masterPubKey"), "4z8CKSYQBKkzx7PBb5uBP1YPa6YAHRNTApW1sQVHT5eU")) | |
168 | + | ||
169 | + | let ag = r("static_tokensAmount") | |
170 | + | ||
171 | + | let ah = { | |
172 | + | let ai = split(w("static_tokenIds"), ",") | |
173 | + | let aj = size(ai) | |
174 | + | let ak = nil | |
175 | + | func al (am,an) = if ((an >= aj)) | |
176 | + | then am | |
177 | + | else E(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 H(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 J(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 K(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 = r("static_fee") | |
232 | + | ||
233 | + | let az = ah | |
234 | + | ||
235 | + | func aA () = { | |
236 | + | let aB = addressFromString(ab) | |
237 | + | if ((aB == unit)) | |
238 | + | then false | |
239 | + | else { | |
240 | + | let t = getBoolean(value(aB), "is_shutdown") | |
241 | + | if ($isInstanceOf(t, "Boolean")) | |
242 | + | then { | |
243 | + | let aC = t | |
244 | + | aC | |
245 | + | } | |
246 | + | else false | |
247 | + | } | |
248 | + | } | |
249 | + | ||
250 | + | ||
251 | + | func aD (aE) = { | |
252 | + | let aF = y(ah[aE]) | |
253 | + | r((("global_" + aF) + "_balance")) | |
254 | + | } | |
255 | + | ||
256 | + | ||
257 | + | func aG () = { | |
258 | + | let t = getInteger("static_KMult") | |
259 | + | if ($isInstanceOf(t, "Int")) | |
260 | + | then { | |
261 | + | let aC = t | |
262 | + | aC | |
263 | + | } | |
264 | + | else g | |
265 | + | } | |
266 | + | ||
267 | + | ||
268 | + | func aH () = fraction(r("global_poolToken_amount"), aG(), g) | |
269 | + | ||
270 | + | ||
271 | + | func aI (B) = { | |
272 | + | let t = getInteger(Z, (B + "_twap5B")) | |
273 | + | if ($isInstanceOf(t, "Int")) | |
274 | + | then { | |
275 | + | let aC = t | |
276 | + | aC | |
277 | + | } | |
278 | + | else 1000000 | |
279 | + | } | |
280 | + | ||
281 | + | ||
282 | + | func aJ (z,aK,aL) = { | |
283 | + | let aM = r((("static_" + y(z)) + "_weight")) | |
284 | + | let aN = w("static_feeToken") | |
285 | + | let aO = getIntegerValue(this, (("static_" + aN) + "_scale")) | |
286 | + | let aP = value(indexOf(ah, A(aN))) | |
287 | + | let aQ = ap[aP] | |
288 | + | let aR = r((("global_" + aN) + "_balance")) | |
289 | + | let aS = fraction(aK, (aR / aQ), (aL / aM)) | |
290 | + | let aT = aI(aN) | |
291 | + | fraction(aS, aT, aO) | |
292 | + | } | |
293 | + | ||
294 | + | ||
295 | + | func aU (aV,aW) = { | |
296 | + | func aX (F,aY) = { | |
297 | + | let aZ = r((("global_" + y(aY)) + "_balance")) | |
298 | + | let ba = aH() | |
299 | + | let bb = r((("static_" + y(aY)) + "_scale")) | |
300 | + | let bc = fraction((toBigInt((ba - aV)) * toBigInt(f)), toBigInt(f), toBigInt(ba), DOWN) | |
301 | + | let aK = toInt(fraction((toBigInt(g) - bc), toBigInt(aZ), toBigInt(g), CEILING)) | |
302 | + | (F ++ [IntegerEntry((("global_" + y(aY)) + "_balance"), (aZ - aK)), ScriptTransfer(aW, aK, aY)]) | |
303 | + | } | |
304 | + | ||
305 | + | let ai = ah | |
306 | + | let aj = size(ai) | |
307 | + | let ak = nil | |
308 | + | func bd (am,an) = if ((an >= aj)) | |
309 | + | then am | |
310 | + | else aX(am, ai[an]) | |
311 | + | ||
312 | + | func be (am,an) = if ((an >= aj)) | |
313 | + | then am | |
314 | + | else throw("List size exceeds 10") | |
315 | + | ||
316 | + | be(bd(bd(bd(bd(bd(bd(bd(bd(bd(bd(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
317 | + | } | |
318 | + | ||
319 | + | ||
320 | + | func bf (bg,bh,bi,bj,bk) = { | |
321 | + | let bl = value(indexOf(ah, bh)) | |
322 | + | let bm = value(indexOf(ah, bi)) | |
323 | + | if ((bl == bm)) | |
324 | + | then bg | |
325 | + | else fraction(bk, ((f * f) - toInt(pow(fraction((toBigInt(bj) * toBigInt(10000)), toBigInt((f * f)), (toBigInt((bj + bg)) * toBigInt(10000)), HALFUP), 16, toBigInt(fraction(ap[bl], 1000000000000, ap[bm])), 12, 16, CEILING))), (f * f), HALFEVEN) | |
326 | + | } | |
327 | + | ||
328 | + | ||
329 | + | func bn (z,B,aL,bo) = { | |
330 | + | let bp = r("global_indexStaked") | |
331 | + | let bq = bo | |
332 | + | let br = (C(z) - aL) | |
333 | + | let bs = if ((br > bq)) | |
334 | + | then br | |
335 | + | else bq | |
336 | + | let bt = (bs - bq) | |
337 | + | let bu = if ((bp == 0)) | |
338 | + | then 0 | |
339 | + | else fraction(bt, f, bp) | |
340 | + | let bv = r((("global_lastCheck_" + B) + "_interest")) | |
341 | + | (bv + bu) | |
342 | + | } | |
343 | + | ||
344 | + | ||
345 | + | func bw (bx) = { | |
346 | + | let by = toString(bx) | |
347 | + | let bz = r((by + "_indexStaked")) | |
348 | + | func bA (F,z) = { | |
349 | + | let B = y(z) | |
350 | + | let aL = r((("global_" + y(z)) + "_balance")) | |
351 | + | let bo = r((("global_lastCheck_" + B) + "_earnings")) | |
352 | + | let bB = bn(z, B, aL, bo) | |
353 | + | let bs = max([bo, (C(z) - aL)]) | |
354 | + | let bC = fraction(bz, (bB - r((((by + "_lastCheck_") + B) + "_interest"))), f) | |
355 | + | let bD = if ((bC == 0)) | |
356 | + | then nil | |
357 | + | else [ScriptTransfer(bx, bC, z)] | |
358 | + | $Tuple2(((F._1 ++ bD) ++ [IntegerEntry((("global_lastCheck_" + B) + "_earnings"), (bs - bC)), IntegerEntry((("global_lastCheck_" + B) + "_interest"), bB), IntegerEntry((((by + "_lastCheck_") + B) + "_interest"), bB)]), (F._2 + aJ(z, bC, aL))) | |
359 | + | } | |
360 | + | ||
361 | + | let F = { | |
362 | + | let ai = az | |
363 | + | let aj = size(ai) | |
364 | + | let ak = $Tuple2(nil, 0) | |
365 | + | func bd (am,an) = if ((an >= aj)) | |
366 | + | then am | |
367 | + | else bA(am, ai[an]) | |
368 | + | ||
369 | + | func be (am,an) = if ((an >= aj)) | |
370 | + | then am | |
371 | + | else throw("List size exceeds 10") | |
372 | + | ||
373 | + | be(bd(bd(bd(bd(bd(bd(bd(bd(bd(bd(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
374 | + | } | |
375 | + | $Tuple2((F._1 ++ [IntegerEntry((by + "_claimedRewardUSD"), (r((by + "_claimedRewardUSD")) + F._2)), IntegerEntry((by + "_lastClaim"), lastBlock.timestamp)]), F._2) | |
376 | + | } | |
377 | + | ||
378 | + | ||
379 | + | func bE (by,aK) = { | |
380 | + | let bF = bw(addressFromStringValue(by))._1 | |
381 | + | (bF ++ [IntegerEntry((by + "_indexStaked"), (r((by + "_indexStaked")) + aK)), IntegerEntry("global_indexStaked", (r("global_indexStaked") + aK))]) | |
382 | + | } | |
383 | + | ||
384 | + | ||
385 | + | func bG (F,bH) = (F + parseIntValue(bH)) | |
386 | + | ||
387 | + | ||
388 | + | func bI (F,bJ) = if (if ((indexOf(Y, bJ) != unit)) | |
389 | + | then (F == "") | |
390 | + | else false) | |
391 | + | then bJ | |
392 | + | else F | |
393 | + | ||
394 | + | ||
395 | + | func bK (bL) = { | |
396 | + | let bM = split(w("static_tokenIds"), ",") | |
397 | + | let bN = bL | |
398 | + | func bO (F,z) = if ((indexOf(bN, z) == unit)) | |
399 | + | then (F ++ [z]) | |
400 | + | else F | |
401 | + | ||
402 | + | let ai = bM | |
403 | + | let aj = size(ai) | |
404 | + | let ak = bN | |
405 | + | func bd (am,an) = if ((an >= aj)) | |
406 | + | then am | |
407 | + | else bO(am, ai[an]) | |
408 | + | ||
409 | + | func be (am,an) = if ((an >= aj)) | |
410 | + | then am | |
411 | + | else throw("List size exceeds 10") | |
412 | + | ||
413 | + | be(bd(bd(bd(bd(bd(bd(bd(bd(bd(bd(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
414 | + | } | |
415 | + | ||
416 | + | ||
417 | + | func bP (bL) = { | |
418 | + | let bM = split(w("static_tokenIds"), ",") | |
419 | + | func bQ (F,z) = if ((indexOf(bL, z) == unit)) | |
420 | + | then (F + 1) | |
421 | + | else F | |
422 | + | ||
423 | + | func bR (F,z) = if ((indexOf(bM, z) == unit)) | |
424 | + | then (F + 1) | |
425 | + | else F | |
426 | + | ||
427 | + | let bS = { | |
428 | + | let ai = bM | |
429 | + | let aj = size(ai) | |
430 | + | let ak = 0 | |
431 | + | func bd (am,an) = if ((an >= aj)) | |
432 | + | then am | |
433 | + | else bQ(am, ai[an]) | |
434 | + | ||
435 | + | func be (am,an) = if ((an >= aj)) | |
436 | + | then am | |
437 | + | else throw("List size exceeds 10") | |
438 | + | ||
439 | + | be(bd(bd(bd(bd(bd(bd(bd(bd(bd(bd(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
440 | + | } | |
441 | + | let bT = { | |
442 | + | let ai = bL | |
443 | + | let aj = size(ai) | |
444 | + | let ak = 0 | |
445 | + | func bU (am,an) = if ((an >= aj)) | |
446 | + | then am | |
447 | + | else bR(am, ai[an]) | |
448 | + | ||
449 | + | func bV (am,an) = if ((an >= aj)) | |
450 | + | then am | |
451 | + | else throw("List size exceeds 10") | |
452 | + | ||
453 | + | bV(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
454 | + | } | |
455 | + | (bS + bT) | |
456 | + | } | |
457 | + | ||
458 | + | ||
459 | + | func bW (bX,bY) = { | |
460 | + | func bZ (F,bJ) = if ((0 >= bJ.amount)) | |
461 | + | then throw(((("Too low payment amount for " + y(bJ.assetId)) + ": ") + toString(bJ.amount))) | |
462 | + | else (F ++ [y(bJ.assetId)]) | |
463 | + | ||
464 | + | let ca = { | |
465 | + | let ai = bY | |
466 | + | let aj = size(ai) | |
467 | + | let ak = nil | |
468 | + | func bd (am,an) = if ((an >= aj)) | |
469 | + | then am | |
470 | + | else bZ(am, ai[an]) | |
471 | + | ||
472 | + | func be (am,an) = if ((an >= aj)) | |
473 | + | then am | |
474 | + | else throw("List size exceeds 10") | |
475 | + | ||
476 | + | be(bd(bd(bd(bd(bd(bd(bd(bd(bd(bd(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
477 | + | } | |
478 | + | func cb (F,bJ) = if ((indexOf(bX, bJ) == unit)) | |
479 | + | then throw(((bJ + " asset is present in payments, but is not in new assets: ") + makeString(bX, ","))) | |
480 | + | else (F + 1) | |
481 | + | ||
482 | + | func cc (F,bJ) = if ((indexOf(ca, bJ) == unit)) | |
483 | + | then throw(((bJ + " asset is present in new assets, but is not in payments: ") + makeString(ca, ","))) | |
484 | + | else (F + 1) | |
485 | + | ||
486 | + | let cd = { | |
487 | + | let ai = ca | |
488 | + | let aj = size(ai) | |
489 | + | let ak = 0 | |
490 | + | func bU (am,an) = if ((an >= aj)) | |
491 | + | then am | |
492 | + | else cb(am, ai[an]) | |
493 | + | ||
494 | + | func bV (am,an) = if ((an >= aj)) | |
495 | + | then am | |
496 | + | else throw("List size exceeds 10") | |
497 | + | ||
498 | + | bV(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
499 | + | } | |
500 | + | let ce = { | |
501 | + | let ai = bX | |
502 | + | let aj = size(ai) | |
503 | + | let ak = 0 | |
504 | + | func cf (am,an) = if ((an >= aj)) | |
505 | + | then am | |
506 | + | else cc(am, ai[an]) | |
507 | + | ||
508 | + | func cg (am,an) = if ((an >= aj)) | |
509 | + | then am | |
510 | + | else throw("List size exceeds 10") | |
511 | + | ||
512 | + | cg(cf(cf(cf(cf(cf(cf(cf(cf(cf(cf(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
513 | + | } | |
514 | + | (cd + ce) | |
515 | + | } | |
516 | + | ||
517 | + | ||
518 | + | func ch (bh,bi,ci,cj,ck) = { | |
519 | + | let bg = ci | |
520 | + | let cl = A(bh) | |
521 | + | let cm = A(bi) | |
522 | + | let cn = (f / r((("static_" + bh) + "_scale"))) | |
523 | + | let co = (f / r((("static_" + bi) + "_scale"))) | |
524 | + | let cp = w("static_feeToken") | |
525 | + | let cq = if ((cp == "")) | |
526 | + | then X | |
527 | + | else A(cp) | |
528 | + | let cr = r((("global_" + y(cl)) + "_balance")) | |
529 | + | let cs = r((("global_" + bi) + "_balance")) | |
530 | + | let ct = (cr * cn) | |
531 | + | let cu = (cs * co) | |
532 | + | let cv = fraction(bg, ay, h) | |
533 | + | let cw = (bg - cv) | |
534 | + | let cx = (cw * cn) | |
535 | + | let cy = bf(cx, cl, cm, ct, cu) | |
536 | + | let cz = fraction(cy, 1, co) | |
537 | + | let cA = (cs - cz) | |
538 | + | let cB = (cr + cw) | |
539 | + | let cC = if ((cq == cl)) | |
540 | + | then cB | |
541 | + | else if ((cq == cm)) | |
542 | + | then cA | |
543 | + | else r((("global_" + y(cq)) + "_balance")) | |
544 | + | let cD = bf(cv, cl, cq, cr, cC) | |
545 | + | if ((cj > cz)) | |
546 | + | then throw("amount to recieve is lower than given one") | |
547 | + | else if ((cm == cl)) | |
548 | + | then throw("this swap is not allowed") | |
549 | + | else if ((0 > (cs - cz))) | |
550 | + | then throw("contract is out of reserves") | |
551 | + | else if (aA()) | |
552 | + | then throw("contract is on stop") | |
553 | + | else { | |
554 | + | let cE = fraction(cD, 1, 10) | |
555 | + | let cF = fraction(cD, 4, 10) | |
556 | + | let cG = cB | |
557 | + | let cH = (cA - (if ((cm == cq)) | |
558 | + | then cD | |
559 | + | else 0)) | |
560 | + | let cI = if (if ((cq != cl)) | |
561 | + | then (cq != cm) | |
562 | + | else false) | |
563 | + | then (cC - cD) | |
564 | + | else unit | |
565 | + | let cJ = IntegerEntry((("global_" + y(cl)) + "_balance"), cG) | |
566 | + | let cK = IntegerEntry((("global_" + bi) + "_balance"), cH) | |
567 | + | let cL = if ((cI != unit)) | |
568 | + | then IntegerEntry((("global_" + y(cq)) + "_balance"), value(cI)) | |
569 | + | else StringEntry("hello", "world") | |
570 | + | let cM = aJ(cl, bg, cr) | |
571 | + | $Tuple2([cK, cJ, cL, ScriptTransfer(addressFromStringValue(ck), cz, cm), ScriptTransfer(addressFromStringValue(w("static_poolOwner")), cE, cq), IntegerEntry("global_earnedByOwner", (r("global_earnedByOwner") + cE)), IntegerEntry("global_volume_usd", (r("global_volume_usd") + cM)), ScriptTransfer(aa, cF, cq)], cz) | |
572 | + | } | |
573 | + | } | |
574 | + | ||
575 | + | ||
576 | + | @Callable(cN) | |
577 | + | func deInit () = if (aA()) | |
578 | + | then throw("contract is on stop") | |
579 | + | else if ((cN.caller != this)) | |
580 | + | then throw("admin only") | |
581 | + | else [IntegerEntry("global_wasInited", 0)] | |
582 | + | ||
583 | + | ||
584 | + | ||
585 | + | @Callable(cN) | |
586 | + | func initPool (cO,cP,cQ,cR,cS) = { | |
587 | + | func cT (bY) = { | |
588 | + | func bA (F,cU) = { | |
589 | + | let z = cU.assetId | |
590 | + | func cV (F,bH) = if ((bH == z)) | |
591 | + | then value(indexOf(ah, bH)) | |
592 | + | else F | |
593 | + | ||
594 | + | let cW = { | |
595 | + | let ai = ah | |
596 | + | let aj = size(ai) | |
597 | + | let ak = 1 | |
598 | + | func bd (am,an) = if ((an >= aj)) | |
599 | + | then am | |
600 | + | else cV(am, ai[an]) | |
601 | + | ||
602 | + | func be (am,an) = if ((an >= aj)) | |
603 | + | then am | |
604 | + | else throw("List size exceeds 10") | |
605 | + | ||
606 | + | be(bd(bd(bd(bd(bd(bd(bd(bd(bd(bd(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
607 | + | } | |
608 | + | fraction(F, pow(cU.amount, as[cW], ap[cW], d, 8, FLOOR), f) | |
609 | + | } | |
610 | + | ||
611 | + | let ai = bY | |
612 | + | let aj = size(ai) | |
613 | + | let ak = j | |
614 | + | func bd (am,an) = if ((an >= aj)) | |
615 | + | then am | |
616 | + | else bA(am, ai[an]) | |
617 | + | ||
618 | + | func be (am,an) = if ((an >= aj)) | |
619 | + | then am | |
620 | + | else throw("List size exceeds 10") | |
621 | + | ||
622 | + | be(bd(bd(bd(bd(bd(bd(bd(bd(bd(bd(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
623 | + | } | |
624 | + | ||
625 | + | let cX = Issue(cQ, cR, cS, 8, false) | |
626 | + | let cY = calculateAssetId(cX) | |
627 | + | let cZ = y(cY) | |
628 | + | let da = "5000,5000" | |
629 | + | let db = "WAVES" | |
630 | + | let dc = Address(fromBase58String(cP)) | |
631 | + | let dd = ("WAVES," + cZ) | |
632 | + | let de = split(dd, ",") | |
633 | + | let df = { | |
634 | + | let ai = de | |
635 | + | let aj = size(ai) | |
636 | + | let ak = nil | |
637 | + | func bd (am,an) = if ((an >= aj)) | |
638 | + | then am | |
639 | + | else E(am, ai[an]) | |
640 | + | ||
641 | + | func be (am,an) = if ((an >= aj)) | |
642 | + | then am | |
643 | + | else throw("List size exceeds 10") | |
644 | + | ||
645 | + | be(bd(bd(bd(bd(bd(bd(bd(bd(bd(bd(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
646 | + | } | |
647 | + | let dg = 100 | |
648 | + | let aN = { | |
649 | + | let ai = de | |
650 | + | let aj = size(ai) | |
651 | + | let ak = "" | |
652 | + | func bU (am,an) = if ((an >= aj)) | |
653 | + | then am | |
654 | + | else bI(am, ai[an]) | |
655 | + | ||
656 | + | func bV (am,an) = if ((an >= aj)) | |
657 | + | then am | |
658 | + | else throw("List size exceeds 10") | |
659 | + | ||
660 | + | bV(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
661 | + | } | |
662 | + | let cU = cN.payments[0] | |
663 | + | let aK = cU.amount | |
664 | + | let dh = if ((cU.assetId == unit)) | |
665 | + | then "WAVES" | |
666 | + | else throw("you have to attach some WAVES") | |
667 | + | if ((this != this)) | |
668 | + | then throw("admin only") | |
669 | + | else if ((aN == "")) | |
670 | + | then throw("pool must have one of the supported fee assets in the composition") | |
671 | + | else if ((size(cO) > 13)) | |
672 | + | then throw("too large pool domain") | |
673 | + | else if (if ((dg > 500)) | |
674 | + | then true | |
675 | + | else (0 > dg)) | |
676 | + | then throw("fee value must be between 50 and 500 (0.5-5%)") | |
677 | + | else if (aA()) | |
678 | + | then throw("contract is on stop") | |
679 | + | else { | |
680 | + | let di = split(da, ",") | |
681 | + | let dj = { | |
682 | + | let ai = di | |
683 | + | let aj = size(ai) | |
684 | + | let ak = 0 | |
685 | + | func cf (am,an) = if ((an >= aj)) | |
686 | + | then am | |
687 | + | else bG(am, ai[an]) | |
688 | + | ||
689 | + | func cg (am,an) = if ((an >= aj)) | |
690 | + | then am | |
691 | + | else throw("List size exceeds 10") | |
692 | + | ||
693 | + | cg(cf(cf(cf(cf(cf(cf(cf(cf(cf(cf(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
694 | + | } | |
695 | + | func dk (F,dl) = if ((dl >= size(df))) | |
696 | + | then F | |
697 | + | else { | |
698 | + | let dm = 8 | |
699 | + | (F ++ [IntegerEntry((("static_" + de[dl]) + "_scale"), pow(10, 0, dm, 0, 0, DOWN)), IntegerEntry((("static_" + de[dl]) + "_decimals"), dm), IntegerEntry((("static_" + de[dl]) + "_weight"), value(parseInt(di[dl])))]) | |
700 | + | } | |
701 | + | ||
702 | + | let dn = cT(cN.payments) | |
703 | + | if ((dj != 10000)) | |
704 | + | then throw("sum of token weights must be equal to 10000") | |
705 | + | else if ((dn == 0)) | |
706 | + | then throw("you need a bigger tokens amount to launch the pool") | |
707 | + | else { | |
708 | + | let do = Issue(("PZ " + cO), "Puzzle Swap: pool index token", dn, i, true, unit, 0) | |
709 | + | let dp = calculateAssetId(do) | |
710 | + | $Tuple2(((({ | |
711 | + | let ai = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | |
712 | + | let aj = size(ai) | |
713 | + | let ak = nil | |
714 | + | func dq (am,an) = if ((an >= aj)) | |
715 | + | then am | |
716 | + | else dk(am, ai[an]) | |
717 | + | ||
718 | + | func dr (am,an) = if ((an >= aj)) | |
719 | + | then am | |
720 | + | else throw("List size exceeds 10") | |
721 | + | ||
722 | + | dr(dq(dq(dq(dq(dq(dq(dq(dq(dq(dq(ak, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
723 | + | } ++ [cX, StringEntry("static_tokenIds", dd), StringEntry("static_feeToken", aN), StringEntry("static_tokenWeights", da), IntegerEntry("static_tokensAmount", size(df)), StringEntry("static_poolDomain", cO), StringEntry("static_baseTokenId", db), StringEntry("static_poolOwner", cP), IntegerEntry("static_fee", dg), IntegerEntry("static_KMult", g), IntegerEntry("global_wasPreInited", 1)]) ++ [IntegerEntry("global_WAVES_balance", k), IntegerEntry((("global_" + cZ) + "_balance"), cS)]) ++ [do, IntegerEntry("global_poolToken_amount", dn), IntegerEntry("global_wasInited", 1), BinaryEntry("global_poolToken_id", dp), StringEntry("static_poolToken_idStr", y(dp)), IntegerEntry((toString(cN.caller) + "_indexStaked"), dn), IntegerEntry("global_indexStaked", dn)]), cZ) | |
724 | + | } | |
725 | + | } | |
726 | + | } | |
727 | + | ||
728 | + | ||
729 | + | ||
730 | + | @Callable(cN) | |
731 | + | func init (cO,cP,cQ,cR,cS) = if ((cN.caller != ae)) | |
732 | + | then throw("admin only") | |
733 | + | else { | |
734 | + | let ds = invoke(this, "initPool", [cO, cP, cQ, cR, cS], nil) | |
735 | + | if ((ds == ds)) | |
736 | + | then { | |
737 | + | let cZ = { | |
738 | + | let dt = ds | |
739 | + | if ($isInstanceOf(dt, "String")) | |
740 | + | then dt | |
741 | + | else throw(($getType(dt) + " couldn't be cast to String")) | |
742 | + | } | |
743 | + | ch("WAVES", cZ, (cN.payments[0].amount - k), 0, toString(cN.caller))._1 | |
744 | + | } | |
745 | + | else throw("Strict value is not equal to itself.") | |
746 | + | } | |
747 | + | ||
748 | + | ||
749 | + | ||
750 | + | @Callable(cN) | |
751 | + | func redeemIndex (du) = { | |
752 | + | let cU = cN.payments[0] | |
753 | + | if ((cU.assetId != v("global_poolToken_id"))) | |
754 | + | then throw("please attach pool share token") | |
755 | + | else if (aA()) | |
756 | + | then throw("contract is on stop") | |
757 | + | else { | |
758 | + | let dv = cU.amount | |
759 | + | let dw = fraction(dv, aG(), g, DOWN) | |
760 | + | let bN = aU(dw, if (du) | |
761 | + | then cN.originCaller | |
762 | + | else cN.caller) | |
763 | + | (bN ++ [Burn(v("global_poolToken_id"), dv), IntegerEntry("global_poolToken_amount", (r("global_poolToken_amount") - dv))]) | |
764 | + | } | |
765 | + | } | |
766 | + | ||
767 | + | ||
768 | + | ||
769 | + | @Callable(cN) | |
770 | + | func stakeIndex () = { | |
771 | + | let by = toString(cN.originCaller) | |
772 | + | let cU = cN.payments[0] | |
773 | + | if ((value(cU.assetId) != v("global_poolToken_id"))) | |
774 | + | then throw("wrong asset attached") | |
775 | + | else bE(by, cU.amount) | |
776 | + | } | |
777 | + | ||
778 | + | ||
779 | + | ||
780 | + | @Callable(cN) | |
781 | + | func stakeIndexFor (by) = { | |
782 | + | let cU = cN.payments[0] | |
783 | + | if ((value(cU.assetId) != v("global_poolToken_id"))) | |
784 | + | then throw("wrong asset attached") | |
785 | + | else bE(by, cU.amount) | |
786 | + | } | |
787 | + | ||
788 | + | ||
789 | + | ||
790 | + | @Callable(cN) | |
791 | + | func unstakeIndex (dx) = { | |
792 | + | let by = if ((indexOf(ac, toString(cN.caller)) != unit)) | |
793 | + | then toString(cN.originCaller) | |
794 | + | else toString(cN.caller) | |
795 | + | let dy = r((by + "_indexStaked")) | |
796 | + | if (aA()) | |
797 | + | then throw("contract is on stop") | |
798 | + | else if ((dx > dy)) | |
799 | + | then throw("you don't have index tokens available") | |
800 | + | else if (aA()) | |
801 | + | then throw("contract is on stop") | |
802 | + | else (bw(addressFromStringValue(by))._1 ++ [IntegerEntry((by + "_indexStaked"), (dy - dx)), IntegerEntry("global_indexStaked", (r("global_indexStaked") - dx)), ScriptTransfer(cN.caller, dx, getBinaryValue("global_poolToken_id"))]) | |
803 | + | } | |
804 | + | ||
805 | + | ||
806 | + | ||
807 | + | @Callable(cN) | |
808 | + | func claimIndexRewards () = if (aA()) | |
809 | + | then throw("contract is on stop") | |
810 | + | else bw(cN.caller) | |
811 | + | ||
812 | + | ||
813 | + | ||
814 | + | @Callable(cN) | |
815 | + | func evaluateClaim (dz) = $Tuple2(nil, bw(addressFromStringValue(dz))._2) | |
816 | + | ||
817 | + | ||
818 | + | ||
819 | + | @Callable(cN) | |
820 | + | func swap (bi,cj) = { | |
821 | + | let cU = if ((size(cN.payments) == 1)) | |
822 | + | then value(cN.payments[0]) | |
823 | + | else throw("please attach exactly one payment") | |
824 | + | let bg = value(cN.payments[0].amount) | |
825 | + | let cl = cN.payments[0].assetId | |
826 | + | ch(y(cl), bi, bg, cj, toString(cN.caller)) | |
827 | + | } | |
828 | + | ||
829 | + | ||
830 | + | ||
831 | + | @Callable(cN) | |
832 | + | func swapReadOnly (bh,bi,bg) = { | |
833 | + | let cl = A(bh) | |
834 | + | let cm = A(bi) | |
835 | + | let cn = (f / r((("static_" + bh) + "_scale"))) | |
836 | + | let co = (f / r((("static_" + bi) + "_scale"))) | |
837 | + | let cp = w("static_feeToken") | |
838 | + | let cq = if ((cp == "")) | |
839 | + | then S | |
840 | + | else A(cp) | |
841 | + | let cr = r((("global_" + y(cl)) + "_balance")) | |
842 | + | let cs = r((("global_" + bi) + "_balance")) | |
843 | + | let ct = (cr * cn) | |
844 | + | let cu = (cs * co) | |
845 | + | let cv = fraction(bg, ay, h) | |
846 | + | let cw = (bg - cv) | |
847 | + | let cx = (cw * cn) | |
848 | + | let cy = bf(cx, cl, cm, ct, cu) | |
849 | + | let cz = fraction(cy, 1, co) | |
850 | + | let cA = (cs - cz) | |
851 | + | let cB = (cr + cw) | |
852 | + | let cC = if ((cq == cl)) | |
853 | + | then cB | |
854 | + | else if ((cq == cm)) | |
855 | + | then cA | |
856 | + | else r((("global_" + y(cq)) + "_balance")) | |
857 | + | let cD = bf(cv, cl, cq, cr, cC) | |
858 | + | if ((cm == cl)) | |
859 | + | then throw("this swap is not allowed") | |
860 | + | else if ((0 > (cs - cz))) | |
861 | + | then throw("contract is out of reserves") | |
862 | + | else if (aA()) | |
863 | + | then throw("contract is on stop") | |
864 | + | else $Tuple2(nil, cz) | |
865 | + | } | |
866 | + | ||
867 | + | ||
868 | + | ||
869 | + | @Callable(cN) | |
870 | + | func transferOwnership (dA) = if ((toString(cN.caller) != w("static_poolOwner"))) | |
871 | + | then throw("this call available only for pool owner") | |
872 | + | else [StringEntry("static_poolOwner", dA)] | |
873 | + | ||
874 | + |
github/deemru/w8io/026f985 43.46 ms ◑