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