tx · C7tb52V9rThThBmfYDVEQkcCTMr3C6FxXwYsL9seU54y 3MqXV381CXzs2JjPZh9VbL47gNz9aBNxdEt: -0.01400000 Waves 2022.03.29 15:37 [1985220] smart account 3MqXV381CXzs2JjPZh9VbL47gNz9aBNxdEt > SELF 0.00000000 Waves
{ "type": 13, "id": "C7tb52V9rThThBmfYDVEQkcCTMr3C6FxXwYsL9seU54y", "fee": 1400000, "feeAssetId": null, "timestamp": 1648557457078, "version": 2, "chainId": 84, "sender": "3MqXV381CXzs2JjPZh9VbL47gNz9aBNxdEt", "senderPublicKey": "DgYTTVMZQ9h4qHVivhHDAGGurMVQqMoyxJgEeiFzgbGV", "proofs": [ "49Wa5Nso5e6sB7FsuRsPSRaxN237AdSkAy9oUFCB9bHCsCsCkUSEpEjHmA83iWbmmwMzbY2m21wV9Vf1q7d4Upee", "2X8XwKyWVecd7Nhcx2aeaTegw2zmFP4B22oJ7AJJCHrqhF1s2qJLwQpVTYDk6KPhWDTNW5LVv1X959vdJEJrYyka" ], "script": "base64:AAIFAAAAAAAAACEIAhIAEgASBAoCAQESABIECgIBARIAEgASABIFCgMEAQgAAABSAAAAAAd2ZXJzaW9uAgAAAAUyLjAuMAAAAAAIa1ZlcnNpb24CAAAAB3ZlcnNpb24AAAAAB2tBY3RpdmUCAAAABmFjdGl2ZQAAAAAJa0Fzc2V0SWRBAgAAAApBX2Fzc2V0X2lkAAAAAAlrQXNzZXRJZEICAAAACkJfYXNzZXRfaWQAAAAACWtCYWxhbmNlQQIAAAAPQV9hc3NldF9iYWxhbmNlAAAAAAlrQmFsYW5jZUICAAAAD0JfYXNzZXRfYmFsYW5jZQAAAAANa1NoYXJlQXNzZXRJZAIAAAAOc2hhcmVfYXNzZXRfaWQAAAAAEWtTaGFyZUFzc2V0U3VwcGx5AgAAABJzaGFyZV9hc3NldF9zdXBwbHkAAAAABGtGZWUCAAAACmNvbW1pc3Npb24AAAAAEmtGZWVTY2FsZURlbGltaXRlcgIAAAAaY29tbWlzc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ABkAAAAAgUAAAASYWRtaW5QdWJLZXkxU2lnbmVkBQAAABJhZG1pblB1YktleTJTaWduZWQFAAAAEmFkbWluUHViS2V5M1NpZ25lZAAAAAAAAAAAAgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAANpbnYFAAAAByRtYXRjaDAEAAAAE2NhbGxUYWtlSW50b0FjY291bnQDCQAAAAAAAAIIBQAAAANpbnYAAAAEZEFwcAUAAAAEdGhpcwkAAAAAAAACCAUAAAADaW52AAAACGZ1bmN0aW9uAgAAABl0YWtlSW50b0FjY291bnRFeHRyYUZ1bmRzBwQAAAANc2lnbmVkQnlBZG1pbgMDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADGFkbWluUHViS2V5MQYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAxhZG1pblB1YktleTIGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAMYWRtaW5QdWJLZXkzBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACmFkbVN0YWtpbmcDAwUAAAATY2FsbFRha2VJbnRvQWNjb3VudAUAAAANc2lnbmVkQnlBZG1pbgcGBQAAABNtdWx0aVNpZ25lZEJ5QWRtaW5zBQAAABNtdWx0aVNpZ25lZEJ5QWRtaW5zjB0DmA==", "height": 1985220, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8R6ghfzMwqwoycsQsUynYpKyeTvgsUUPo3s6TRzZwnhf Next: none Diff:
Old | New | Differences | |
---|---|---|---|
229 | 229 | ||
230 | 230 | ||
231 | 231 | func aF (aG,aH,aI,aJ) = { | |
232 | - | let aK = ( | |
232 | + | let aK = (ad - ((ad * 1) / 10000000)) | |
233 | 233 | let aL = (aG - aH) | |
234 | 234 | let aB = (T + aI) | |
235 | 235 | let aC = (U + aI) | |
255 | 255 | then aD((T - aG), aC) | |
256 | 256 | else throw("Wrong asset in payment") | |
257 | 257 | if ((X > aS)) | |
258 | - | then if ((aK >= fraction( | |
258 | + | then if ((aK >= fraction(ad, X, aS))) | |
259 | 259 | then throw("The requested price is too not profitable for user") | |
260 | 260 | else { | |
261 | 261 | let aT = { | |
294 | 294 | let bb = if ((0 > aT._1)) | |
295 | 295 | then $Tuple2(aG, aS) | |
296 | 296 | else aT | |
297 | - | if ((aK >= fraction( | |
297 | + | if ((aK >= fraction(ad, X, bb._2))) | |
298 | 298 | then throw("The requested price is too not profitable for user") | |
299 | 299 | else bb._1 | |
300 | 300 | } | |
507 | 507 | then bk() | |
508 | 508 | else { | |
509 | 509 | let cv = if ((ck == N)) | |
510 | - | then $ | |
511 | - | else $ | |
510 | + | then $Tuple6((cj - cg), ch, (T + cg), (U - ch), (T + cj), U) | |
511 | + | else $Tuple6(ch, (cj - cg), (T - ch), (U + cg), T, (U + cj)) | |
512 | 512 | let cw = cv._1 | |
513 | 513 | let cx = cv._2 | |
514 | 514 | let cy = cv._3 | |
515 | 515 | let cz = cv._4 | |
516 | - | let bT = cv._5 | |
517 | - | let cA = cv._6 | |
518 | - | let cB = cv._7 | |
519 | - | let cC = if ((ck == N)) | |
520 | - | then IntegerEntry(f, cA) | |
521 | - | else IntegerEntry(g, cB) | |
522 | - | let cD = aD(cy, cz) | |
523 | - | let cE = fraction(ac, X, cD) | |
524 | - | let cF = (fraction((ac * ac), cy, cz) / fraction(ac, cw, cx)) | |
525 | - | let cG = fraction((cA + cB), ag, (2 * ah)) | |
526 | - | if (if ((cu >= cE)) | |
516 | + | let cA = cv._5 | |
517 | + | let cB = cv._6 | |
518 | + | let cC = aD(cy, cz) | |
519 | + | let cD = (fraction((ac * ac), cy, cz) / fraction(ac, cw, cx)) | |
520 | + | let cE = fraction((cA + cB), ag, (2 * ah)) | |
521 | + | if (if ((cu >= fraction(ac, X, cC))) | |
527 | 522 | then true | |
528 | - | else (X > | |
529 | - | then throw( | |
530 | - | else if (if ((cs > | |
523 | + | else (X > cC)) | |
524 | + | then throw("Incorrect virtualSwapTokenPay or virtualSwapTokenGet value") | |
525 | + | else if (if ((cs > cD)) | |
531 | 526 | then true | |
532 | - | else ( | |
527 | + | else (cD > ct)) | |
533 | 528 | then throw("Swap with virtualSwapTokenPay and virtualSwapTokenGet is possible, but ratio after virtual swap is incorrect") | |
534 | - | else if (if (( | |
529 | + | else if (if ((cE > cA)) | |
535 | 530 | then true | |
536 | - | else ( | |
537 | - | then bm( | |
531 | + | else (cE > cB)) | |
532 | + | then bm(cE, cA, cB) | |
538 | 533 | else { | |
534 | + | let bW = fraction(cw, ac, cy) | |
535 | + | let bX = fraction(cx, ac, cz) | |
536 | + | let cf = fraction(min([bW, bX]), W, ac) | |
537 | + | let cF = fraction(cf, (aa - (Y / 2)), aa) | |
538 | + | let cG = fraction(cf, (Z / 2), aa) | |
539 | + | let cH = fraction(cG, T, W) | |
540 | + | let cI = fraction(cG, U, W) | |
541 | + | let cJ = if ((cm == L)) | |
542 | + | then $Tuple3((cj - cH), cI, M) | |
543 | + | else $Tuple3((cj - cI), cH, L) | |
544 | + | let cK = cJ._1 | |
545 | + | let cL = cJ._2 | |
546 | + | let cM = cJ._3 | |
539 | 547 | let bU = if (containsElement(H, cm)) | |
540 | - | then invoke(this, "stakeUnstake", [true, | |
548 | + | then invoke(this, "stakeUnstake", [true, cK, cm], nil) | |
541 | 549 | else 0 | |
542 | 550 | if ((bU == bU)) | |
543 | 551 | then { | |
544 | - | let bW = fraction(cw, ac, cy) | |
545 | - | let bX = fraction(cx, ac, cz) | |
546 | - | let cf = fraction(min([bW, bX]), W, ac) | |
547 | - | [Reissue(V, cf, true), ScriptTransfer(as.caller, cf, V), IntegerEntry(i, (W + cf)), cC, IntegerEntry(l, bT)] | |
552 | + | let bV = if (containsElement(H, cM)) | |
553 | + | then invoke(this, "stakeUnstake", [false, cL, cM], nil) | |
554 | + | else 0 | |
555 | + | if ((bV == bV)) | |
556 | + | then [Reissue(V, cF, true), ScriptTransfer(as.caller, cF, V), ScriptTransfer(E, cH, N), ScriptTransfer(E, cI, O), IntegerEntry(f, (cA - cH)), IntegerEntry(g, (cB - cI)), IntegerEntry(i, (W + cF)), IntegerEntry(l, aD((cA - cH), (cB - cI)))] | |
557 | + | else throw("Strict value is not equal to itself.") | |
548 | 558 | } | |
549 | 559 | else throw("Strict value is not equal to itself.") | |
550 | 560 | } | |
555 | 565 | ||
556 | 566 | @Callable(as) | |
557 | 567 | func withdraw () = valueOrElse(bi(), { | |
558 | - | let | |
559 | - | let cj = | |
560 | - | let ck = | |
561 | - | let | |
562 | - | let | |
563 | - | let bT = aD((T - | |
568 | + | let cN = $Tuple2(as.payments[0].amount, as.payments[0].assetId) | |
569 | + | let cj = cN._1 | |
570 | + | let ck = cN._2 | |
571 | + | let cO = fraction(cj, T, W) | |
572 | + | let cP = fraction(cj, U, W) | |
573 | + | let bT = aD((T - cO), (U - cP)) | |
564 | 574 | if ((size(as.payments) != 1)) | |
565 | 575 | then bl() | |
566 | 576 | else if ((ck != V)) | |
569 | 579 | then ([ScriptTransfer(as.caller, cj, ck)] ++ bq()) | |
570 | 580 | else { | |
571 | 581 | let bU = if (containsElement(H, L)) | |
572 | - | then invoke(this, "stakeUnstake", [false, | |
582 | + | then invoke(this, "stakeUnstake", [false, cO, L], nil) | |
573 | 583 | else 0 | |
574 | 584 | if ((bU == bU)) | |
575 | 585 | then { | |
576 | 586 | let bV = if (containsElement(H, M)) | |
577 | - | then invoke(this, "stakeUnstake", [false, | |
587 | + | then invoke(this, "stakeUnstake", [false, cP, M], nil) | |
578 | 588 | else 0 | |
579 | 589 | if ((bV == bV)) | |
580 | - | then [IntegerEntry(f, (T - | |
590 | + | then [IntegerEntry(f, (T - cO)), IntegerEntry(g, (U - cP)), IntegerEntry(i, (W - cj)), IntegerEntry(l, bT), Burn(V, cj), ScriptTransfer(as.caller, cO, N), ScriptTransfer(as.caller, cP, O)] | |
581 | 591 | else throw("Strict value is not equal to itself.") | |
582 | 592 | } | |
583 | 593 | else throw("Strict value is not equal to itself.") | |
587 | 597 | ||
588 | 598 | ||
589 | 599 | @Callable(as) | |
590 | - | func exchange ( | |
591 | - | let | |
592 | - | let cj = | |
593 | - | let ck = | |
594 | - | if ((0 >= | |
595 | - | then throw(("Estimated amount must be positive. Actual: " + toString( | |
596 | - | else if (( | |
597 | - | then throw | |
600 | + | func exchange (cQ,cR) = valueOrElse(bi(), { | |
601 | + | let cS = $Tuple2(as.payments[0].amount, as.payments[0].assetId) | |
602 | + | let cj = cS._1 | |
603 | + | let ck = cS._2 | |
604 | + | if ((0 >= cQ)) | |
605 | + | then throw(("Estimated amount must be positive. Actual: " + toString(cQ))) | |
606 | + | else if ((cR > cQ)) | |
607 | + | then throw("Minimal amount can't be greater than estimated.") | |
598 | 608 | else if ((size(as.payments) != 1)) | |
599 | 609 | then bl() | |
600 | 610 | else if (!(az)) | |
605 | 615 | then bk() | |
606 | 616 | else if ((10000000 > cj)) | |
607 | 617 | then throw("Only swap of 10.000000 or more tokens is allowed") | |
608 | - | else if (if ((ai > fraction(ac, | |
618 | + | else if (if ((ai > fraction(ac, cR, cj))) | |
609 | 619 | then true | |
610 | - | else (fraction(ac, | |
620 | + | else (fraction(ac, cQ, cj) > aj)) | |
611 | 621 | then throw("Incorrect args and pmt ratio") | |
612 | 622 | else { | |
613 | - | let | |
623 | + | let cT = if ((ck == N)) | |
614 | 624 | then O | |
615 | 625 | else N | |
616 | - | let bu = aF( | |
617 | - | let | |
618 | - | let | |
619 | - | let | |
620 | - | then $Tuple2((T + cj), ((U - | |
621 | - | else $Tuple2(((T - | |
622 | - | let cA = | |
623 | - | let cB = | |
624 | - | let | |
625 | - | if (if (( | |
626 | + | let bu = aF(cQ, cR, cj, ck) | |
627 | + | let cU = fraction(bu, Z, aa) | |
628 | + | let cV = fraction(bu, (aa - Y), aa) | |
629 | + | let cW = if ((ck == N)) | |
630 | + | then $Tuple2((T + cj), ((U - cV) - cU)) | |
631 | + | else $Tuple2(((T - cV) - cU), (U + cj)) | |
632 | + | let cA = cW._1 | |
633 | + | let cB = cW._2 | |
634 | + | let cE = fraction((cA + cB), ag, (2 * ah)) | |
635 | + | if (if ((cE > cA)) | |
626 | 636 | then true | |
627 | - | else ( | |
628 | - | then bm( | |
637 | + | else (cE > cB)) | |
638 | + | then bm(cE, cA, cB) | |
629 | 639 | else { | |
630 | - | let | |
631 | - | let cm = | |
632 | - | let cn = | |
633 | - | let co = | |
634 | - | let | |
635 | - | let | |
636 | - | let | |
637 | - | let | |
640 | + | let cX = bc(ck) | |
641 | + | let cm = cX._1 | |
642 | + | let cn = cX._2 | |
643 | + | let co = cX._3 | |
644 | + | let cY = bc(cT) | |
645 | + | let cZ = cY._1 | |
646 | + | let da = cY._2 | |
647 | + | let db = cY._3 | |
638 | 648 | let bU = if (containsElement(H, cm)) | |
639 | 649 | then invoke(this, "stakeUnstake", [true, cj, cm], nil) | |
640 | 650 | else 0 | |
641 | 651 | if ((bU == bU)) | |
642 | 652 | then { | |
643 | - | let bV = if (containsElement(H, | |
644 | - | then invoke(this, "stakeUnstake", [false, ( | |
653 | + | let bV = if (containsElement(H, cZ)) | |
654 | + | then invoke(this, "stakeUnstake", [false, (cV + cU), cZ], nil) | |
645 | 655 | else 0 | |
646 | 656 | if ((bV == bV)) | |
647 | - | then [IntegerEntry(f, cA), IntegerEntry(g, cB), IntegerEntry(l, aD(cA, cB)), ScriptTransfer(as.caller, | |
657 | + | then [IntegerEntry(f, cA), IntegerEntry(g, cB), IntegerEntry(l, aD(cA, cB)), ScriptTransfer(as.caller, cV, cT), ScriptTransfer(E, cU, cT)] | |
648 | 658 | else throw("Strict value is not equal to itself.") | |
649 | 659 | } | |
650 | 660 | else throw("Strict value is not equal to itself.") | |
670 | 680 | ||
671 | 681 | @Callable(as) | |
672 | 682 | func takeIntoAccountExtraFunds () = valueOrElse(bi(), { | |
673 | - | let | |
674 | - | let | |
675 | - | let | |
683 | + | let dc = (ax - T) | |
684 | + | let dd = (ay - U) | |
685 | + | let cC = aD((T + dc), (U + dd)) | |
676 | 686 | if ((as.caller != E)) | |
677 | 687 | then throw("Only the wallet can call this function") | |
678 | - | else if (if ((0 > | |
688 | + | else if (if ((0 > dc)) | |
679 | 689 | then true | |
680 | - | else (0 > | |
690 | + | else (0 > dd)) | |
681 | 691 | then bf("Enroll amount negative") | |
682 | - | else if (if (( | |
683 | - | then ( | |
692 | + | else if (if ((dc == 0)) | |
693 | + | then (dd == 0) | |
684 | 694 | else false) | |
685 | 695 | then throw("No money to take") | |
686 | 696 | else { | |
687 | 697 | let bU = if (if (containsElement(H, L)) | |
688 | - | then ( | |
698 | + | then (dc > 0) | |
689 | 699 | else false) | |
690 | - | then invoke(this, "stakeUnstake", [true, | |
700 | + | then invoke(this, "stakeUnstake", [true, dc, L], nil) | |
691 | 701 | else 0 | |
692 | 702 | if ((bU == bU)) | |
693 | 703 | then { | |
694 | 704 | let bV = if (if (containsElement(H, M)) | |
695 | - | then ( | |
705 | + | then (dd > 0) | |
696 | 706 | else false) | |
697 | - | then invoke(this, "stakeUnstake", [true, | |
707 | + | then invoke(this, "stakeUnstake", [true, dd, M], nil) | |
698 | 708 | else 0 | |
699 | 709 | if ((bV == bV)) | |
700 | - | then [IntegerEntry(l, | |
710 | + | then [IntegerEntry(l, cC), IntegerEntry(f, (T + dc)), IntegerEntry(g, (U + dd)), IntegerEntry(("last_income_" + L), dc), IntegerEntry(("last_income_" + M), dd)] | |
701 | 711 | else throw("Strict value is not equal to itself.") | |
702 | 712 | } | |
703 | 713 | else throw("Strict value is not equal to itself.") | |
707 | 717 | ||
708 | 718 | ||
709 | 719 | @Callable(as) | |
710 | - | func stakeUnstake (bs,bu, | |
720 | + | func stakeUnstake (bs,bu,de) = if ((as.caller != this)) | |
711 | 721 | then throw("Only contract itself can invoke this function") | |
712 | 722 | else { | |
713 | - | let | |
714 | - | let bw = | |
715 | - | let | |
716 | - | let | |
717 | - | let | |
718 | - | let | |
719 | - | if (( | |
723 | + | let df = bt(bs, bu, fromBase58String(de)) | |
724 | + | let bw = df._1 | |
725 | + | let dg = df._2 | |
726 | + | let dh = df._3 | |
727 | + | let di = df._4 | |
728 | + | let dj = invoke(dg, bw, dh, di) | |
729 | + | if ((dj == dj)) | |
720 | 730 | then nil | |
721 | 731 | else throw("Strict value is not equal to itself.") | |
722 | 732 | } | |
723 | 733 | ||
724 | 734 | ||
725 | - | @Verifier( | |
726 | - | func | |
727 | - | let | |
728 | - | let | |
735 | + | @Verifier(dk) | |
736 | + | func dl () = { | |
737 | + | let dm = { | |
738 | + | let dn = if (sigVerify(dk.bodyBytes, dk.proofs[0], z)) | |
729 | 739 | then 1 | |
730 | 740 | else 0 | |
731 | - | let | |
741 | + | let do = if (sigVerify(dk.bodyBytes, dk.proofs[1], A)) | |
732 | 742 | then 1 | |
733 | 743 | else 0 | |
734 | - | let | |
744 | + | let dp = if (sigVerify(dk.bodyBytes, dk.proofs[2], B)) | |
735 | 745 | then 1 | |
736 | 746 | else 0 | |
737 | - | ((( | |
747 | + | (((dn + do) + dp) >= 2) | |
738 | 748 | } | |
739 | - | let w = | |
749 | + | let w = dk | |
740 | 750 | if ($isInstanceOf(w, "InvokeScriptTransaction")) | |
741 | 751 | then { | |
742 | - | let | |
743 | - | let | |
744 | - | then ( | |
752 | + | let dj = w | |
753 | + | let dq = if ((dj.dApp == this)) | |
754 | + | then (dj.function == "takeIntoAccountExtraFunds") | |
745 | 755 | else false | |
746 | - | let | |
756 | + | let dr = if (if (if (sigVerify(dk.bodyBytes, dk.proofs[0], z)) | |
747 | 757 | then true | |
748 | - | else sigVerify( | |
758 | + | else sigVerify(dk.bodyBytes, dk.proofs[0], A)) | |
749 | 759 | then true | |
750 | - | else sigVerify( | |
760 | + | else sigVerify(dk.bodyBytes, dk.proofs[0], B)) | |
751 | 761 | then true | |
752 | - | else sigVerify( | |
753 | - | if (if ( | |
754 | - | then | |
762 | + | else sigVerify(dk.bodyBytes, dk.proofs[0], D) | |
763 | + | if (if (dq) | |
764 | + | then dr | |
755 | 765 | else false) | |
756 | 766 | then true | |
757 | - | else | |
767 | + | else dm | |
758 | 768 | } | |
759 | - | else | |
769 | + | else dm | |
760 | 770 | } | |
761 | 771 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "2.0.0" | |
5 | 5 | ||
6 | 6 | let b = "version" | |
7 | 7 | ||
8 | 8 | let c = "active" | |
9 | 9 | ||
10 | 10 | let d = "A_asset_id" | |
11 | 11 | ||
12 | 12 | let e = "B_asset_id" | |
13 | 13 | ||
14 | 14 | let f = "A_asset_balance" | |
15 | 15 | ||
16 | 16 | let g = "B_asset_balance" | |
17 | 17 | ||
18 | 18 | let h = "share_asset_id" | |
19 | 19 | ||
20 | 20 | let i = "share_asset_supply" | |
21 | 21 | ||
22 | 22 | let j = "commission" | |
23 | 23 | ||
24 | 24 | let k = "commission_scale_delimiter" | |
25 | 25 | ||
26 | 26 | let l = "invariant" | |
27 | 27 | ||
28 | 28 | let m = "shutdown_cause" | |
29 | 29 | ||
30 | 30 | let n = "staking_usdnnsbt_address" | |
31 | 31 | ||
32 | 32 | let o = "staking_eurn_address" | |
33 | 33 | ||
34 | 34 | let p = "admin_pub_1" | |
35 | 35 | ||
36 | 36 | let q = "admin_pub_2" | |
37 | 37 | ||
38 | 38 | let r = "admin_pub_3" | |
39 | 39 | ||
40 | 40 | let s = Address(base58'3N77kfPbQyjXWpDALX3xjKw3iEGMWEctV37') | |
41 | 41 | ||
42 | 42 | let t = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9') | |
43 | 43 | ||
44 | 44 | func u (v) = { | |
45 | 45 | let w = getString(t, v) | |
46 | 46 | if ($isInstanceOf(w, "String")) | |
47 | 47 | then { | |
48 | 48 | let x = w | |
49 | 49 | fromBase58String(x) | |
50 | 50 | } | |
51 | 51 | else { | |
52 | 52 | let y = w | |
53 | 53 | throw("Admin public key is empty") | |
54 | 54 | } | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | let z = u(p) | |
59 | 59 | ||
60 | 60 | let A = u(q) | |
61 | 61 | ||
62 | 62 | let B = u(r) | |
63 | 63 | ||
64 | 64 | let C = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
65 | 65 | ||
66 | 66 | let D = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
67 | 67 | ||
68 | 68 | let E = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4') | |
69 | 69 | ||
70 | 70 | let F = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
71 | 71 | ||
72 | 72 | let G = base58'ECBCkHS68DckpBrzLeoRgYbFg7sCVqR176mPqbXsj9pA' | |
73 | 73 | ||
74 | 74 | let H = [toBase58String(F), toBase58String(G)] | |
75 | 75 | ||
76 | 76 | let I = Address(fromBase58String(valueOrErrorMessage(getString(t, n), "no usdn staking address"))) | |
77 | 77 | ||
78 | 78 | let J = Address(fromBase58String(valueOrErrorMessage(getString(t, o), "no usdn staking address"))) | |
79 | 79 | ||
80 | 80 | let K = getBooleanValue(this, c) | |
81 | 81 | ||
82 | 82 | let L = getStringValue(this, d) | |
83 | 83 | ||
84 | 84 | let M = getStringValue(this, e) | |
85 | 85 | ||
86 | 86 | let N = if ((L == "WAVES")) | |
87 | 87 | then unit | |
88 | 88 | else fromBase58String(L) | |
89 | 89 | ||
90 | 90 | let O = if ((M == "WAVES")) | |
91 | 91 | then unit | |
92 | 92 | else fromBase58String(M) | |
93 | 93 | ||
94 | 94 | let P = { | |
95 | 95 | let w = N | |
96 | 96 | if ($isInstanceOf(w, "ByteVector")) | |
97 | 97 | then { | |
98 | 98 | let Q = w | |
99 | 99 | value(assetInfo(Q)).name | |
100 | 100 | } | |
101 | 101 | else if ($isInstanceOf(w, "Unit")) | |
102 | 102 | then { | |
103 | 103 | let R = w | |
104 | 104 | "WAVES" | |
105 | 105 | } | |
106 | 106 | else throw("Match error") | |
107 | 107 | } | |
108 | 108 | ||
109 | 109 | let S = { | |
110 | 110 | let w = O | |
111 | 111 | if ($isInstanceOf(w, "ByteVector")) | |
112 | 112 | then { | |
113 | 113 | let Q = w | |
114 | 114 | value(assetInfo(Q)).name | |
115 | 115 | } | |
116 | 116 | else if ($isInstanceOf(w, "Unit")) | |
117 | 117 | then { | |
118 | 118 | let R = w | |
119 | 119 | "WAVES" | |
120 | 120 | } | |
121 | 121 | else throw("Match error") | |
122 | 122 | } | |
123 | 123 | ||
124 | 124 | let T = getIntegerValue(this, f) | |
125 | 125 | ||
126 | 126 | let U = getIntegerValue(this, g) | |
127 | 127 | ||
128 | 128 | let V = fromBase58String(getStringValue(this, h)) | |
129 | 129 | ||
130 | 130 | let W = getIntegerValue(this, i) | |
131 | 131 | ||
132 | 132 | let X = getIntegerValue(this, l) | |
133 | 133 | ||
134 | 134 | let Y = 500 | |
135 | 135 | ||
136 | 136 | let Z = 200 | |
137 | 137 | ||
138 | 138 | let aa = 1000000 | |
139 | 139 | ||
140 | 140 | let ab = 1000 | |
141 | 141 | ||
142 | 142 | let ac = 100000000 | |
143 | 143 | ||
144 | 144 | let ad = 10000000000000000 | |
145 | 145 | ||
146 | 146 | let ae = 1000 | |
147 | 147 | ||
148 | 148 | let af = 8 | |
149 | 149 | ||
150 | 150 | let ag = 50 | |
151 | 151 | ||
152 | 152 | let ah = 100 | |
153 | 153 | ||
154 | 154 | let ai = 90000000 | |
155 | 155 | ||
156 | 156 | let aj = 110000000 | |
157 | 157 | ||
158 | 158 | let ak = 50 | |
159 | 159 | ||
160 | 160 | let al = 2 | |
161 | 161 | ||
162 | 162 | let am = 4600000000000000 | |
163 | 163 | ||
164 | 164 | func an (ao) = { | |
165 | 165 | let w = ao | |
166 | 166 | if ($isInstanceOf(w, "ByteVector")) | |
167 | 167 | then { | |
168 | 168 | let Q = w | |
169 | 169 | assetBalance(this, Q) | |
170 | 170 | } | |
171 | 171 | else if ($isInstanceOf(w, "Unit")) | |
172 | 172 | then { | |
173 | 173 | let R = w | |
174 | 174 | wavesBalance(this).available | |
175 | 175 | } | |
176 | 176 | else throw("Match error") | |
177 | 177 | } | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func ap (ao) = { | |
181 | 181 | let aq = { | |
182 | 182 | let w = ao | |
183 | 183 | if ($isInstanceOf(w, "ByteVector")) | |
184 | 184 | then { | |
185 | 185 | let ar = w | |
186 | 186 | if ((ar == F)) | |
187 | 187 | then getInteger(I, ((("rpd_balance_" + toBase58String(ar)) + "_") + toString(this))) | |
188 | 188 | else if ((ar == G)) | |
189 | 189 | then getInteger(J, ((("%s%s%s__stakingBalance__" + toBase58String(ar)) + "__") + toString(this))) | |
190 | 190 | else 0 | |
191 | 191 | } | |
192 | 192 | else if ($isInstanceOf(w, "Unit")) | |
193 | 193 | then 0 | |
194 | 194 | else throw("Match error") | |
195 | 195 | } | |
196 | 196 | let w = aq | |
197 | 197 | if ($isInstanceOf(w, "Int")) | |
198 | 198 | then { | |
199 | 199 | let as = w | |
200 | 200 | as | |
201 | 201 | } | |
202 | 202 | else 0 | |
203 | 203 | } | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | let at = ap(N) | |
207 | 207 | ||
208 | 208 | let au = ap(O) | |
209 | 209 | ||
210 | 210 | let av = (T - at) | |
211 | 211 | ||
212 | 212 | let aw = (U - au) | |
213 | 213 | ||
214 | 214 | let ax = (an(N) + at) | |
215 | 215 | ||
216 | 216 | let ay = (an(O) + au) | |
217 | 217 | ||
218 | 218 | let az = if ((ax >= T)) | |
219 | 219 | then (ay >= U) | |
220 | 220 | else false | |
221 | 221 | ||
222 | 222 | func aA (aB,aC) = ((fraction(ad, aB, aC) + fraction(ad, aC, aB)) / 2) | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func aD (aB,aC) = { | |
226 | 226 | let aE = aA(aB, aC) | |
227 | 227 | (fraction((aB + aC), ad, pow(aE, af, ak, al, af, CEILING)) + (2 * fraction(toInt(pow(fraction(toBigInt(aB), toBigInt(aC), toBigInt(ac)), 0, toBigInt(5), 1, (af / 2), DOWN)), pow((aE - am), af, ak, al, af, DOWN), ac))) | |
228 | 228 | } | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func aF (aG,aH,aI,aJ) = { | |
232 | - | let aK = ( | |
232 | + | let aK = (ad - ((ad * 1) / 10000000)) | |
233 | 233 | let aL = (aG - aH) | |
234 | 234 | let aB = (T + aI) | |
235 | 235 | let aC = (U + aI) | |
236 | 236 | func aM (aN,aO) = if ((aN._1 == -1)) | |
237 | 237 | then { | |
238 | 238 | let aP = (aG - (((aO * aL) / 3) / ab)) | |
239 | 239 | let aQ = if ((aJ == N)) | |
240 | 240 | then aD(aB, (U - aP)) | |
241 | 241 | else aD((T - aP), aC) | |
242 | 242 | if ((aQ > X)) | |
243 | 243 | then $Tuple2(aP, aQ) | |
244 | 244 | else $Tuple2(-1, 0) | |
245 | 245 | } | |
246 | 246 | else aN | |
247 | 247 | ||
248 | 248 | let aR = aM($Tuple2(-1, 0), 3000) | |
249 | 249 | if ((0 > aR._1)) | |
250 | 250 | then throw("Price is worse than minReceived") | |
251 | 251 | else { | |
252 | 252 | let aS = if ((aJ == N)) | |
253 | 253 | then aD(aB, (U - aG)) | |
254 | 254 | else if ((aJ == O)) | |
255 | 255 | then aD((T - aG), aC) | |
256 | 256 | else throw("Wrong asset in payment") | |
257 | 257 | if ((X > aS)) | |
258 | - | then if ((aK >= fraction( | |
258 | + | then if ((aK >= fraction(ad, X, aS))) | |
259 | 259 | then throw("The requested price is too not profitable for user") | |
260 | 260 | else { | |
261 | 261 | let aT = { | |
262 | 262 | let aU = [25, 200, 500] | |
263 | 263 | let aV = size(aU) | |
264 | 264 | let aW = $Tuple2(-1, 0) | |
265 | 265 | func aX (aY,aZ) = if ((aZ >= aV)) | |
266 | 266 | then aY | |
267 | 267 | else aM(aY, aU[aZ]) | |
268 | 268 | ||
269 | 269 | func ba (aY,aZ) = if ((aZ >= aV)) | |
270 | 270 | then aY | |
271 | 271 | else throw("List size exceeds 3") | |
272 | 272 | ||
273 | 273 | ba(aX(aX(aX(aW, 0), 1), 2), 3) | |
274 | 274 | } | |
275 | 275 | if ((0 > aT._1)) | |
276 | 276 | then aR._1 | |
277 | 277 | else aT._1 | |
278 | 278 | } | |
279 | 279 | else { | |
280 | 280 | let aT = { | |
281 | 281 | let aU = [-500, -200, -25] | |
282 | 282 | let aV = size(aU) | |
283 | 283 | let aW = $Tuple2(-1, 0) | |
284 | 284 | func aX (aY,aZ) = if ((aZ >= aV)) | |
285 | 285 | then aY | |
286 | 286 | else aM(aY, aU[aZ]) | |
287 | 287 | ||
288 | 288 | func ba (aY,aZ) = if ((aZ >= aV)) | |
289 | 289 | then aY | |
290 | 290 | else throw("List size exceeds 3") | |
291 | 291 | ||
292 | 292 | ba(aX(aX(aX(aW, 0), 1), 2), 3) | |
293 | 293 | } | |
294 | 294 | let bb = if ((0 > aT._1)) | |
295 | 295 | then $Tuple2(aG, aS) | |
296 | 296 | else aT | |
297 | - | if ((aK >= fraction( | |
297 | + | if ((aK >= fraction(ad, X, bb._2))) | |
298 | 298 | then throw("The requested price is too not profitable for user") | |
299 | 299 | else bb._1 | |
300 | 300 | } | |
301 | 301 | } | |
302 | 302 | } | |
303 | 303 | ||
304 | 304 | ||
305 | 305 | func bc (ao) = { | |
306 | 306 | let w = ao | |
307 | 307 | if ($isInstanceOf(w, "ByteVector")) | |
308 | 308 | then { | |
309 | 309 | let Q = w | |
310 | 310 | let bd = toBase58String(Q) | |
311 | 311 | let be = valueOrErrorMessage(assetInfo(Q), (("Asset " + bd) + " doesn't exist")) | |
312 | 312 | $Tuple3(bd, be.name, be.decimals) | |
313 | 313 | } | |
314 | 314 | else if ($isInstanceOf(w, "Unit")) | |
315 | 315 | then { | |
316 | 316 | let R = w | |
317 | 317 | $Tuple3("WAVES", "WAVES", 8) | |
318 | 318 | } | |
319 | 319 | else throw("Match error") | |
320 | 320 | } | |
321 | 321 | ||
322 | 322 | ||
323 | 323 | func bf (bg) = [BooleanEntry(c, false), StringEntry(m, bg)] | |
324 | 324 | ||
325 | 325 | ||
326 | 326 | func bh () = throw("DApp is already active") | |
327 | 327 | ||
328 | 328 | ||
329 | 329 | func bi () = if (K) | |
330 | 330 | then unit | |
331 | 331 | else throw("DApp is inactive at this moment") | |
332 | 332 | ||
333 | 333 | ||
334 | 334 | func bj (as) = if (containsElement([z, A, B], as.callerPublicKey)) | |
335 | 335 | then unit | |
336 | 336 | else throw("Only admin can call this function") | |
337 | 337 | ||
338 | 338 | ||
339 | 339 | func bk () = throw(((("Incorrect assets attached. Expected: " + L) + " and ") + M)) | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | func bl () = throw("One attached payment expected") | |
343 | 343 | ||
344 | 344 | ||
345 | 345 | func bm (bn,bo,bp) = throw(((((((((("New balance in assets of the DApp is less than threshold " + toString(bn)) + ": ") + toString(bo)) + " ") + P) + ", ") + toString(bp)) + " ") + S)) | |
346 | 346 | ||
347 | 347 | ||
348 | 348 | func bq () = bf(((((((((((((((("Suspicious state. Actual balances: " + toString(T)) + " ") + P) + ", ") + toString(U)) + " ") + S) + ". State: ") + toString(an(N))) + " ") + P) + ", ") + toString(an(O))) + " ") + S)) | |
349 | 349 | ||
350 | 350 | ||
351 | 351 | func br (bs,ao) = if (bs) | |
352 | 352 | then if ((ao == F)) | |
353 | 353 | then $Tuple2("lockNeutrino", I) | |
354 | 354 | else $Tuple2("startStaking", J) | |
355 | 355 | else if ((ao == F)) | |
356 | 356 | then $Tuple2("unlockNeutrino", I) | |
357 | 357 | else $Tuple2("stopStaking", J) | |
358 | 358 | ||
359 | 359 | ||
360 | 360 | func bt (bs,bu,ao) = if (bs) | |
361 | 361 | then { | |
362 | 362 | let bv = br(bs, ao) | |
363 | 363 | let bw = bv._1 | |
364 | 364 | let bx = bv._2 | |
365 | 365 | $Tuple4(bw, bx, nil, [AttachedPayment(ao, bu)]) | |
366 | 366 | } | |
367 | 367 | else { | |
368 | 368 | let by = br(bs, ao) | |
369 | 369 | let bw = by._1 | |
370 | 370 | let bx = by._2 | |
371 | 371 | $Tuple4(bw, bx, [bu, toBase58String(ao)], nil) | |
372 | 372 | } | |
373 | 373 | ||
374 | 374 | ||
375 | 375 | @Callable(as) | |
376 | 376 | func init () = { | |
377 | 377 | let bz = $Tuple2(as.payments[0].amount, as.payments[0].assetId) | |
378 | 378 | let bA = bz._1 | |
379 | 379 | let bB = bz._2 | |
380 | 380 | let bC = $Tuple2(as.payments[1].amount, as.payments[1].assetId) | |
381 | 381 | let bD = bC._1 | |
382 | 382 | let bE = bC._2 | |
383 | 383 | let bF = bc(bB) | |
384 | 384 | let bG = bF._1 | |
385 | 385 | let bH = bF._2 | |
386 | 386 | let bI = bF._3 | |
387 | 387 | let bJ = bc(bE) | |
388 | 388 | let bK = bJ._1 | |
389 | 389 | let bL = bJ._2 | |
390 | 390 | let bM = bJ._3 | |
391 | 391 | if (isDefined(getBoolean(this, c))) | |
392 | 392 | then bh() | |
393 | 393 | else if ((bB == bE)) | |
394 | 394 | then throw("Assets must be different") | |
395 | 395 | else { | |
396 | 396 | let bN = ((("s" + take(bH, 7)) + "_") + take(bL, 7)) | |
397 | 397 | let bO = ((((("ShareToken of SwopFi protocol for " + bH) + " and ") + bL) + " at address ") + toString(this)) | |
398 | 398 | let bP = ((bI + bM) / 2) | |
399 | 399 | let bQ = fraction(pow(bA, bI, 5, 1, bI, DOWN), pow(bD, bM, 5, 1, bM, DOWN), pow(10, 0, bP, 0, 0, DOWN)) | |
400 | 400 | let bR = Issue(bN, bO, bQ, bP, true) | |
401 | 401 | let bS = calculateAssetId(bR) | |
402 | 402 | let bT = aD(bA, bD) | |
403 | 403 | let bU = if (containsElement(H, bG)) | |
404 | 404 | then invoke(this, "stakeUnstake", [true, bA, bG], nil) | |
405 | 405 | else 0 | |
406 | 406 | if ((bU == bU)) | |
407 | 407 | then { | |
408 | 408 | let bV = if (containsElement(H, bK)) | |
409 | 409 | then invoke(this, "stakeUnstake", [true, bD, bK], nil) | |
410 | 410 | else 0 | |
411 | 411 | if ((bV == bV)) | |
412 | 412 | then [StringEntry(b, a), BooleanEntry(c, true), StringEntry(d, bG), StringEntry(e, bK), IntegerEntry(f, bA), IntegerEntry(g, bD), IntegerEntry(l, bT), IntegerEntry(j, Y), IntegerEntry(k, aa), bR, StringEntry(h, toBase58String(bS)), IntegerEntry(i, bQ), ScriptTransfer(as.caller, bQ, bS)] | |
413 | 413 | else throw("Strict value is not equal to itself.") | |
414 | 414 | } | |
415 | 415 | else throw("Strict value is not equal to itself.") | |
416 | 416 | } | |
417 | 417 | } | |
418 | 418 | ||
419 | 419 | ||
420 | 420 | ||
421 | 421 | @Callable(as) | |
422 | 422 | func replenishWithTwoTokens () = valueOrElse(bi(), { | |
423 | 423 | let bB = as.payments[0].assetId | |
424 | 424 | let bE = as.payments[1].assetId | |
425 | 425 | let bW = fraction(ac, as.payments[0].amount, T) | |
426 | 426 | let bX = fraction(ac, as.payments[1].amount, U) | |
427 | 427 | let bY = bc(bB) | |
428 | 428 | let bG = bY._1 | |
429 | 429 | let bH = bY._2 | |
430 | 430 | let bI = bY._3 | |
431 | 431 | let bZ = bc(bE) | |
432 | 432 | let bK = bZ._1 | |
433 | 433 | let bL = bZ._2 | |
434 | 434 | let bM = bZ._3 | |
435 | 435 | let ca = if ((bX > bW)) | |
436 | 436 | then { | |
437 | 437 | let cb = fraction(U, bW, ac, CEILING) | |
438 | 438 | $Tuple5(as.payments[0].amount, cb, (as.payments[1].amount - cb), bE, bW) | |
439 | 439 | } | |
440 | 440 | else { | |
441 | 441 | let cb = fraction(T, bX, ac, CEILING) | |
442 | 442 | $Tuple5(cb, as.payments[1].amount, (as.payments[0].amount - cb), bB, bX) | |
443 | 443 | } | |
444 | 444 | let bA = ca._1 | |
445 | 445 | let bD = ca._2 | |
446 | 446 | let cc = ca._3 | |
447 | 447 | let cd = ca._4 | |
448 | 448 | let ce = ca._5 | |
449 | 449 | let cf = fraction(ce, W, ac) | |
450 | 450 | if ((size(as.payments) != 2)) | |
451 | 451 | then throw("Two attached assets expected") | |
452 | 452 | else if (if ((bB != N)) | |
453 | 453 | then true | |
454 | 454 | else (bE != O)) | |
455 | 455 | then bk() | |
456 | 456 | else if ((cf == 0)) | |
457 | 457 | then throw("Too small amount to replenish") | |
458 | 458 | else if ((0 > cc)) | |
459 | 459 | then throw("Change < 0") | |
460 | 460 | else if (!(az)) | |
461 | 461 | then ([ScriptTransfer(as.caller, bA, bB), ScriptTransfer(as.caller, bD, bE)] ++ bq()) | |
462 | 462 | else { | |
463 | 463 | let bU = if (containsElement(H, bG)) | |
464 | 464 | then invoke(this, "stakeUnstake", [true, bA, bG], nil) | |
465 | 465 | else 0 | |
466 | 466 | if ((bU == bU)) | |
467 | 467 | then { | |
468 | 468 | let bV = if (containsElement(H, bK)) | |
469 | 469 | then invoke(this, "stakeUnstake", [true, bD, bK], nil) | |
470 | 470 | else 0 | |
471 | 471 | if ((bV == bV)) | |
472 | 472 | then [IntegerEntry(f, (T + bA)), IntegerEntry(g, (U + bD)), IntegerEntry(i, (W + cf)), IntegerEntry(l, aD((T + bA), (U + bD))), Reissue(V, cf, true), ScriptTransfer(as.caller, cf, V), ScriptTransfer(as.caller, cc, cd)] | |
473 | 473 | else throw("Strict value is not equal to itself.") | |
474 | 474 | } | |
475 | 475 | else throw("Strict value is not equal to itself.") | |
476 | 476 | } | |
477 | 477 | }) | |
478 | 478 | ||
479 | 479 | ||
480 | 480 | ||
481 | 481 | @Callable(as) | |
482 | 482 | func replenishWithOneToken (cg,ch) = valueOrElse(bi(), { | |
483 | 483 | let ci = $Tuple2(as.payments[0].amount, as.payments[0].assetId) | |
484 | 484 | let cj = ci._1 | |
485 | 485 | let ck = ci._2 | |
486 | 486 | let cl = bc(ck) | |
487 | 487 | let cm = cl._1 | |
488 | 488 | let cn = cl._2 | |
489 | 489 | let co = cl._3 | |
490 | 490 | let cp = 5000000 | |
491 | 491 | let cq = 50000000 | |
492 | 492 | let cr = if ((cq > cj)) | |
493 | 493 | then 100000 | |
494 | 494 | else 1 | |
495 | 495 | let cs = (ac - ((ac * cr) / 10000000)) | |
496 | 496 | let ct = (ac + ((ac * cr) / 10000000)) | |
497 | 497 | let cu = (ac - ((ac * 1) / 10000000)) | |
498 | 498 | if ((cp > cj)) | |
499 | 499 | then throw((((("Payment amount " + toString(cj)) + " does not exceed the minimum amount of ") + toString(cp)) + " tokens")) | |
500 | 500 | else if ((size(as.payments) != 1)) | |
501 | 501 | then bl() | |
502 | 502 | else if (!(az)) | |
503 | 503 | then ([ScriptTransfer(as.caller, cj, ck)] ++ bq()) | |
504 | 504 | else if (if ((ck != N)) | |
505 | 505 | then (ck != O) | |
506 | 506 | else false) | |
507 | 507 | then bk() | |
508 | 508 | else { | |
509 | 509 | let cv = if ((ck == N)) | |
510 | - | then $ | |
511 | - | else $ | |
510 | + | then $Tuple6((cj - cg), ch, (T + cg), (U - ch), (T + cj), U) | |
511 | + | else $Tuple6(ch, (cj - cg), (T - ch), (U + cg), T, (U + cj)) | |
512 | 512 | let cw = cv._1 | |
513 | 513 | let cx = cv._2 | |
514 | 514 | let cy = cv._3 | |
515 | 515 | let cz = cv._4 | |
516 | - | let bT = cv._5 | |
517 | - | let cA = cv._6 | |
518 | - | let cB = cv._7 | |
519 | - | let cC = if ((ck == N)) | |
520 | - | then IntegerEntry(f, cA) | |
521 | - | else IntegerEntry(g, cB) | |
522 | - | let cD = aD(cy, cz) | |
523 | - | let cE = fraction(ac, X, cD) | |
524 | - | let cF = (fraction((ac * ac), cy, cz) / fraction(ac, cw, cx)) | |
525 | - | let cG = fraction((cA + cB), ag, (2 * ah)) | |
526 | - | if (if ((cu >= cE)) | |
516 | + | let cA = cv._5 | |
517 | + | let cB = cv._6 | |
518 | + | let cC = aD(cy, cz) | |
519 | + | let cD = (fraction((ac * ac), cy, cz) / fraction(ac, cw, cx)) | |
520 | + | let cE = fraction((cA + cB), ag, (2 * ah)) | |
521 | + | if (if ((cu >= fraction(ac, X, cC))) | |
527 | 522 | then true | |
528 | - | else (X > | |
529 | - | then throw( | |
530 | - | else if (if ((cs > | |
523 | + | else (X > cC)) | |
524 | + | then throw("Incorrect virtualSwapTokenPay or virtualSwapTokenGet value") | |
525 | + | else if (if ((cs > cD)) | |
531 | 526 | then true | |
532 | - | else ( | |
527 | + | else (cD > ct)) | |
533 | 528 | then throw("Swap with virtualSwapTokenPay and virtualSwapTokenGet is possible, but ratio after virtual swap is incorrect") | |
534 | - | else if (if (( | |
529 | + | else if (if ((cE > cA)) | |
535 | 530 | then true | |
536 | - | else ( | |
537 | - | then bm( | |
531 | + | else (cE > cB)) | |
532 | + | then bm(cE, cA, cB) | |
538 | 533 | else { | |
534 | + | let bW = fraction(cw, ac, cy) | |
535 | + | let bX = fraction(cx, ac, cz) | |
536 | + | let cf = fraction(min([bW, bX]), W, ac) | |
537 | + | let cF = fraction(cf, (aa - (Y / 2)), aa) | |
538 | + | let cG = fraction(cf, (Z / 2), aa) | |
539 | + | let cH = fraction(cG, T, W) | |
540 | + | let cI = fraction(cG, U, W) | |
541 | + | let cJ = if ((cm == L)) | |
542 | + | then $Tuple3((cj - cH), cI, M) | |
543 | + | else $Tuple3((cj - cI), cH, L) | |
544 | + | let cK = cJ._1 | |
545 | + | let cL = cJ._2 | |
546 | + | let cM = cJ._3 | |
539 | 547 | let bU = if (containsElement(H, cm)) | |
540 | - | then invoke(this, "stakeUnstake", [true, | |
548 | + | then invoke(this, "stakeUnstake", [true, cK, cm], nil) | |
541 | 549 | else 0 | |
542 | 550 | if ((bU == bU)) | |
543 | 551 | then { | |
544 | - | let bW = fraction(cw, ac, cy) | |
545 | - | let bX = fraction(cx, ac, cz) | |
546 | - | let cf = fraction(min([bW, bX]), W, ac) | |
547 | - | [Reissue(V, cf, true), ScriptTransfer(as.caller, cf, V), IntegerEntry(i, (W + cf)), cC, IntegerEntry(l, bT)] | |
552 | + | let bV = if (containsElement(H, cM)) | |
553 | + | then invoke(this, "stakeUnstake", [false, cL, cM], nil) | |
554 | + | else 0 | |
555 | + | if ((bV == bV)) | |
556 | + | then [Reissue(V, cF, true), ScriptTransfer(as.caller, cF, V), ScriptTransfer(E, cH, N), ScriptTransfer(E, cI, O), IntegerEntry(f, (cA - cH)), IntegerEntry(g, (cB - cI)), IntegerEntry(i, (W + cF)), IntegerEntry(l, aD((cA - cH), (cB - cI)))] | |
557 | + | else throw("Strict value is not equal to itself.") | |
548 | 558 | } | |
549 | 559 | else throw("Strict value is not equal to itself.") | |
550 | 560 | } | |
551 | 561 | } | |
552 | 562 | }) | |
553 | 563 | ||
554 | 564 | ||
555 | 565 | ||
556 | 566 | @Callable(as) | |
557 | 567 | func withdraw () = valueOrElse(bi(), { | |
558 | - | let | |
559 | - | let cj = | |
560 | - | let ck = | |
561 | - | let | |
562 | - | let | |
563 | - | let bT = aD((T - | |
568 | + | let cN = $Tuple2(as.payments[0].amount, as.payments[0].assetId) | |
569 | + | let cj = cN._1 | |
570 | + | let ck = cN._2 | |
571 | + | let cO = fraction(cj, T, W) | |
572 | + | let cP = fraction(cj, U, W) | |
573 | + | let bT = aD((T - cO), (U - cP)) | |
564 | 574 | if ((size(as.payments) != 1)) | |
565 | 575 | then bl() | |
566 | 576 | else if ((ck != V)) | |
567 | 577 | then throw(("Incorrect asset attached. Expected: " + toBase58String(V))) | |
568 | 578 | else if (!(az)) | |
569 | 579 | then ([ScriptTransfer(as.caller, cj, ck)] ++ bq()) | |
570 | 580 | else { | |
571 | 581 | let bU = if (containsElement(H, L)) | |
572 | - | then invoke(this, "stakeUnstake", [false, | |
582 | + | then invoke(this, "stakeUnstake", [false, cO, L], nil) | |
573 | 583 | else 0 | |
574 | 584 | if ((bU == bU)) | |
575 | 585 | then { | |
576 | 586 | let bV = if (containsElement(H, M)) | |
577 | - | then invoke(this, "stakeUnstake", [false, | |
587 | + | then invoke(this, "stakeUnstake", [false, cP, M], nil) | |
578 | 588 | else 0 | |
579 | 589 | if ((bV == bV)) | |
580 | - | then [IntegerEntry(f, (T - | |
590 | + | then [IntegerEntry(f, (T - cO)), IntegerEntry(g, (U - cP)), IntegerEntry(i, (W - cj)), IntegerEntry(l, bT), Burn(V, cj), ScriptTransfer(as.caller, cO, N), ScriptTransfer(as.caller, cP, O)] | |
581 | 591 | else throw("Strict value is not equal to itself.") | |
582 | 592 | } | |
583 | 593 | else throw("Strict value is not equal to itself.") | |
584 | 594 | } | |
585 | 595 | }) | |
586 | 596 | ||
587 | 597 | ||
588 | 598 | ||
589 | 599 | @Callable(as) | |
590 | - | func exchange ( | |
591 | - | let | |
592 | - | let cj = | |
593 | - | let ck = | |
594 | - | if ((0 >= | |
595 | - | then throw(("Estimated amount must be positive. Actual: " + toString( | |
596 | - | else if (( | |
597 | - | then throw | |
600 | + | func exchange (cQ,cR) = valueOrElse(bi(), { | |
601 | + | let cS = $Tuple2(as.payments[0].amount, as.payments[0].assetId) | |
602 | + | let cj = cS._1 | |
603 | + | let ck = cS._2 | |
604 | + | if ((0 >= cQ)) | |
605 | + | then throw(("Estimated amount must be positive. Actual: " + toString(cQ))) | |
606 | + | else if ((cR > cQ)) | |
607 | + | then throw("Minimal amount can't be greater than estimated.") | |
598 | 608 | else if ((size(as.payments) != 1)) | |
599 | 609 | then bl() | |
600 | 610 | else if (!(az)) | |
601 | 611 | then ([ScriptTransfer(as.caller, cj, ck)] ++ bq()) | |
602 | 612 | else if (if ((ck != N)) | |
603 | 613 | then (ck != O) | |
604 | 614 | else false) | |
605 | 615 | then bk() | |
606 | 616 | else if ((10000000 > cj)) | |
607 | 617 | then throw("Only swap of 10.000000 or more tokens is allowed") | |
608 | - | else if (if ((ai > fraction(ac, | |
618 | + | else if (if ((ai > fraction(ac, cR, cj))) | |
609 | 619 | then true | |
610 | - | else (fraction(ac, | |
620 | + | else (fraction(ac, cQ, cj) > aj)) | |
611 | 621 | then throw("Incorrect args and pmt ratio") | |
612 | 622 | else { | |
613 | - | let | |
623 | + | let cT = if ((ck == N)) | |
614 | 624 | then O | |
615 | 625 | else N | |
616 | - | let bu = aF( | |
617 | - | let | |
618 | - | let | |
619 | - | let | |
620 | - | then $Tuple2((T + cj), ((U - | |
621 | - | else $Tuple2(((T - | |
622 | - | let cA = | |
623 | - | let cB = | |
624 | - | let | |
625 | - | if (if (( | |
626 | + | let bu = aF(cQ, cR, cj, ck) | |
627 | + | let cU = fraction(bu, Z, aa) | |
628 | + | let cV = fraction(bu, (aa - Y), aa) | |
629 | + | let cW = if ((ck == N)) | |
630 | + | then $Tuple2((T + cj), ((U - cV) - cU)) | |
631 | + | else $Tuple2(((T - cV) - cU), (U + cj)) | |
632 | + | let cA = cW._1 | |
633 | + | let cB = cW._2 | |
634 | + | let cE = fraction((cA + cB), ag, (2 * ah)) | |
635 | + | if (if ((cE > cA)) | |
626 | 636 | then true | |
627 | - | else ( | |
628 | - | then bm( | |
637 | + | else (cE > cB)) | |
638 | + | then bm(cE, cA, cB) | |
629 | 639 | else { | |
630 | - | let | |
631 | - | let cm = | |
632 | - | let cn = | |
633 | - | let co = | |
634 | - | let | |
635 | - | let | |
636 | - | let | |
637 | - | let | |
640 | + | let cX = bc(ck) | |
641 | + | let cm = cX._1 | |
642 | + | let cn = cX._2 | |
643 | + | let co = cX._3 | |
644 | + | let cY = bc(cT) | |
645 | + | let cZ = cY._1 | |
646 | + | let da = cY._2 | |
647 | + | let db = cY._3 | |
638 | 648 | let bU = if (containsElement(H, cm)) | |
639 | 649 | then invoke(this, "stakeUnstake", [true, cj, cm], nil) | |
640 | 650 | else 0 | |
641 | 651 | if ((bU == bU)) | |
642 | 652 | then { | |
643 | - | let bV = if (containsElement(H, | |
644 | - | then invoke(this, "stakeUnstake", [false, ( | |
653 | + | let bV = if (containsElement(H, cZ)) | |
654 | + | then invoke(this, "stakeUnstake", [false, (cV + cU), cZ], nil) | |
645 | 655 | else 0 | |
646 | 656 | if ((bV == bV)) | |
647 | - | then [IntegerEntry(f, cA), IntegerEntry(g, cB), IntegerEntry(l, aD(cA, cB)), ScriptTransfer(as.caller, | |
657 | + | then [IntegerEntry(f, cA), IntegerEntry(g, cB), IntegerEntry(l, aD(cA, cB)), ScriptTransfer(as.caller, cV, cT), ScriptTransfer(E, cU, cT)] | |
648 | 658 | else throw("Strict value is not equal to itself.") | |
649 | 659 | } | |
650 | 660 | else throw("Strict value is not equal to itself.") | |
651 | 661 | } | |
652 | 662 | } | |
653 | 663 | }) | |
654 | 664 | ||
655 | 665 | ||
656 | 666 | ||
657 | 667 | @Callable(as) | |
658 | 668 | func shutdown () = valueOrElse(bj(as), if (!(K)) | |
659 | 669 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, m), "the cause wasn't specified"))) | |
660 | 670 | else bf("Paused by admin")) | |
661 | 671 | ||
662 | 672 | ||
663 | 673 | ||
664 | 674 | @Callable(as) | |
665 | 675 | func activate () = valueOrElse(bj(as), if (K) | |
666 | 676 | then bh() | |
667 | 677 | else [BooleanEntry(c, true), DeleteEntry(m)]) | |
668 | 678 | ||
669 | 679 | ||
670 | 680 | ||
671 | 681 | @Callable(as) | |
672 | 682 | func takeIntoAccountExtraFunds () = valueOrElse(bi(), { | |
673 | - | let | |
674 | - | let | |
675 | - | let | |
683 | + | let dc = (ax - T) | |
684 | + | let dd = (ay - U) | |
685 | + | let cC = aD((T + dc), (U + dd)) | |
676 | 686 | if ((as.caller != E)) | |
677 | 687 | then throw("Only the wallet can call this function") | |
678 | - | else if (if ((0 > | |
688 | + | else if (if ((0 > dc)) | |
679 | 689 | then true | |
680 | - | else (0 > | |
690 | + | else (0 > dd)) | |
681 | 691 | then bf("Enroll amount negative") | |
682 | - | else if (if (( | |
683 | - | then ( | |
692 | + | else if (if ((dc == 0)) | |
693 | + | then (dd == 0) | |
684 | 694 | else false) | |
685 | 695 | then throw("No money to take") | |
686 | 696 | else { | |
687 | 697 | let bU = if (if (containsElement(H, L)) | |
688 | - | then ( | |
698 | + | then (dc > 0) | |
689 | 699 | else false) | |
690 | - | then invoke(this, "stakeUnstake", [true, | |
700 | + | then invoke(this, "stakeUnstake", [true, dc, L], nil) | |
691 | 701 | else 0 | |
692 | 702 | if ((bU == bU)) | |
693 | 703 | then { | |
694 | 704 | let bV = if (if (containsElement(H, M)) | |
695 | - | then ( | |
705 | + | then (dd > 0) | |
696 | 706 | else false) | |
697 | - | then invoke(this, "stakeUnstake", [true, | |
707 | + | then invoke(this, "stakeUnstake", [true, dd, M], nil) | |
698 | 708 | else 0 | |
699 | 709 | if ((bV == bV)) | |
700 | - | then [IntegerEntry(l, | |
710 | + | then [IntegerEntry(l, cC), IntegerEntry(f, (T + dc)), IntegerEntry(g, (U + dd)), IntegerEntry(("last_income_" + L), dc), IntegerEntry(("last_income_" + M), dd)] | |
701 | 711 | else throw("Strict value is not equal to itself.") | |
702 | 712 | } | |
703 | 713 | else throw("Strict value is not equal to itself.") | |
704 | 714 | } | |
705 | 715 | }) | |
706 | 716 | ||
707 | 717 | ||
708 | 718 | ||
709 | 719 | @Callable(as) | |
710 | - | func stakeUnstake (bs,bu, | |
720 | + | func stakeUnstake (bs,bu,de) = if ((as.caller != this)) | |
711 | 721 | then throw("Only contract itself can invoke this function") | |
712 | 722 | else { | |
713 | - | let | |
714 | - | let bw = | |
715 | - | let | |
716 | - | let | |
717 | - | let | |
718 | - | let | |
719 | - | if (( | |
723 | + | let df = bt(bs, bu, fromBase58String(de)) | |
724 | + | let bw = df._1 | |
725 | + | let dg = df._2 | |
726 | + | let dh = df._3 | |
727 | + | let di = df._4 | |
728 | + | let dj = invoke(dg, bw, dh, di) | |
729 | + | if ((dj == dj)) | |
720 | 730 | then nil | |
721 | 731 | else throw("Strict value is not equal to itself.") | |
722 | 732 | } | |
723 | 733 | ||
724 | 734 | ||
725 | - | @Verifier( | |
726 | - | func | |
727 | - | let | |
728 | - | let | |
735 | + | @Verifier(dk) | |
736 | + | func dl () = { | |
737 | + | let dm = { | |
738 | + | let dn = if (sigVerify(dk.bodyBytes, dk.proofs[0], z)) | |
729 | 739 | then 1 | |
730 | 740 | else 0 | |
731 | - | let | |
741 | + | let do = if (sigVerify(dk.bodyBytes, dk.proofs[1], A)) | |
732 | 742 | then 1 | |
733 | 743 | else 0 | |
734 | - | let | |
744 | + | let dp = if (sigVerify(dk.bodyBytes, dk.proofs[2], B)) | |
735 | 745 | then 1 | |
736 | 746 | else 0 | |
737 | - | ((( | |
747 | + | (((dn + do) + dp) >= 2) | |
738 | 748 | } | |
739 | - | let w = | |
749 | + | let w = dk | |
740 | 750 | if ($isInstanceOf(w, "InvokeScriptTransaction")) | |
741 | 751 | then { | |
742 | - | let | |
743 | - | let | |
744 | - | then ( | |
752 | + | let dj = w | |
753 | + | let dq = if ((dj.dApp == this)) | |
754 | + | then (dj.function == "takeIntoAccountExtraFunds") | |
745 | 755 | else false | |
746 | - | let | |
756 | + | let dr = if (if (if (sigVerify(dk.bodyBytes, dk.proofs[0], z)) | |
747 | 757 | then true | |
748 | - | else sigVerify( | |
758 | + | else sigVerify(dk.bodyBytes, dk.proofs[0], A)) | |
749 | 759 | then true | |
750 | - | else sigVerify( | |
760 | + | else sigVerify(dk.bodyBytes, dk.proofs[0], B)) | |
751 | 761 | then true | |
752 | - | else sigVerify( | |
753 | - | if (if ( | |
754 | - | then | |
762 | + | else sigVerify(dk.bodyBytes, dk.proofs[0], D) | |
763 | + | if (if (dq) | |
764 | + | then dr | |
755 | 765 | else false) | |
756 | 766 | then true | |
757 | - | else | |
767 | + | else dm | |
758 | 768 | } | |
759 | - | else | |
769 | + | else dm | |
760 | 770 | } | |
761 | 771 |
github/deemru/w8io/169f3d6 137.51 ms ◑