tx · CJ3TF2ncnaGaD7kABpBAmsHxh74RyPsSus7TuSwpwcgP 3MuCofTkjmv397dEuRXE3pZxTb4zDWa96uo: -0.06000000 Waves 2022.09.21 12:59 [2238744] smart account 3MuCofTkjmv397dEuRXE3pZxTb4zDWa96uo > SELF 0.00000000 Waves
{ "type": 13, "id": "CJ3TF2ncnaGaD7kABpBAmsHxh74RyPsSus7TuSwpwcgP", "fee": 6000000, "feeAssetId": null, "timestamp": 1663754394993, "version": 2, "chainId": 84, "sender": "3MuCofTkjmv397dEuRXE3pZxTb4zDWa96uo", "senderPublicKey": "HGKkqEdKKPVXHMq25FyB6nm1kyvrixu1a8Av6wc9t5CG", "proofs": [ "2kQzMTpQg8HjSX1kGwuecSFj9oYSSV1UST8wdFZ1FDTXssTUqpiUe6YVrd6jgys7aUwbvR8WmqYxd8tq5MetGjTP" ], "script": "base64:BgJvCAISABIAEgMKAQESAwoBARILCgkBAQEBAQEBAQESEAoOAQEBAQEBAQgICAEBAQESAwoBARIFCgMBAQESBgoEAQEBCBIAEgMKAQESABIDCgEIEgASBAoCCAESAwoBARIDCgEIEgMKAQgSAwoBARIAiAEACWtfb3JhX2tleQIJa19vcmFfa2V5AA9rX29yYV9ibG9ja19rZXkCD2tfb3JhX2Jsb2NrX2tleQAFa19vcmECBWtfb3JhAAlrX2JhbGFuY2UCCWtfYmFsYW5jZQAOa19wb3NpdGlvblNpemUCDmtfcG9zaXRpb25TaXplABBrX3Bvc2l0aW9uTWFyZ2luAhBrX3Bvc2l0aW9uTWFyZ2luABZrX3Bvc2l0aW9uT3Blbk5vdGlvbmFsAhZrX3Bvc2l0aW9uT3Blbk5vdGlvbmFsAC5rX3Bvc2l0aW9uTGFzdFVwZGF0ZWRDdW11bGF0aXZlUHJlbWl1bUZyYWN0aW9uAhJrX3Bvc2l0aW9uRnJhY3Rpb24AFGtfcG9zaXRpb25DbG9zZWREYXRlAhRrX3Bvc2l0aW9uQ2xvc2VkRGF0ZQANa19pbml0aWFsaXplZAIN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kAgUUc2hvcnRQcmVtaXVtRnJhY3Rpb24FD3VuZGVybHlpbmdQcmljZQkAAgEJAKwCAgkBAXMBBQtsb25nRnVuZGluZwkBAXMBBQxzaG9ydEZ1bmRpbmcBAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACQEOYWRtaW5QdWJsaWNLZXkAOgg+lg==", "height": 2238744, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: J68PxUYPz47WL64ij5ehnSXvWJfSUBa2YgGmV3WV9bud Next: 7rWVsYp68MHdRkwTSJofPtbk9x3zucckaQywP5rD5kTA Diff:
Old | New | Differences | |
---|---|---|---|
597 | 597 | } | |
598 | 598 | ||
599 | 599 | ||
600 | - | func ed (ee,ef,eg,eh,ei,ej,ek,el,em) = [IntegerEntry(n, ee), IntegerEntry(o, ef), IntegerEntry(p, eg), IntegerEntry(m, eh), IntegerEntry(l, ei), IntegerEntry(r, ej), IntegerEntry(s, ek), IntegerEntry(q, el), IntegerEntry(t, em)] | |
600 | + | func ed () = { | |
601 | + | let ee = cz() | |
602 | + | let ef = dG() | |
603 | + | let eg = (ef - ee) | |
604 | + | if (if ((bp() == 0)) | |
605 | + | then true | |
606 | + | else (bq() == 0)) | |
607 | + | then $Tuple2(0, 0) | |
608 | + | else if ((0 > eg)) | |
609 | + | then { | |
610 | + | let eh = ar(at(eg, bf()), al) | |
611 | + | let ei = ar(at(eh, bp()), bq()) | |
612 | + | $Tuple2(eh, ei) | |
613 | + | } | |
614 | + | else { | |
615 | + | let ei = ar(at(eg, bf()), al) | |
616 | + | let eh = ar(at(ei, bq()), bp()) | |
617 | + | $Tuple2(eh, ei) | |
618 | + | } | |
619 | + | } | |
601 | 620 | ||
602 | 621 | ||
603 | - | func | |
622 | + | func ej (ek,el,em,en,eo,ep,eq,er,es) = [IntegerEntry(n, ek), IntegerEntry(o, el), IntegerEntry(p, em), IntegerEntry(m, en), IntegerEntry(l, eo), IntegerEntry(r, ep), IntegerEntry(s, eq), IntegerEntry(q, er), IntegerEntry(t, es)] | |
604 | 623 | ||
605 | 624 | ||
606 | - | func et ( | |
625 | + | func et (eu,ev,ew,ex,ey) = [IntegerEntry(B, eu), IntegerEntry(z, ev), IntegerEntry(A, ew), IntegerEntry(C, ex), IntegerEntry(D, ey)] | |
607 | 626 | ||
608 | 627 | ||
609 | - | func ex (ey) = { | |
628 | + | func ez (ay,eA,eB,eC,cl) = [IntegerEntry(aw(e, ay), eA), IntegerEntry(aw(f, ay), eB), IntegerEntry(aw(g, ay), eC), IntegerEntry(aw(h, ay), cl)] | |
629 | + | ||
630 | + | ||
631 | + | func eD (eE) = { | |
610 | 632 | let dH = ((lastBlock.timestamp / 1000) / 60) | |
611 | - | let | |
612 | - | if (( | |
633 | + | let eF = valueOrElse(getInteger(this, v), 0) | |
634 | + | if ((eF > dH)) | |
613 | 635 | then throw("TWAP out-of-order") | |
614 | 636 | else { | |
615 | - | let dP = if (( | |
637 | + | let dP = if ((eF == 0)) | |
616 | 638 | then dH | |
617 | - | else | |
618 | - | if ((dH > | |
639 | + | else eF | |
640 | + | if ((dH > eF)) | |
619 | 641 | then { | |
620 | - | let | |
621 | - | let | |
622 | - | let | |
642 | + | let eG = valueOrElse(getInteger(this, ((w + "_") + toString(eF))), 0) | |
643 | + | let eH = valueOrElse(getInteger(this, ((x + "_") + toString(eF))), eE) | |
644 | + | let eI = (eG + ((dH - dP) * eH)) | |
623 | 645 | let dK = aQ(aO(valueOrElse(getString(this, u), "")), ah, toString(dH)) | |
624 | - | [IntegerEntry(aw(w, toString(dH)), | |
646 | + | [IntegerEntry(aw(w, toString(dH)), eI), IntegerEntry(aw(x, toString(dH)), eE), IntegerEntry(aw(y, toString(dH)), eF), IntegerEntry(v, dH), StringEntry(u, az(dK))] | |
625 | 647 | } | |
626 | 648 | else { | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | let | |
631 | - | [IntegerEntry(aw(w, toString(dH)), | |
649 | + | let eJ = valueOrElse(getInteger(this, aw(y, toString(dH))), 0) | |
650 | + | let eG = valueOrElse(getInteger(this, aw(w, toString(eJ))), 0) | |
651 | + | let eH = valueOrElse(getInteger(this, aw(x, toString(eJ))), eE) | |
652 | + | let eI = (eG + ((dH - eJ) * eH)) | |
653 | + | [IntegerEntry(aw(w, toString(dH)), eI), IntegerEntry(aw(x, toString(dH)), eE)] | |
632 | 654 | } | |
633 | 655 | } | |
634 | 656 | } | |
635 | 657 | ||
636 | 658 | ||
637 | - | func | |
659 | + | func eK (bP,bQ) = [IntegerEntry(E, bP), IntegerEntry(F, bQ)] | |
638 | 660 | ||
639 | 661 | ||
640 | - | func | |
641 | - | then throw(((((("Invalid AMM state data: " + toString( | |
642 | - | else (( | |
662 | + | func eL (bP,bQ,eM,eN,eO,eP,eQ) = if (((eP - eQ) != eM)) | |
663 | + | then throw(((((("Invalid AMM state data: " + toString(eP)) + " + ") + toString(eQ)) + " != ") + toString(eM))) | |
664 | + | else ((eK(bP, bQ) ++ [IntegerEntry(G, eM), IntegerEntry(J, eN), IntegerEntry(K, eO), IntegerEntry(H, eP), IntegerEntry(I, eQ)]) ++ eD(ar(bP, bQ))) | |
643 | 665 | ||
644 | 666 | ||
645 | - | func | |
667 | + | func eR (ay) = [DeleteEntry(aw(e, ay)), DeleteEntry(aw(f, ay)), DeleteEntry(aw(g, ay)), DeleteEntry(aw(h, ay)), IntegerEntry(aw(i, ay), lastBlock.timestamp)] | |
646 | 668 | ||
647 | 669 | ||
648 | - | func | |
649 | - | let | |
650 | - | if (( | |
651 | - | then throw(((("Unable to withdraw " + toString( | |
652 | - | else [ScriptTransfer(ay, | |
670 | + | func eS (ay,eT) = { | |
671 | + | let eU = assetBalance(this, Y()) | |
672 | + | if ((eT > eU)) | |
673 | + | then throw(((("Unable to withdraw " + toString(eT)) + " from contract balance ") + toString(eU))) | |
674 | + | else [ScriptTransfer(ay, eT, Y())] | |
653 | 675 | } | |
654 | 676 | ||
655 | 677 | ||
656 | - | func | |
678 | + | func eV (bs) = if ((0 > bs)) | |
657 | 679 | then throw("Balance") | |
658 | 680 | else [IntegerEntry(d, bs)] | |
659 | 681 | ||
660 | 682 | ||
661 | - | func | |
683 | + | func eW (bs) = [ScriptTransfer(aa(), bs, Y())] | |
662 | 684 | ||
663 | 685 | ||
664 | 686 | @Callable(bs) | |
683 | 705 | else { | |
684 | 706 | let bP = aY() | |
685 | 707 | let bQ = aZ() | |
686 | - | let | |
687 | - | let | |
688 | - | let | |
689 | - | let | |
690 | - | | |
708 | + | let eE = ar(bP, bQ) | |
709 | + | let eX = ar(bK, eE) | |
710 | + | let eY = (bP + bK) | |
711 | + | let eZ = (bQ + eX) | |
712 | + | eK(eY, eZ) | |
691 | 713 | } | |
692 | 714 | ||
693 | 715 | ||
700 | 722 | else { | |
701 | 723 | let bP = aY() | |
702 | 724 | let bQ = aZ() | |
703 | - | let | |
704 | - | let | |
705 | - | let | |
706 | - | let | |
707 | - | | |
725 | + | let eE = ar(bP, bQ) | |
726 | + | let fa = ar(bK, eE) | |
727 | + | let eY = (bP - bK) | |
728 | + | let eZ = (bQ - fa) | |
729 | + | eK(eY, eZ) | |
708 | 730 | } | |
709 | 731 | ||
710 | 732 | ||
711 | 733 | ||
712 | 734 | @Callable(bs) | |
713 | - | func changeSettings ( | |
735 | + | func changeSettings (ek,el,em,en,eo,ep,eq,er,es) = if ((bs.caller != W())) | |
714 | 736 | then throw("Invalid changeSettings params") | |
715 | - | else | |
737 | + | else ej(ek, el, em, en, eo, ep, eq, er, es) | |
716 | 738 | ||
717 | 739 | ||
718 | 740 | ||
719 | 741 | @Callable(bs) | |
720 | - | func initialize (bP,bQ, | |
742 | + | func initialize (bP,bQ,en,ek,el,em,eo,fb,fc,fd,ep,eq,er,es) = if (if (if (if (if (if (if (if (if (if (if (if ((0 >= bP)) | |
721 | 743 | then true | |
722 | 744 | else (0 >= bQ)) | |
723 | 745 | then true | |
724 | - | else (0 >= eh)) | |
725 | - | then true | |
726 | - | else (0 >= ee)) | |
727 | - | then true | |
728 | - | else (0 >= ef)) | |
729 | - | then true | |
730 | - | else (0 >= eg)) | |
731 | - | then true | |
732 | - | else (0 >= ei)) | |
733 | - | then true | |
734 | - | else (0 >= ej)) | |
746 | + | else (0 >= en)) | |
735 | 747 | then true | |
736 | 748 | else (0 >= ek)) | |
737 | 749 | then true | |
739 | 751 | then true | |
740 | 752 | else (0 >= em)) | |
741 | 753 | then true | |
754 | + | else (0 >= eo)) | |
755 | + | then true | |
756 | + | else (0 >= ep)) | |
757 | + | then true | |
758 | + | else (0 >= eq)) | |
759 | + | then true | |
760 | + | else (0 >= er)) | |
761 | + | then true | |
762 | + | else (0 >= es)) | |
763 | + | then true | |
742 | 764 | else bG()) | |
743 | 765 | then throw("Invalid initialize parameters") | |
744 | - | else (((( | |
766 | + | else ((((eL(bP, bQ, 0, 0, 0, 0, 0) ++ ej(ek, el, em, en, eo, ep, eq, er, es)) ++ et((lastBlock.timestamp + en), 0, 0, 0, 0)) ++ eV(0)) ++ [BooleanEntry(j, true), StringEntry(c, fb), StringEntry(a, fc), StringEntry(L, fd)]) | |
745 | 767 | ||
746 | 768 | ||
747 | 769 | ||
748 | 770 | @Callable(bs) | |
749 | - | func setInitMarginRatio ( | |
771 | + | func setInitMarginRatio (ek) = if (if ((0 >= ek)) | |
750 | 772 | then true | |
751 | 773 | else !(bG())) | |
752 | 774 | then throw("Invalid setInitMarginRatio parameters") | |
753 | - | else | |
775 | + | else ej(ek, bh(), bi(), be(), aW(), bk(), bl(), bj(), bm()) | |
754 | 776 | ||
755 | 777 | ||
756 | 778 | ||
757 | 779 | @Callable(bs) | |
758 | - | func decreasePosition ( | |
780 | + | func decreasePosition (eT,fe,ff) = if (if (if (if (if ((0 >= eT)) | |
759 | 781 | then true | |
760 | 782 | else !(bG())) | |
761 | 783 | then true | |
762 | - | else !(bt(ar(ak, | |
784 | + | else !(bt(ar(ak, fe), aX(), true))) | |
763 | 785 | then true | |
764 | 786 | else !(bF(toString(bs.caller)))) | |
765 | 787 | then true | |
766 | 788 | else bH()) | |
767 | 789 | then throw("Invalid decreasePosition parameters") | |
768 | 790 | else { | |
769 | - | let | |
770 | - | let | |
771 | - | let | |
772 | - | let | |
773 | - | let | |
774 | - | let | |
791 | + | let fg = bA(toString(bs.caller)) | |
792 | + | let fh = fg._1 | |
793 | + | let fi = fg._2 | |
794 | + | let fj = fg._3 | |
795 | + | let fk = fg._4 | |
796 | + | let fl = if ((fh > 0)) | |
775 | 797 | then ag | |
776 | 798 | else af | |
777 | - | let | |
778 | - | let | |
779 | - | let | |
780 | - | let | |
781 | - | let cY = | |
782 | - | let | |
799 | + | let fm = (fl == af) | |
800 | + | let fn = at(eT, fe) | |
801 | + | let fo = cZ(toString(bs.caller), an) | |
802 | + | let fp = fo._1 | |
803 | + | let cY = fo._2 | |
804 | + | let fq = if ((fp > fn)) | |
783 | 805 | then { | |
784 | - | let | |
785 | - | let dt = | |
786 | - | let bR = | |
787 | - | let bS = | |
788 | - | let dB = | |
789 | - | let dC = | |
790 | - | let | |
791 | - | if (if (( | |
792 | - | then ( | |
806 | + | let fr = bO(fm, fn) | |
807 | + | let dt = fr._1 | |
808 | + | let bR = fr._2 | |
809 | + | let bS = fr._3 | |
810 | + | let dB = fr._4 | |
811 | + | let dC = fr._5 | |
812 | + | let fs = au(dt) | |
813 | + | if (if ((ff != 0)) | |
814 | + | then (ff > fs) | |
793 | 815 | else false) | |
794 | - | then throw(((("Too little base asset exchanged, got " + toString( | |
816 | + | then throw(((("Too little base asset exchanged, got " + toString(fs)) + " expected ") + toString(ff))) | |
795 | 817 | else { | |
796 | - | let dy = ar(at(cY, | |
797 | - | let | |
798 | - | let co = | |
799 | - | let cp = | |
800 | - | let ck = | |
801 | - | let du = | |
802 | - | let | |
803 | - | let | |
804 | - | then (( | |
805 | - | else (( | |
806 | - | let | |
807 | - | $Tuple11( | |
818 | + | let dy = ar(at(cY, fs), au(fh)) | |
819 | + | let ft = cf(fh, fi, fk, dy) | |
820 | + | let co = ft._1 | |
821 | + | let cp = ft._2 | |
822 | + | let ck = ft._3 | |
823 | + | let du = fn | |
824 | + | let fu = (cY - dy) | |
825 | + | let fv = if ((fh > 0)) | |
826 | + | then ((fp - du) - fu) | |
827 | + | else ((fu + fp) - du) | |
828 | + | let fw = (fh + dt) | |
829 | + | $Tuple11(fw, co, au(fv), by(fw), bS, bR, dB, dC, (bc() - fn), (bq() - (if ((fw > 0)) | |
808 | 830 | then au(dt) | |
809 | - | else 0)), (bp() - (if ((0 > | |
831 | + | else 0)), (bp() - (if ((0 > fw)) | |
810 | 832 | then au(dt) | |
811 | 833 | else 0))) | |
812 | 834 | } | |
813 | 835 | } | |
814 | 836 | else throw("Close position first") | |
815 | - | let | |
816 | - | let | |
817 | - | let | |
818 | - | let | |
819 | - | let bS = | |
820 | - | let bR = | |
821 | - | let dB = | |
822 | - | let dC = | |
823 | - | let dF = | |
824 | - | let dD = | |
825 | - | let dE = | |
826 | - | let | |
827 | - | if (( | |
828 | - | then ( | |
837 | + | let fw = fq._1 | |
838 | + | let fx = fq._2 | |
839 | + | let fy = fq._3 | |
840 | + | let fz = fq._4 | |
841 | + | let bS = fq._5 | |
842 | + | let bR = fq._6 | |
843 | + | let dB = fq._7 | |
844 | + | let dC = fq._8 | |
845 | + | let dF = fq._9 | |
846 | + | let dD = fq._10 | |
847 | + | let dE = fq._11 | |
848 | + | let fA = invoke(ac(), "notifyNotional", [toString(bs.caller), fy], nil) | |
849 | + | if ((fA == fA)) | |
850 | + | then (ez(toString(bs.caller), fw, fx, fy, fz) ++ eL(bR, bS, dB, dC, dF, dD, dE)) | |
829 | 851 | else throw("Strict value is not equal to itself.") | |
830 | 852 | } | |
831 | 853 | ||
832 | 854 | ||
833 | 855 | ||
834 | 856 | @Callable(bs) | |
835 | - | func increasePosition (ff, | |
836 | - | let | |
837 | - | if (if (if (if (if (if (if (( | |
838 | - | then ( | |
857 | + | func increasePosition (fl,fe,ff,fB) = { | |
858 | + | let fC = bs.payments[0].amount | |
859 | + | if (if (if (if (if (if (if ((fl != af)) | |
860 | + | then (fl != ag) | |
839 | 861 | else false) | |
840 | 862 | then true | |
841 | - | else (0 >= | |
863 | + | else (0 >= fC)) | |
842 | 864 | then true | |
843 | 865 | else !(bG())) | |
844 | 866 | then true | |
845 | 867 | else (bs.payments[0].assetId != Y())) | |
846 | 868 | then true | |
847 | - | else !(bt(ar(ak, | |
869 | + | else !(bt(ar(ak, fe), aX(), true))) | |
848 | 870 | then true | |
849 | 871 | else bH()) | |
850 | 872 | then throw("Invalid increasePosition parameters") | |
851 | 873 | else { | |
852 | 874 | let bB = toString(bs.caller) | |
853 | - | let | |
854 | - | let | |
855 | - | if (( | |
875 | + | let fD = at(fC, aW()) | |
876 | + | let fE = invoke(ae(), "acceptPaymentWithLink", [bB, fB], [AttachedPayment(Y(), fD)]) | |
877 | + | if ((fE == fE)) | |
856 | 878 | then { | |
857 | - | let | |
858 | - | let bD = | |
879 | + | let fF = { | |
880 | + | let bD = fE | |
859 | 881 | if ($isInstanceOf(bD, "Int")) | |
860 | 882 | then { | |
861 | - | let | |
862 | - | | |
883 | + | let fG = bD | |
884 | + | fG | |
863 | 885 | } | |
864 | 886 | else throw("Invalid referrerFee") | |
865 | 887 | } | |
866 | - | let | |
867 | - | let | |
868 | - | let | |
869 | - | let | |
870 | - | let | |
871 | - | let | |
872 | - | let | |
873 | - | let | |
874 | - | let | |
875 | - | then ( | |
876 | - | else ( | |
877 | - | let | |
878 | - | then | |
888 | + | let eT = (fC - fD) | |
889 | + | let fH = (fD - fF) | |
890 | + | let fI = bA(bB) | |
891 | + | let fh = fI._1 | |
892 | + | let fi = fI._2 | |
893 | + | let fj = fI._3 | |
894 | + | let fk = fI._4 | |
895 | + | let fJ = (fh == 0) | |
896 | + | let fK = if ((fh > 0)) | |
897 | + | then (fl == af) | |
898 | + | else (fl == ag) | |
899 | + | let fL = if (!(fJ)) | |
900 | + | then fK | |
879 | 901 | else false | |
880 | - | let | |
881 | - | let | |
902 | + | let fm = (fl == af) | |
903 | + | let fM = if (if (fJ) | |
882 | 904 | then true | |
883 | - | else | |
905 | + | else fL) | |
884 | 906 | then { | |
885 | - | let | |
886 | - | let | |
887 | - | let bU = | |
888 | - | let bR = | |
889 | - | let bS = | |
890 | - | let dB = | |
891 | - | let dC = | |
892 | - | if (if (( | |
893 | - | then ( | |
907 | + | let fn = at(eT, fe) | |
908 | + | let fN = bO(fm, fn) | |
909 | + | let bU = fN._1 | |
910 | + | let bR = fN._2 | |
911 | + | let bS = fN._3 | |
912 | + | let dB = fN._4 | |
913 | + | let dC = fN._5 | |
914 | + | if (if ((ff != 0)) | |
915 | + | then (ff > au(bU)) | |
894 | 916 | else false) | |
895 | - | then throw(((("Limit error: " + toString(au(bU))) + " < ") + toString( | |
917 | + | then throw(((("Limit error: " + toString(au(bU))) + " < ") + toString(ff))) | |
896 | 918 | else { | |
897 | - | let | |
898 | - | let | |
899 | - | let | |
900 | - | let co = | |
901 | - | let cT = | |
902 | - | let cU = | |
919 | + | let fw = (fh + bU) | |
920 | + | let fO = ar(fn, fe) | |
921 | + | let fP = cf(fh, fi, fk, fO) | |
922 | + | let co = fP._1 | |
923 | + | let cT = fP._2 | |
924 | + | let cU = fP._3 | |
903 | 925 | if (!(cE(bR, bS))) | |
904 | 926 | then throw("Over max spread limit") | |
905 | - | else $Tuple11( | |
927 | + | else $Tuple11(fw, co, (fj + fn), by(fw), bS, bR, dB, dC, (bc() + fn), (bq() + (if ((fw > 0)) | |
906 | 928 | then au(bU) | |
907 | - | else 0)), (bp() + (if ((0 > | |
929 | + | else 0)), (bp() + (if ((0 > fw)) | |
908 | 930 | then au(bU) | |
909 | 931 | else 0))) | |
910 | 932 | } | |
911 | 933 | } | |
912 | 934 | else { | |
913 | - | let | |
914 | - | let | |
915 | - | let | |
916 | - | let cY = | |
917 | - | if (( | |
935 | + | let fn = at(eT, fe) | |
936 | + | let fQ = cZ(toString(bs.caller), an) | |
937 | + | let fp = fQ._1 | |
938 | + | let cY = fQ._2 | |
939 | + | if ((fp > fn)) | |
918 | 940 | then throw("Use decreasePosition to decrease position size") | |
919 | 941 | else throw("Close position first") | |
920 | 942 | } | |
921 | - | let | |
922 | - | let | |
923 | - | let | |
924 | - | let | |
925 | - | let bS = | |
926 | - | let bR = | |
927 | - | let dB = | |
928 | - | let dC = | |
929 | - | let dF = | |
930 | - | let dD = | |
931 | - | let dE = | |
932 | - | let | |
933 | - | let | |
934 | - | let | |
935 | - | if (( | |
943 | + | let fw = fM._1 | |
944 | + | let fx = fM._2 | |
945 | + | let fy = fM._3 | |
946 | + | let fz = fM._4 | |
947 | + | let bS = fM._5 | |
948 | + | let bR = fM._6 | |
949 | + | let dB = fM._7 | |
950 | + | let dC = fM._8 | |
951 | + | let dF = fM._9 | |
952 | + | let dD = fM._10 | |
953 | + | let dE = fM._11 | |
954 | + | let fR = (fH / 2) | |
955 | + | let fS = (fH - fR) | |
956 | + | let fT = invoke(Z(), "lockNeutrinoSP", [toString(aa()), am], [AttachedPayment(Y(), eT)]) | |
957 | + | if ((fT == fT)) | |
936 | 958 | then { | |
937 | - | let | |
938 | - | if (( | |
959 | + | let fU = invoke(ab(), "deposit", nil, [AttachedPayment(Y(), fS)]) | |
960 | + | if ((fU == fU)) | |
939 | 961 | then { | |
940 | - | let | |
941 | - | if (( | |
962 | + | let fV = invoke(ac(), "notifyFees", [bB, fH], nil) | |
963 | + | if ((fV == fV)) | |
942 | 964 | then { | |
943 | - | let | |
944 | - | if (( | |
945 | - | then ((( | |
965 | + | let fA = invoke(ac(), "notifyNotional", [bB, fy], nil) | |
966 | + | if ((fA == fA)) | |
967 | + | then (((ez(bB, fw, fx, fy, fz) ++ eL(bR, bS, dB, dC, dF, dD, dE)) ++ eW(fR)) ++ eV((aV() + eT))) | |
946 | 968 | else throw("Strict value is not equal to itself.") | |
947 | 969 | } | |
948 | 970 | else throw("Strict value is not equal to itself.") | |
959 | 981 | ||
960 | 982 | @Callable(bs) | |
961 | 983 | func addMargin () = { | |
962 | - | let | |
984 | + | let fC = bs.payments[0].amount | |
963 | 985 | if (if (if (if ((bs.payments[0].assetId != Y())) | |
964 | 986 | then true | |
965 | 987 | else !(bF(toString(bs.caller)))) | |
970 | 992 | then throw("Invalid addMargin parameters") | |
971 | 993 | else { | |
972 | 994 | let bB = toString(bs.caller) | |
973 | - | let | |
974 | - | let | |
975 | - | if (( | |
995 | + | let fD = at(fC, aW()) | |
996 | + | let fE = invoke(ae(), "acceptPayment", [bB], [AttachedPayment(Y(), fD)]) | |
997 | + | if ((fE == fE)) | |
976 | 998 | then { | |
977 | - | let | |
978 | - | let bD = | |
999 | + | let fF = { | |
1000 | + | let bD = fE | |
979 | 1001 | if ($isInstanceOf(bD, "Int")) | |
980 | 1002 | then { | |
981 | - | let | |
982 | - | | |
1003 | + | let fG = bD | |
1004 | + | fG | |
983 | 1005 | } | |
984 | 1006 | else throw("Invalid referrerFee") | |
985 | 1007 | } | |
986 | - | let | |
987 | - | let | |
988 | - | let | |
989 | - | let | |
990 | - | let | |
991 | - | let | |
992 | - | let | |
993 | - | let | |
994 | - | let | |
995 | - | let | |
996 | - | if (( | |
1008 | + | let fH = (fD - fF) | |
1009 | + | let eT = (fC - fD) | |
1010 | + | let fW = bA(bB) | |
1011 | + | let fh = fW._1 | |
1012 | + | let fi = fW._2 | |
1013 | + | let fj = fW._3 | |
1014 | + | let fk = fW._4 | |
1015 | + | let fR = (fH / 2) | |
1016 | + | let fS = (fH - fR) | |
1017 | + | let fT = invoke(Z(), "lockNeutrinoSP", [toString(aa()), am], [AttachedPayment(Y(), eT)]) | |
1018 | + | if ((fT == fT)) | |
997 | 1019 | then { | |
998 | - | let | |
999 | - | if (( | |
1020 | + | let fU = invoke(ab(), "deposit", nil, [AttachedPayment(Y(), fS)]) | |
1021 | + | if ((fU == fU)) | |
1000 | 1022 | then { | |
1001 | - | let | |
1002 | - | if (( | |
1003 | - | then (( | |
1023 | + | let fV = invoke(ac(), "notifyFees", [bB, fH], nil) | |
1024 | + | if ((fV == fV)) | |
1025 | + | then ((ez(bB, fh, (fi + eT), fj, fk) ++ eW(fR)) ++ eV((aV() + eT))) | |
1004 | 1026 | else throw("Strict value is not equal to itself.") | |
1005 | 1027 | } | |
1006 | 1028 | else throw("Strict value is not equal to itself.") | |
1014 | 1036 | ||
1015 | 1037 | ||
1016 | 1038 | @Callable(bs) | |
1017 | - | func removeMargin ( | |
1039 | + | func removeMargin (eT) = if (if (if (if ((0 >= eT)) | |
1018 | 1040 | then true | |
1019 | 1041 | else !(bF(toString(bs.caller)))) | |
1020 | 1042 | then true | |
1023 | 1045 | else bH()) | |
1024 | 1046 | then throw("Invalid removeMargin parameters") | |
1025 | 1047 | else { | |
1026 | - | let | |
1027 | - | let | |
1028 | - | let | |
1029 | - | let | |
1030 | - | let | |
1031 | - | let | |
1032 | - | let | |
1033 | - | let co = | |
1034 | - | let cp = | |
1048 | + | let fX = bA(toString(bs.caller)) | |
1049 | + | let fh = fX._1 | |
1050 | + | let fi = fX._2 | |
1051 | + | let fj = fX._3 | |
1052 | + | let fk = fX._4 | |
1053 | + | let fY = -(eT) | |
1054 | + | let fZ = cf(fh, fi, fk, fY) | |
1055 | + | let co = fZ._1 | |
1056 | + | let cp = fZ._2 | |
1035 | 1057 | if ((cp != 0)) | |
1036 | 1058 | then throw("Invalid removed margin amount") | |
1037 | 1059 | else { | |
1038 | - | let | |
1039 | - | if (!(bt( | |
1040 | - | then throw(((("Too much margin removed: " + toString( | |
1060 | + | let ga = de(co, cp, fj) | |
1061 | + | if (!(bt(ga, aX(), true))) | |
1062 | + | then throw(((("Too much margin removed: " + toString(ga)) + " < ") + toString(aX()))) | |
1041 | 1063 | else { | |
1042 | - | let | |
1043 | - | if (( | |
1044 | - | then (( | |
1064 | + | let gb = invoke(Z(), "unlockNeutrino", [eT, toBase58String(Y())], nil) | |
1065 | + | if ((gb == gb)) | |
1066 | + | then ((ez(toString(bs.caller), fh, co, fj, by(fh)) ++ eS(bs.caller, eT)) ++ eV((aV() - eT))) | |
1045 | 1067 | else throw("Strict value is not equal to itself.") | |
1046 | 1068 | } | |
1047 | 1069 | } | |
1051 | 1073 | ||
1052 | 1074 | @Callable(bs) | |
1053 | 1075 | func closePosition () = { | |
1054 | - | let | |
1055 | - | let | |
1056 | - | if (if (if (!(bF( | |
1076 | + | let gc = br(bs) | |
1077 | + | let gd = valueOrErrorMessage(addressFromString(gc), "Invalid caller") | |
1078 | + | if (if (if (!(bF(gc))) | |
1057 | 1079 | then true | |
1058 | 1080 | else !(bG())) | |
1059 | 1081 | then true | |
1060 | 1082 | else bH()) | |
1061 | 1083 | then throw("Invalid closePosition parameters") | |
1062 | 1084 | else { | |
1063 | - | let | |
1064 | - | let cT = | |
1065 | - | let | |
1066 | - | let dy = | |
1067 | - | let dz = | |
1068 | - | let bR = | |
1069 | - | let bS = | |
1070 | - | let dB = | |
1071 | - | let dC = | |
1072 | - | let dF = | |
1073 | - | let cU = | |
1074 | - | let dD = | |
1075 | - | let dE = | |
1076 | - | if (( | |
1085 | + | let ge = dv(gc, true) | |
1086 | + | let cT = ge._1 | |
1087 | + | let gf = ge._2 | |
1088 | + | let dy = ge._3 | |
1089 | + | let dz = ge._4 | |
1090 | + | let bR = ge._5 | |
1091 | + | let bS = ge._6 | |
1092 | + | let dB = ge._7 | |
1093 | + | let dC = ge._8 | |
1094 | + | let dF = ge._9 | |
1095 | + | let cU = ge._10 | |
1096 | + | let dD = ge._11 | |
1097 | + | let dE = ge._12 | |
1098 | + | if ((gf > 0)) | |
1077 | 1099 | then throw("Unable to close position with bad debt") | |
1078 | 1100 | else { | |
1079 | - | let | |
1080 | - | let | |
1081 | - | let | |
1082 | - | then $Tuple2(0, au( | |
1083 | - | else $Tuple2( | |
1084 | - | let | |
1085 | - | let | |
1086 | - | let | |
1101 | + | let gg = au(dz) | |
1102 | + | let gh = (aV() - gg) | |
1103 | + | let gi = if ((0 > gh)) | |
1104 | + | then $Tuple2(0, au(gh)) | |
1105 | + | else $Tuple2(gh, 0) | |
1106 | + | let gj = gi._1 | |
1107 | + | let gk = gi._2 | |
1108 | + | let fG = if ((gk > 0)) | |
1087 | 1109 | then { | |
1088 | - | let | |
1089 | - | if (( | |
1110 | + | let gl = invoke(ab(), "withdraw", [gk], nil) | |
1111 | + | if ((gl == gl)) | |
1090 | 1112 | then nil | |
1091 | 1113 | else throw("Strict value is not equal to itself.") | |
1092 | 1114 | } | |
1093 | 1115 | else nil | |
1094 | - | if (( | |
1116 | + | if ((fG == fG)) | |
1095 | 1117 | then { | |
1096 | - | let | |
1097 | - | if (( | |
1118 | + | let gb = invoke(Z(), "unlockNeutrino", [(gg - gk), toBase58String(Y())], nil) | |
1119 | + | if ((gb == gb)) | |
1098 | 1120 | then { | |
1099 | - | let | |
1100 | - | if (( | |
1101 | - | then ((( | |
1121 | + | let fA = invoke(ac(), "notifyNotional", [gc, 0], nil) | |
1122 | + | if ((fA == fA)) | |
1123 | + | then (((eR(gc) ++ eL(bR, bS, dB, dC, dF, dD, dE)) ++ eS(gd, gg)) ++ eV(gj)) | |
1102 | 1124 | else throw("Strict value is not equal to itself.") | |
1103 | 1125 | } | |
1104 | 1126 | else throw("Strict value is not equal to itself.") | |
1112 | 1134 | ||
1113 | 1135 | @Callable(bs) | |
1114 | 1136 | func liquidate (bB) = { | |
1115 | - | let | |
1116 | - | let | |
1137 | + | let gm = di(bB, an) | |
1138 | + | let ga = if (cK()) | |
1117 | 1139 | then { | |
1118 | - | let | |
1119 | - | av( | |
1140 | + | let gn = di(bB, ao) | |
1141 | + | av(gm, gn) | |
1120 | 1142 | } | |
1121 | - | else | |
1122 | - | if (if (if (if (!(bt( | |
1143 | + | else gm | |
1144 | + | if (if (if (if (!(bt(ga, bh(), false))) | |
1123 | 1145 | then true | |
1124 | 1146 | else !(bF(bB))) | |
1125 | 1147 | then true | |
1127 | 1149 | then true | |
1128 | 1150 | else bH()) | |
1129 | 1151 | then throw("Unable to liquidate") | |
1130 | - | else if (if (if (( | |
1152 | + | else if (if (if ((gm > bi())) | |
1131 | 1153 | then (bj() > 0) | |
1132 | 1154 | else false) | |
1133 | 1155 | then (ak > bj()) | |
1134 | 1156 | else false) | |
1135 | 1157 | then { | |
1136 | - | let | |
1137 | - | let | |
1138 | - | let | |
1139 | - | let | |
1140 | - | let | |
1141 | - | let | |
1158 | + | let go = bA(bB) | |
1159 | + | let fh = go._1 | |
1160 | + | let fi = go._2 | |
1161 | + | let fj = go._3 | |
1162 | + | let fk = go._4 | |
1163 | + | let fl = if ((fh > 0)) | |
1142 | 1164 | then ag | |
1143 | 1165 | else af | |
1144 | - | let | |
1145 | - | let du = do(bB, | |
1146 | - | let | |
1147 | - | let | |
1148 | - | let cY = | |
1149 | - | let | |
1150 | - | let dt = | |
1151 | - | let bR = | |
1152 | - | let bS = | |
1153 | - | let dB = | |
1154 | - | let dC = | |
1155 | - | let dy = ar(at(cY, au(dt)), au( | |
1156 | - | let | |
1157 | - | let co = | |
1158 | - | let cp = | |
1159 | - | let ck = | |
1160 | - | let | |
1161 | - | let | |
1162 | - | then (( | |
1163 | - | else (( | |
1164 | - | let | |
1165 | - | let | |
1166 | - | let | |
1167 | - | let | |
1168 | - | let | |
1169 | - | let | |
1170 | - | let | |
1166 | + | let fm = (fl == af) | |
1167 | + | let du = do(bB, fh) | |
1168 | + | let gp = cZ(bB, an) | |
1169 | + | let fp = gp._1 | |
1170 | + | let cY = gp._2 | |
1171 | + | let gq = bO(fm, du) | |
1172 | + | let dt = gq._1 | |
1173 | + | let bR = gq._2 | |
1174 | + | let bS = gq._3 | |
1175 | + | let dB = gq._4 | |
1176 | + | let dC = gq._5 | |
1177 | + | let dy = ar(at(cY, au(dt)), au(fh)) | |
1178 | + | let gr = cf(fh, fi, fk, dy) | |
1179 | + | let co = gr._1 | |
1180 | + | let cp = gr._2 | |
1181 | + | let ck = gr._3 | |
1182 | + | let fu = (cY - dy) | |
1183 | + | let fv = if ((fh > 0)) | |
1184 | + | then ((fp - du) - fu) | |
1185 | + | else ((fu + fp) - du) | |
1186 | + | let gs = at(du, bi()) | |
1187 | + | let gt = (gs / 2) | |
1188 | + | let fS = (gs - gt) | |
1189 | + | let gu = (co - gs) | |
1190 | + | let fw = (fh + dt) | |
1191 | + | let fy = au(fv) | |
1192 | + | let gv = by(fw) | |
1171 | 1193 | let dF = (bc() - du) | |
1172 | - | let | |
1173 | - | let | |
1174 | - | then $Tuple2(0, au( | |
1175 | - | else $Tuple2( | |
1176 | - | let | |
1177 | - | let | |
1178 | - | let | |
1194 | + | let gh = (aV() - gs) | |
1195 | + | let gw = if ((0 > gh)) | |
1196 | + | then $Tuple2(0, au(gh)) | |
1197 | + | else $Tuple2(gh, 0) | |
1198 | + | let gx = gw._1 | |
1199 | + | let gy = gw._2 | |
1200 | + | let fG = if ((gy > 0)) | |
1179 | 1201 | then { | |
1180 | - | let | |
1181 | - | if (( | |
1202 | + | let gl = invoke(ab(), "withdraw", [gy], nil) | |
1203 | + | if ((gl == gl)) | |
1182 | 1204 | then nil | |
1183 | 1205 | else throw("Strict value is not equal to itself.") | |
1184 | 1206 | } | |
1185 | 1207 | else nil | |
1186 | - | if (( | |
1208 | + | if ((fG == fG)) | |
1187 | 1209 | then { | |
1188 | - | let | |
1189 | - | if (( | |
1210 | + | let gb = invoke(Z(), "unlockNeutrino", [(gs - gy), toBase58String(Y())], nil) | |
1211 | + | if ((gb == gb)) | |
1190 | 1212 | then { | |
1191 | - | let | |
1192 | - | if (( | |
1213 | + | let fU = invoke(ab(), "deposit", nil, [AttachedPayment(Y(), fS)]) | |
1214 | + | if ((fU == fU)) | |
1193 | 1215 | then { | |
1194 | - | let | |
1195 | - | if (( | |
1196 | - | then ((( | |
1216 | + | let fA = invoke(ac(), "notifyNotional", [bB, fy], nil) | |
1217 | + | if ((fA == fA)) | |
1218 | + | then (((ez(bB, fw, gu, fy, gv) ++ eL(bR, bS, dB, dC, dF, (bq() - (if ((fw > 0)) | |
1197 | 1219 | then au(dt) | |
1198 | - | else 0)), (bp() - (if ((0 > | |
1220 | + | else 0)), (bp() - (if ((0 > fw)) | |
1199 | 1221 | then au(dt) | |
1200 | - | else 0)))) ++ | |
1222 | + | else 0)))) ++ eS(bs.caller, gt)) ++ eV(gx)) | |
1201 | 1223 | else throw("Strict value is not equal to itself.") | |
1202 | 1224 | } | |
1203 | 1225 | else throw("Strict value is not equal to itself.") | |
1207 | 1229 | else throw("Strict value is not equal to itself.") | |
1208 | 1230 | } | |
1209 | 1231 | else { | |
1210 | - | let | |
1211 | - | let cT = | |
1212 | - | let cp = | |
1213 | - | let cU = | |
1214 | - | let cV = | |
1215 | - | let bR = | |
1216 | - | let bS = | |
1217 | - | let dB = | |
1218 | - | let dC = | |
1219 | - | let dF = | |
1220 | - | let du = | |
1221 | - | let dD = | |
1222 | - | let dE = | |
1223 | - | let | |
1224 | - | let | |
1225 | - | let | |
1226 | - | let | |
1227 | - | let | |
1228 | - | then $Tuple2(0, au( | |
1229 | - | else $Tuple2( | |
1230 | - | let | |
1231 | - | let | |
1232 | - | let | |
1232 | + | let gz = dv(bB, false) | |
1233 | + | let cT = gz._1 | |
1234 | + | let cp = gz._2 | |
1235 | + | let cU = gz._3 | |
1236 | + | let cV = gz._4 | |
1237 | + | let bR = gz._5 | |
1238 | + | let bS = gz._6 | |
1239 | + | let dB = gz._7 | |
1240 | + | let dC = gz._8 | |
1241 | + | let dF = gz._9 | |
1242 | + | let du = gz._10 | |
1243 | + | let dD = gz._11 | |
1244 | + | let dE = gz._12 | |
1245 | + | let gs = at(du, bi()) | |
1246 | + | let gt = (gs / 2) | |
1247 | + | let fS = (gs - gt) | |
1248 | + | let gh = (aV() - gs) | |
1249 | + | let gA = if ((0 > gh)) | |
1250 | + | then $Tuple2(0, au(gh)) | |
1251 | + | else $Tuple2(gh, 0) | |
1252 | + | let gx = gA._1 | |
1253 | + | let gy = gA._2 | |
1254 | + | let fG = if ((gy > 0)) | |
1233 | 1255 | then { | |
1234 | - | let | |
1235 | - | if (( | |
1256 | + | let gl = invoke(ab(), "withdraw", [gy], nil) | |
1257 | + | if ((gl == gl)) | |
1236 | 1258 | then nil | |
1237 | 1259 | else throw("Strict value is not equal to itself.") | |
1238 | 1260 | } | |
1239 | 1261 | else nil | |
1240 | - | if (( | |
1262 | + | if ((fG == fG)) | |
1241 | 1263 | then { | |
1242 | - | let | |
1243 | - | if (( | |
1264 | + | let gb = invoke(Z(), "unlockNeutrino", [(gs - gy), toBase58String(Y())], nil) | |
1265 | + | if ((gb == gb)) | |
1244 | 1266 | then { | |
1245 | - | let | |
1246 | - | if (( | |
1267 | + | let fU = invoke(ab(), "deposit", nil, [AttachedPayment(Y(), fS)]) | |
1268 | + | if ((fU == fU)) | |
1247 | 1269 | then { | |
1248 | - | let | |
1249 | - | if (( | |
1250 | - | then ((( | |
1270 | + | let fA = invoke(ac(), "notifyNotional", [bB, 0], nil) | |
1271 | + | if ((fA == fA)) | |
1272 | + | then (((eR(bB) ++ eL(bR, bS, dB, dC, dF, dD, dE)) ++ eS(bs.caller, gt)) ++ eV(gx)) | |
1251 | 1273 | else throw("Strict value is not equal to itself.") | |
1252 | 1274 | } | |
1253 | 1275 | else throw("Strict value is not equal to itself.") | |
1262 | 1284 | ||
1263 | 1285 | @Callable(bs) | |
1264 | 1286 | func payFunding () = { | |
1265 | - | let | |
1266 | - | if (if (if (( | |
1287 | + | let gB = bd() | |
1288 | + | if (if (if ((gB > lastBlock.timestamp)) | |
1267 | 1289 | then true | |
1268 | 1290 | else !(bG())) | |
1269 | 1291 | then true | |
1270 | 1292 | else bH()) | |
1271 | - | then throw(((("Invalid funding block timestamp: " + toString(lastBlock.timestamp)) + " < ") + toString( | |
1293 | + | then throw(((("Invalid funding block timestamp: " + toString(lastBlock.timestamp)) + " < ") + toString(gB))) | |
1272 | 1294 | else { | |
1273 | - | let gw = cz() | |
1274 | - | let gx = dG() | |
1275 | - | let gy = (gx - gw) | |
1276 | - | let gz = if (if ((bp() == 0)) | |
1277 | - | then true | |
1278 | - | else (bq() == 0)) | |
1279 | - | then $Tuple2(0, 0) | |
1280 | - | else if ((0 > gy)) | |
1281 | - | then { | |
1282 | - | let gA = ar(at(gy, bf()), al) | |
1283 | - | let gB = ar(at(gA, bp()), bq()) | |
1284 | - | $Tuple2(gA, gB) | |
1285 | - | } | |
1286 | - | else { | |
1287 | - | let gB = ar(at(gy, bf()), al) | |
1288 | - | let gA = ar(at(gB, bq()), bp()) | |
1289 | - | $Tuple2(gA, gB) | |
1290 | - | } | |
1291 | - | let gA = gz._1 | |
1292 | - | let gB = gz._2 | |
1293 | - | en((gv + bg()), (bn() + gB), (bo() + gA), ar(gB, gw), ar(gA, gw)) | |
1295 | + | let ee = cz() | |
1296 | + | let gC = ed() | |
1297 | + | let eh = gC._1 | |
1298 | + | let ei = gC._2 | |
1299 | + | et((gB + bg()), (bn() + ei), (bo() + eh), ar(ei, ee), ar(eh, ee)) | |
1294 | 1300 | } | |
1295 | 1301 | } | |
1296 | 1302 | ||
1297 | 1303 | ||
1298 | 1304 | ||
1299 | 1305 | @Callable(bs) | |
1300 | - | func forceMoveAsset (bB, | |
1306 | + | func forceMoveAsset (bB,eT) = if (if ((addressFromPublicKey(X()) != bs.caller)) | |
1301 | 1307 | then true | |
1302 | - | else (0 > | |
1308 | + | else (0 > eT)) | |
1303 | 1309 | then throw("Invalid forceMoveAsset parameters") | |
1304 | 1310 | else { | |
1305 | - | let | |
1306 | - | if (( | |
1307 | - | then ( | |
1311 | + | let gb = invoke(Z(), "unlockNeutrino", [eT, toBase58String(Y())], nil) | |
1312 | + | if ((gb == gb)) | |
1313 | + | then (eS(addressFromStringValue(bB), eT) ++ eV((aV() - eT))) | |
1308 | 1314 | else throw("Strict value is not equal to itself.") | |
1309 | 1315 | } | |
1310 | 1316 | ||
1316 | 1322 | else (0 > dX)) | |
1317 | 1323 | then throw("Invalid adjustPeg parameters") | |
1318 | 1324 | else { | |
1319 | - | let | |
1320 | - | let eb = | |
1321 | - | let | |
1322 | - | if (( | |
1325 | + | let gD = dW(dX) | |
1326 | + | let eb = gD._1 | |
1327 | + | let gE = gD._2 | |
1328 | + | if ((gE == 0)) | |
1323 | 1329 | then throw("Nothing to adjust") | |
1324 | - | else if (( | |
1330 | + | else if ((gE > 0)) | |
1325 | 1331 | then { | |
1326 | - | let | |
1327 | - | if (( | |
1332 | + | let gl = invoke(ab(), "withdraw", [gE], nil) | |
1333 | + | if ((gl == gl)) | |
1328 | 1334 | then { | |
1329 | - | let | |
1330 | - | if (( | |
1331 | - | then ( | |
1335 | + | let fT = invoke(Z(), "lockNeutrinoSP", [toString(aa()), am], [AttachedPayment(Y(), gE)]) | |
1336 | + | if ((fT == fT)) | |
1337 | + | then (eV((aV() + gE)) ++ eK(eb, aZ())) | |
1332 | 1338 | else throw("Strict value is not equal to itself.") | |
1333 | 1339 | } | |
1334 | 1340 | else throw("Strict value is not equal to itself.") | |
1335 | 1341 | } | |
1336 | 1342 | else { | |
1337 | - | let | |
1338 | - | if (( | |
1343 | + | let gb = invoke(Z(), "unlockNeutrino", [au(gE), toBase58String(Y())], nil) | |
1344 | + | if ((gb == gb)) | |
1339 | 1345 | then { | |
1340 | - | let | |
1341 | - | if (( | |
1342 | - | then ( | |
1346 | + | let fU = invoke(ab(), "deposit", nil, [AttachedPayment(Y(), au(gE))]) | |
1347 | + | if ((fU == fU)) | |
1348 | + | then (eV((aV() - au(gE))) ++ eK(eb, aZ())) | |
1343 | 1349 | else throw("Strict value is not equal to itself.") | |
1344 | 1350 | } | |
1345 | 1351 | else throw("Strict value is not equal to itself.") | |
1350 | 1356 | ||
1351 | 1357 | @Callable(bs) | |
1352 | 1358 | func v_get (bB) = { | |
1353 | - | let | |
1354 | - | let cT = | |
1355 | - | let cU = | |
1356 | - | let cV = | |
1357 | - | let | |
1358 | - | throw((((ap(cU) + ap(cV)) + ap( | |
1359 | + | let gF = dv(bB, false) | |
1360 | + | let cT = gF._1 | |
1361 | + | let cU = gF._2 | |
1362 | + | let cV = gF._3 | |
1363 | + | let gG = gF._4 | |
1364 | + | throw((((ap(cU) + ap(cV)) + ap(gG)) + ap(dn(bB)))) | |
1359 | 1365 | } | |
1360 | 1366 | ||
1361 | 1367 | ||
1362 | 1368 | ||
1363 | 1369 | @Callable(bs) | |
1364 | 1370 | func view_calcRemainMarginWithFundingPayment (bB) = { | |
1365 | - | let | |
1366 | - | let bE = | |
1367 | - | let db = | |
1368 | - | let dk = | |
1369 | - | let dd = | |
1370 | - | let | |
1371 | - | let cQ = | |
1372 | - | let cY = | |
1373 | - | let | |
1374 | - | let co = | |
1375 | - | let cp = | |
1376 | - | let ck = | |
1371 | + | let gH = bA(bB) | |
1372 | + | let bE = gH._1 | |
1373 | + | let db = gH._2 | |
1374 | + | let dk = gH._3 | |
1375 | + | let dd = gH._4 | |
1376 | + | let gI = cZ(bB, an) | |
1377 | + | let cQ = gI._1 | |
1378 | + | let cY = gI._2 | |
1379 | + | let gJ = cf(bE, db, dd, cY) | |
1380 | + | let co = gJ._1 | |
1381 | + | let cp = gJ._2 | |
1382 | + | let ck = gJ._3 | |
1377 | 1383 | throw((((((ap(co) + ap(ck)) + ap(dn(bB))) + ap(cY)) + ap(cp)) + ap(cQ))) | |
1378 | 1384 | } | |
1379 | 1385 | ||
1386 | 1392 | } | |
1387 | 1393 | ||
1388 | 1394 | ||
1389 | - | @Verifier(gJ) | |
1390 | - | func gK () = sigVerify(gJ.bodyBytes, gJ.proofs[0], X()) | |
1395 | + | ||
1396 | + | @Callable(bs) | |
1397 | + | func view_getFunding () = { | |
1398 | + | let ee = cz() | |
1399 | + | let gK = ed() | |
1400 | + | let eh = gK._1 | |
1401 | + | let ei = gK._2 | |
1402 | + | let gL = ar(ei, ee) | |
1403 | + | let gM = ar(eh, ee) | |
1404 | + | throw((ap(gL) + ap(gM))) | |
1405 | + | } | |
1406 | + | ||
1407 | + | ||
1408 | + | @Verifier(gN) | |
1409 | + | func gO () = sigVerify(gN.bodyBytes, gN.proofs[0], X()) | |
1391 | 1410 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "k_ora_key" | |
5 | 5 | ||
6 | 6 | let b = "k_ora_block_key" | |
7 | 7 | ||
8 | 8 | let c = "k_ora" | |
9 | 9 | ||
10 | 10 | let d = "k_balance" | |
11 | 11 | ||
12 | 12 | let e = "k_positionSize" | |
13 | 13 | ||
14 | 14 | let f = "k_positionMargin" | |
15 | 15 | ||
16 | 16 | let g = "k_positionOpenNotional" | |
17 | 17 | ||
18 | 18 | let h = "k_positionFraction" | |
19 | 19 | ||
20 | 20 | let i = "k_positionClosedDate" | |
21 | 21 | ||
22 | 22 | let j = "k_initialized" | |
23 | 23 | ||
24 | 24 | let k = "k_paused" | |
25 | 25 | ||
26 | 26 | let l = "k_fee" | |
27 | 27 | ||
28 | 28 | let m = "k_fundingPeriod" | |
29 | 29 | ||
30 | 30 | let n = "k_initMarginRatio" | |
31 | 31 | ||
32 | 32 | let o = "k_mmr" | |
33 | 33 | ||
34 | 34 | let p = "k_liquidationFeeRatio" | |
35 | 35 | ||
36 | 36 | let q = "k_partLiquidationRatio" | |
37 | 37 | ||
38 | 38 | let r = "k_spreadLimit" | |
39 | 39 | ||
40 | 40 | let s = "k_maxPriceImpact" | |
41 | 41 | ||
42 | 42 | let t = "k_maxPriceSpread" | |
43 | 43 | ||
44 | 44 | let u = "k_lastDataStr" | |
45 | 45 | ||
46 | 46 | let v = "k_lastMinuteId" | |
47 | 47 | ||
48 | 48 | let w = "k_twapDataLastCumulativePrice" | |
49 | 49 | ||
50 | 50 | let x = "k_twapDataLastPrice" | |
51 | 51 | ||
52 | 52 | let y = "k_twapDataPreviousMinuteId" | |
53 | 53 | ||
54 | 54 | let z = "k_latestLongPremiumFraction" | |
55 | 55 | ||
56 | 56 | let A = "k_latestShortPremiumFraction" | |
57 | 57 | ||
58 | 58 | let B = "k_nextFundingBlockMinTimestamp" | |
59 | 59 | ||
60 | 60 | let C = "k_longFundingRate" | |
61 | 61 | ||
62 | 62 | let D = "k_shortFundingRate" | |
63 | 63 | ||
64 | 64 | let E = "k_qtAstR" | |
65 | 65 | ||
66 | 66 | let F = "k_bsAstR" | |
67 | 67 | ||
68 | 68 | let G = "k_totalPositionSize" | |
69 | 69 | ||
70 | 70 | let H = "k_totalLongPositionSize" | |
71 | 71 | ||
72 | 72 | let I = "k_totalShortPositionSize" | |
73 | 73 | ||
74 | 74 | let J = "k_cumulativeNotional" | |
75 | 75 | ||
76 | 76 | let K = "k_openInterestNotional" | |
77 | 77 | ||
78 | 78 | let L = "k_coordinatorAddress" | |
79 | 79 | ||
80 | 80 | let M = "k_insurance_address" | |
81 | 81 | ||
82 | 82 | let N = "k_admin_address" | |
83 | 83 | ||
84 | 84 | let O = "k_admin_public_key" | |
85 | 85 | ||
86 | 86 | let P = "k_quote_asset" | |
87 | 87 | ||
88 | 88 | let Q = "k_quote_staking" | |
89 | 89 | ||
90 | 90 | let R = "k_staking_address" | |
91 | 91 | ||
92 | 92 | let S = "k_miner_address" | |
93 | 93 | ||
94 | 94 | let T = "k_orders_address" | |
95 | 95 | ||
96 | 96 | let U = "k_referral_address" | |
97 | 97 | ||
98 | 98 | func V () = valueOrErrorMessage(addressFromString(getStringValue(this, L)), "Coordinator not set") | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func W () = addressFromString(getStringValue(V(), N)) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func X () = fromBase58String(getStringValue(V(), O)) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func Y () = fromBase58String(getStringValue(V(), P)) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func Z () = valueOrErrorMessage(addressFromString(getStringValue(V(), Q)), "Quote asset staking not set") | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func aa () = valueOrErrorMessage(addressFromString(getStringValue(V(), R)), "Staking not set") | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func ab () = valueOrErrorMessage(addressFromString(getStringValue(V(), M)), "Insurance not set") | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func ac () = valueOrErrorMessage(addressFromString(getStringValue(V(), S)), "Miner not set") | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func ad () = valueOrErrorMessage(addressFromString(getStringValue(V(), T)), "Orders not set") | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func ae () = valueOrErrorMessage(addressFromString(getStringValue(V(), U)), "Referral not set") | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | let af = 1 | |
129 | 129 | ||
130 | 130 | let ag = 2 | |
131 | 131 | ||
132 | 132 | let ah = 15 | |
133 | 133 | ||
134 | 134 | let ai = 15 | |
135 | 135 | ||
136 | 136 | let aj = 1000 | |
137 | 137 | ||
138 | 138 | let ak = (1 * (((((10 * 10) * 10) * 10) * 10) * 10)) | |
139 | 139 | ||
140 | 140 | let al = (86400 * ak) | |
141 | 141 | ||
142 | 142 | let am = 100 | |
143 | 143 | ||
144 | 144 | let an = 1 | |
145 | 145 | ||
146 | 146 | let ao = 2 | |
147 | 147 | ||
148 | 148 | func ap (aq) = (toString(aq) + ",") | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func ar (aq,as) = fraction(aq, ak, as, HALFEVEN) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func at (aq,as) = fraction(aq, as, ak, HALFEVEN) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func au (aq) = if ((aq > 0)) | |
158 | 158 | then aq | |
159 | 159 | else -(aq) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func av (aq,as) = if ((aq >= as)) | |
163 | 163 | then aq | |
164 | 164 | else as | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func aw (ax,ay) = ((ax + "_") + ay) | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func az (aA) = { | |
171 | 171 | func aB (aC,aD) = ((aC + aD) + ",") | |
172 | 172 | ||
173 | 173 | let aE = { | |
174 | 174 | let aF = aA | |
175 | 175 | let aG = size(aF) | |
176 | 176 | let aH = "" | |
177 | 177 | func aI (aJ,aK) = if ((aK >= aG)) | |
178 | 178 | then aJ | |
179 | 179 | else aB(aJ, aF[aK]) | |
180 | 180 | ||
181 | 181 | func aL (aJ,aK) = if ((aK >= aG)) | |
182 | 182 | then aJ | |
183 | 183 | else throw("List size exceeds 20") | |
184 | 184 | ||
185 | 185 | aL(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aH, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
186 | 186 | } | |
187 | 187 | let aM = dropRight(aE, 1) | |
188 | 188 | let aN = if ((take(aM, 1) == ",")) | |
189 | 189 | then drop(aM, 1) | |
190 | 190 | else aM | |
191 | 191 | aN | |
192 | 192 | } | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func aO (aP) = split(aP, ",") | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func aQ (aA,aR,aS) = if ((size(aA) > aR)) | |
199 | 199 | then (removeByIndex(aA, 0) :+ aS) | |
200 | 200 | else (aA :+ aS) | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | func aT (aU) = valueOrErrorMessage(getInteger(this, aU), ("no value for " + aU)) | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func aV () = aT(d) | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | func aW () = aT(l) | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | func aX () = aT(n) | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | func aY () = aT(E) | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | func aZ () = aT(F) | |
219 | 219 | ||
220 | 220 | ||
221 | 221 | func ba () = aT(G) | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | func bb () = aT(J) | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func bc () = aT(K) | |
228 | 228 | ||
229 | 229 | ||
230 | 230 | func bd () = aT(B) | |
231 | 231 | ||
232 | 232 | ||
233 | 233 | func be () = aT(m) | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | func bf () = (be() * ak) | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | func bg () = (be() * aj) | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | func bh () = aT(o) | |
243 | 243 | ||
244 | 244 | ||
245 | 245 | func bi () = aT(p) | |
246 | 246 | ||
247 | 247 | ||
248 | 248 | func bj () = aT(q) | |
249 | 249 | ||
250 | 250 | ||
251 | 251 | func bk () = aT(r) | |
252 | 252 | ||
253 | 253 | ||
254 | 254 | func bl () = aT(s) | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func bm () = aT(t) | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func bn () = aT(z) | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | func bo () = aT(A) | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | func bp () = aT(I) | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | func bq () = aT(H) | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func br (bs) = valueOrElse(getString(ad(), "k_sender"), toString(bs.caller)) | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | func bt (bu,bv,bw) = { | |
276 | 276 | let bx = (bu - bv) | |
277 | 277 | if (if (bw) | |
278 | 278 | then (0 > bx) | |
279 | 279 | else false) | |
280 | 280 | then throw("Invalid margin") | |
281 | 281 | else if (if (!(bw)) | |
282 | 282 | then (bx >= 0) | |
283 | 283 | else false) | |
284 | 284 | then throw("Invalid margin") | |
285 | 285 | else true | |
286 | 286 | } | |
287 | 287 | ||
288 | 288 | ||
289 | 289 | func by (bz) = if ((bz == 0)) | |
290 | 290 | then throw("Should not be called with _positionSize == 0") | |
291 | 291 | else if ((bz > 0)) | |
292 | 292 | then bn() | |
293 | 293 | else bo() | |
294 | 294 | ||
295 | 295 | ||
296 | 296 | func bA (bB) = { | |
297 | 297 | let bC = getInteger(this, aw(e, bB)) | |
298 | 298 | let bD = bC | |
299 | 299 | if ($isInstanceOf(bD, "Int")) | |
300 | 300 | then { | |
301 | 301 | let bE = bD | |
302 | 302 | $Tuple4(bE, getIntegerValue(this, aw(f, bB)), getIntegerValue(this, aw(g, bB)), getIntegerValue(this, aw(h, bB))) | |
303 | 303 | } | |
304 | 304 | else $Tuple4(0, 0, 0, 0) | |
305 | 305 | } | |
306 | 306 | ||
307 | 307 | ||
308 | 308 | func bF (bB) = if ((bA(bB)._1 == 0)) | |
309 | 309 | then throw("No open position") | |
310 | 310 | else true | |
311 | 311 | ||
312 | 312 | ||
313 | 313 | func bG () = valueOrElse(getBoolean(this, j), false) | |
314 | 314 | ||
315 | 315 | ||
316 | 316 | func bH () = valueOrElse(getBoolean(this, k), false) | |
317 | 317 | ||
318 | 318 | ||
319 | 319 | func bI (bJ,bK,bL) = if (bJ) | |
320 | 320 | then { | |
321 | 321 | let bM = (aZ() - bL) | |
322 | 322 | if ((0 >= bM)) | |
323 | 323 | then throw("Tx lead to base asset reserve <= 0, revert") | |
324 | 324 | else $Tuple4((aY() + bK), bM, (ba() + bL), (bb() + bK)) | |
325 | 325 | } | |
326 | 326 | else { | |
327 | 327 | let bN = (aY() - bK) | |
328 | 328 | if ((0 >= bN)) | |
329 | 329 | then throw("Tx lead to base quote reserve <= 0, revert") | |
330 | 330 | else $Tuple4(bN, (aZ() + bL), (ba() - bL), (bb() - bK)) | |
331 | 331 | } | |
332 | 332 | ||
333 | 333 | ||
334 | 334 | func bO (bJ,bK) = { | |
335 | 335 | let bP = aY() | |
336 | 336 | let bQ = aZ() | |
337 | 337 | let aU = at(bP, bQ) | |
338 | 338 | let bR = if (bJ) | |
339 | 339 | then (bP + bK) | |
340 | 340 | else (bP - bK) | |
341 | 341 | let bS = ar(aU, bR) | |
342 | 342 | let bT = au((bS - bQ)) | |
343 | 343 | let bU = if (bJ) | |
344 | 344 | then bT | |
345 | 345 | else -(bT) | |
346 | 346 | let bV = bI(bJ, bK, bT) | |
347 | 347 | let bW = bV._1 | |
348 | 348 | let bX = bV._2 | |
349 | 349 | let bY = bV._3 | |
350 | 350 | let bZ = bV._4 | |
351 | 351 | let ca = ar(bP, bQ) | |
352 | 352 | let cb = ar(bK, bT) | |
353 | 353 | let cc = au((ca - cb)) | |
354 | 354 | let cd = (ak - ar(ca, (ca + cc))) | |
355 | 355 | let ce = bl() | |
356 | 356 | if ((cd > ce)) | |
357 | 357 | then throw(((((((((((((("Price impact " + toString(cd)) + " > max price impact ") + toString(ce)) + " before quote asset: ") + toString(bP)) + " before base asset: ") + toString(bQ)) + " quote asset amount to exchange: ") + toString(bK)) + " price before: ") + toString(ca)) + " marketPrice: ") + toString(cb))) | |
358 | 358 | else $Tuple5(bU, bW, bX, bY, bZ) | |
359 | 359 | } | |
360 | 360 | ||
361 | 361 | ||
362 | 362 | func cf (cg,ch,ci,cj) = { | |
363 | 363 | let ck = if ((cg != 0)) | |
364 | 364 | then { | |
365 | 365 | let cl = by(cg) | |
366 | 366 | at((cl - ci), cg) | |
367 | 367 | } | |
368 | 368 | else 0 | |
369 | 369 | let cm = ((cj - ck) + ch) | |
370 | 370 | let cn = if ((0 > cm)) | |
371 | 371 | then $Tuple2(0, au(cm)) | |
372 | 372 | else $Tuple2(au(cm), 0) | |
373 | 373 | let co = cn._1 | |
374 | 374 | let cp = cn._2 | |
375 | 375 | $Tuple3(co, cp, ck) | |
376 | 376 | } | |
377 | 377 | ||
378 | 378 | ||
379 | 379 | func cq (bJ,bL,cr,cs,ct) = { | |
380 | 380 | let ca = ar(cs, ct) | |
381 | 381 | if ((bL == 0)) | |
382 | 382 | then throw("Invalid base asset amount") | |
383 | 383 | else { | |
384 | 384 | let aU = at(cs, ct) | |
385 | 385 | let cu = if (bJ) | |
386 | 386 | then (ct + bL) | |
387 | 387 | else (ct - bL) | |
388 | 388 | let cv = ar(aU, cu) | |
389 | 389 | let cw = au((cv - cs)) | |
390 | 390 | let ce = bl() | |
391 | 391 | let cx = bI(!(bJ), cw, bL) | |
392 | 392 | let bW = cx._1 | |
393 | 393 | let bX = cx._2 | |
394 | 394 | let bY = cx._3 | |
395 | 395 | let bZ = cx._4 | |
396 | 396 | let cb = ar(cw, bL) | |
397 | 397 | let cc = au((ca - cb)) | |
398 | 398 | let cd = (ak - ar(ca, (ca + cc))) | |
399 | 399 | if (if ((cd > ce)) | |
400 | 400 | then cr | |
401 | 401 | else false) | |
402 | 402 | then throw(((((((((((((("Price impact " + toString(cd)) + " > max price impact ") + toString(ce)) + " before quote asset: ") + toString(cs)) + " before base asset: ") + toString(ct)) + " base asset amount to exchange: ") + toString(bL)) + " price before: ") + toString(ca)) + " market price: ") + toString(cb))) | |
403 | 403 | else $Tuple8(cw, bW, bX, bY, bZ, (bq() - (if (bJ) | |
404 | 404 | then au(bL) | |
405 | 405 | else 0)), (bp() - (if (!(bJ)) | |
406 | 406 | then au(bL) | |
407 | 407 | else 0)), cd) | |
408 | 408 | } | |
409 | 409 | } | |
410 | 410 | ||
411 | 411 | ||
412 | 412 | func cy (bJ,bL,cr) = cq(bJ, bL, cr, aY(), aZ()) | |
413 | 413 | ||
414 | 414 | ||
415 | 415 | func cz () = { | |
416 | 416 | let cA = valueOrErrorMessage(addressFromString(getStringValue(this, c)), "") | |
417 | 417 | let cB = getStringValue(this, a) | |
418 | 418 | let cC = getStringValue(this, b) | |
419 | 419 | let cD = valueOrErrorMessage(getInteger(cA, cB), ((("Can not get oracle price. Oracle: " + toString(cA)) + " key: ") + cB)) | |
420 | 420 | cD | |
421 | 421 | } | |
422 | 422 | ||
423 | 423 | ||
424 | 424 | func cE (cs,ct) = { | |
425 | 425 | let cF = cz() | |
426 | 426 | let cG = ar(cs, ct) | |
427 | 427 | let cH = ar((cF + cG), (2 * ak)) | |
428 | 428 | let cI = ar(au((cF - cG)), cH) | |
429 | 429 | if ((cI > bm())) | |
430 | 430 | then throw(((("Price spread " + toString(cI)) + " > max price spread ") + toString(bm()))) | |
431 | 431 | else true | |
432 | 432 | } | |
433 | 433 | ||
434 | 434 | ||
435 | 435 | func cJ () = { | |
436 | 436 | let cs = aY() | |
437 | 437 | let ct = aZ() | |
438 | 438 | ar(cs, ct) | |
439 | 439 | } | |
440 | 440 | ||
441 | 441 | ||
442 | 442 | func cK () = { | |
443 | 443 | let cF = cz() | |
444 | 444 | let cL = cJ() | |
445 | 445 | (ar(au((cF - cL)), cF) > bk()) | |
446 | 446 | } | |
447 | 447 | ||
448 | 448 | ||
449 | 449 | func cM (bz,cN,cs,ct) = { | |
450 | 450 | let cO = au(bz) | |
451 | 451 | let cP = (0 > bz) | |
452 | 452 | let cQ = if ((cN == an)) | |
453 | 453 | then { | |
454 | 454 | let cR = cq(!(cP), cO, false, cs, ct) | |
455 | 455 | let cS = cR._1 | |
456 | 456 | let cT = cR._2 | |
457 | 457 | let cU = cR._3 | |
458 | 458 | let cV = cR._4 | |
459 | 459 | cS | |
460 | 460 | } | |
461 | 461 | else at(cO, cz()) | |
462 | 462 | cQ | |
463 | 463 | } | |
464 | 464 | ||
465 | 465 | ||
466 | 466 | func cW (bz,cX,cs,ct,cN) = if ((bz == 0)) | |
467 | 467 | then throw("Invalid position size") | |
468 | 468 | else { | |
469 | 469 | let cP = (0 > bz) | |
470 | 470 | let cQ = cM(bz, cN, cs, ct) | |
471 | 471 | let cY = if (cP) | |
472 | 472 | then (cX - cQ) | |
473 | 473 | else (cQ - cX) | |
474 | 474 | $Tuple2(cQ, cY) | |
475 | 475 | } | |
476 | 476 | ||
477 | 477 | ||
478 | 478 | func cZ (bB,cN) = { | |
479 | 479 | let da = bA(bB) | |
480 | 480 | let bE = da._1 | |
481 | 481 | let db = da._2 | |
482 | 482 | let dc = da._3 | |
483 | 483 | let dd = da._4 | |
484 | 484 | cW(bE, dc, aY(), aZ(), cN) | |
485 | 485 | } | |
486 | 486 | ||
487 | 487 | ||
488 | 488 | func de (df,dg,dh) = ar((df - dg), dh) | |
489 | 489 | ||
490 | 490 | ||
491 | 491 | func di (bB,cN) = { | |
492 | 492 | let dj = bA(bB) | |
493 | 493 | let bE = dj._1 | |
494 | 494 | let db = dj._2 | |
495 | 495 | let dk = dj._3 | |
496 | 496 | let dd = dj._4 | |
497 | 497 | let dl = cZ(bB, cN) | |
498 | 498 | let cQ = dl._1 | |
499 | 499 | let cY = dl._2 | |
500 | 500 | let dm = cf(bE, db, dd, cY) | |
501 | 501 | let co = dm._1 | |
502 | 502 | let cp = dm._2 | |
503 | 503 | de(co, cp, cQ) | |
504 | 504 | } | |
505 | 505 | ||
506 | 506 | ||
507 | 507 | func dn (bB) = di(bB, an) | |
508 | 508 | ||
509 | 509 | ||
510 | 510 | func do (bB,bz) = { | |
511 | 511 | let dp = av(bj(), (ak - ar(dn(bB), bh()))) | |
512 | 512 | let dq = at(au(bz), dp) | |
513 | 513 | let dr = cy((bz > 0), dq, false) | |
514 | 514 | let ds = dr._1 | |
515 | 515 | let cd = dr._8 | |
516 | 516 | if ((bl() > cd)) | |
517 | 517 | then ds | |
518 | 518 | else { | |
519 | 519 | let dt = at(au(bz), bj()) | |
520 | 520 | let du = cy((bz > 0), dt, false)._1 | |
521 | 521 | du | |
522 | 522 | } | |
523 | 523 | } | |
524 | 524 | ||
525 | 525 | ||
526 | 526 | func dv (bB,cr) = { | |
527 | 527 | let dw = bA(bB) | |
528 | 528 | let bE = dw._1 | |
529 | 529 | let db = dw._2 | |
530 | 530 | let dc = dw._3 | |
531 | 531 | let dd = dw._4 | |
532 | 532 | let cY = cZ(bB, an)._2 | |
533 | 533 | let dx = cf(bE, db, dd, cY) | |
534 | 534 | let co = dx._1 | |
535 | 535 | let cp = dx._2 | |
536 | 536 | let dt = -(bE) | |
537 | 537 | let dy = cY | |
538 | 538 | let dz = -(co) | |
539 | 539 | let dA = cy((bE > 0), au(bE), cr) | |
540 | 540 | let du = dA._1 | |
541 | 541 | let bR = dA._2 | |
542 | 542 | let bS = dA._3 | |
543 | 543 | let dB = dA._4 | |
544 | 544 | let dC = dA._5 | |
545 | 545 | let dD = dA._6 | |
546 | 546 | let dE = dA._7 | |
547 | 547 | let dF = (bc() - dc) | |
548 | 548 | $Tuple12(dt, cp, dy, dz, bR, bS, dB, dC, dF, du, dD, dE) | |
549 | 549 | } | |
550 | 550 | ||
551 | 551 | ||
552 | 552 | func dG () = { | |
553 | 553 | let dH = ((lastBlock.timestamp / 1000) / 60) | |
554 | 554 | let dI = (dH - ah) | |
555 | 555 | let dJ = valueOrElse(getString(this, u), "") | |
556 | 556 | let dK = split(dJ, ",") | |
557 | 557 | func dL (aC,dM) = if ((dI >= parseIntValue(dM))) | |
558 | 558 | then (aC :+ parseIntValue(dM)) | |
559 | 559 | else aC | |
560 | 560 | ||
561 | 561 | let dN = { | |
562 | 562 | let aF = dK | |
563 | 563 | let aG = size(aF) | |
564 | 564 | let aH = nil | |
565 | 565 | func aI (aJ,aK) = if ((aK >= aG)) | |
566 | 566 | then aJ | |
567 | 567 | else dL(aJ, aF[aK]) | |
568 | 568 | ||
569 | 569 | func aL (aJ,aK) = if ((aK >= aG)) | |
570 | 570 | then aJ | |
571 | 571 | else throw("List size exceeds 20") | |
572 | 572 | ||
573 | 573 | aL(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aH, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
574 | 574 | } | |
575 | 575 | let dO = if ((size(dN) > 0)) | |
576 | 576 | then max(dN) | |
577 | 577 | else parseIntValue(dK[0]) | |
578 | 578 | let dP = valueOrElse(getInteger(this, v), 0) | |
579 | 579 | let dQ = valueOrElse(getInteger(this, ((w + "_") + toString(dP))), 0) | |
580 | 580 | let dR = valueOrElse(getInteger(this, ((x + "_") + toString(dP))), 0) | |
581 | 581 | let dS = (dQ + ((dH - dP) * dR)) | |
582 | 582 | let dT = valueOrElse(getInteger(this, ((w + "_") + toString(dO))), 0) | |
583 | 583 | let dU = valueOrElse(getInteger(this, ((x + "_") + toString(dO))), 0) | |
584 | 584 | let dV = (dT + ((dI - dO) * dU)) | |
585 | 585 | ((dS - dV) / ah) | |
586 | 586 | } | |
587 | 587 | ||
588 | 588 | ||
589 | 589 | func dW (dX) = { | |
590 | 590 | let bz = ba() | |
591 | 591 | let dY = (bz > 0) | |
592 | 592 | let dZ = cy(dY, au(bz), false)._1 | |
593 | 593 | let ea = aZ() | |
594 | 594 | let eb = at(ea, dX) | |
595 | 595 | let ec = cW(bz, dZ, eb, ea, an)._2 | |
596 | 596 | $Tuple2(eb, ec) | |
597 | 597 | } | |
598 | 598 | ||
599 | 599 | ||
600 | - | func ed (ee,ef,eg,eh,ei,ej,ek,el,em) = [IntegerEntry(n, ee), IntegerEntry(o, ef), IntegerEntry(p, eg), IntegerEntry(m, eh), IntegerEntry(l, ei), IntegerEntry(r, ej), IntegerEntry(s, ek), IntegerEntry(q, el), IntegerEntry(t, em)] | |
600 | + | func ed () = { | |
601 | + | let ee = cz() | |
602 | + | let ef = dG() | |
603 | + | let eg = (ef - ee) | |
604 | + | if (if ((bp() == 0)) | |
605 | + | then true | |
606 | + | else (bq() == 0)) | |
607 | + | then $Tuple2(0, 0) | |
608 | + | else if ((0 > eg)) | |
609 | + | then { | |
610 | + | let eh = ar(at(eg, bf()), al) | |
611 | + | let ei = ar(at(eh, bp()), bq()) | |
612 | + | $Tuple2(eh, ei) | |
613 | + | } | |
614 | + | else { | |
615 | + | let ei = ar(at(eg, bf()), al) | |
616 | + | let eh = ar(at(ei, bq()), bp()) | |
617 | + | $Tuple2(eh, ei) | |
618 | + | } | |
619 | + | } | |
601 | 620 | ||
602 | 621 | ||
603 | - | func | |
622 | + | func ej (ek,el,em,en,eo,ep,eq,er,es) = [IntegerEntry(n, ek), IntegerEntry(o, el), IntegerEntry(p, em), IntegerEntry(m, en), IntegerEntry(l, eo), IntegerEntry(r, ep), IntegerEntry(s, eq), IntegerEntry(q, er), IntegerEntry(t, es)] | |
604 | 623 | ||
605 | 624 | ||
606 | - | func et ( | |
625 | + | func et (eu,ev,ew,ex,ey) = [IntegerEntry(B, eu), IntegerEntry(z, ev), IntegerEntry(A, ew), IntegerEntry(C, ex), IntegerEntry(D, ey)] | |
607 | 626 | ||
608 | 627 | ||
609 | - | func ex (ey) = { | |
628 | + | func ez (ay,eA,eB,eC,cl) = [IntegerEntry(aw(e, ay), eA), IntegerEntry(aw(f, ay), eB), IntegerEntry(aw(g, ay), eC), IntegerEntry(aw(h, ay), cl)] | |
629 | + | ||
630 | + | ||
631 | + | func eD (eE) = { | |
610 | 632 | let dH = ((lastBlock.timestamp / 1000) / 60) | |
611 | - | let | |
612 | - | if (( | |
633 | + | let eF = valueOrElse(getInteger(this, v), 0) | |
634 | + | if ((eF > dH)) | |
613 | 635 | then throw("TWAP out-of-order") | |
614 | 636 | else { | |
615 | - | let dP = if (( | |
637 | + | let dP = if ((eF == 0)) | |
616 | 638 | then dH | |
617 | - | else | |
618 | - | if ((dH > | |
639 | + | else eF | |
640 | + | if ((dH > eF)) | |
619 | 641 | then { | |
620 | - | let | |
621 | - | let | |
622 | - | let | |
642 | + | let eG = valueOrElse(getInteger(this, ((w + "_") + toString(eF))), 0) | |
643 | + | let eH = valueOrElse(getInteger(this, ((x + "_") + toString(eF))), eE) | |
644 | + | let eI = (eG + ((dH - dP) * eH)) | |
623 | 645 | let dK = aQ(aO(valueOrElse(getString(this, u), "")), ah, toString(dH)) | |
624 | - | [IntegerEntry(aw(w, toString(dH)), | |
646 | + | [IntegerEntry(aw(w, toString(dH)), eI), IntegerEntry(aw(x, toString(dH)), eE), IntegerEntry(aw(y, toString(dH)), eF), IntegerEntry(v, dH), StringEntry(u, az(dK))] | |
625 | 647 | } | |
626 | 648 | else { | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | let | |
631 | - | [IntegerEntry(aw(w, toString(dH)), | |
649 | + | let eJ = valueOrElse(getInteger(this, aw(y, toString(dH))), 0) | |
650 | + | let eG = valueOrElse(getInteger(this, aw(w, toString(eJ))), 0) | |
651 | + | let eH = valueOrElse(getInteger(this, aw(x, toString(eJ))), eE) | |
652 | + | let eI = (eG + ((dH - eJ) * eH)) | |
653 | + | [IntegerEntry(aw(w, toString(dH)), eI), IntegerEntry(aw(x, toString(dH)), eE)] | |
632 | 654 | } | |
633 | 655 | } | |
634 | 656 | } | |
635 | 657 | ||
636 | 658 | ||
637 | - | func | |
659 | + | func eK (bP,bQ) = [IntegerEntry(E, bP), IntegerEntry(F, bQ)] | |
638 | 660 | ||
639 | 661 | ||
640 | - | func | |
641 | - | then throw(((((("Invalid AMM state data: " + toString( | |
642 | - | else (( | |
662 | + | func eL (bP,bQ,eM,eN,eO,eP,eQ) = if (((eP - eQ) != eM)) | |
663 | + | then throw(((((("Invalid AMM state data: " + toString(eP)) + " + ") + toString(eQ)) + " != ") + toString(eM))) | |
664 | + | else ((eK(bP, bQ) ++ [IntegerEntry(G, eM), IntegerEntry(J, eN), IntegerEntry(K, eO), IntegerEntry(H, eP), IntegerEntry(I, eQ)]) ++ eD(ar(bP, bQ))) | |
643 | 665 | ||
644 | 666 | ||
645 | - | func | |
667 | + | func eR (ay) = [DeleteEntry(aw(e, ay)), DeleteEntry(aw(f, ay)), DeleteEntry(aw(g, ay)), DeleteEntry(aw(h, ay)), IntegerEntry(aw(i, ay), lastBlock.timestamp)] | |
646 | 668 | ||
647 | 669 | ||
648 | - | func | |
649 | - | let | |
650 | - | if (( | |
651 | - | then throw(((("Unable to withdraw " + toString( | |
652 | - | else [ScriptTransfer(ay, | |
670 | + | func eS (ay,eT) = { | |
671 | + | let eU = assetBalance(this, Y()) | |
672 | + | if ((eT > eU)) | |
673 | + | then throw(((("Unable to withdraw " + toString(eT)) + " from contract balance ") + toString(eU))) | |
674 | + | else [ScriptTransfer(ay, eT, Y())] | |
653 | 675 | } | |
654 | 676 | ||
655 | 677 | ||
656 | - | func | |
678 | + | func eV (bs) = if ((0 > bs)) | |
657 | 679 | then throw("Balance") | |
658 | 680 | else [IntegerEntry(d, bs)] | |
659 | 681 | ||
660 | 682 | ||
661 | - | func | |
683 | + | func eW (bs) = [ScriptTransfer(aa(), bs, Y())] | |
662 | 684 | ||
663 | 685 | ||
664 | 686 | @Callable(bs) | |
665 | 687 | func pause () = if ((bs.caller != W())) | |
666 | 688 | then throw("Invalid togglePause params") | |
667 | 689 | else [BooleanEntry(k, true)] | |
668 | 690 | ||
669 | 691 | ||
670 | 692 | ||
671 | 693 | @Callable(bs) | |
672 | 694 | func unpause () = if ((bs.caller != W())) | |
673 | 695 | then throw("Invalid togglePause params") | |
674 | 696 | else [BooleanEntry(k, false)] | |
675 | 697 | ||
676 | 698 | ||
677 | 699 | ||
678 | 700 | @Callable(bs) | |
679 | 701 | func addLiquidity (bK) = if (if ((bs.caller != W())) | |
680 | 702 | then true | |
681 | 703 | else (0 >= bK)) | |
682 | 704 | then throw("Invalid addLiquidity params") | |
683 | 705 | else { | |
684 | 706 | let bP = aY() | |
685 | 707 | let bQ = aZ() | |
686 | - | let | |
687 | - | let | |
688 | - | let | |
689 | - | let | |
690 | - | | |
708 | + | let eE = ar(bP, bQ) | |
709 | + | let eX = ar(bK, eE) | |
710 | + | let eY = (bP + bK) | |
711 | + | let eZ = (bQ + eX) | |
712 | + | eK(eY, eZ) | |
691 | 713 | } | |
692 | 714 | ||
693 | 715 | ||
694 | 716 | ||
695 | 717 | @Callable(bs) | |
696 | 718 | func removeLiquidity (bK) = if (if ((bs.caller != W())) | |
697 | 719 | then true | |
698 | 720 | else (0 >= bK)) | |
699 | 721 | then throw("Invalid removeLiquidity params") | |
700 | 722 | else { | |
701 | 723 | let bP = aY() | |
702 | 724 | let bQ = aZ() | |
703 | - | let | |
704 | - | let | |
705 | - | let | |
706 | - | let | |
707 | - | | |
725 | + | let eE = ar(bP, bQ) | |
726 | + | let fa = ar(bK, eE) | |
727 | + | let eY = (bP - bK) | |
728 | + | let eZ = (bQ - fa) | |
729 | + | eK(eY, eZ) | |
708 | 730 | } | |
709 | 731 | ||
710 | 732 | ||
711 | 733 | ||
712 | 734 | @Callable(bs) | |
713 | - | func changeSettings ( | |
735 | + | func changeSettings (ek,el,em,en,eo,ep,eq,er,es) = if ((bs.caller != W())) | |
714 | 736 | then throw("Invalid changeSettings params") | |
715 | - | else | |
737 | + | else ej(ek, el, em, en, eo, ep, eq, er, es) | |
716 | 738 | ||
717 | 739 | ||
718 | 740 | ||
719 | 741 | @Callable(bs) | |
720 | - | func initialize (bP,bQ, | |
742 | + | func initialize (bP,bQ,en,ek,el,em,eo,fb,fc,fd,ep,eq,er,es) = if (if (if (if (if (if (if (if (if (if (if (if ((0 >= bP)) | |
721 | 743 | then true | |
722 | 744 | else (0 >= bQ)) | |
723 | 745 | then true | |
724 | - | else (0 >= eh)) | |
725 | - | then true | |
726 | - | else (0 >= ee)) | |
727 | - | then true | |
728 | - | else (0 >= ef)) | |
729 | - | then true | |
730 | - | else (0 >= eg)) | |
731 | - | then true | |
732 | - | else (0 >= ei)) | |
733 | - | then true | |
734 | - | else (0 >= ej)) | |
746 | + | else (0 >= en)) | |
735 | 747 | then true | |
736 | 748 | else (0 >= ek)) | |
737 | 749 | then true | |
738 | 750 | else (0 >= el)) | |
739 | 751 | then true | |
740 | 752 | else (0 >= em)) | |
741 | 753 | then true | |
754 | + | else (0 >= eo)) | |
755 | + | then true | |
756 | + | else (0 >= ep)) | |
757 | + | then true | |
758 | + | else (0 >= eq)) | |
759 | + | then true | |
760 | + | else (0 >= er)) | |
761 | + | then true | |
762 | + | else (0 >= es)) | |
763 | + | then true | |
742 | 764 | else bG()) | |
743 | 765 | then throw("Invalid initialize parameters") | |
744 | - | else (((( | |
766 | + | else ((((eL(bP, bQ, 0, 0, 0, 0, 0) ++ ej(ek, el, em, en, eo, ep, eq, er, es)) ++ et((lastBlock.timestamp + en), 0, 0, 0, 0)) ++ eV(0)) ++ [BooleanEntry(j, true), StringEntry(c, fb), StringEntry(a, fc), StringEntry(L, fd)]) | |
745 | 767 | ||
746 | 768 | ||
747 | 769 | ||
748 | 770 | @Callable(bs) | |
749 | - | func setInitMarginRatio ( | |
771 | + | func setInitMarginRatio (ek) = if (if ((0 >= ek)) | |
750 | 772 | then true | |
751 | 773 | else !(bG())) | |
752 | 774 | then throw("Invalid setInitMarginRatio parameters") | |
753 | - | else | |
775 | + | else ej(ek, bh(), bi(), be(), aW(), bk(), bl(), bj(), bm()) | |
754 | 776 | ||
755 | 777 | ||
756 | 778 | ||
757 | 779 | @Callable(bs) | |
758 | - | func decreasePosition ( | |
780 | + | func decreasePosition (eT,fe,ff) = if (if (if (if (if ((0 >= eT)) | |
759 | 781 | then true | |
760 | 782 | else !(bG())) | |
761 | 783 | then true | |
762 | - | else !(bt(ar(ak, | |
784 | + | else !(bt(ar(ak, fe), aX(), true))) | |
763 | 785 | then true | |
764 | 786 | else !(bF(toString(bs.caller)))) | |
765 | 787 | then true | |
766 | 788 | else bH()) | |
767 | 789 | then throw("Invalid decreasePosition parameters") | |
768 | 790 | else { | |
769 | - | let | |
770 | - | let | |
771 | - | let | |
772 | - | let | |
773 | - | let | |
774 | - | let | |
791 | + | let fg = bA(toString(bs.caller)) | |
792 | + | let fh = fg._1 | |
793 | + | let fi = fg._2 | |
794 | + | let fj = fg._3 | |
795 | + | let fk = fg._4 | |
796 | + | let fl = if ((fh > 0)) | |
775 | 797 | then ag | |
776 | 798 | else af | |
777 | - | let | |
778 | - | let | |
779 | - | let | |
780 | - | let | |
781 | - | let cY = | |
782 | - | let | |
799 | + | let fm = (fl == af) | |
800 | + | let fn = at(eT, fe) | |
801 | + | let fo = cZ(toString(bs.caller), an) | |
802 | + | let fp = fo._1 | |
803 | + | let cY = fo._2 | |
804 | + | let fq = if ((fp > fn)) | |
783 | 805 | then { | |
784 | - | let | |
785 | - | let dt = | |
786 | - | let bR = | |
787 | - | let bS = | |
788 | - | let dB = | |
789 | - | let dC = | |
790 | - | let | |
791 | - | if (if (( | |
792 | - | then ( | |
806 | + | let fr = bO(fm, fn) | |
807 | + | let dt = fr._1 | |
808 | + | let bR = fr._2 | |
809 | + | let bS = fr._3 | |
810 | + | let dB = fr._4 | |
811 | + | let dC = fr._5 | |
812 | + | let fs = au(dt) | |
813 | + | if (if ((ff != 0)) | |
814 | + | then (ff > fs) | |
793 | 815 | else false) | |
794 | - | then throw(((("Too little base asset exchanged, got " + toString( | |
816 | + | then throw(((("Too little base asset exchanged, got " + toString(fs)) + " expected ") + toString(ff))) | |
795 | 817 | else { | |
796 | - | let dy = ar(at(cY, | |
797 | - | let | |
798 | - | let co = | |
799 | - | let cp = | |
800 | - | let ck = | |
801 | - | let du = | |
802 | - | let | |
803 | - | let | |
804 | - | then (( | |
805 | - | else (( | |
806 | - | let | |
807 | - | $Tuple11( | |
818 | + | let dy = ar(at(cY, fs), au(fh)) | |
819 | + | let ft = cf(fh, fi, fk, dy) | |
820 | + | let co = ft._1 | |
821 | + | let cp = ft._2 | |
822 | + | let ck = ft._3 | |
823 | + | let du = fn | |
824 | + | let fu = (cY - dy) | |
825 | + | let fv = if ((fh > 0)) | |
826 | + | then ((fp - du) - fu) | |
827 | + | else ((fu + fp) - du) | |
828 | + | let fw = (fh + dt) | |
829 | + | $Tuple11(fw, co, au(fv), by(fw), bS, bR, dB, dC, (bc() - fn), (bq() - (if ((fw > 0)) | |
808 | 830 | then au(dt) | |
809 | - | else 0)), (bp() - (if ((0 > | |
831 | + | else 0)), (bp() - (if ((0 > fw)) | |
810 | 832 | then au(dt) | |
811 | 833 | else 0))) | |
812 | 834 | } | |
813 | 835 | } | |
814 | 836 | else throw("Close position first") | |
815 | - | let | |
816 | - | let | |
817 | - | let | |
818 | - | let | |
819 | - | let bS = | |
820 | - | let bR = | |
821 | - | let dB = | |
822 | - | let dC = | |
823 | - | let dF = | |
824 | - | let dD = | |
825 | - | let dE = | |
826 | - | let | |
827 | - | if (( | |
828 | - | then ( | |
837 | + | let fw = fq._1 | |
838 | + | let fx = fq._2 | |
839 | + | let fy = fq._3 | |
840 | + | let fz = fq._4 | |
841 | + | let bS = fq._5 | |
842 | + | let bR = fq._6 | |
843 | + | let dB = fq._7 | |
844 | + | let dC = fq._8 | |
845 | + | let dF = fq._9 | |
846 | + | let dD = fq._10 | |
847 | + | let dE = fq._11 | |
848 | + | let fA = invoke(ac(), "notifyNotional", [toString(bs.caller), fy], nil) | |
849 | + | if ((fA == fA)) | |
850 | + | then (ez(toString(bs.caller), fw, fx, fy, fz) ++ eL(bR, bS, dB, dC, dF, dD, dE)) | |
829 | 851 | else throw("Strict value is not equal to itself.") | |
830 | 852 | } | |
831 | 853 | ||
832 | 854 | ||
833 | 855 | ||
834 | 856 | @Callable(bs) | |
835 | - | func increasePosition (ff, | |
836 | - | let | |
837 | - | if (if (if (if (if (if (if (( | |
838 | - | then ( | |
857 | + | func increasePosition (fl,fe,ff,fB) = { | |
858 | + | let fC = bs.payments[0].amount | |
859 | + | if (if (if (if (if (if (if ((fl != af)) | |
860 | + | then (fl != ag) | |
839 | 861 | else false) | |
840 | 862 | then true | |
841 | - | else (0 >= | |
863 | + | else (0 >= fC)) | |
842 | 864 | then true | |
843 | 865 | else !(bG())) | |
844 | 866 | then true | |
845 | 867 | else (bs.payments[0].assetId != Y())) | |
846 | 868 | then true | |
847 | - | else !(bt(ar(ak, | |
869 | + | else !(bt(ar(ak, fe), aX(), true))) | |
848 | 870 | then true | |
849 | 871 | else bH()) | |
850 | 872 | then throw("Invalid increasePosition parameters") | |
851 | 873 | else { | |
852 | 874 | let bB = toString(bs.caller) | |
853 | - | let | |
854 | - | let | |
855 | - | if (( | |
875 | + | let fD = at(fC, aW()) | |
876 | + | let fE = invoke(ae(), "acceptPaymentWithLink", [bB, fB], [AttachedPayment(Y(), fD)]) | |
877 | + | if ((fE == fE)) | |
856 | 878 | then { | |
857 | - | let | |
858 | - | let bD = | |
879 | + | let fF = { | |
880 | + | let bD = fE | |
859 | 881 | if ($isInstanceOf(bD, "Int")) | |
860 | 882 | then { | |
861 | - | let | |
862 | - | | |
883 | + | let fG = bD | |
884 | + | fG | |
863 | 885 | } | |
864 | 886 | else throw("Invalid referrerFee") | |
865 | 887 | } | |
866 | - | let | |
867 | - | let | |
868 | - | let | |
869 | - | let | |
870 | - | let | |
871 | - | let | |
872 | - | let | |
873 | - | let | |
874 | - | let | |
875 | - | then ( | |
876 | - | else ( | |
877 | - | let | |
878 | - | then | |
888 | + | let eT = (fC - fD) | |
889 | + | let fH = (fD - fF) | |
890 | + | let fI = bA(bB) | |
891 | + | let fh = fI._1 | |
892 | + | let fi = fI._2 | |
893 | + | let fj = fI._3 | |
894 | + | let fk = fI._4 | |
895 | + | let fJ = (fh == 0) | |
896 | + | let fK = if ((fh > 0)) | |
897 | + | then (fl == af) | |
898 | + | else (fl == ag) | |
899 | + | let fL = if (!(fJ)) | |
900 | + | then fK | |
879 | 901 | else false | |
880 | - | let | |
881 | - | let | |
902 | + | let fm = (fl == af) | |
903 | + | let fM = if (if (fJ) | |
882 | 904 | then true | |
883 | - | else | |
905 | + | else fL) | |
884 | 906 | then { | |
885 | - | let | |
886 | - | let | |
887 | - | let bU = | |
888 | - | let bR = | |
889 | - | let bS = | |
890 | - | let dB = | |
891 | - | let dC = | |
892 | - | if (if (( | |
893 | - | then ( | |
907 | + | let fn = at(eT, fe) | |
908 | + | let fN = bO(fm, fn) | |
909 | + | let bU = fN._1 | |
910 | + | let bR = fN._2 | |
911 | + | let bS = fN._3 | |
912 | + | let dB = fN._4 | |
913 | + | let dC = fN._5 | |
914 | + | if (if ((ff != 0)) | |
915 | + | then (ff > au(bU)) | |
894 | 916 | else false) | |
895 | - | then throw(((("Limit error: " + toString(au(bU))) + " < ") + toString( | |
917 | + | then throw(((("Limit error: " + toString(au(bU))) + " < ") + toString(ff))) | |
896 | 918 | else { | |
897 | - | let | |
898 | - | let | |
899 | - | let | |
900 | - | let co = | |
901 | - | let cT = | |
902 | - | let cU = | |
919 | + | let fw = (fh + bU) | |
920 | + | let fO = ar(fn, fe) | |
921 | + | let fP = cf(fh, fi, fk, fO) | |
922 | + | let co = fP._1 | |
923 | + | let cT = fP._2 | |
924 | + | let cU = fP._3 | |
903 | 925 | if (!(cE(bR, bS))) | |
904 | 926 | then throw("Over max spread limit") | |
905 | - | else $Tuple11( | |
927 | + | else $Tuple11(fw, co, (fj + fn), by(fw), bS, bR, dB, dC, (bc() + fn), (bq() + (if ((fw > 0)) | |
906 | 928 | then au(bU) | |
907 | - | else 0)), (bp() + (if ((0 > | |
929 | + | else 0)), (bp() + (if ((0 > fw)) | |
908 | 930 | then au(bU) | |
909 | 931 | else 0))) | |
910 | 932 | } | |
911 | 933 | } | |
912 | 934 | else { | |
913 | - | let | |
914 | - | let | |
915 | - | let | |
916 | - | let cY = | |
917 | - | if (( | |
935 | + | let fn = at(eT, fe) | |
936 | + | let fQ = cZ(toString(bs.caller), an) | |
937 | + | let fp = fQ._1 | |
938 | + | let cY = fQ._2 | |
939 | + | if ((fp > fn)) | |
918 | 940 | then throw("Use decreasePosition to decrease position size") | |
919 | 941 | else throw("Close position first") | |
920 | 942 | } | |
921 | - | let | |
922 | - | let | |
923 | - | let | |
924 | - | let | |
925 | - | let bS = | |
926 | - | let bR = | |
927 | - | let dB = | |
928 | - | let dC = | |
929 | - | let dF = | |
930 | - | let dD = | |
931 | - | let dE = | |
932 | - | let | |
933 | - | let | |
934 | - | let | |
935 | - | if (( | |
943 | + | let fw = fM._1 | |
944 | + | let fx = fM._2 | |
945 | + | let fy = fM._3 | |
946 | + | let fz = fM._4 | |
947 | + | let bS = fM._5 | |
948 | + | let bR = fM._6 | |
949 | + | let dB = fM._7 | |
950 | + | let dC = fM._8 | |
951 | + | let dF = fM._9 | |
952 | + | let dD = fM._10 | |
953 | + | let dE = fM._11 | |
954 | + | let fR = (fH / 2) | |
955 | + | let fS = (fH - fR) | |
956 | + | let fT = invoke(Z(), "lockNeutrinoSP", [toString(aa()), am], [AttachedPayment(Y(), eT)]) | |
957 | + | if ((fT == fT)) | |
936 | 958 | then { | |
937 | - | let | |
938 | - | if (( | |
959 | + | let fU = invoke(ab(), "deposit", nil, [AttachedPayment(Y(), fS)]) | |
960 | + | if ((fU == fU)) | |
939 | 961 | then { | |
940 | - | let | |
941 | - | if (( | |
962 | + | let fV = invoke(ac(), "notifyFees", [bB, fH], nil) | |
963 | + | if ((fV == fV)) | |
942 | 964 | then { | |
943 | - | let | |
944 | - | if (( | |
945 | - | then ((( | |
965 | + | let fA = invoke(ac(), "notifyNotional", [bB, fy], nil) | |
966 | + | if ((fA == fA)) | |
967 | + | then (((ez(bB, fw, fx, fy, fz) ++ eL(bR, bS, dB, dC, dF, dD, dE)) ++ eW(fR)) ++ eV((aV() + eT))) | |
946 | 968 | else throw("Strict value is not equal to itself.") | |
947 | 969 | } | |
948 | 970 | else throw("Strict value is not equal to itself.") | |
949 | 971 | } | |
950 | 972 | else throw("Strict value is not equal to itself.") | |
951 | 973 | } | |
952 | 974 | else throw("Strict value is not equal to itself.") | |
953 | 975 | } | |
954 | 976 | else throw("Strict value is not equal to itself.") | |
955 | 977 | } | |
956 | 978 | } | |
957 | 979 | ||
958 | 980 | ||
959 | 981 | ||
960 | 982 | @Callable(bs) | |
961 | 983 | func addMargin () = { | |
962 | - | let | |
984 | + | let fC = bs.payments[0].amount | |
963 | 985 | if (if (if (if ((bs.payments[0].assetId != Y())) | |
964 | 986 | then true | |
965 | 987 | else !(bF(toString(bs.caller)))) | |
966 | 988 | then true | |
967 | 989 | else !(bG())) | |
968 | 990 | then true | |
969 | 991 | else bH()) | |
970 | 992 | then throw("Invalid addMargin parameters") | |
971 | 993 | else { | |
972 | 994 | let bB = toString(bs.caller) | |
973 | - | let | |
974 | - | let | |
975 | - | if (( | |
995 | + | let fD = at(fC, aW()) | |
996 | + | let fE = invoke(ae(), "acceptPayment", [bB], [AttachedPayment(Y(), fD)]) | |
997 | + | if ((fE == fE)) | |
976 | 998 | then { | |
977 | - | let | |
978 | - | let bD = | |
999 | + | let fF = { | |
1000 | + | let bD = fE | |
979 | 1001 | if ($isInstanceOf(bD, "Int")) | |
980 | 1002 | then { | |
981 | - | let | |
982 | - | | |
1003 | + | let fG = bD | |
1004 | + | fG | |
983 | 1005 | } | |
984 | 1006 | else throw("Invalid referrerFee") | |
985 | 1007 | } | |
986 | - | let | |
987 | - | let | |
988 | - | let | |
989 | - | let | |
990 | - | let | |
991 | - | let | |
992 | - | let | |
993 | - | let | |
994 | - | let | |
995 | - | let | |
996 | - | if (( | |
1008 | + | let fH = (fD - fF) | |
1009 | + | let eT = (fC - fD) | |
1010 | + | let fW = bA(bB) | |
1011 | + | let fh = fW._1 | |
1012 | + | let fi = fW._2 | |
1013 | + | let fj = fW._3 | |
1014 | + | let fk = fW._4 | |
1015 | + | let fR = (fH / 2) | |
1016 | + | let fS = (fH - fR) | |
1017 | + | let fT = invoke(Z(), "lockNeutrinoSP", [toString(aa()), am], [AttachedPayment(Y(), eT)]) | |
1018 | + | if ((fT == fT)) | |
997 | 1019 | then { | |
998 | - | let | |
999 | - | if (( | |
1020 | + | let fU = invoke(ab(), "deposit", nil, [AttachedPayment(Y(), fS)]) | |
1021 | + | if ((fU == fU)) | |
1000 | 1022 | then { | |
1001 | - | let | |
1002 | - | if (( | |
1003 | - | then (( | |
1023 | + | let fV = invoke(ac(), "notifyFees", [bB, fH], nil) | |
1024 | + | if ((fV == fV)) | |
1025 | + | then ((ez(bB, fh, (fi + eT), fj, fk) ++ eW(fR)) ++ eV((aV() + eT))) | |
1004 | 1026 | else throw("Strict value is not equal to itself.") | |
1005 | 1027 | } | |
1006 | 1028 | else throw("Strict value is not equal to itself.") | |
1007 | 1029 | } | |
1008 | 1030 | else throw("Strict value is not equal to itself.") | |
1009 | 1031 | } | |
1010 | 1032 | else throw("Strict value is not equal to itself.") | |
1011 | 1033 | } | |
1012 | 1034 | } | |
1013 | 1035 | ||
1014 | 1036 | ||
1015 | 1037 | ||
1016 | 1038 | @Callable(bs) | |
1017 | - | func removeMargin ( | |
1039 | + | func removeMargin (eT) = if (if (if (if ((0 >= eT)) | |
1018 | 1040 | then true | |
1019 | 1041 | else !(bF(toString(bs.caller)))) | |
1020 | 1042 | then true | |
1021 | 1043 | else !(bG())) | |
1022 | 1044 | then true | |
1023 | 1045 | else bH()) | |
1024 | 1046 | then throw("Invalid removeMargin parameters") | |
1025 | 1047 | else { | |
1026 | - | let | |
1027 | - | let | |
1028 | - | let | |
1029 | - | let | |
1030 | - | let | |
1031 | - | let | |
1032 | - | let | |
1033 | - | let co = | |
1034 | - | let cp = | |
1048 | + | let fX = bA(toString(bs.caller)) | |
1049 | + | let fh = fX._1 | |
1050 | + | let fi = fX._2 | |
1051 | + | let fj = fX._3 | |
1052 | + | let fk = fX._4 | |
1053 | + | let fY = -(eT) | |
1054 | + | let fZ = cf(fh, fi, fk, fY) | |
1055 | + | let co = fZ._1 | |
1056 | + | let cp = fZ._2 | |
1035 | 1057 | if ((cp != 0)) | |
1036 | 1058 | then throw("Invalid removed margin amount") | |
1037 | 1059 | else { | |
1038 | - | let | |
1039 | - | if (!(bt( | |
1040 | - | then throw(((("Too much margin removed: " + toString( | |
1060 | + | let ga = de(co, cp, fj) | |
1061 | + | if (!(bt(ga, aX(), true))) | |
1062 | + | then throw(((("Too much margin removed: " + toString(ga)) + " < ") + toString(aX()))) | |
1041 | 1063 | else { | |
1042 | - | let | |
1043 | - | if (( | |
1044 | - | then (( | |
1064 | + | let gb = invoke(Z(), "unlockNeutrino", [eT, toBase58String(Y())], nil) | |
1065 | + | if ((gb == gb)) | |
1066 | + | then ((ez(toString(bs.caller), fh, co, fj, by(fh)) ++ eS(bs.caller, eT)) ++ eV((aV() - eT))) | |
1045 | 1067 | else throw("Strict value is not equal to itself.") | |
1046 | 1068 | } | |
1047 | 1069 | } | |
1048 | 1070 | } | |
1049 | 1071 | ||
1050 | 1072 | ||
1051 | 1073 | ||
1052 | 1074 | @Callable(bs) | |
1053 | 1075 | func closePosition () = { | |
1054 | - | let | |
1055 | - | let | |
1056 | - | if (if (if (!(bF( | |
1076 | + | let gc = br(bs) | |
1077 | + | let gd = valueOrErrorMessage(addressFromString(gc), "Invalid caller") | |
1078 | + | if (if (if (!(bF(gc))) | |
1057 | 1079 | then true | |
1058 | 1080 | else !(bG())) | |
1059 | 1081 | then true | |
1060 | 1082 | else bH()) | |
1061 | 1083 | then throw("Invalid closePosition parameters") | |
1062 | 1084 | else { | |
1063 | - | let | |
1064 | - | let cT = | |
1065 | - | let | |
1066 | - | let dy = | |
1067 | - | let dz = | |
1068 | - | let bR = | |
1069 | - | let bS = | |
1070 | - | let dB = | |
1071 | - | let dC = | |
1072 | - | let dF = | |
1073 | - | let cU = | |
1074 | - | let dD = | |
1075 | - | let dE = | |
1076 | - | if (( | |
1085 | + | let ge = dv(gc, true) | |
1086 | + | let cT = ge._1 | |
1087 | + | let gf = ge._2 | |
1088 | + | let dy = ge._3 | |
1089 | + | let dz = ge._4 | |
1090 | + | let bR = ge._5 | |
1091 | + | let bS = ge._6 | |
1092 | + | let dB = ge._7 | |
1093 | + | let dC = ge._8 | |
1094 | + | let dF = ge._9 | |
1095 | + | let cU = ge._10 | |
1096 | + | let dD = ge._11 | |
1097 | + | let dE = ge._12 | |
1098 | + | if ((gf > 0)) | |
1077 | 1099 | then throw("Unable to close position with bad debt") | |
1078 | 1100 | else { | |
1079 | - | let | |
1080 | - | let | |
1081 | - | let | |
1082 | - | then $Tuple2(0, au( | |
1083 | - | else $Tuple2( | |
1084 | - | let | |
1085 | - | let | |
1086 | - | let | |
1101 | + | let gg = au(dz) | |
1102 | + | let gh = (aV() - gg) | |
1103 | + | let gi = if ((0 > gh)) | |
1104 | + | then $Tuple2(0, au(gh)) | |
1105 | + | else $Tuple2(gh, 0) | |
1106 | + | let gj = gi._1 | |
1107 | + | let gk = gi._2 | |
1108 | + | let fG = if ((gk > 0)) | |
1087 | 1109 | then { | |
1088 | - | let | |
1089 | - | if (( | |
1110 | + | let gl = invoke(ab(), "withdraw", [gk], nil) | |
1111 | + | if ((gl == gl)) | |
1090 | 1112 | then nil | |
1091 | 1113 | else throw("Strict value is not equal to itself.") | |
1092 | 1114 | } | |
1093 | 1115 | else nil | |
1094 | - | if (( | |
1116 | + | if ((fG == fG)) | |
1095 | 1117 | then { | |
1096 | - | let | |
1097 | - | if (( | |
1118 | + | let gb = invoke(Z(), "unlockNeutrino", [(gg - gk), toBase58String(Y())], nil) | |
1119 | + | if ((gb == gb)) | |
1098 | 1120 | then { | |
1099 | - | let | |
1100 | - | if (( | |
1101 | - | then ((( | |
1121 | + | let fA = invoke(ac(), "notifyNotional", [gc, 0], nil) | |
1122 | + | if ((fA == fA)) | |
1123 | + | then (((eR(gc) ++ eL(bR, bS, dB, dC, dF, dD, dE)) ++ eS(gd, gg)) ++ eV(gj)) | |
1102 | 1124 | else throw("Strict value is not equal to itself.") | |
1103 | 1125 | } | |
1104 | 1126 | else throw("Strict value is not equal to itself.") | |
1105 | 1127 | } | |
1106 | 1128 | else throw("Strict value is not equal to itself.") | |
1107 | 1129 | } | |
1108 | 1130 | } | |
1109 | 1131 | } | |
1110 | 1132 | ||
1111 | 1133 | ||
1112 | 1134 | ||
1113 | 1135 | @Callable(bs) | |
1114 | 1136 | func liquidate (bB) = { | |
1115 | - | let | |
1116 | - | let | |
1137 | + | let gm = di(bB, an) | |
1138 | + | let ga = if (cK()) | |
1117 | 1139 | then { | |
1118 | - | let | |
1119 | - | av( | |
1140 | + | let gn = di(bB, ao) | |
1141 | + | av(gm, gn) | |
1120 | 1142 | } | |
1121 | - | else | |
1122 | - | if (if (if (if (!(bt( | |
1143 | + | else gm | |
1144 | + | if (if (if (if (!(bt(ga, bh(), false))) | |
1123 | 1145 | then true | |
1124 | 1146 | else !(bF(bB))) | |
1125 | 1147 | then true | |
1126 | 1148 | else !(bG())) | |
1127 | 1149 | then true | |
1128 | 1150 | else bH()) | |
1129 | 1151 | then throw("Unable to liquidate") | |
1130 | - | else if (if (if (( | |
1152 | + | else if (if (if ((gm > bi())) | |
1131 | 1153 | then (bj() > 0) | |
1132 | 1154 | else false) | |
1133 | 1155 | then (ak > bj()) | |
1134 | 1156 | else false) | |
1135 | 1157 | then { | |
1136 | - | let | |
1137 | - | let | |
1138 | - | let | |
1139 | - | let | |
1140 | - | let | |
1141 | - | let | |
1158 | + | let go = bA(bB) | |
1159 | + | let fh = go._1 | |
1160 | + | let fi = go._2 | |
1161 | + | let fj = go._3 | |
1162 | + | let fk = go._4 | |
1163 | + | let fl = if ((fh > 0)) | |
1142 | 1164 | then ag | |
1143 | 1165 | else af | |
1144 | - | let | |
1145 | - | let du = do(bB, | |
1146 | - | let | |
1147 | - | let | |
1148 | - | let cY = | |
1149 | - | let | |
1150 | - | let dt = | |
1151 | - | let bR = | |
1152 | - | let bS = | |
1153 | - | let dB = | |
1154 | - | let dC = | |
1155 | - | let dy = ar(at(cY, au(dt)), au( | |
1156 | - | let | |
1157 | - | let co = | |
1158 | - | let cp = | |
1159 | - | let ck = | |
1160 | - | let | |
1161 | - | let | |
1162 | - | then (( | |
1163 | - | else (( | |
1164 | - | let | |
1165 | - | let | |
1166 | - | let | |
1167 | - | let | |
1168 | - | let | |
1169 | - | let | |
1170 | - | let | |
1166 | + | let fm = (fl == af) | |
1167 | + | let du = do(bB, fh) | |
1168 | + | let gp = cZ(bB, an) | |
1169 | + | let fp = gp._1 | |
1170 | + | let cY = gp._2 | |
1171 | + | let gq = bO(fm, du) | |
1172 | + | let dt = gq._1 | |
1173 | + | let bR = gq._2 | |
1174 | + | let bS = gq._3 | |
1175 | + | let dB = gq._4 | |
1176 | + | let dC = gq._5 | |
1177 | + | let dy = ar(at(cY, au(dt)), au(fh)) | |
1178 | + | let gr = cf(fh, fi, fk, dy) | |
1179 | + | let co = gr._1 | |
1180 | + | let cp = gr._2 | |
1181 | + | let ck = gr._3 | |
1182 | + | let fu = (cY - dy) | |
1183 | + | let fv = if ((fh > 0)) | |
1184 | + | then ((fp - du) - fu) | |
1185 | + | else ((fu + fp) - du) | |
1186 | + | let gs = at(du, bi()) | |
1187 | + | let gt = (gs / 2) | |
1188 | + | let fS = (gs - gt) | |
1189 | + | let gu = (co - gs) | |
1190 | + | let fw = (fh + dt) | |
1191 | + | let fy = au(fv) | |
1192 | + | let gv = by(fw) | |
1171 | 1193 | let dF = (bc() - du) | |
1172 | - | let | |
1173 | - | let | |
1174 | - | then $Tuple2(0, au( | |
1175 | - | else $Tuple2( | |
1176 | - | let | |
1177 | - | let | |
1178 | - | let | |
1194 | + | let gh = (aV() - gs) | |
1195 | + | let gw = if ((0 > gh)) | |
1196 | + | then $Tuple2(0, au(gh)) | |
1197 | + | else $Tuple2(gh, 0) | |
1198 | + | let gx = gw._1 | |
1199 | + | let gy = gw._2 | |
1200 | + | let fG = if ((gy > 0)) | |
1179 | 1201 | then { | |
1180 | - | let | |
1181 | - | if (( | |
1202 | + | let gl = invoke(ab(), "withdraw", [gy], nil) | |
1203 | + | if ((gl == gl)) | |
1182 | 1204 | then nil | |
1183 | 1205 | else throw("Strict value is not equal to itself.") | |
1184 | 1206 | } | |
1185 | 1207 | else nil | |
1186 | - | if (( | |
1208 | + | if ((fG == fG)) | |
1187 | 1209 | then { | |
1188 | - | let | |
1189 | - | if (( | |
1210 | + | let gb = invoke(Z(), "unlockNeutrino", [(gs - gy), toBase58String(Y())], nil) | |
1211 | + | if ((gb == gb)) | |
1190 | 1212 | then { | |
1191 | - | let | |
1192 | - | if (( | |
1213 | + | let fU = invoke(ab(), "deposit", nil, [AttachedPayment(Y(), fS)]) | |
1214 | + | if ((fU == fU)) | |
1193 | 1215 | then { | |
1194 | - | let | |
1195 | - | if (( | |
1196 | - | then ((( | |
1216 | + | let fA = invoke(ac(), "notifyNotional", [bB, fy], nil) | |
1217 | + | if ((fA == fA)) | |
1218 | + | then (((ez(bB, fw, gu, fy, gv) ++ eL(bR, bS, dB, dC, dF, (bq() - (if ((fw > 0)) | |
1197 | 1219 | then au(dt) | |
1198 | - | else 0)), (bp() - (if ((0 > | |
1220 | + | else 0)), (bp() - (if ((0 > fw)) | |
1199 | 1221 | then au(dt) | |
1200 | - | else 0)))) ++ | |
1222 | + | else 0)))) ++ eS(bs.caller, gt)) ++ eV(gx)) | |
1201 | 1223 | else throw("Strict value is not equal to itself.") | |
1202 | 1224 | } | |
1203 | 1225 | else throw("Strict value is not equal to itself.") | |
1204 | 1226 | } | |
1205 | 1227 | else throw("Strict value is not equal to itself.") | |
1206 | 1228 | } | |
1207 | 1229 | else throw("Strict value is not equal to itself.") | |
1208 | 1230 | } | |
1209 | 1231 | else { | |
1210 | - | let | |
1211 | - | let cT = | |
1212 | - | let cp = | |
1213 | - | let cU = | |
1214 | - | let cV = | |
1215 | - | let bR = | |
1216 | - | let bS = | |
1217 | - | let dB = | |
1218 | - | let dC = | |
1219 | - | let dF = | |
1220 | - | let du = | |
1221 | - | let dD = | |
1222 | - | let dE = | |
1223 | - | let | |
1224 | - | let | |
1225 | - | let | |
1226 | - | let | |
1227 | - | let | |
1228 | - | then $Tuple2(0, au( | |
1229 | - | else $Tuple2( | |
1230 | - | let | |
1231 | - | let | |
1232 | - | let | |
1232 | + | let gz = dv(bB, false) | |
1233 | + | let cT = gz._1 | |
1234 | + | let cp = gz._2 | |
1235 | + | let cU = gz._3 | |
1236 | + | let cV = gz._4 | |
1237 | + | let bR = gz._5 | |
1238 | + | let bS = gz._6 | |
1239 | + | let dB = gz._7 | |
1240 | + | let dC = gz._8 | |
1241 | + | let dF = gz._9 | |
1242 | + | let du = gz._10 | |
1243 | + | let dD = gz._11 | |
1244 | + | let dE = gz._12 | |
1245 | + | let gs = at(du, bi()) | |
1246 | + | let gt = (gs / 2) | |
1247 | + | let fS = (gs - gt) | |
1248 | + | let gh = (aV() - gs) | |
1249 | + | let gA = if ((0 > gh)) | |
1250 | + | then $Tuple2(0, au(gh)) | |
1251 | + | else $Tuple2(gh, 0) | |
1252 | + | let gx = gA._1 | |
1253 | + | let gy = gA._2 | |
1254 | + | let fG = if ((gy > 0)) | |
1233 | 1255 | then { | |
1234 | - | let | |
1235 | - | if (( | |
1256 | + | let gl = invoke(ab(), "withdraw", [gy], nil) | |
1257 | + | if ((gl == gl)) | |
1236 | 1258 | then nil | |
1237 | 1259 | else throw("Strict value is not equal to itself.") | |
1238 | 1260 | } | |
1239 | 1261 | else nil | |
1240 | - | if (( | |
1262 | + | if ((fG == fG)) | |
1241 | 1263 | then { | |
1242 | - | let | |
1243 | - | if (( | |
1264 | + | let gb = invoke(Z(), "unlockNeutrino", [(gs - gy), toBase58String(Y())], nil) | |
1265 | + | if ((gb == gb)) | |
1244 | 1266 | then { | |
1245 | - | let | |
1246 | - | if (( | |
1267 | + | let fU = invoke(ab(), "deposit", nil, [AttachedPayment(Y(), fS)]) | |
1268 | + | if ((fU == fU)) | |
1247 | 1269 | then { | |
1248 | - | let | |
1249 | - | if (( | |
1250 | - | then ((( | |
1270 | + | let fA = invoke(ac(), "notifyNotional", [bB, 0], nil) | |
1271 | + | if ((fA == fA)) | |
1272 | + | then (((eR(bB) ++ eL(bR, bS, dB, dC, dF, dD, dE)) ++ eS(bs.caller, gt)) ++ eV(gx)) | |
1251 | 1273 | else throw("Strict value is not equal to itself.") | |
1252 | 1274 | } | |
1253 | 1275 | else throw("Strict value is not equal to itself.") | |
1254 | 1276 | } | |
1255 | 1277 | else throw("Strict value is not equal to itself.") | |
1256 | 1278 | } | |
1257 | 1279 | else throw("Strict value is not equal to itself.") | |
1258 | 1280 | } | |
1259 | 1281 | } | |
1260 | 1282 | ||
1261 | 1283 | ||
1262 | 1284 | ||
1263 | 1285 | @Callable(bs) | |
1264 | 1286 | func payFunding () = { | |
1265 | - | let | |
1266 | - | if (if (if (( | |
1287 | + | let gB = bd() | |
1288 | + | if (if (if ((gB > lastBlock.timestamp)) | |
1267 | 1289 | then true | |
1268 | 1290 | else !(bG())) | |
1269 | 1291 | then true | |
1270 | 1292 | else bH()) | |
1271 | - | then throw(((("Invalid funding block timestamp: " + toString(lastBlock.timestamp)) + " < ") + toString( | |
1293 | + | then throw(((("Invalid funding block timestamp: " + toString(lastBlock.timestamp)) + " < ") + toString(gB))) | |
1272 | 1294 | else { | |
1273 | - | let gw = cz() | |
1274 | - | let gx = dG() | |
1275 | - | let gy = (gx - gw) | |
1276 | - | let gz = if (if ((bp() == 0)) | |
1277 | - | then true | |
1278 | - | else (bq() == 0)) | |
1279 | - | then $Tuple2(0, 0) | |
1280 | - | else if ((0 > gy)) | |
1281 | - | then { | |
1282 | - | let gA = ar(at(gy, bf()), al) | |
1283 | - | let gB = ar(at(gA, bp()), bq()) | |
1284 | - | $Tuple2(gA, gB) | |
1285 | - | } | |
1286 | - | else { | |
1287 | - | let gB = ar(at(gy, bf()), al) | |
1288 | - | let gA = ar(at(gB, bq()), bp()) | |
1289 | - | $Tuple2(gA, gB) | |
1290 | - | } | |
1291 | - | let gA = gz._1 | |
1292 | - | let gB = gz._2 | |
1293 | - | en((gv + bg()), (bn() + gB), (bo() + gA), ar(gB, gw), ar(gA, gw)) | |
1295 | + | let ee = cz() | |
1296 | + | let gC = ed() | |
1297 | + | let eh = gC._1 | |
1298 | + | let ei = gC._2 | |
1299 | + | et((gB + bg()), (bn() + ei), (bo() + eh), ar(ei, ee), ar(eh, ee)) | |
1294 | 1300 | } | |
1295 | 1301 | } | |
1296 | 1302 | ||
1297 | 1303 | ||
1298 | 1304 | ||
1299 | 1305 | @Callable(bs) | |
1300 | - | func forceMoveAsset (bB, | |
1306 | + | func forceMoveAsset (bB,eT) = if (if ((addressFromPublicKey(X()) != bs.caller)) | |
1301 | 1307 | then true | |
1302 | - | else (0 > | |
1308 | + | else (0 > eT)) | |
1303 | 1309 | then throw("Invalid forceMoveAsset parameters") | |
1304 | 1310 | else { | |
1305 | - | let | |
1306 | - | if (( | |
1307 | - | then ( | |
1311 | + | let gb = invoke(Z(), "unlockNeutrino", [eT, toBase58String(Y())], nil) | |
1312 | + | if ((gb == gb)) | |
1313 | + | then (eS(addressFromStringValue(bB), eT) ++ eV((aV() - eT))) | |
1308 | 1314 | else throw("Strict value is not equal to itself.") | |
1309 | 1315 | } | |
1310 | 1316 | ||
1311 | 1317 | ||
1312 | 1318 | ||
1313 | 1319 | @Callable(bs) | |
1314 | 1320 | func adjustPeg (dX) = if (if ((addressFromPublicKey(X()) != bs.caller)) | |
1315 | 1321 | then true | |
1316 | 1322 | else (0 > dX)) | |
1317 | 1323 | then throw("Invalid adjustPeg parameters") | |
1318 | 1324 | else { | |
1319 | - | let | |
1320 | - | let eb = | |
1321 | - | let | |
1322 | - | if (( | |
1325 | + | let gD = dW(dX) | |
1326 | + | let eb = gD._1 | |
1327 | + | let gE = gD._2 | |
1328 | + | if ((gE == 0)) | |
1323 | 1329 | then throw("Nothing to adjust") | |
1324 | - | else if (( | |
1330 | + | else if ((gE > 0)) | |
1325 | 1331 | then { | |
1326 | - | let | |
1327 | - | if (( | |
1332 | + | let gl = invoke(ab(), "withdraw", [gE], nil) | |
1333 | + | if ((gl == gl)) | |
1328 | 1334 | then { | |
1329 | - | let | |
1330 | - | if (( | |
1331 | - | then ( | |
1335 | + | let fT = invoke(Z(), "lockNeutrinoSP", [toString(aa()), am], [AttachedPayment(Y(), gE)]) | |
1336 | + | if ((fT == fT)) | |
1337 | + | then (eV((aV() + gE)) ++ eK(eb, aZ())) | |
1332 | 1338 | else throw("Strict value is not equal to itself.") | |
1333 | 1339 | } | |
1334 | 1340 | else throw("Strict value is not equal to itself.") | |
1335 | 1341 | } | |
1336 | 1342 | else { | |
1337 | - | let | |
1338 | - | if (( | |
1343 | + | let gb = invoke(Z(), "unlockNeutrino", [au(gE), toBase58String(Y())], nil) | |
1344 | + | if ((gb == gb)) | |
1339 | 1345 | then { | |
1340 | - | let | |
1341 | - | if (( | |
1342 | - | then ( | |
1346 | + | let fU = invoke(ab(), "deposit", nil, [AttachedPayment(Y(), au(gE))]) | |
1347 | + | if ((fU == fU)) | |
1348 | + | then (eV((aV() - au(gE))) ++ eK(eb, aZ())) | |
1343 | 1349 | else throw("Strict value is not equal to itself.") | |
1344 | 1350 | } | |
1345 | 1351 | else throw("Strict value is not equal to itself.") | |
1346 | 1352 | } | |
1347 | 1353 | } | |
1348 | 1354 | ||
1349 | 1355 | ||
1350 | 1356 | ||
1351 | 1357 | @Callable(bs) | |
1352 | 1358 | func v_get (bB) = { | |
1353 | - | let | |
1354 | - | let cT = | |
1355 | - | let cU = | |
1356 | - | let cV = | |
1357 | - | let | |
1358 | - | throw((((ap(cU) + ap(cV)) + ap( | |
1359 | + | let gF = dv(bB, false) | |
1360 | + | let cT = gF._1 | |
1361 | + | let cU = gF._2 | |
1362 | + | let cV = gF._3 | |
1363 | + | let gG = gF._4 | |
1364 | + | throw((((ap(cU) + ap(cV)) + ap(gG)) + ap(dn(bB)))) | |
1359 | 1365 | } | |
1360 | 1366 | ||
1361 | 1367 | ||
1362 | 1368 | ||
1363 | 1369 | @Callable(bs) | |
1364 | 1370 | func view_calcRemainMarginWithFundingPayment (bB) = { | |
1365 | - | let | |
1366 | - | let bE = | |
1367 | - | let db = | |
1368 | - | let dk = | |
1369 | - | let dd = | |
1370 | - | let | |
1371 | - | let cQ = | |
1372 | - | let cY = | |
1373 | - | let | |
1374 | - | let co = | |
1375 | - | let cp = | |
1376 | - | let ck = | |
1371 | + | let gH = bA(bB) | |
1372 | + | let bE = gH._1 | |
1373 | + | let db = gH._2 | |
1374 | + | let dk = gH._3 | |
1375 | + | let dd = gH._4 | |
1376 | + | let gI = cZ(bB, an) | |
1377 | + | let cQ = gI._1 | |
1378 | + | let cY = gI._2 | |
1379 | + | let gJ = cf(bE, db, dd, cY) | |
1380 | + | let co = gJ._1 | |
1381 | + | let cp = gJ._2 | |
1382 | + | let ck = gJ._3 | |
1377 | 1383 | throw((((((ap(co) + ap(ck)) + ap(dn(bB))) + ap(cY)) + ap(cp)) + ap(cQ))) | |
1378 | 1384 | } | |
1379 | 1385 | ||
1380 | 1386 | ||
1381 | 1387 | ||
1382 | 1388 | @Callable(bs) | |
1383 | 1389 | func view_getPegAdjustCost (dX) = { | |
1384 | 1390 | let ec = dW(dX) | |
1385 | 1391 | throw(toString(ec._2)) | |
1386 | 1392 | } | |
1387 | 1393 | ||
1388 | 1394 | ||
1389 | - | @Verifier(gJ) | |
1390 | - | func gK () = sigVerify(gJ.bodyBytes, gJ.proofs[0], X()) | |
1395 | + | ||
1396 | + | @Callable(bs) | |
1397 | + | func view_getFunding () = { | |
1398 | + | let ee = cz() | |
1399 | + | let gK = ed() | |
1400 | + | let eh = gK._1 | |
1401 | + | let ei = gK._2 | |
1402 | + | let gL = ar(ei, ee) | |
1403 | + | let gM = ar(eh, ee) | |
1404 | + | throw((ap(gL) + ap(gM))) | |
1405 | + | } | |
1406 | + | ||
1407 | + | ||
1408 | + | @Verifier(gN) | |
1409 | + | func gO () = sigVerify(gN.bodyBytes, gN.proofs[0], X()) | |
1391 | 1410 |
github/deemru/w8io/169f3d6 428.75 ms ◑