tx · 2JBKEPB1sHgtHKc63BdhaWfeBUgpUmUayN1x3JYBpCRX 3N8b7mamWRbw6YjYJgsNGzTsKAbsbf4zVSA: -0.03000000 Waves 2022.07.09 20:47 [2132485] smart account 3N8b7mamWRbw6YjYJgsNGzTsKAbsbf4zVSA > SELF 0.00000000 Waves
{ "type": 13, "id": "2JBKEPB1sHgtHKc63BdhaWfeBUgpUmUayN1x3JYBpCRX", "fee": 3000000, "feeAssetId": null, "timestamp": 1657388925241, "version": 2, "chainId": 84, "sender": "3N8b7mamWRbw6YjYJgsNGzTsKAbsbf4zVSA", "senderPublicKey": "FA2TFZp55AkfpLAK7toKNNdufbHH3cY6aCSSMFcFPafT", "proofs": [ "3YmSXcwh8jm22xbXyusSRRzZNNFm9CjPqz1Z2JVajYHYDzpLWrpwdZadF6QPDnNmSBdb6Pjn3wBto18hmcZm55Qi" ], "script": "base64:AAIFAAAAAAAAAFkIAhILCgkICAgICAgBAQQSAwoBBBIFCgMEBAQSAwoBARIDCgEEEgMKAQESAwoBCBIGCgQICAgEEgUKAwQICBIGCgQECAgBEgQKAggIEgUKAwgIARIECgIICAAAACcAAAAABG1haW4CAAAACm1haW5fYXNzZXQAAAAAAWwCAAAACWxwX2Fzc2V0XwAAAAADYWExAgAAAAZwb29sX18AAAAAAnNhAgAAAA9TVEFLSU5HX0FNT1VOVF8AAAAAAmxhAgAAAA1MRUFTRV9BTU9VTlRfAAAAAAJpeAIAAAADSURfAAAAAAdyYXRlRmVlAgAAABNwZXJjZW50YWdlX3JhdGVfZmVlAAAAAA5kZXBvc2l0X2hlaWdodAIAAAASRGVwb3NpdF9IZWlnaHRfT2ZfAAAAAAJEOAAAAAAABfXhAAAAAAACRDYAAAAAAAAPQkAAAAAAD2NvbnRyYWN0QWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABCAUAAAAEdGhpcwAAAAVieXRlcwAAAAAMZXhjaGFuZ2VSYXRlAAAAAAAAAAAFAQAAABFnZXRBZGRyZXNzSWZWYWxpZA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nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmQpAzn", "height": 2132485, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DH4pBApSyMTd928Fgxrh9puS37y8DtQuzi5eyXd1AHwA Next: 4pFNkRehMPcRDvbzATTJSe2u8B9qsyNAG2HpVJ2zCUAF Diff:
Old | New | Differences | |
---|---|---|---|
79 | 79 | func L (M) = valueOrElse(getInteger(this, M), 0) | |
80 | 80 | ||
81 | 81 | ||
82 | - | func N (n,M) = valueOrElse(getIntegerValue(this, ((M + "_") + n)), 0) | |
82 | + | func N (n,M) = { | |
83 | + | let s = getIntegerValue(this, ((M + "_") + n)) | |
84 | + | if ($isInstanceOf(s, "Int")) | |
85 | + | then { | |
86 | + | let O = s | |
87 | + | O | |
88 | + | } | |
89 | + | else 0 | |
90 | + | } | |
83 | 91 | ||
84 | 92 | ||
85 | - | func | |
93 | + | func P (n,M,t) = valueOrElse(getIntegerValue(this, ((((M + "_") + n) + "_") + t)), 1) | |
86 | 94 | ||
87 | 95 | ||
88 | - | func | |
96 | + | func Q (M,t) = valueOrElse(getIntegerValue(this, ((M + "_") + t)), 1) | |
89 | 97 | ||
90 | 98 | ||
91 | - | func | |
99 | + | func R (S,T,n) = (((h + I(S, T)) + "_") + n) | |
92 | 100 | ||
93 | 101 | ||
94 | - | func | |
102 | + | func U (n,M) = valueOrElse(getIntegerValue(this, ((("STAKE_LP_" + n) + "_") + M)), 0) | |
95 | 103 | ||
96 | 104 | ||
97 | - | func | |
105 | + | func V () = { | |
98 | 106 | let s = getStringValue(this, "admin") | |
99 | 107 | if ($isInstanceOf(s, "String")) | |
100 | 108 | then { | |
101 | - | let | |
102 | - | Address(fromBase58String( | |
109 | + | let O = s | |
110 | + | Address(fromBase58String(O)) | |
103 | 111 | } | |
104 | 112 | else this | |
105 | 113 | } | |
119 | 127 | @Callable(aa) | |
120 | 128 | func constructor (ab,ac,ad,ae,af,ag,ah,ai,aj) = if (if ((aa.caller == this)) | |
121 | 129 | then true | |
122 | - | else (aa.caller == | |
130 | + | else (aa.caller == V())) | |
123 | 131 | then { | |
124 | 132 | let ak = I(ac, ad) | |
125 | 133 | let al = I(ac, ae) | |
151 | 159 | @Callable(aa) | |
152 | 160 | func activate (aF) = if (if ((aa.caller == this)) | |
153 | 161 | then true | |
154 | - | else (aa.caller == | |
162 | + | else (aa.caller == V())) | |
155 | 163 | then [BooleanEntry(u, aF)] | |
156 | 164 | else throw("Only the Admin itself can invoke this function") | |
157 | 165 | ||
160 | 168 | @Callable(aa) | |
161 | 169 | func maintenance (aG,aH,aI) = if (if ((aa.caller == this)) | |
162 | 170 | then true | |
163 | - | else (aa.caller == | |
171 | + | else (aa.caller == V())) | |
164 | 172 | then [BooleanEntry(v, aG), BooleanEntry(w, aH), BooleanEntry(x, aI)] | |
165 | 173 | else throw("Only the Admin itself can invoke this function") | |
166 | 174 | ||
169 | 177 | @Callable(aa) | |
170 | 178 | func percentualRateFeeSwapEdit (aJ) = if (if ((aa.caller == this)) | |
171 | 179 | then true | |
172 | - | else (aa.caller == | |
180 | + | else (aa.caller == V())) | |
173 | 181 | then [IntegerEntry(g, aJ)] | |
174 | 182 | else throw("Only the Admin itself can invoke this function") | |
175 | 183 | ||
178 | 186 | @Callable(aa) | |
179 | 187 | func acceptWaves (aK) = if (if ((aa.caller == this)) | |
180 | 188 | then true | |
181 | - | else (aa.caller == | |
189 | + | else (aa.caller == V())) | |
182 | 190 | then [BooleanEntry(G, aK)] | |
183 | 191 | else throw("Only the Admin itself can invoke this function") | |
184 | 192 | ||
187 | 195 | @Callable(aa) | |
188 | 196 | func blockDistribution (aL) = if (if ((aa.caller == this)) | |
189 | 197 | then true | |
190 | - | else (aa.caller == | |
198 | + | else (aa.caller == V())) | |
191 | 199 | then [IntegerEntry(y, aL)] | |
192 | 200 | else throw("Only the Admin itself can invoke this function") | |
193 | 201 | ||
196 | 204 | @Callable(aa) | |
197 | 205 | func addAdmin (n) = if (if ((aa.caller == this)) | |
198 | 206 | then true | |
199 | - | else (aa.caller == | |
207 | + | else (aa.caller == V())) | |
200 | 208 | then [StringEntry("admin", n)] | |
201 | 209 | else throw("Only the Admin itself can invoke this function") | |
202 | 210 | ||
216 | 224 | let M = L(I(J, K)) | |
217 | 225 | if (if ((aa.caller == this)) | |
218 | 226 | then true | |
219 | - | else (aa.caller == | |
227 | + | else (aa.caller == V())) | |
220 | 228 | then if (!((M == 0))) | |
221 | 229 | then { | |
222 | 230 | let aR = Issue(aQ, ((("LP asset for pool liquidity in AxAi Swap pair " + J) + "_") + K), 1, 8, true) | |
230 | 238 | ||
231 | 239 | ||
232 | 240 | @Callable(aa) | |
233 | - | func deposit (aT, | |
241 | + | func deposit (aT,S,T) = { | |
234 | 242 | let aU = getBooleanValue(this, u) | |
235 | 243 | let aV = getBooleanValue(this, x) | |
236 | 244 | let aW = getStringValue(this, a) | |
237 | 245 | let aX = if (aT) | |
238 | - | then getStringValue(this, (b + I( | |
246 | + | then getStringValue(this, (b + I(S, T))) | |
239 | 247 | else aW | |
240 | 248 | if (aU) | |
241 | 249 | then if (!(aV)) | |
270 | 278 | [bc, bd, bg] | |
271 | 279 | } | |
272 | 280 | else { | |
273 | - | let bh = I( | |
281 | + | let bh = I(S, T) | |
274 | 282 | let M = L(bh) | |
275 | 283 | if (!((M == 0))) | |
276 | 284 | then { | |
309 | 317 | ||
310 | 318 | ||
311 | 319 | @Callable(aa) | |
312 | - | func remove (aT, | |
320 | + | func remove (aT,S,T,bi) = { | |
313 | 321 | let aU = getBooleanValue(this, u) | |
314 | 322 | let aV = getBooleanValue(this, x) | |
315 | 323 | let bj = aa.payments[0] | |
319 | 327 | then { | |
320 | 328 | let aY = toBase58String(aa.caller.bytes) | |
321 | 329 | let aZ = valueOrElse(if (aT) | |
322 | - | then getIntegerValue(this, ((("STAKE_LP_" + aY) + "_") + I( | |
330 | + | then getIntegerValue(this, ((("STAKE_LP_" + aY) + "_") + I(S, T))) | |
323 | 331 | else getInteger(this, aY), 0) | |
324 | 332 | let bk = if (aT) | |
325 | - | then ((((h + "_") + aY) + "_") + I( | |
333 | + | then ((((h + "_") + aY) + "_") + I(S, T)) | |
326 | 334 | else (h + aY) | |
327 | 335 | let be = if (aT) | |
328 | - | then getIntegerValue(this, ("Total_Tokens_LP_Locked_" + I( | |
336 | + | then getIntegerValue(this, ("Total_Tokens_LP_Locked_" + I(S, T))) | |
329 | 337 | else getIntegerValue(this, "Total_Tokens_Locked:") | |
330 | 338 | let bf = (be - bi) | |
331 | 339 | let bl = (height - getIntegerValue(this, bk)) | |
334 | 342 | let bo = (bn / (be / bi)) | |
335 | 343 | if ((0 > bi)) | |
336 | 344 | then throw(if (aT) | |
337 | - | then (((("Can't withdraw negative " + | |
345 | + | then (((("Can't withdraw negative " + S) + "/") + T) + " amount") | |
338 | 346 | else "Can't withdraw negative AxAi amount") | |
339 | 347 | else { | |
340 | 348 | let bb = (aZ - bi) | |
341 | 349 | if ((0 > bb)) | |
342 | 350 | then throw(if (aT) | |
343 | - | then (((("Not enough Asset Lp " + | |
351 | + | then (((("Not enough Asset Lp " + S) + "/") + T) + " balance") | |
344 | 352 | else "Not enough AxAi balance") | |
345 | 353 | else [IntegerEntry(if (aT) | |
346 | - | then ((("STAKE_LP_" + aY) + "_") + I( | |
354 | + | then ((("STAKE_LP_" + aY) + "_") + I(S, T)) | |
347 | 355 | else aY, bb), IntegerEntry(if (aT) | |
348 | - | then ("Total_Tokens_LP_Locked_" + I( | |
356 | + | then ("Total_Tokens_LP_Locked_" + I(S, T)) | |
349 | 357 | else "Total_Tokens_Locked:", bf), ScriptTransfer(aa.caller, bi, if (aT) | |
350 | - | then fromBase58String(getStringValue(this, (b + I( | |
358 | + | then fromBase58String(getStringValue(this, (b + I(S, T)))) | |
351 | 359 | else aW), ScriptTransfer(aa.caller, bo, aW)] | |
352 | 360 | } | |
353 | 361 | } | |
358 | 366 | ||
359 | 367 | ||
360 | 368 | @Callable(aa) | |
361 | - | func addLiquidity ( | |
369 | + | func addLiquidity (S,T) = { | |
362 | 370 | let aU = getBooleanValue(this, u) | |
363 | 371 | let bp = getBooleanValue(this, v) | |
364 | 372 | let Z = getBooleanValue(this, G) | |
365 | - | let M = L(I( | |
373 | + | let M = L(I(S, T)) | |
366 | 374 | let J = aa.payments[0].assetId | |
367 | 375 | let K = aa.payments[1].assetId | |
368 | 376 | let bq = fromBase58String(getStringValue(this, A)) | |
371 | 379 | let bt = fromBase58String(getStringValue(this, D)) | |
372 | 380 | let bu = fromBase58String(getStringValue(this, E)) | |
373 | 381 | let aW = fromBase58String(getStringValue(this, a)) | |
374 | - | let aX = getStringValue(this, (b + I( | |
382 | + | let aX = getStringValue(this, (b + I(S, T))) | |
375 | 383 | if (aU) | |
376 | 384 | then if (!(bp)) | |
377 | 385 | then if (if (if (!((J == K))) | |
378 | - | then W(J, | |
386 | + | then W(J, S, Z) | |
379 | 387 | else false) | |
380 | - | then W(K, | |
388 | + | then W(K, T, Z) | |
381 | 389 | else false) | |
382 | 390 | then if (if (if (if (if (if (if (if ((J == bq)) | |
383 | 391 | then true | |
409 | 417 | then if (!((M == 0))) | |
410 | 418 | then { | |
411 | 419 | let aY = toBase58String(aa.caller.bytes) | |
412 | - | let aZ = N(aY, I( | |
413 | - | let bv = | |
414 | - | let bw = | |
415 | - | let bx = | |
416 | - | let by = | |
420 | + | let aZ = N(aY, I(S, T)) | |
421 | + | let bv = P(aY, I(S, T), S) | |
422 | + | let bw = P(aY, I(S, T), T) | |
423 | + | let bx = Q(I(S, T), S) | |
424 | + | let by = Q(I(S, T), T) | |
417 | 425 | let bz = (bx / by) | |
418 | 426 | let bA = (bv + aa.payments[0].amount) | |
419 | 427 | let bB = (bw + aa.payments[1].amount) | |
420 | 428 | let bC = (aZ + bz) | |
421 | 429 | let bD = (bx + aa.payments[0].amount) | |
422 | 430 | let bE = (by + aa.payments[1].amount) | |
423 | - | [Reissue(fromBase58String(aX), bz, true), ScriptTransfer(Address(aa.caller.bytes), bz, fromBase58String(aX)), IntegerEntry( | |
431 | + | [Reissue(fromBase58String(aX), bz, true), ScriptTransfer(Address(aa.caller.bytes), bz, fromBase58String(aX)), IntegerEntry(R(S, T, aY), height), IntegerEntry(((((aY + "_") + I(S, T)) + "_") + S), bA), IntegerEntry(((((aY + "_") + I(S, T)) + "_") + T), bB), IntegerEntry(((I(S, T) + "_") + aY), bC), IntegerEntry(((I(S, T) + "_") + S), bD), IntegerEntry(((I(S, T) + "_") + T), bE), IntegerEntry(S, (q(S) + aa.payments[0].amount)), IntegerEntry(T, (q(T) + aa.payments[1].amount)), IntegerEntry(aX, (q(aX) + bz))] | |
424 | 432 | } | |
425 | 433 | else throw("Invalid Pool Key.") | |
426 | 434 | else throw(((("Invalid Asset1 or Asset2! Asset1: " + toString(if (if (if (if (if (if ((J == bq)) | |
456 | 464 | ||
457 | 465 | ||
458 | 466 | @Callable(aa) | |
459 | - | func removeLiquidity ( | |
467 | + | func removeLiquidity (S,T,bF) = { | |
460 | 468 | let aY = toBase58String(aa.caller.bytes) | |
461 | 469 | let aU = getBooleanValue(this, u) | |
462 | 470 | let bp = getBooleanValue(this, v) | |
463 | 471 | let Z = getBooleanValue(this, G) | |
464 | - | let bh = I( | |
472 | + | let bh = I(S, T) | |
465 | 473 | let M = L(bh) | |
466 | - | let J = if ((R == F)) | |
467 | - | then if (Z) | |
468 | - | then H | |
469 | - | else throw("The smart contract does not currently support Waves.") | |
470 | - | else fromBase58String(R) | |
471 | - | let K = if ((S == F)) | |
474 | + | let J = if ((S == F)) | |
472 | 475 | then if (Z) | |
473 | 476 | then H | |
474 | 477 | else throw("The smart contract does not currently support Waves.") | |
475 | 478 | else fromBase58String(S) | |
479 | + | let K = if ((T == F)) | |
480 | + | then if (Z) | |
481 | + | then H | |
482 | + | else throw("The smart contract does not currently support Waves.") | |
483 | + | else fromBase58String(T) | |
476 | 484 | let bq = fromBase58String(getStringValue(this, A)) | |
477 | 485 | let br = fromBase58String(getStringValue(this, C)) | |
478 | 486 | let bs = fromBase58String(getStringValue(this, B)) | |
479 | 487 | let bt = fromBase58String(getStringValue(this, D)) | |
480 | 488 | let aW = fromBase58String(getStringValue(this, a)) | |
481 | 489 | let bu = fromBase58String(getStringValue(this, E)) | |
482 | - | let aX = getStringValue(this, (b + I( | |
483 | - | let aZ = N(aY, I( | |
484 | - | let bG = | |
490 | + | let aX = getStringValue(this, (b + I(S, T))) | |
491 | + | let aZ = N(aY, I(S, T)) | |
492 | + | let bG = U(aY, bh) | |
485 | 493 | let bH = getIntegerValue(this, aX) | |
486 | - | let bI = getIntegerValue(this, ((I( | |
487 | - | let bJ = getIntegerValue(this, ((I( | |
494 | + | let bI = getIntegerValue(this, ((I(S, T) + "_") + S)) | |
495 | + | let bJ = getIntegerValue(this, ((I(S, T) + "_") + T)) | |
488 | 496 | if (aU) | |
489 | 497 | then if (!(bp)) | |
490 | - | then if (!(( | |
498 | + | then if (!((S == T))) | |
491 | 499 | then if (if (if (if (if (if (if (if ((J == bq)) | |
492 | 500 | then true | |
493 | 501 | else (J == br)) | |
522 | 530 | let bK = (bF / bH) | |
523 | 531 | let bL = (bK * bI) | |
524 | 532 | let bM = (bK * bJ) | |
525 | - | let bx = | |
526 | - | let by = | |
527 | - | let bv = | |
528 | - | let bw = | |
533 | + | let bx = Q(I(S, T), S) | |
534 | + | let by = Q(I(S, T), T) | |
535 | + | let bv = P(aY, I(S, T), S) | |
536 | + | let bw = P(aY, I(S, T), T) | |
529 | 537 | let bA = (bv - bL) | |
530 | 538 | let bB = (bw - bM) | |
531 | 539 | let bC = (aZ - bF) | |
532 | 540 | let bD = (bx - bL) | |
533 | 541 | let bE = (by - bM) | |
534 | - | [Burn(fromBase58String(aX), bF), ScriptTransfer(Address(aa.caller.bytes), bL, J), ScriptTransfer(Address(aa.caller.bytes), bM, K), IntegerEntry( | |
542 | + | [Burn(fromBase58String(aX), bF), ScriptTransfer(Address(aa.caller.bytes), bL, J), ScriptTransfer(Address(aa.caller.bytes), bM, K), IntegerEntry(R(S, T, aY), height), IntegerEntry(((((aY + "_") + I(S, T)) + "_") + S), bA), IntegerEntry(((((aY + "_") + I(S, T)) + "_") + T), bB), IntegerEntry(((I(S, T) + "_") + aY), bC), IntegerEntry(((I(S, T) + "_") + S), bD), IntegerEntry(((I(S, T) + "_") + T), bE), IntegerEntry(S, (q(S) - bL)), IntegerEntry(T, (q(T) - bM)), IntegerEntry(aX, (q(aX) - bF))] | |
535 | 543 | } | |
536 | 544 | else throw("Amount to be withdrawn greater than the amount available for withdrawal.") | |
537 | 545 | else throw("You have no locked values in the pool") | |
545 | 553 | ||
546 | 554 | ||
547 | 555 | @Callable(aa) | |
548 | - | func swap ( | |
556 | + | func swap (S,T) = { | |
549 | 557 | let aY = toBase58String(aa.caller.bytes) | |
550 | 558 | let Z = getBooleanValue(this, G) | |
551 | 559 | let aU = getBooleanValue(this, u) | |
552 | 560 | let bN = getBooleanValue(this, w) | |
553 | - | let bh = I( | |
561 | + | let bh = I(S, T) | |
554 | 562 | let M = L(bh) | |
555 | 563 | let J = aa.payments[0].assetId | |
556 | 564 | let bq = fromBase58String(getStringValue(this, A)) | |
559 | 567 | let bt = fromBase58String(getStringValue(this, D)) | |
560 | 568 | let aW = fromBase58String(getStringValue(this, a)) | |
561 | 569 | let bu = fromBase58String(getStringValue(this, E)) | |
562 | - | let bO = getIntegerValue(this, ((I( | |
563 | - | let bP = getIntegerValue(this, ((I( | |
570 | + | let bO = getIntegerValue(this, ((I(S, T) + "_") + S)) | |
571 | + | let bP = getIntegerValue(this, ((I(S, T) + "_") + T)) | |
564 | 572 | let bQ = getIntegerValue(this, g) | |
565 | 573 | if (aU) | |
566 | 574 | then if (!(bN)) | |
567 | - | then if (if (!(( | |
568 | - | then if (W(J, | |
575 | + | then if (if (!((S == T))) | |
576 | + | then if (W(J, S, Z)) | |
569 | 577 | then true | |
570 | - | else W(J, | |
578 | + | else W(J, T, Z) | |
571 | 579 | else false) | |
572 | 580 | then if (if (if (if (if (if (if ((J == bq)) | |
573 | 581 | then true | |
586 | 594 | then if ((aa.payments[1].assetId == aW)) | |
587 | 595 | then if ((aa.payments[1].amount == 300000)) | |
588 | 596 | then { | |
589 | - | let bR = if (!((J == fromBase58String( | |
597 | + | let bR = if (!((J == fromBase58String(S)))) | |
590 | 598 | then (bO / bP) | |
591 | 599 | else (bP / bO) | |
592 | 600 | let aL = (aa.payments[0].amount - ((aa.payments[0].amount * bQ) / (100 * i))) | |
593 | 601 | let bS = (aL * bR) | |
594 | - | [ScriptTransfer(Address(aa.caller.bytes), bS, if (( | |
602 | + | [ScriptTransfer(Address(aa.caller.bytes), bS, if ((T == F)) | |
595 | 603 | then H | |
596 | - | else fromBase58String( | |
604 | + | else fromBase58String(T)), IntegerEntry(T, (q(T) - bS)), IntegerEntry(((I(S, T) + "_") + T), (Q(I(S, T), T) - bS))] | |
597 | 605 | } | |
598 | 606 | else throw("Swap denied! 0.003 AxAi is required for the swap fee.") | |
599 | 607 | else throw("Invalid rate asset") |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "main_asset" | |
5 | 5 | ||
6 | 6 | let b = "lp_asset_" | |
7 | 7 | ||
8 | 8 | let c = "pool__" | |
9 | 9 | ||
10 | 10 | let d = "STAKING_AMOUNT_" | |
11 | 11 | ||
12 | 12 | let e = "LEASE_AMOUNT_" | |
13 | 13 | ||
14 | 14 | let f = "ID_" | |
15 | 15 | ||
16 | 16 | let g = "percentage_rate_fee" | |
17 | 17 | ||
18 | 18 | let h = "Deposit_Height_Of_" | |
19 | 19 | ||
20 | 20 | let i = 100000000 | |
21 | 21 | ||
22 | 22 | let j = 1000000 | |
23 | 23 | ||
24 | 24 | let k = Address(this.bytes) | |
25 | 25 | ||
26 | 26 | let l = 5 | |
27 | 27 | ||
28 | 28 | func m (n) = toString(valueOrErrorMessage(addressFromString(n), (("Can't parse " + n) + " as address"))) | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func o (p) = toBase58String(valueOrErrorMessage(value(assetInfo(fromBase58String(p))).id, (("Asset Id: " + p) + " is invalid."))) | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func q (p) = valueOrElse(getIntegerValue(this, p), 0) | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func r (p) = { | |
38 | 38 | let s = assetInfo(p) | |
39 | 39 | if ($isInstanceOf(s, "Asset")) | |
40 | 40 | then { | |
41 | 41 | let t = s | |
42 | 42 | t.name | |
43 | 43 | } | |
44 | 44 | else throw("Can't find asset") | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | let u = "activate" | |
49 | 49 | ||
50 | 50 | let v = "activate_pools" | |
51 | 51 | ||
52 | 52 | let w = "activate_swap" | |
53 | 53 | ||
54 | 54 | let x = "activate_liquidity" | |
55 | 55 | ||
56 | 56 | let y = "block_distribuition" | |
57 | 57 | ||
58 | 58 | let z = "Total_Tokens_Locked_" | |
59 | 59 | ||
60 | 60 | let A = "usdn_asset" | |
61 | 61 | ||
62 | 62 | let B = "usdt_asset" | |
63 | 63 | ||
64 | 64 | let C = "usdc_asset" | |
65 | 65 | ||
66 | 66 | let D = "ngnn_asset" | |
67 | 67 | ||
68 | 68 | let E = "eurn_asset" | |
69 | 69 | ||
70 | 70 | let F = "WAVES" | |
71 | 71 | ||
72 | 72 | let G = "accept_waves" | |
73 | 73 | ||
74 | 74 | let H = unit | |
75 | 75 | ||
76 | 76 | func I (J,K) = (((c + J) + "_") + K) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func L (M) = valueOrElse(getInteger(this, M), 0) | |
80 | 80 | ||
81 | 81 | ||
82 | - | func N (n,M) = valueOrElse(getIntegerValue(this, ((M + "_") + n)), 0) | |
82 | + | func N (n,M) = { | |
83 | + | let s = getIntegerValue(this, ((M + "_") + n)) | |
84 | + | if ($isInstanceOf(s, "Int")) | |
85 | + | then { | |
86 | + | let O = s | |
87 | + | O | |
88 | + | } | |
89 | + | else 0 | |
90 | + | } | |
83 | 91 | ||
84 | 92 | ||
85 | - | func | |
93 | + | func P (n,M,t) = valueOrElse(getIntegerValue(this, ((((M + "_") + n) + "_") + t)), 1) | |
86 | 94 | ||
87 | 95 | ||
88 | - | func | |
96 | + | func Q (M,t) = valueOrElse(getIntegerValue(this, ((M + "_") + t)), 1) | |
89 | 97 | ||
90 | 98 | ||
91 | - | func | |
99 | + | func R (S,T,n) = (((h + I(S, T)) + "_") + n) | |
92 | 100 | ||
93 | 101 | ||
94 | - | func | |
102 | + | func U (n,M) = valueOrElse(getIntegerValue(this, ((("STAKE_LP_" + n) + "_") + M)), 0) | |
95 | 103 | ||
96 | 104 | ||
97 | - | func | |
105 | + | func V () = { | |
98 | 106 | let s = getStringValue(this, "admin") | |
99 | 107 | if ($isInstanceOf(s, "String")) | |
100 | 108 | then { | |
101 | - | let | |
102 | - | Address(fromBase58String( | |
109 | + | let O = s | |
110 | + | Address(fromBase58String(O)) | |
103 | 111 | } | |
104 | 112 | else this | |
105 | 113 | } | |
106 | 114 | ||
107 | 115 | ||
108 | 116 | func W (X,Y,Z) = if (if ((X == H)) | |
109 | 117 | then (Y == "WAVES") | |
110 | 118 | else false) | |
111 | 119 | then if (Z) | |
112 | 120 | then true | |
113 | 121 | else throw("The smart contract does not currently support Waves.") | |
114 | 122 | else if ((X == fromBase58String(Y))) | |
115 | 123 | then true | |
116 | 124 | else false | |
117 | 125 | ||
118 | 126 | ||
119 | 127 | @Callable(aa) | |
120 | 128 | func constructor (ab,ac,ad,ae,af,ag,ah,ai,aj) = if (if ((aa.caller == this)) | |
121 | 129 | then true | |
122 | - | else (aa.caller == | |
130 | + | else (aa.caller == V())) | |
123 | 131 | then { | |
124 | 132 | let ak = I(ac, ad) | |
125 | 133 | let al = I(ac, ae) | |
126 | 134 | let am = I(ac, af) | |
127 | 135 | let an = I(ac, F) | |
128 | 136 | let ao = I(ac, ab) | |
129 | 137 | let ap = I(ac, ag) | |
130 | 138 | let aq = I(ae, ad) | |
131 | 139 | let ar = I(ae, af) | |
132 | 140 | let as = I(ae, F) | |
133 | 141 | let at = I(ae, ab) | |
134 | 142 | let au = I(ae, ag) | |
135 | 143 | let av = I(ad, af) | |
136 | 144 | let aw = I(ad, F) | |
137 | 145 | let ax = I(ad, ab) | |
138 | 146 | let ay = I(ad, ag) | |
139 | 147 | let az = I(af, F) | |
140 | 148 | let aA = I(af, ab) | |
141 | 149 | let aB = I(af, ag) | |
142 | 150 | let aC = I(ab, F) | |
143 | 151 | let aD = I(ab, ag) | |
144 | 152 | let aE = I(ag, F) | |
145 | 153 | [StringEntry(a, ab), StringEntry(A, ac), StringEntry(C, ae), StringEntry(B, ad), StringEntry(D, af), BooleanEntry(G, aj), IntegerEntry(g, ah), BooleanEntry(u, true), BooleanEntry(w, false), BooleanEntry(v, false), BooleanEntry(x, false), IntegerEntry(y, ai), IntegerEntry(ak, 1), IntegerEntry(an, 1), IntegerEntry(al, 1), IntegerEntry(am, 1), IntegerEntry(ao, 1), IntegerEntry(aq, 1), IntegerEntry(ar, 1), IntegerEntry(as, 1), IntegerEntry(ax, 1), IntegerEntry(av, 1), IntegerEntry(aw, 1), IntegerEntry(az, 1), IntegerEntry(aA, 1), IntegerEntry(aC, 1), IntegerEntry(aE, 1), IntegerEntry(aD, 1), IntegerEntry(aB, 1), IntegerEntry(au, 1), IntegerEntry(ap, 1), IntegerEntry(ay, 1), StringEntry(E, ag)] | |
146 | 154 | } | |
147 | 155 | else throw("Only the Admin itself can invoke this function") | |
148 | 156 | ||
149 | 157 | ||
150 | 158 | ||
151 | 159 | @Callable(aa) | |
152 | 160 | func activate (aF) = if (if ((aa.caller == this)) | |
153 | 161 | then true | |
154 | - | else (aa.caller == | |
162 | + | else (aa.caller == V())) | |
155 | 163 | then [BooleanEntry(u, aF)] | |
156 | 164 | else throw("Only the Admin itself can invoke this function") | |
157 | 165 | ||
158 | 166 | ||
159 | 167 | ||
160 | 168 | @Callable(aa) | |
161 | 169 | func maintenance (aG,aH,aI) = if (if ((aa.caller == this)) | |
162 | 170 | then true | |
163 | - | else (aa.caller == | |
171 | + | else (aa.caller == V())) | |
164 | 172 | then [BooleanEntry(v, aG), BooleanEntry(w, aH), BooleanEntry(x, aI)] | |
165 | 173 | else throw("Only the Admin itself can invoke this function") | |
166 | 174 | ||
167 | 175 | ||
168 | 176 | ||
169 | 177 | @Callable(aa) | |
170 | 178 | func percentualRateFeeSwapEdit (aJ) = if (if ((aa.caller == this)) | |
171 | 179 | then true | |
172 | - | else (aa.caller == | |
180 | + | else (aa.caller == V())) | |
173 | 181 | then [IntegerEntry(g, aJ)] | |
174 | 182 | else throw("Only the Admin itself can invoke this function") | |
175 | 183 | ||
176 | 184 | ||
177 | 185 | ||
178 | 186 | @Callable(aa) | |
179 | 187 | func acceptWaves (aK) = if (if ((aa.caller == this)) | |
180 | 188 | then true | |
181 | - | else (aa.caller == | |
189 | + | else (aa.caller == V())) | |
182 | 190 | then [BooleanEntry(G, aK)] | |
183 | 191 | else throw("Only the Admin itself can invoke this function") | |
184 | 192 | ||
185 | 193 | ||
186 | 194 | ||
187 | 195 | @Callable(aa) | |
188 | 196 | func blockDistribution (aL) = if (if ((aa.caller == this)) | |
189 | 197 | then true | |
190 | - | else (aa.caller == | |
198 | + | else (aa.caller == V())) | |
191 | 199 | then [IntegerEntry(y, aL)] | |
192 | 200 | else throw("Only the Admin itself can invoke this function") | |
193 | 201 | ||
194 | 202 | ||
195 | 203 | ||
196 | 204 | @Callable(aa) | |
197 | 205 | func addAdmin (n) = if (if ((aa.caller == this)) | |
198 | 206 | then true | |
199 | - | else (aa.caller == | |
207 | + | else (aa.caller == V())) | |
200 | 208 | then [StringEntry("admin", n)] | |
201 | 209 | else throw("Only the Admin itself can invoke this function") | |
202 | 210 | ||
203 | 211 | ||
204 | 212 | ||
205 | 213 | @Callable(aa) | |
206 | 214 | func lpAssetCreateForPairPool (J,K,aM,aN) = { | |
207 | 215 | let aO = if ((J == F)) | |
208 | 216 | then F | |
209 | 217 | else r(fromBase58String(J)) | |
210 | 218 | let aP = if ((K == F)) | |
211 | 219 | then F | |
212 | 220 | else r(fromBase58String(K)) | |
213 | 221 | let aQ = if (aN) | |
214 | 222 | then aM | |
215 | 223 | else ((aO + "_") + aP) | |
216 | 224 | let M = L(I(J, K)) | |
217 | 225 | if (if ((aa.caller == this)) | |
218 | 226 | then true | |
219 | - | else (aa.caller == | |
227 | + | else (aa.caller == V())) | |
220 | 228 | then if (!((M == 0))) | |
221 | 229 | then { | |
222 | 230 | let aR = Issue(aQ, ((("LP asset for pool liquidity in AxAi Swap pair " + J) + "_") + K), 1, 8, true) | |
223 | 231 | let aS = calculateAssetId(aR) | |
224 | 232 | [StringEntry((b + I(J, K)), toBase58String(aS)), aR] | |
225 | 233 | } | |
226 | 234 | else throw("Invalid Pool Key. Try inverting the assets") | |
227 | 235 | else throw("Only the Admin itself can invoke this function") | |
228 | 236 | } | |
229 | 237 | ||
230 | 238 | ||
231 | 239 | ||
232 | 240 | @Callable(aa) | |
233 | - | func deposit (aT, | |
241 | + | func deposit (aT,S,T) = { | |
234 | 242 | let aU = getBooleanValue(this, u) | |
235 | 243 | let aV = getBooleanValue(this, x) | |
236 | 244 | let aW = getStringValue(this, a) | |
237 | 245 | let aX = if (aT) | |
238 | - | then getStringValue(this, (b + I( | |
246 | + | then getStringValue(this, (b + I(S, T))) | |
239 | 247 | else aW | |
240 | 248 | if (aU) | |
241 | 249 | then if (!(aV)) | |
242 | 250 | then if ((aa.payments[0].assetId != fromBase58String(aX))) | |
243 | 251 | then throw((("Invalid asset! Kindly Deposit Only " + aW) + " or valid asset lp")) | |
244 | 252 | else if (!(aT)) | |
245 | 253 | then { | |
246 | 254 | let aY = toBase58String(aa.caller.bytes) | |
247 | 255 | let aZ = { | |
248 | 256 | let s = getInteger(this, aY) | |
249 | 257 | if ($isInstanceOf(s, "Int")) | |
250 | 258 | then { | |
251 | 259 | let ba = s | |
252 | 260 | ba | |
253 | 261 | } | |
254 | 262 | else 0 | |
255 | 263 | } | |
256 | 264 | let bb = (aZ + aa.payments[0].amount) | |
257 | 265 | let bc = IntegerEntry(aY, bb) | |
258 | 266 | let bd = IntegerEntry((h + aY), height) | |
259 | 267 | let be = { | |
260 | 268 | let s = getInteger(this, "Total_Tokens_Locked:") | |
261 | 269 | if ($isInstanceOf(s, "Int")) | |
262 | 270 | then { | |
263 | 271 | let ba = s | |
264 | 272 | ba | |
265 | 273 | } | |
266 | 274 | else 0 | |
267 | 275 | } | |
268 | 276 | let bf = (be + aa.payments[0].amount) | |
269 | 277 | let bg = IntegerEntry("Total_Tokens_Locked:", bf) | |
270 | 278 | [bc, bd, bg] | |
271 | 279 | } | |
272 | 280 | else { | |
273 | - | let bh = I( | |
281 | + | let bh = I(S, T) | |
274 | 282 | let M = L(bh) | |
275 | 283 | if (!((M == 0))) | |
276 | 284 | then { | |
277 | 285 | let aY = toBase58String(aa.caller.bytes) | |
278 | 286 | let aZ = { | |
279 | 287 | let s = getInteger(this, ((("STAKE_LP_" + aY) + "_") + bh)) | |
280 | 288 | if ($isInstanceOf(s, "Int")) | |
281 | 289 | then { | |
282 | 290 | let ba = s | |
283 | 291 | ba | |
284 | 292 | } | |
285 | 293 | else 0 | |
286 | 294 | } | |
287 | 295 | let bb = (aZ + aa.payments[0].amount) | |
288 | 296 | let bc = IntegerEntry(((("STAKE_LP_" + aY) + "_") + bh), bb) | |
289 | 297 | let bd = IntegerEntry(((((h + "_") + aY) + "_") + bh), height) | |
290 | 298 | let be = { | |
291 | 299 | let s = getInteger(this, ("Total_Tokens_LP_Locked_" + bh)) | |
292 | 300 | if ($isInstanceOf(s, "Int")) | |
293 | 301 | then { | |
294 | 302 | let ba = s | |
295 | 303 | ba | |
296 | 304 | } | |
297 | 305 | else 0 | |
298 | 306 | } | |
299 | 307 | let bf = (be + aa.payments[0].amount) | |
300 | 308 | let bg = IntegerEntry(("Total_Tokens_LP_Locked_" + bh), bf) | |
301 | 309 | [bc, bd, bg] | |
302 | 310 | } | |
303 | 311 | else throw("Invalid Pool key.") | |
304 | 312 | } | |
305 | 313 | else throw("liquidity is currently under maintenance.") | |
306 | 314 | else throw("dApp is currently under maintenance.") | |
307 | 315 | } | |
308 | 316 | ||
309 | 317 | ||
310 | 318 | ||
311 | 319 | @Callable(aa) | |
312 | - | func remove (aT, | |
320 | + | func remove (aT,S,T,bi) = { | |
313 | 321 | let aU = getBooleanValue(this, u) | |
314 | 322 | let aV = getBooleanValue(this, x) | |
315 | 323 | let bj = aa.payments[0] | |
316 | 324 | let aW = fromBase58String(getStringValue(this, a)) | |
317 | 325 | if (aU) | |
318 | 326 | then if (!(aV)) | |
319 | 327 | then { | |
320 | 328 | let aY = toBase58String(aa.caller.bytes) | |
321 | 329 | let aZ = valueOrElse(if (aT) | |
322 | - | then getIntegerValue(this, ((("STAKE_LP_" + aY) + "_") + I( | |
330 | + | then getIntegerValue(this, ((("STAKE_LP_" + aY) + "_") + I(S, T))) | |
323 | 331 | else getInteger(this, aY), 0) | |
324 | 332 | let bk = if (aT) | |
325 | - | then ((((h + "_") + aY) + "_") + I( | |
333 | + | then ((((h + "_") + aY) + "_") + I(S, T)) | |
326 | 334 | else (h + aY) | |
327 | 335 | let be = if (aT) | |
328 | - | then getIntegerValue(this, ("Total_Tokens_LP_Locked_" + I( | |
336 | + | then getIntegerValue(this, ("Total_Tokens_LP_Locked_" + I(S, T))) | |
329 | 337 | else getIntegerValue(this, "Total_Tokens_Locked:") | |
330 | 338 | let bf = (be - bi) | |
331 | 339 | let bl = (height - getIntegerValue(this, bk)) | |
332 | 340 | let bm = getIntegerValue(this, y) | |
333 | 341 | let bn = ((bl * bm) * i) | |
334 | 342 | let bo = (bn / (be / bi)) | |
335 | 343 | if ((0 > bi)) | |
336 | 344 | then throw(if (aT) | |
337 | - | then (((("Can't withdraw negative " + | |
345 | + | then (((("Can't withdraw negative " + S) + "/") + T) + " amount") | |
338 | 346 | else "Can't withdraw negative AxAi amount") | |
339 | 347 | else { | |
340 | 348 | let bb = (aZ - bi) | |
341 | 349 | if ((0 > bb)) | |
342 | 350 | then throw(if (aT) | |
343 | - | then (((("Not enough Asset Lp " + | |
351 | + | then (((("Not enough Asset Lp " + S) + "/") + T) + " balance") | |
344 | 352 | else "Not enough AxAi balance") | |
345 | 353 | else [IntegerEntry(if (aT) | |
346 | - | then ((("STAKE_LP_" + aY) + "_") + I( | |
354 | + | then ((("STAKE_LP_" + aY) + "_") + I(S, T)) | |
347 | 355 | else aY, bb), IntegerEntry(if (aT) | |
348 | - | then ("Total_Tokens_LP_Locked_" + I( | |
356 | + | then ("Total_Tokens_LP_Locked_" + I(S, T)) | |
349 | 357 | else "Total_Tokens_Locked:", bf), ScriptTransfer(aa.caller, bi, if (aT) | |
350 | - | then fromBase58String(getStringValue(this, (b + I( | |
358 | + | then fromBase58String(getStringValue(this, (b + I(S, T)))) | |
351 | 359 | else aW), ScriptTransfer(aa.caller, bo, aW)] | |
352 | 360 | } | |
353 | 361 | } | |
354 | 362 | else throw("liquidity is currently under maintenance.") | |
355 | 363 | else throw("dApp is currently under maintenance.") | |
356 | 364 | } | |
357 | 365 | ||
358 | 366 | ||
359 | 367 | ||
360 | 368 | @Callable(aa) | |
361 | - | func addLiquidity ( | |
369 | + | func addLiquidity (S,T) = { | |
362 | 370 | let aU = getBooleanValue(this, u) | |
363 | 371 | let bp = getBooleanValue(this, v) | |
364 | 372 | let Z = getBooleanValue(this, G) | |
365 | - | let M = L(I( | |
373 | + | let M = L(I(S, T)) | |
366 | 374 | let J = aa.payments[0].assetId | |
367 | 375 | let K = aa.payments[1].assetId | |
368 | 376 | let bq = fromBase58String(getStringValue(this, A)) | |
369 | 377 | let br = fromBase58String(getStringValue(this, C)) | |
370 | 378 | let bs = fromBase58String(getStringValue(this, B)) | |
371 | 379 | let bt = fromBase58String(getStringValue(this, D)) | |
372 | 380 | let bu = fromBase58String(getStringValue(this, E)) | |
373 | 381 | let aW = fromBase58String(getStringValue(this, a)) | |
374 | - | let aX = getStringValue(this, (b + I( | |
382 | + | let aX = getStringValue(this, (b + I(S, T))) | |
375 | 383 | if (aU) | |
376 | 384 | then if (!(bp)) | |
377 | 385 | then if (if (if (!((J == K))) | |
378 | - | then W(J, | |
386 | + | then W(J, S, Z) | |
379 | 387 | else false) | |
380 | - | then W(K, | |
388 | + | then W(K, T, Z) | |
381 | 389 | else false) | |
382 | 390 | then if (if (if (if (if (if (if (if ((J == bq)) | |
383 | 391 | then true | |
384 | 392 | else (J == br)) | |
385 | 393 | then true | |
386 | 394 | else (J == bs)) | |
387 | 395 | then true | |
388 | 396 | else (J == bt)) | |
389 | 397 | then true | |
390 | 398 | else (J == aW)) | |
391 | 399 | then true | |
392 | 400 | else (J == H)) | |
393 | 401 | then true | |
394 | 402 | else (J == bu)) | |
395 | 403 | then if (if (if (if (if (if ((K == bq)) | |
396 | 404 | then true | |
397 | 405 | else (K == br)) | |
398 | 406 | then true | |
399 | 407 | else (K == bs)) | |
400 | 408 | then true | |
401 | 409 | else (K == bt)) | |
402 | 410 | then true | |
403 | 411 | else (K == aW)) | |
404 | 412 | then true | |
405 | 413 | else (K == H)) | |
406 | 414 | then true | |
407 | 415 | else (K == bu) | |
408 | 416 | else false) | |
409 | 417 | then if (!((M == 0))) | |
410 | 418 | then { | |
411 | 419 | let aY = toBase58String(aa.caller.bytes) | |
412 | - | let aZ = N(aY, I( | |
413 | - | let bv = | |
414 | - | let bw = | |
415 | - | let bx = | |
416 | - | let by = | |
420 | + | let aZ = N(aY, I(S, T)) | |
421 | + | let bv = P(aY, I(S, T), S) | |
422 | + | let bw = P(aY, I(S, T), T) | |
423 | + | let bx = Q(I(S, T), S) | |
424 | + | let by = Q(I(S, T), T) | |
417 | 425 | let bz = (bx / by) | |
418 | 426 | let bA = (bv + aa.payments[0].amount) | |
419 | 427 | let bB = (bw + aa.payments[1].amount) | |
420 | 428 | let bC = (aZ + bz) | |
421 | 429 | let bD = (bx + aa.payments[0].amount) | |
422 | 430 | let bE = (by + aa.payments[1].amount) | |
423 | - | [Reissue(fromBase58String(aX), bz, true), ScriptTransfer(Address(aa.caller.bytes), bz, fromBase58String(aX)), IntegerEntry( | |
431 | + | [Reissue(fromBase58String(aX), bz, true), ScriptTransfer(Address(aa.caller.bytes), bz, fromBase58String(aX)), IntegerEntry(R(S, T, aY), height), IntegerEntry(((((aY + "_") + I(S, T)) + "_") + S), bA), IntegerEntry(((((aY + "_") + I(S, T)) + "_") + T), bB), IntegerEntry(((I(S, T) + "_") + aY), bC), IntegerEntry(((I(S, T) + "_") + S), bD), IntegerEntry(((I(S, T) + "_") + T), bE), IntegerEntry(S, (q(S) + aa.payments[0].amount)), IntegerEntry(T, (q(T) + aa.payments[1].amount)), IntegerEntry(aX, (q(aX) + bz))] | |
424 | 432 | } | |
425 | 433 | else throw("Invalid Pool Key.") | |
426 | 434 | else throw(((("Invalid Asset1 or Asset2! Asset1: " + toString(if (if (if (if (if (if ((J == bq)) | |
427 | 435 | then true | |
428 | 436 | else (J == br)) | |
429 | 437 | then true | |
430 | 438 | else (J == bs)) | |
431 | 439 | then true | |
432 | 440 | else (J == bt)) | |
433 | 441 | then true | |
434 | 442 | else (J == aW)) | |
435 | 443 | then true | |
436 | 444 | else (J == H)) | |
437 | 445 | then true | |
438 | 446 | else (J == bu))) + " Asset2:") + toString(if (if (if (if (if (if ((K == bq)) | |
439 | 447 | then true | |
440 | 448 | else (K == br)) | |
441 | 449 | then true | |
442 | 450 | else (K == bs)) | |
443 | 451 | then true | |
444 | 452 | else (K == bt)) | |
445 | 453 | then true | |
446 | 454 | else (K == aW)) | |
447 | 455 | then true | |
448 | 456 | else (K == H)) | |
449 | 457 | then true | |
450 | 458 | else (K == bu)))) | |
451 | 459 | else throw("Asset1 cannot be equal to Asset2") | |
452 | 460 | else throw("liquidity is currently under maintenance.") | |
453 | 461 | else throw("dApp is currently under maintenance.") | |
454 | 462 | } | |
455 | 463 | ||
456 | 464 | ||
457 | 465 | ||
458 | 466 | @Callable(aa) | |
459 | - | func removeLiquidity ( | |
467 | + | func removeLiquidity (S,T,bF) = { | |
460 | 468 | let aY = toBase58String(aa.caller.bytes) | |
461 | 469 | let aU = getBooleanValue(this, u) | |
462 | 470 | let bp = getBooleanValue(this, v) | |
463 | 471 | let Z = getBooleanValue(this, G) | |
464 | - | let bh = I( | |
472 | + | let bh = I(S, T) | |
465 | 473 | let M = L(bh) | |
466 | - | let J = if ((R == F)) | |
467 | - | then if (Z) | |
468 | - | then H | |
469 | - | else throw("The smart contract does not currently support Waves.") | |
470 | - | else fromBase58String(R) | |
471 | - | let K = if ((S == F)) | |
474 | + | let J = if ((S == F)) | |
472 | 475 | then if (Z) | |
473 | 476 | then H | |
474 | 477 | else throw("The smart contract does not currently support Waves.") | |
475 | 478 | else fromBase58String(S) | |
479 | + | let K = if ((T == F)) | |
480 | + | then if (Z) | |
481 | + | then H | |
482 | + | else throw("The smart contract does not currently support Waves.") | |
483 | + | else fromBase58String(T) | |
476 | 484 | let bq = fromBase58String(getStringValue(this, A)) | |
477 | 485 | let br = fromBase58String(getStringValue(this, C)) | |
478 | 486 | let bs = fromBase58String(getStringValue(this, B)) | |
479 | 487 | let bt = fromBase58String(getStringValue(this, D)) | |
480 | 488 | let aW = fromBase58String(getStringValue(this, a)) | |
481 | 489 | let bu = fromBase58String(getStringValue(this, E)) | |
482 | - | let aX = getStringValue(this, (b + I( | |
483 | - | let aZ = N(aY, I( | |
484 | - | let bG = | |
490 | + | let aX = getStringValue(this, (b + I(S, T))) | |
491 | + | let aZ = N(aY, I(S, T)) | |
492 | + | let bG = U(aY, bh) | |
485 | 493 | let bH = getIntegerValue(this, aX) | |
486 | - | let bI = getIntegerValue(this, ((I( | |
487 | - | let bJ = getIntegerValue(this, ((I( | |
494 | + | let bI = getIntegerValue(this, ((I(S, T) + "_") + S)) | |
495 | + | let bJ = getIntegerValue(this, ((I(S, T) + "_") + T)) | |
488 | 496 | if (aU) | |
489 | 497 | then if (!(bp)) | |
490 | - | then if (!(( | |
498 | + | then if (!((S == T))) | |
491 | 499 | then if (if (if (if (if (if (if (if ((J == bq)) | |
492 | 500 | then true | |
493 | 501 | else (J == br)) | |
494 | 502 | then true | |
495 | 503 | else (J == bs)) | |
496 | 504 | then true | |
497 | 505 | else (J == bt)) | |
498 | 506 | then true | |
499 | 507 | else (J == aW)) | |
500 | 508 | then true | |
501 | 509 | else (J == H)) | |
502 | 510 | then true | |
503 | 511 | else (J == bu)) | |
504 | 512 | then if (if (if (if (if (if ((K == bq)) | |
505 | 513 | then true | |
506 | 514 | else (K == br)) | |
507 | 515 | then true | |
508 | 516 | else (K == bs)) | |
509 | 517 | then true | |
510 | 518 | else (K == bt)) | |
511 | 519 | then true | |
512 | 520 | else (K == aW)) | |
513 | 521 | then true | |
514 | 522 | else (K == H)) | |
515 | 523 | then true | |
516 | 524 | else (K == bu) | |
517 | 525 | else false) | |
518 | 526 | then if (!((M == 0))) | |
519 | 527 | then if (!((aZ == 0))) | |
520 | 528 | then if (((aZ - bG) >= bF)) | |
521 | 529 | then { | |
522 | 530 | let bK = (bF / bH) | |
523 | 531 | let bL = (bK * bI) | |
524 | 532 | let bM = (bK * bJ) | |
525 | - | let bx = | |
526 | - | let by = | |
527 | - | let bv = | |
528 | - | let bw = | |
533 | + | let bx = Q(I(S, T), S) | |
534 | + | let by = Q(I(S, T), T) | |
535 | + | let bv = P(aY, I(S, T), S) | |
536 | + | let bw = P(aY, I(S, T), T) | |
529 | 537 | let bA = (bv - bL) | |
530 | 538 | let bB = (bw - bM) | |
531 | 539 | let bC = (aZ - bF) | |
532 | 540 | let bD = (bx - bL) | |
533 | 541 | let bE = (by - bM) | |
534 | - | [Burn(fromBase58String(aX), bF), ScriptTransfer(Address(aa.caller.bytes), bL, J), ScriptTransfer(Address(aa.caller.bytes), bM, K), IntegerEntry( | |
542 | + | [Burn(fromBase58String(aX), bF), ScriptTransfer(Address(aa.caller.bytes), bL, J), ScriptTransfer(Address(aa.caller.bytes), bM, K), IntegerEntry(R(S, T, aY), height), IntegerEntry(((((aY + "_") + I(S, T)) + "_") + S), bA), IntegerEntry(((((aY + "_") + I(S, T)) + "_") + T), bB), IntegerEntry(((I(S, T) + "_") + aY), bC), IntegerEntry(((I(S, T) + "_") + S), bD), IntegerEntry(((I(S, T) + "_") + T), bE), IntegerEntry(S, (q(S) - bL)), IntegerEntry(T, (q(T) - bM)), IntegerEntry(aX, (q(aX) - bF))] | |
535 | 543 | } | |
536 | 544 | else throw("Amount to be withdrawn greater than the amount available for withdrawal.") | |
537 | 545 | else throw("You have no locked values in the pool") | |
538 | 546 | else throw("Invalid Pool Key.") | |
539 | 547 | else throw("Invalid Asset1 or Asset2!") | |
540 | 548 | else throw("Asset1 cannot be equal to Asset2") | |
541 | 549 | else throw("liquidity is currently under maintenance.") | |
542 | 550 | else throw("dApp is currently under maintenance.") | |
543 | 551 | } | |
544 | 552 | ||
545 | 553 | ||
546 | 554 | ||
547 | 555 | @Callable(aa) | |
548 | - | func swap ( | |
556 | + | func swap (S,T) = { | |
549 | 557 | let aY = toBase58String(aa.caller.bytes) | |
550 | 558 | let Z = getBooleanValue(this, G) | |
551 | 559 | let aU = getBooleanValue(this, u) | |
552 | 560 | let bN = getBooleanValue(this, w) | |
553 | - | let bh = I( | |
561 | + | let bh = I(S, T) | |
554 | 562 | let M = L(bh) | |
555 | 563 | let J = aa.payments[0].assetId | |
556 | 564 | let bq = fromBase58String(getStringValue(this, A)) | |
557 | 565 | let br = fromBase58String(getStringValue(this, C)) | |
558 | 566 | let bs = fromBase58String(getStringValue(this, B)) | |
559 | 567 | let bt = fromBase58String(getStringValue(this, D)) | |
560 | 568 | let aW = fromBase58String(getStringValue(this, a)) | |
561 | 569 | let bu = fromBase58String(getStringValue(this, E)) | |
562 | - | let bO = getIntegerValue(this, ((I( | |
563 | - | let bP = getIntegerValue(this, ((I( | |
570 | + | let bO = getIntegerValue(this, ((I(S, T) + "_") + S)) | |
571 | + | let bP = getIntegerValue(this, ((I(S, T) + "_") + T)) | |
564 | 572 | let bQ = getIntegerValue(this, g) | |
565 | 573 | if (aU) | |
566 | 574 | then if (!(bN)) | |
567 | - | then if (if (!(( | |
568 | - | then if (W(J, | |
575 | + | then if (if (!((S == T))) | |
576 | + | then if (W(J, S, Z)) | |
569 | 577 | then true | |
570 | - | else W(J, | |
578 | + | else W(J, T, Z) | |
571 | 579 | else false) | |
572 | 580 | then if (if (if (if (if (if (if ((J == bq)) | |
573 | 581 | then true | |
574 | 582 | else (J == br)) | |
575 | 583 | then true | |
576 | 584 | else (J == bs)) | |
577 | 585 | then true | |
578 | 586 | else (J == bt)) | |
579 | 587 | then true | |
580 | 588 | else (J == aW)) | |
581 | 589 | then true | |
582 | 590 | else (J == bu)) | |
583 | 591 | then true | |
584 | 592 | else (J == H)) | |
585 | 593 | then if (!((M == 0))) | |
586 | 594 | then if ((aa.payments[1].assetId == aW)) | |
587 | 595 | then if ((aa.payments[1].amount == 300000)) | |
588 | 596 | then { | |
589 | - | let bR = if (!((J == fromBase58String( | |
597 | + | let bR = if (!((J == fromBase58String(S)))) | |
590 | 598 | then (bO / bP) | |
591 | 599 | else (bP / bO) | |
592 | 600 | let aL = (aa.payments[0].amount - ((aa.payments[0].amount * bQ) / (100 * i))) | |
593 | 601 | let bS = (aL * bR) | |
594 | - | [ScriptTransfer(Address(aa.caller.bytes), bS, if (( | |
602 | + | [ScriptTransfer(Address(aa.caller.bytes), bS, if ((T == F)) | |
595 | 603 | then H | |
596 | - | else fromBase58String( | |
604 | + | else fromBase58String(T)), IntegerEntry(T, (q(T) - bS)), IntegerEntry(((I(S, T) + "_") + T), (Q(I(S, T), T) - bS))] | |
597 | 605 | } | |
598 | 606 | else throw("Swap denied! 0.003 AxAi is required for the swap fee.") | |
599 | 607 | else throw("Invalid rate asset") | |
600 | 608 | else throw("Invalid Swap Key.") | |
601 | 609 | else throw("Invalid Asset1 or Asset2!") | |
602 | 610 | else throw("Asset1 cannot be equal to Asset2") | |
603 | 611 | else throw("Swap is currently under maintenance.") | |
604 | 612 | else throw("dApp is currently under maintenance.") | |
605 | 613 | } | |
606 | 614 | ||
607 | 615 | ||
608 | 616 | @Verifier(bT) | |
609 | 617 | func bU () = { | |
610 | 618 | let s = bT | |
611 | 619 | if ($isInstanceOf(s, "Order")) | |
612 | 620 | then { | |
613 | 621 | let bV = s | |
614 | 622 | true | |
615 | 623 | } | |
616 | 624 | else if ($isInstanceOf(s, "ExchangeTransaction")) | |
617 | 625 | then { | |
618 | 626 | let bW = s | |
619 | 627 | true | |
620 | 628 | } | |
621 | 629 | else sigVerify(bT.bodyBytes, bT.proofs[0], bT.senderPublicKey) | |
622 | 630 | } | |
623 | 631 |
github/deemru/w8io/026f985 117.59 ms ◑