tx · 91q5zjyaVMW4S2c2ySi2xtdyWa5rRq3NxtHjEU8SmG8a 3N9be2mwrA52WJho6DiesZkk4351GvpnWuj: -0.03700000 Waves 2023.01.07 12:05 [2394331] smart account 3N9be2mwrA52WJho6DiesZkk4351GvpnWuj > SELF 0.00000000 Waves
{ "type": 13, "id": "91q5zjyaVMW4S2c2ySi2xtdyWa5rRq3NxtHjEU8SmG8a", "fee": 3700000, "feeAssetId": null, "timestamp": 1673082346982, "version": 2, "chainId": 84, "sender": "3N9be2mwrA52WJho6DiesZkk4351GvpnWuj", "senderPublicKey": "6mzmbCza9iqbzxMEELcEA4Xc9NeF4CYpbTtz1zMK3C7x", "proofs": [ "PZ4jd8dQGEHKRDPL7mD9LrsSmyEtpNYvPHKxv6gRqfup36QGNJ73X9UTVTLg7J8EnZj1BCib2Fr4mbqA3Ti32Wy", "65qkjrX4QV7brgThA4urkRTxwYxwZPCgTqQKfTVicFSjyXycqgH3u4f8TsZmNDcnKNi8cT4A5FytbH8h8F7Qov6S", "fswVLoMCpGtDHPEPKULBRfirsMfXfUwqZVwhJKzAktZdpAwAhewHVAAVNEW1kjAcPUbLeJugUbcoJ7CD6GH7RCM" ], "script": "base64:BgJXCAISDgoMCAgICAgIAQEBAQEBEgUKAwgIARIAEgASBQoDCAEIEgMKAQESBAoCAQgSABIFCgMIAQESBAoCAQESBAoCCAESBQoDCAEBEgYKBAgIAQESABIAqAEBD2dldFN0cmluZ09yRmFpbAIHYWRkcmVzcwNrZXkJARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkAnQgCBQdhZGRyZXNzBQNrZXkJALkJAgkAzAgCAgptYW5kYXRvcnkgCQDMCAIJAKUIAQUHYWRkcmVzcwkAzAgCAgEuCQDMCAIFA2tleQkAzAgCAg8gaXMgbm90IGRlZmluZWQFA25pbAIAAQVsY2FsYwEBbAkAuQgBBQFsAQ5nZXROdW1iZXJCeUtleQEDa2V5CQELdmFsdWVPckVsc2UCCQCaCAIFBHRoaXMFA2tleQA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bWF0Y2gwAhVTcG9uc29yRmVlVHJhbnNhY3Rpb24ECXNwb25zb3JUeAUHJG1hdGNoMAMJARtjaGVja0lzVmFsaWRNaW5TcG9uc29yZWRGZWUBBQlzcG9uc29yVHgJAGcCBQVjb3VudAADBwkAZwIFBWNvdW50AAPta7/t", "height": 2394331, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: C8WxQYAr55HoeNifbxH5pRVS131xdyMgNoCL8apzStiC Next: 4xKYLTW2puBWSmkjN2BfNKoWQSgA9qLvTiqbF69ipSpd Diff:
Old | New | Differences | |
---|---|---|---|
541 | 541 | ||
542 | 542 | func dW (dX,bp) = { | |
543 | 543 | let dY = bq(dX, bp) | |
544 | - | $ | |
544 | + | $Tuple10(dY, bC, 0, unit, 0, bp, dX, 0, 0, 0) | |
545 | 545 | } | |
546 | 546 | ||
547 | 547 | ||
559 | 559 | let eh = (ef + eg) | |
560 | 560 | let ei = (ea - eh) | |
561 | 561 | let dY = bn(eh, bp) | |
562 | - | $ | |
562 | + | $Tuple10(dY, unit, ei, bC, dY, bp, eh, ee, ef, eg) | |
563 | 563 | } | |
564 | 564 | ||
565 | 565 | ||
585 | 585 | let eq = eo._3 | |
586 | 586 | let er = eo._4 | |
587 | 587 | let es = eo._5 | |
588 | - | let et = cB(dY, eq, el) | |
589 | - | let eu = et[G] | |
590 | - | let ev = et[H] | |
588 | + | let et = eo._6 | |
589 | + | let eu = cB(dY, eq, el) | |
590 | + | let ev = eu[G] | |
591 | + | let ew = eu[H] | |
591 | 592 | let cs = if ((0 >= eq)) | |
592 | 593 | then 0 | |
593 | 594 | else { | |
594 | - | let | |
595 | - | q( | |
595 | + | let ex = l(invoke(ae, "surfFunctionREADONLY", [eq, er], nil)) | |
596 | + | q(ex[dL]) | |
596 | 597 | } | |
597 | - | $ | |
598 | + | $Tuple8(ev, ep, cs, eq, es, ew, dY, et) | |
598 | 599 | } | |
599 | 600 | } | |
600 | 601 | ||
601 | 602 | ||
602 | - | func | |
603 | - | let bl = addressFromStringValue( | |
604 | - | let cx = cy( | |
603 | + | func ey (ez,aH,cz,cp,ek) = { | |
604 | + | let bl = addressFromStringValue(ez) | |
605 | + | let cx = cy(ez, cz) | |
605 | 606 | let cn = parseIntValue(cx[bZ]) | |
606 | 607 | let aW = cx[bU] | |
607 | 608 | let cg = parseIntValue(cx[bW]) | |
608 | - | let | |
609 | + | let eA = cx[bV] | |
609 | 610 | let cj = parseIntValue(cx[bX]) | |
610 | 611 | let el = valueOrElse(getInteger(this, bb(aW)), E) | |
611 | 612 | let dp = bg(aW) | |
612 | - | let dq = bh(aW, | |
613 | + | let dq = bh(aW, ez) | |
613 | 614 | let bA = cn | |
614 | 615 | let bz = bS(aH) | |
615 | 616 | let bB = bS((aH - 1)) | |
616 | 617 | let dr = bR(bz) | |
617 | 618 | if (bD) | |
618 | 619 | then bw() | |
619 | - | else if (( | |
620 | + | else if ((eA != "PENDING")) | |
620 | 621 | then throw("swap has been already processed") | |
621 | 622 | else if ((bA > height)) | |
622 | 623 | then throw((("please wait for: " + toString(bA)) + " block height to withdraw funds")) | |
629 | 630 | else false) | |
630 | 631 | then bx(aH, by, bz, bA, bB) | |
631 | 632 | else { | |
632 | - | let eA = ej(aW, cg, dr, ek) | |
633 | - | let ch = eA._1 | |
634 | - | let ep = eA._2 | |
635 | - | let cs = eA._3 | |
636 | - | let es = eA._5 | |
637 | - | let ci = eA._6 | |
638 | - | let dY = eA._7 | |
633 | + | let eB = ej(aW, cg, dr, ek) | |
634 | + | let ch = eB._1 | |
635 | + | let ep = eB._2 | |
636 | + | let cs = eB._3 | |
637 | + | let es = eB._5 | |
638 | + | let ci = eB._6 | |
639 | + | let dY = eB._7 | |
640 | + | let et = eB._8 | |
639 | 641 | if ((0 >= dY)) | |
640 | 642 | then throw("balance equals zero") | |
641 | 643 | else { | |
642 | 644 | let em = q(ek[dF]) | |
643 | - | let | |
644 | - | let | |
645 | + | let eC = [IntegerEntry(aY(aW, ez), (dq - cg)), IntegerEntry(aX(aW), (dp - cg)), ScriptTransfer(bl, ch, ep), StringEntry(cc(ez, cz), cw(cx, et, ch, ci, bA, aH, cp, cs, em))] | |
646 | + | let eD = if ((cs > 0)) | |
645 | 647 | then { | |
646 | - | let | |
647 | - | if (( | |
648 | + | let eE = invoke(ai, "issueSurf", [cs, ez], nil) | |
649 | + | if ((eE == eE)) | |
648 | 650 | then 0 | |
649 | 651 | else throw("Strict value is not equal to itself.") | |
650 | 652 | } | |
651 | 653 | else 0 | |
652 | - | if (( | |
653 | - | then $Tuple3( | |
654 | + | if ((eD == eD)) | |
655 | + | then $Tuple3(eC, AttachedPayment(ep, ci), es) | |
654 | 656 | else throw("Strict value is not equal to itself.") | |
655 | 657 | } | |
656 | 658 | } | |
657 | 659 | } | |
658 | 660 | ||
659 | 661 | ||
660 | - | func | |
662 | + | func eF () = "%s__applyInProgress" | |
661 | 663 | ||
662 | 664 | ||
663 | - | func | |
665 | + | func eG (eH) = ("%s%d__proposalData__" + toString(eH)) | |
664 | 666 | ||
665 | 667 | ||
666 | - | let | |
668 | + | let eI = 9 | |
667 | 669 | ||
668 | - | func | |
670 | + | func eJ (bK) = { | |
669 | 671 | let n = bK | |
670 | 672 | if ($isInstanceOf(n, "Order")) | |
671 | 673 | then { | |
672 | - | let | |
674 | + | let eK = n | |
673 | 675 | throw("Orders aren't allowed") | |
674 | 676 | } | |
675 | 677 | else if (if ($isInstanceOf(n, "DataTransaction")) | |
704 | 706 | then true | |
705 | 707 | else $isInstanceOf(n, "ReissueTransaction")) | |
706 | 708 | then { | |
707 | - | let | |
708 | - | let cd = toBase58String( | |
709 | - | let | |
710 | - | let | |
711 | - | if (!(isDefined(indexOf( | |
712 | - | then throw(((("Unknown txId: " + cd) + " for proposalId=") + toString( | |
709 | + | let eL = n | |
710 | + | let cd = toBase58String(eL.id) | |
711 | + | let eH = valueOrErrorMessage(getInteger(ak, eF()), "Apply is not happening") | |
712 | + | let eM = split(split(a(ak, eG(eH)), z)[eI], A) | |
713 | + | if (!(isDefined(indexOf(eM, cd)))) | |
714 | + | then throw(((("Unknown txId: " + cd) + " for proposalId=") + toString(eH))) | |
713 | 715 | else true | |
714 | 716 | } | |
715 | 717 | else throw("Match error") | |
717 | 719 | ||
718 | 720 | ||
719 | 721 | @Callable(r) | |
720 | - | func constructor ( | |
721 | - | let | |
722 | - | if (( | |
722 | + | func constructor (eN,eO,eP,eQ,eR,eS,eT,eU,eV,eW,eX,eY) = { | |
723 | + | let eZ = cR(r) | |
724 | + | if ((eZ == eZ)) | |
723 | 725 | then if ((size(r.payments) != 0)) | |
724 | 726 | then throw("no payments allowed") | |
725 | - | else [StringEntry(al, | |
727 | + | else [StringEntry(al, eN), StringEntry(am, eO), StringEntry(an, eP), StringEntry(ap, eQ), StringEntry(aq, eR), StringEntry(ax, eS), IntegerEntry(at, eT), IntegerEntry(au, eU), IntegerEntry(av, eV), IntegerEntry(aw, eW), IntegerEntry(ay, eX), IntegerEntry(az, eY)] | |
726 | 728 | else throw("Strict value is not equal to itself.") | |
727 | 729 | } | |
728 | 730 | ||
729 | 731 | ||
730 | 732 | ||
731 | 733 | @Callable(r) | |
732 | - | func constructorV2 (ae,af, | |
733 | - | let | |
734 | - | if (( | |
734 | + | func constructorV2 (ae,af,fa) = { | |
735 | + | let eZ = cR(r) | |
736 | + | if ((eZ == eZ)) | |
735 | 737 | then if ((size(r.payments) != 0)) | |
736 | 738 | then throw("no payments allowed") | |
737 | - | else [StringEntry(as, ae), StringEntry(ao, af), IntegerEntry(bc(), | |
739 | + | else [StringEntry(as, ae), StringEntry(ao, af), IntegerEntry(bc(), fa)] | |
738 | 740 | else throw("Strict value is not equal to itself.") | |
739 | 741 | } | |
740 | 742 | ||
744 | 746 | func swapWavesToNeutrino () = if ((size(r.payments) != 1)) | |
745 | 747 | then throw("swapWavesToNeutrino require only one payment") | |
746 | 748 | else { | |
747 | - | let | |
748 | - | if (isDefined( | |
749 | + | let fb = value(r.payments[0]) | |
750 | + | if (isDefined(fb.assetId)) | |
749 | 751 | then throw("Only Waves token is allowed for swapping.") | |
750 | 752 | else { | |
751 | 753 | let bl = toString(r.caller) | |
752 | 754 | let dj = toBase58String(r.transactionId) | |
753 | - | let | |
754 | - | let | |
755 | - | | |
755 | + | let fc = x(invoke(this, "swapParamsByUserSYSREADONLY", [bl, 0], nil)) | |
756 | + | let fd = dg("waves", fb.amount, bl, dj, fc) | |
757 | + | fd | |
756 | 758 | } | |
757 | 759 | } | |
758 | 760 | ||
762 | 764 | func swapNeutrinoToWaves () = if ((size(r.payments) != 1)) | |
763 | 765 | then throw("swapNeutrinoToWaves require only one payment") | |
764 | 766 | else { | |
765 | - | let | |
766 | - | if (( | |
767 | + | let fb = value(r.payments[0]) | |
768 | + | if ((fb.assetId != bC)) | |
767 | 769 | then throw("Only appropriate Neutrino tokens are allowed for swapping.") | |
768 | 770 | else { | |
769 | 771 | let bl = toString(r.caller) | |
770 | 772 | let dj = toBase58String(r.transactionId) | |
771 | - | let | |
772 | - | let | |
773 | - | | |
773 | + | let fc = x(invoke(this, "swapParamsByUserSYSREADONLY", [bl, 0], nil)) | |
774 | + | let fd = dg("neutrino", fb.amount, bl, dj, fc) | |
775 | + | fd | |
774 | 776 | } | |
775 | 777 | } | |
776 | 778 | ||
777 | 779 | ||
778 | 780 | ||
779 | 781 | @Callable(r) | |
780 | - | func withdraw ( | |
782 | + | func withdraw (ez,aH,cz) = { | |
781 | 783 | let cd = toBase58String(r.transactionId) | |
782 | 784 | if ((size(r.payments) != 0)) | |
783 | 785 | then throw("no payments allowed") | |
784 | 786 | else { | |
785 | 787 | let ek = l(invoke(ae, "calcNeutinoMetricsREADONLY", nil, nil)) | |
786 | 788 | let em = q(ek[dF]) | |
787 | - | let | |
788 | - | let | |
789 | - | let | |
790 | - | let es = | |
791 | - | let | |
792 | - | if (( | |
789 | + | let fe = ey(ez, aH, cz, cd, ek) | |
790 | + | let eC = fe._1 | |
791 | + | let ff = fe._2 | |
792 | + | let es = fe._3 | |
793 | + | let fg = invoke(this, "internalUnleaseAndLease", [es], nil) | |
794 | + | if ((fg == fg)) | |
793 | 795 | then { | |
794 | - | let | |
795 | - | let | |
796 | - | let | |
797 | - | let | |
798 | - | then fraction( | |
796 | + | let fh = l(invoke(ah, "gnsbtInfoSYSREADONLY", ["", 0, 0], nil)) | |
797 | + | let fi = q(fh[1]) | |
798 | + | let fj = q(l(fh[3])[3]) | |
799 | + | let fk = if ((fi != 0)) | |
800 | + | then fraction(ff.amount, fj, fi) | |
799 | 801 | else 0 | |
800 | - | let | |
801 | - | then fraction( | |
802 | + | let fl = if ((fi != 0)) | |
803 | + | then fraction(ff.amount, (C - em), C) | |
802 | 804 | else 0 | |
803 | - | let | |
804 | - | let | |
805 | - | let | |
805 | + | let fm = max([fk, fl]) | |
806 | + | let fn = (ff.amount - fm) | |
807 | + | let fo = if ((fm > 0)) | |
806 | 808 | then { | |
807 | - | let | |
808 | - | if (( | |
809 | + | let fp = invoke(ag, "deposit", nil, [AttachedPayment(ff.assetId, fm)]) | |
810 | + | if ((fp == fp)) | |
809 | 811 | then nil | |
810 | 812 | else throw("Strict value is not equal to itself.") | |
811 | 813 | } | |
812 | 814 | else nil | |
813 | - | if (( | |
815 | + | if ((fo == fo)) | |
814 | 816 | then { | |
815 | - | let | |
817 | + | let fq = if ((fn > 0)) | |
816 | 818 | then { | |
817 | - | let | |
818 | - | if (( | |
819 | + | let fr = invoke(af, "deposit", nil, [AttachedPayment(ff.assetId, fn)]) | |
820 | + | if ((fr == fr)) | |
819 | 821 | then nil | |
820 | 822 | else throw("Strict value is not equal to itself.") | |
821 | 823 | } | |
822 | 824 | else nil | |
823 | - | if (( | |
824 | - | then | |
825 | + | if ((fq == fq)) | |
826 | + | then eC | |
825 | 827 | else throw("Strict value is not equal to itself.") | |
826 | 828 | } | |
827 | 829 | else throw("Strict value is not equal to itself.") | |
840 | 842 | ||
841 | 843 | ||
842 | 844 | @Callable(r) | |
843 | - | func transferUsdnToUser (bo, | |
845 | + | func transferUsdnToUser (bo,fs) = if ((r.caller != ai)) | |
844 | 846 | then throw("Only auction contract is authorized") | |
845 | - | else [ScriptTransfer(addressFromStringValue( | |
847 | + | else [ScriptTransfer(addressFromStringValue(fs), bo, bC)] | |
846 | 848 | ||
847 | 849 | ||
848 | 850 | ||
856 | 858 | ||
857 | 859 | ||
858 | 860 | @Callable(r) | |
859 | - | func approveLeasings ( | |
860 | - | let | |
861 | - | let | |
862 | - | let | |
863 | - | let | |
864 | - | let | |
865 | - | let | |
866 | - | let | |
867 | - | if (isDefined( | |
861 | + | func approveLeasings (ft,aU,fu) = { | |
862 | + | let fv = [0, 1, 2, 3, 4, 5, 6, 7] | |
863 | + | let fw = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur") | |
864 | + | let fx = fromBase58String(fw) | |
865 | + | let fy = valueOrElse(getString("%s%s__cfg__nodesRegistryAddress"), "3P9vKqQKjUdmpXAfiWau8krREYAY1Xr69pE") | |
866 | + | let fz = addressFromStringValue(fy) | |
867 | + | let fA = aT(aU) | |
868 | + | let fB = getString(this, fA) | |
869 | + | if (isDefined(fB)) | |
868 | 870 | then throw((("group " + toString(aU)) + " already initialized")) | |
869 | 871 | else { | |
870 | - | let | |
871 | - | let | |
872 | - | if ((r.callerPublicKey != | |
872 | + | let fC = split(ft, z) | |
873 | + | let fD = size(fv) | |
874 | + | if ((r.callerPublicKey != fx)) | |
873 | 875 | then throw("approveLeasings not authorized") | |
874 | 876 | else { | |
875 | - | let | |
876 | - | let | |
877 | - | let | |
878 | - | let | |
879 | - | let | |
880 | - | let | |
881 | - | let | |
882 | - | let | |
883 | - | if (( | |
877 | + | let fE = da(0) | |
878 | + | let fF = fE._1 | |
879 | + | let fG = fE._2 | |
880 | + | let fH = fE._3 | |
881 | + | let fI = fE._4 | |
882 | + | let fJ = fE._5 | |
883 | + | let fK = Lease(fF, (fH - (fu * fD))) | |
884 | + | let fL = invoke(fz, "validateAndApproveLeasings", [ft], nil) | |
885 | + | if ((fL == fL)) | |
884 | 886 | then { | |
885 | - | func | |
886 | - | let | |
887 | - | let | |
888 | - | ( | |
887 | + | func fM (fN,r) = { | |
888 | + | let fO = fC[r] | |
889 | + | let fP = Lease(addressFromStringValue(fO), fu) | |
890 | + | (fN ++ [fP, BinaryEntry(aP(fO), d(fP)), IntegerEntry(aS(fO), fu)]) | |
889 | 891 | } | |
890 | 892 | ||
891 | - | ([StringEntry( | |
892 | - | let | |
893 | - | let | |
894 | - | let | |
895 | - | func | |
896 | - | then | |
897 | - | else | |
893 | + | ([StringEntry(fA, ft), BinaryEntry(fI, d(fK)), IntegerEntry(fG, fK.amount), LeaseCancel(fJ), fK] ++ { | |
894 | + | let fQ = fv | |
895 | + | let fR = size(fQ) | |
896 | + | let fS = nil | |
897 | + | func fT (fU,fV) = if ((fV >= fR)) | |
898 | + | then fU | |
899 | + | else fM(fU, fQ[fV]) | |
898 | 900 | ||
899 | - | func | |
900 | - | then | |
901 | + | func fW (fU,fV) = if ((fV >= fR)) | |
902 | + | then fU | |
901 | 903 | else throw("List size exceeds 8") | |
902 | 904 | ||
903 | - | | |
905 | + | fW(fT(fT(fT(fT(fT(fT(fT(fT(fS, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
904 | 906 | }) | |
905 | 907 | } | |
906 | 908 | else throw("Strict value is not equal to itself.") | |
912 | 914 | ||
913 | 915 | @Callable(r) | |
914 | 916 | func rebalanceLeasings (bo,aU) = { | |
915 | - | let | |
916 | - | let | |
917 | - | let | |
918 | - | let | |
919 | - | let | |
920 | - | let | |
921 | - | if ((r.callerPublicKey != | |
917 | + | let fv = [0, 1, 2, 3, 4, 5, 6, 7] | |
918 | + | let fw = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur") | |
919 | + | let fx = fromBase58String(fw) | |
920 | + | let fA = aT(aU) | |
921 | + | let ft = a(this, fA) | |
922 | + | let fC = split(ft, z) | |
923 | + | if ((r.callerPublicKey != fx)) | |
922 | 924 | then throw("rebalanceLeasings not authorized") | |
923 | 925 | else { | |
924 | - | let es = ((bo / size( | |
925 | - | let | |
926 | - | let | |
927 | - | let | |
928 | - | let | |
929 | - | let | |
930 | - | let | |
931 | - | let | |
932 | - | func | |
933 | - | let | |
934 | - | let | |
935 | - | let | |
936 | - | let | |
937 | - | let | |
938 | - | let | |
939 | - | let | |
940 | - | ( | |
926 | + | let es = ((bo / size(fC)) + 1) | |
927 | + | let fX = da(0) | |
928 | + | let fF = fX._1 | |
929 | + | let fG = fX._2 | |
930 | + | let fH = fX._3 | |
931 | + | let fI = fX._4 | |
932 | + | let fJ = fX._5 | |
933 | + | let fK = Lease(fF, (fH + (es * size(fC)))) | |
934 | + | func fY (fN,r) = { | |
935 | + | let fO = fC[r] | |
936 | + | let fZ = aP(fO) | |
937 | + | let ga = getBinaryValue(this, fZ) | |
938 | + | let gb = aS(fO) | |
939 | + | let fu = getIntegerValue(this, gb) | |
940 | + | let gc = LeaseCancel(value(ga)) | |
941 | + | let fP = Lease(addressFromStringValue(fO), (fu - es)) | |
942 | + | (fN ++ [LeaseCancel(value(ga)), fP, BinaryEntry(fZ, d(fP)), IntegerEntry(gb, fP.amount)]) | |
941 | 943 | } | |
942 | 944 | ||
943 | 945 | ({ | |
944 | - | let | |
945 | - | let | |
946 | - | let | |
947 | - | func | |
948 | - | then | |
949 | - | else | |
946 | + | let fQ = fv | |
947 | + | let fR = size(fQ) | |
948 | + | let fS = nil | |
949 | + | func fT (fU,fV) = if ((fV >= fR)) | |
950 | + | then fU | |
951 | + | else fY(fU, fQ[fV]) | |
950 | 952 | ||
951 | - | func | |
952 | - | then | |
953 | + | func fW (fU,fV) = if ((fV >= fR)) | |
954 | + | then fU | |
953 | 955 | else throw("List size exceeds 8") | |
954 | 956 | ||
955 | - | | |
956 | - | } ++ [BinaryEntry( | |
957 | + | fW(fT(fT(fT(fT(fT(fT(fT(fT(fS, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
958 | + | } ++ [BinaryEntry(fI, d(fK)), IntegerEntry(fG, fK.amount), LeaseCancel(fJ), fK]) | |
957 | 959 | } | |
958 | 960 | } | |
959 | 961 | ||
960 | 962 | ||
961 | 963 | ||
962 | 964 | @Callable(r) | |
963 | - | func swapParamsByUserSYSREADONLY (di, | |
964 | - | let | |
965 | - | let | |
966 | - | let | |
967 | - | let | |
968 | - | let | |
969 | - | let dn = q( | |
970 | - | let do = q( | |
971 | - | let | |
972 | - | let | |
973 | - | let | |
974 | - | let | |
975 | - | let | |
965 | + | func swapParamsByUserSYSREADONLY (di,gd) = { | |
966 | + | let fh = l(invoke(ah, "gnsbtInfoSYSREADONLY", [di, 0, 0], nil)) | |
967 | + | let ge = (q(fh[0]) + gd) | |
968 | + | let fi = (q(fh[1]) + gd) | |
969 | + | let gf = l(invoke(ae, "calcSwapLimitREADONLY", [ge], nil)) | |
970 | + | let gg = q(gf[0]) | |
971 | + | let dn = q(gf[1]) | |
972 | + | let do = q(gf[2]) | |
973 | + | let gh = valueOrElse(getInteger(this, bm(di)), 0) | |
974 | + | let gi = bf() | |
975 | + | let gj = (height - gh) | |
976 | + | let gk = (gj >= gi) | |
977 | + | let gl = if (gk) | |
976 | 978 | then 0 | |
977 | 979 | else valueOrElse(getInteger(this, bk(di)), 0) | |
978 | - | let dm = if ( | |
980 | + | let dm = if (gk) | |
979 | 981 | then 0 | |
980 | - | else ( | |
981 | - | $Tuple2(nil, $Tuple7( | |
982 | + | else (gi - gj) | |
983 | + | $Tuple2(nil, $Tuple7(gg, gl, dm, ge, fi, dn, do)) | |
982 | 984 | } | |
983 | 985 | ||
984 | 986 | ||
992 | 994 | ||
993 | 995 | ||
994 | 996 | @Callable(r) | |
995 | - | func replaceCommunityNode ( | |
996 | - | let | |
997 | - | let | |
998 | - | if ((r.callerPublicKey != | |
997 | + | func replaceCommunityNode (gm,gn,aU,go) = { | |
998 | + | let fw = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur") | |
999 | + | let fx = fromBase58String(fw) | |
1000 | + | if ((r.callerPublicKey != fx)) | |
999 | 1001 | then throw("replaceCommunityNode not authorized") | |
1000 | 1002 | else { | |
1001 | - | let | |
1002 | - | let | |
1003 | - | if (!(contains( | |
1004 | - | then throw(((("Group " + toString(aU)) + " does not contain address ") + | |
1003 | + | let gp = aT(aU) | |
1004 | + | let gq = a(this, gp) | |
1005 | + | if (!(contains(gq, gm))) | |
1006 | + | then throw(((("Group " + toString(aU)) + " does not contain address ") + gm)) | |
1005 | 1007 | else { | |
1006 | - | let | |
1007 | - | if (( | |
1008 | + | let gr = invoke(aj, "replaceApprovedNode", [gm, gn, aU, go], nil) | |
1009 | + | if ((gr == gr)) | |
1008 | 1010 | then { | |
1009 | - | let | |
1010 | - | let | |
1011 | - | let | |
1012 | - | let | |
1013 | - | let | |
1014 | - | let | |
1015 | - | let | |
1016 | - | $Tuple2([LeaseCancel(getBinaryValue( | |
1011 | + | let gs = aP(gm) | |
1012 | + | let gt = aS(gm) | |
1013 | + | let gu = getIntegerValue(gt) | |
1014 | + | let gv = aP(gm) | |
1015 | + | let gw = aS(gm) | |
1016 | + | let gx = Lease(addressFromStringValue(gn), gu) | |
1017 | + | let gy = makeString(split(gq, gm), gn) | |
1018 | + | $Tuple2([LeaseCancel(getBinaryValue(gs)), DeleteEntry(gs), DeleteEntry(gt), StringEntry(gp, gy), gx, BinaryEntry(gv, d(gx)), IntegerEntry(gw, gu)], unit) | |
1017 | 1019 | } | |
1018 | 1020 | else throw("Strict value is not equal to itself.") | |
1019 | 1021 | } | |
1024 | 1026 | ||
1025 | 1027 | @Callable(r) | |
1026 | 1028 | func updateReservesAndNeutrinoSupply () = { | |
1027 | - | func | |
1029 | + | func gz (c) = { | |
1028 | 1030 | let n = getInteger(this, c) | |
1029 | 1031 | if ($isInstanceOf(n, "Int")) | |
1030 | 1032 | then { | |
1031 | - | let | |
1032 | - | | |
1033 | + | let fN = n | |
1034 | + | fN | |
1033 | 1035 | } | |
1034 | 1036 | else 0 | |
1035 | 1037 | } | |
1036 | 1038 | ||
1037 | - | let | |
1038 | - | let ac = | |
1039 | - | let | |
1040 | - | [IntegerEntry("updateReservesAndNeutrinoSupplyIdx", | |
1039 | + | let gA = l(invoke(ae, "calcNeutinoMetricsREADONLY", nil, nil)) | |
1040 | + | let ac = gz("updateReservesAndNeutrinoSupplyIdx") | |
1041 | + | let gB = (ac + 1) | |
1042 | + | [IntegerEntry("updateReservesAndNeutrinoSupplyIdx", gB), IntegerEntry("reserve", q(gA[3])), IntegerEntry("neutrinoSupply", q(gA[5])), IntegerEntry("reservesInUsdn", bq(q(gA[3]), q(gA[0]))), IntegerEntry("surplus", q(gA[6])), IntegerEntry("deficit", -(q(gA[6])))] | |
1041 | 1043 | } | |
1042 | 1044 | ||
1043 | 1045 | ||
1044 | 1046 | ||
1045 | 1047 | @Callable(r) | |
1046 | 1048 | func wavesBalancesVsPayment () = { | |
1047 | - | let | |
1048 | - | [IntegerEntry("wavesBalance_available", | |
1049 | + | let gC = wavesBalance(this) | |
1050 | + | [IntegerEntry("wavesBalance_available", gC.available), IntegerEntry("wavesBalance_regular", gC.regular), IntegerEntry("wavesBalance_generating", gC.generating), IntegerEntry("wavesBalance_effective", gC.effective), IntegerEntry("waves_payment", value(r.payments[0]).amount)] | |
1049 | 1051 | } | |
1050 | 1052 | ||
1051 | 1053 | ||
1052 | 1054 | @Verifier(bK) | |
1053 | - | func | |
1054 | - | let | |
1055 | - | let | |
1056 | - | let | |
1055 | + | func gD () = { | |
1056 | + | let gE = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], z) | |
1057 | + | let gF = split(valueOrElse(getString(ad, "%s__multisig"), gE), z) | |
1058 | + | let gG = ((((if (sigVerify(bK.bodyBytes, bK.proofs[0], fromBase58String(gF[0]))) | |
1057 | 1059 | then 1 | |
1058 | - | else 0) + (if (sigVerify(bK.bodyBytes, bK.proofs[1], fromBase58String( | |
1060 | + | else 0) + (if (sigVerify(bK.bodyBytes, bK.proofs[1], fromBase58String(gF[1]))) | |
1059 | 1061 | then 1 | |
1060 | - | else 0)) + (if (sigVerify(bK.bodyBytes, bK.proofs[2], fromBase58String( | |
1062 | + | else 0)) + (if (sigVerify(bK.bodyBytes, bK.proofs[2], fromBase58String(gF[2]))) | |
1061 | 1063 | then 1 | |
1062 | - | else 0)) + (if (sigVerify(bK.bodyBytes, bK.proofs[3], fromBase58String( | |
1064 | + | else 0)) + (if (sigVerify(bK.bodyBytes, bK.proofs[3], fromBase58String(gF[3]))) | |
1063 | 1065 | then 2 | |
1064 | 1066 | else 0)) | |
1065 | 1067 | if (if (bD) | |
1066 | 1068 | then (getStringValue(ad, "is_blocked_caller") == toString(ak)) | |
1067 | 1069 | else false) | |
1068 | - | then | |
1070 | + | then eJ(bK) | |
1069 | 1071 | else { | |
1070 | 1072 | let n = bK | |
1071 | 1073 | if ($isInstanceOf(n, "SponsorFeeTransaction")) | |
1072 | 1074 | then { | |
1073 | - | let | |
1074 | - | if (bJ( | |
1075 | - | then ( | |
1075 | + | let gH = n | |
1076 | + | if (bJ(gH)) | |
1077 | + | then (gG >= 3) | |
1076 | 1078 | else false | |
1077 | 1079 | } | |
1078 | - | else ( | |
1080 | + | else (gG >= 3) | |
1079 | 1081 | } | |
1080 | 1082 | } | |
1081 | 1083 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b,c) = valueOrErrorMessage(getString(b, c), makeString(["mandatory ", toString(b), ".", c, " is not defined"], "")) | |
5 | 5 | ||
6 | 6 | ||
7 | 7 | func d (e) = calculateLeaseId(e) | |
8 | 8 | ||
9 | 9 | ||
10 | 10 | func f (c) = valueOrElse(getInteger(this, c), 0) | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | func g (c) = valueOrElse(getString(this, c), "") | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func h (c) = valueOrElse(getBoolean(this, c), false) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func i (b,c) = valueOrElse(getInteger(b, c), 0) | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | func j (b,c) = valueOrElse(getString(addressFromStringValue(b), c), "") | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func k (b,c) = valueOrElse(getBoolean(b, c), false) | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func l (m) = { | |
29 | 29 | let n = m | |
30 | 30 | if ($isInstanceOf(n, "List[Any]")) | |
31 | 31 | then { | |
32 | 32 | let e = n | |
33 | 33 | e | |
34 | 34 | } | |
35 | 35 | else throw("fail to cast into List[Any]") | |
36 | 36 | } | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func o (m) = { | |
40 | 40 | let n = m | |
41 | 41 | if ($isInstanceOf(n, "String")) | |
42 | 42 | then { | |
43 | 43 | let p = n | |
44 | 44 | p | |
45 | 45 | } | |
46 | 46 | else throw("fail to cast into String") | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func q (m) = { | |
51 | 51 | let n = m | |
52 | 52 | if ($isInstanceOf(n, "Int")) | |
53 | 53 | then { | |
54 | 54 | let r = n | |
55 | 55 | r | |
56 | 56 | } | |
57 | 57 | else throw("fail to cast into Int") | |
58 | 58 | } | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func s (t) = { | |
62 | 62 | let n = t | |
63 | 63 | if ($isInstanceOf(n, "ByteVector")) | |
64 | 64 | then { | |
65 | 65 | let u = n | |
66 | 66 | u | |
67 | 67 | } | |
68 | 68 | else throw("fail to cast into ByteVector") | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func v (m) = { | |
73 | 73 | let n = m | |
74 | 74 | if ($isInstanceOf(n, "AttachedPayment")) | |
75 | 75 | then { | |
76 | 76 | let w = n | |
77 | 77 | w | |
78 | 78 | } | |
79 | 79 | else throw("fail to cast into AttachedPayment") | |
80 | 80 | } | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func x (m) = { | |
84 | 84 | let n = m | |
85 | 85 | if ($isInstanceOf(n, "(Int, Int, Int, Int, Int, Int, Int)")) | |
86 | 86 | then { | |
87 | 87 | let y = n | |
88 | 88 | y | |
89 | 89 | } | |
90 | 90 | else throw("fail to cast into Tuple5 ints") | |
91 | 91 | } | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | let z = "__" | |
95 | 95 | ||
96 | 96 | let A = ":" | |
97 | 97 | ||
98 | 98 | let B = 100000000 | |
99 | 99 | ||
100 | 100 | let C = 1000000 | |
101 | 101 | ||
102 | 102 | let D = 1000000 | |
103 | 103 | ||
104 | 104 | let E = 20000 | |
105 | 105 | ||
106 | 106 | let F = 100000 | |
107 | 107 | ||
108 | 108 | let G = 0 | |
109 | 109 | ||
110 | 110 | let H = 1 | |
111 | 111 | ||
112 | 112 | let I = 2 | |
113 | 113 | ||
114 | 114 | let J = 1 | |
115 | 115 | ||
116 | 116 | let K = 2 | |
117 | 117 | ||
118 | 118 | let L = 3 | |
119 | 119 | ||
120 | 120 | let M = 4 | |
121 | 121 | ||
122 | 122 | let N = 5 | |
123 | 123 | ||
124 | 124 | let O = 6 | |
125 | 125 | ||
126 | 126 | let P = 7 | |
127 | 127 | ||
128 | 128 | let Q = 8 | |
129 | 129 | ||
130 | 130 | let R = 9 | |
131 | 131 | ||
132 | 132 | let S = 10 | |
133 | 133 | ||
134 | 134 | let T = 11 | |
135 | 135 | ||
136 | 136 | let U = 12 | |
137 | 137 | ||
138 | 138 | let V = 13 | |
139 | 139 | ||
140 | 140 | func W () = "%s%s__config__controlAddress" | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func X () = "%s__controlConfig" | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func Y (Z) = split_4C(a(Z, X()), z) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func aa (ab,ac) = valueOrErrorMessage(addressFromString(ab[ac]), ("Control cfg doesn't contain address at index " + toString(ac))) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | let ad = addressFromStringValue(valueOrElse(getString(this, W()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx")) | |
153 | 153 | ||
154 | 154 | let ab = Y(ad) | |
155 | 155 | ||
156 | 156 | let ae = aa(ab, M) | |
157 | 157 | ||
158 | 158 | let af = aa(ab, Q) | |
159 | 159 | ||
160 | 160 | let ag = aa(ab, S) | |
161 | 161 | ||
162 | 162 | let ah = aa(ab, T) | |
163 | 163 | ||
164 | 164 | let ai = aa(ab, K) | |
165 | 165 | ||
166 | 166 | let aj = aa(ab, P) | |
167 | 167 | ||
168 | 168 | let ak = aa(ab, V) | |
169 | 169 | ||
170 | 170 | let al = "neutrino_asset_id" | |
171 | 171 | ||
172 | 172 | let am = "bond_asset_id" | |
173 | 173 | ||
174 | 174 | let an = "auction_contract" | |
175 | 175 | ||
176 | 176 | let ao = "nsbtStakingContract" | |
177 | 177 | ||
178 | 178 | let ap = "liquidation_contract" | |
179 | 179 | ||
180 | 180 | let aq = "rpd_contract" | |
181 | 181 | ||
182 | 182 | let ar = "control_contract" | |
183 | 183 | ||
184 | 184 | let as = "math_contract" | |
185 | 185 | ||
186 | 186 | let at = "balance_waves_lock_interval" | |
187 | 187 | ||
188 | 188 | let au = "balance_neutrino_lock_interval" | |
189 | 189 | ||
190 | 190 | let av = "min_waves_swap_amount" | |
191 | 191 | ||
192 | 192 | let aw = "min_neutrino_swap_amount" | |
193 | 193 | ||
194 | 194 | let ax = "node_oracle_provider" | |
195 | 195 | ||
196 | 196 | let ay = "neutrinoOut_swap_feePart" | |
197 | 197 | ||
198 | 198 | let az = "wavesOut_swap_feePart" | |
199 | 199 | ||
200 | 200 | func aA (b) = ("%s__" + b) | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | let aB = "price" | |
204 | 204 | ||
205 | 205 | let aC = "price_index" | |
206 | 206 | ||
207 | 207 | let aD = "is_blocked" | |
208 | 208 | ||
209 | 209 | func aE (aF) = ((aB + "_") + toString(aF)) | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | func aG (aH) = ((aC + "_") + toString(aH)) | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | func aI (ac) = g(makeString(["%s%d%s", "lease", toString(ac), "nodeAddress"], z)) | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | func aJ (ac) = addressFromStringValue(aI(ac)) | |
219 | 219 | ||
220 | 220 | ||
221 | 221 | func aK () = valueOrElse(getInteger(this, makeString(["%s%s", "lease", "sponsorshipWavesReserve"], z)), (1000 * B)) | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | func aL (aM) = ("balance_unlock_block_" + aM) | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func aN (aO) = makeString(["%s%d%s", "lease", toString(aO), "id"], z) | |
228 | 228 | ||
229 | 229 | ||
230 | 230 | func aP (aQ) = makeString(["%s%s%s", "leaseByAddress", aQ, "id"], z) | |
231 | 231 | ||
232 | 232 | ||
233 | 233 | func aR (aO) = makeString(["%s%d%s", "lease", toString(aO), "amount"], z) | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | func aS (aQ) = makeString(["%s%s%s", "leaseByAddress", aQ, "amount"], z) | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | func aT (aU) = makeString(["%s%d%s", "leaseGroup", toString(aU), "nodeList"], z) | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | func aV (aW) = (("min_" + aW) + "_swap_amount") | |
243 | 243 | ||
244 | 244 | ||
245 | 245 | func aX (aW) = ("balance_lock_" + aW) | |
246 | 246 | ||
247 | 247 | ||
248 | 248 | func aY (aW,aM) = makeString(["balance_lock", aW, aM], "_") | |
249 | 249 | ||
250 | 250 | ||
251 | 251 | func aZ (aW) = (("balance_" + aW) + "_lock_interval") | |
252 | 252 | ||
253 | 253 | ||
254 | 254 | func ba () = "balance_node_lock_interval" | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func bb (aW) = (aW + "Out_swap_feePart") | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func bc () = "swaps_timeframe" | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | func bd () = "min_BR_protection_level" | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | func be (aW) = valueOrElse(getInteger(this, aV(aW)), 0) | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | func bf () = valueOrElse(getInteger(this, bc()), 1440) | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func bg (aW) = valueOrElse(getInteger(this, aX(aW)), 0) | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | func bh (aW,aM) = valueOrElse(getInteger(this, aY(aW, aM)), 0) | |
276 | 276 | ||
277 | 277 | ||
278 | 278 | func bi (aW) = valueOrElse(getInteger(this, aZ(aW)), 1440) | |
279 | 279 | ||
280 | 280 | ||
281 | 281 | func bj () = valueOrElse(getInteger(this, ba()), 1) | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | func bk (bl) = makeString(["%s%s", "swapUserSpentInPeriod", bl], z) | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | func bm (bl) = makeString(["%s%s", "userLastSwapHeight", bl], z) | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func bn (bo,bp) = fraction(fraction(bo, D, bp), B, C) | |
291 | 291 | ||
292 | 292 | ||
293 | 293 | func bq (bo,bp) = fraction(fraction(bo, bp, D), C, B) | |
294 | 294 | ||
295 | 295 | ||
296 | 296 | func br (bo,bp) = bq(bo, bp) | |
297 | 297 | ||
298 | 298 | ||
299 | 299 | func bs (bt) = split(bt, ",") | |
300 | 300 | ||
301 | 301 | ||
302 | 302 | func bu (aW,bv) = throw(((("The specified amount in " + aW) + " swap is less than the required minimum of ") + toString(bv))) | |
303 | 303 | ||
304 | 304 | ||
305 | 305 | func bw () = throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
306 | 306 | ||
307 | 307 | ||
308 | 308 | func bx (aH,by,bz,bA,bB) = throw(((((((((("invalid price history index: index=" + toString(aH)) + " priceIndex=") + toString(by)) + " indexHeight=") + toString(bz)) + " unlockHeight=") + toString(bA)) + " prevIndexHeight=") + toString(bB))) | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | let bC = fromBase58String(g(al)) | |
312 | 312 | ||
313 | 313 | let by = i(ad, aC) | |
314 | 314 | ||
315 | 315 | let bD = k(ad, aD) | |
316 | 316 | ||
317 | 317 | let bE = fromBase58String(g(ax)) | |
318 | 318 | ||
319 | 319 | let bF = fromBase58String("F3iaxzruFeKujfVfYSZEkejpjh67wmRfPCRHiNmWKp3Z") | |
320 | 320 | ||
321 | 321 | let bG = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF") | |
322 | 322 | ||
323 | 323 | let bH = this | |
324 | 324 | ||
325 | 325 | let bI = i(ad, aB) | |
326 | 326 | ||
327 | 327 | func bJ (bK) = { | |
328 | 328 | let bL = 100000 | |
329 | 329 | let bM = 1000 | |
330 | 330 | let bN = bq(bL, bI) | |
331 | 331 | let bO = (bN * 2) | |
332 | 332 | let bP = fraction(bN, bM, 100) | |
333 | 333 | let bQ = value(bK.minSponsoredAssetFee) | |
334 | 334 | if (if ((bQ >= bO)) | |
335 | 335 | then (bP >= bQ) | |
336 | 336 | else false) | |
337 | 337 | then (bK.assetId == bC) | |
338 | 338 | else false | |
339 | 339 | } | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | func bR (aF) = i(ad, aE(aF)) | |
343 | 343 | ||
344 | 344 | ||
345 | 345 | func bS (aH) = i(ad, aG(aH)) | |
346 | 346 | ||
347 | 347 | ||
348 | 348 | func bT (bl) = makeString(["%s%s%s", "paramByUser", bl, "amount"], z) | |
349 | 349 | ||
350 | 350 | ||
351 | 351 | let bU = 1 | |
352 | 352 | ||
353 | 353 | let bV = 2 | |
354 | 354 | ||
355 | 355 | let bW = 3 | |
356 | 356 | ||
357 | 357 | let bX = 7 | |
358 | 358 | ||
359 | 359 | let bY = 8 | |
360 | 360 | ||
361 | 361 | let bZ = 11 | |
362 | 362 | ||
363 | 363 | let ca = 15 | |
364 | 364 | ||
365 | 365 | let cb = 16 | |
366 | 366 | ||
367 | 367 | func cc (bl,cd) = makeString(["%s%s", bl, cd], z) | |
368 | 368 | ||
369 | 369 | ||
370 | 370 | func ce (aW,cf,cg,bp,ch,ci,cj,ck,cl,cm,cn,co,aH,cp,cq,cr,cs,ct) = makeString(["%s%s%d%d%d%d%d%d%d%d%d%d%d%s%d%d%d%d", aW, cf, cg, bp, ch, ci, cj, ck, cl, cm, cn, co, aH, cp, cq, cr, cs, ct], z) | |
371 | 371 | ||
372 | 372 | ||
373 | 373 | func cu (aW,cv,cn) = ce(aW, "PENDING", toString(cv), "0", "0", "0", toString(height), toString(lastBlock.timestamp), "0", "0", toString(cn), "0", "0", "NULL", "0", "0", "0", "0") | |
374 | 374 | ||
375 | 375 | ||
376 | 376 | func cw (cx,bp,ch,ci,co,aH,cp,cs,ct) = ce(cx[bU], "FINISHED", cx[bW], toString(bp), toString(ch), toString(ci), cx[bX], cx[bY], toString(height), toString(lastBlock.timestamp), cx[bZ], toString(co), toString(aH), cp, cx[ca], cx[cb], toString(cs), toString(ct)) | |
377 | 377 | ||
378 | 378 | ||
379 | 379 | func cy (bl,cz) = { | |
380 | 380 | let cA = cc(bl, cz) | |
381 | 381 | split(valueOrErrorMessage(getString(this, cA), ("no swap data for " + cA)), z) | |
382 | 382 | } | |
383 | 383 | ||
384 | 384 | ||
385 | 385 | func cB (cC,cD,cE) = { | |
386 | 386 | let cF = fraction(cC, cE, C) | |
387 | 387 | [(cC - cF), cF] | |
388 | 388 | } | |
389 | 389 | ||
390 | 390 | ||
391 | 391 | func cG (cH) = if ((0 > cH)) | |
392 | 392 | then -(cH) | |
393 | 393 | else cH | |
394 | 394 | ||
395 | 395 | ||
396 | 396 | func cI (cJ) = { | |
397 | 397 | let cK = ((wavesBalance(bH).available - cJ) - aK()) | |
398 | 398 | let cL = f(aR(0)) | |
399 | 399 | let cM = f(aR(1)) | |
400 | 400 | let cN = (cK + cL) | |
401 | 401 | let cO = (cK + cM) | |
402 | 402 | if (if ((cN > 0)) | |
403 | 403 | then true | |
404 | 404 | else (cO > 0)) | |
405 | 405 | then { | |
406 | 406 | let cP = cG((cN - cM)) | |
407 | 407 | let cQ = cG((cO - cL)) | |
408 | 408 | if ((cQ >= cP)) | |
409 | 409 | then $Tuple2(0, cN) | |
410 | 410 | else $Tuple2(1, cO) | |
411 | 411 | } | |
412 | 412 | else $Tuple2(-1, 0) | |
413 | 413 | } | |
414 | 414 | ||
415 | 415 | ||
416 | 416 | func cR (r) = if ((r.caller != this)) | |
417 | 417 | then throw("Permission denied: this contract only allowed") | |
418 | 418 | else true | |
419 | 419 | ||
420 | 420 | ||
421 | 421 | func cS (cJ) = { | |
422 | 422 | let cT = cI(cJ) | |
423 | 423 | let aO = cT._1 | |
424 | 424 | let cU = cT._2 | |
425 | 425 | if ((cU > 0)) | |
426 | 426 | then { | |
427 | 427 | let cV = aN(aO) | |
428 | 428 | let cW = getBinary(this, cV) | |
429 | 429 | let cX = if (isDefined(cW)) | |
430 | 430 | then [LeaseCancel(value(cW))] | |
431 | 431 | else nil | |
432 | 432 | let cY = aR(aO) | |
433 | 433 | let cZ = Lease(aJ(aO), cU) | |
434 | 434 | (cX ++ [cZ, BinaryEntry(cV, d(cZ)), IntegerEntry(aR(aO), cU)]) | |
435 | 435 | } | |
436 | 436 | else nil | |
437 | 437 | } | |
438 | 438 | ||
439 | 439 | ||
440 | 440 | func da (db) = { | |
441 | 441 | let aQ = aJ(db) | |
442 | 442 | let dc = aR(db) | |
443 | 443 | let dd = f(dc) | |
444 | 444 | let de = aN(db) | |
445 | 445 | let df = value(getBinary(this, de)) | |
446 | 446 | $Tuple5(aQ, dc, dd, de, df) | |
447 | 447 | } | |
448 | 448 | ||
449 | 449 | ||
450 | 450 | func dg (aW,dh,di,dj,dk) = { | |
451 | 451 | let dl = dk._2 | |
452 | 452 | let dm = dk._3 | |
453 | 453 | let dn = dk._6 | |
454 | 454 | let do = dk._7 | |
455 | 455 | let bv = be(aW) | |
456 | 456 | let dp = bg(aW) | |
457 | 457 | let dq = bh(aW, di) | |
458 | 458 | let aQ = aI(0) | |
459 | 459 | let dr = bR(bS(by)) | |
460 | 460 | let ds = (aQ == di) | |
461 | 461 | let dt = if (ds) | |
462 | 462 | then bj() | |
463 | 463 | else bi(aW) | |
464 | 464 | let cn = (height + dt) | |
465 | 465 | let du = if ((aW == "neutrino")) | |
466 | 466 | then dh | |
467 | 467 | else bq(dh, dr) | |
468 | 468 | let dv = if ((aW == "neutrino")) | |
469 | 469 | then do | |
470 | 470 | else bq(dn, dr) | |
471 | 471 | if ((bv > dh)) | |
472 | 472 | then bu(aW, bv) | |
473 | 473 | else if (if (!(ds)) | |
474 | 474 | then (dl > 0) | |
475 | 475 | else false) | |
476 | 476 | then throw(("You have exceeded swap limit! Next allowed swap height is " + toString((height + dm)))) | |
477 | 477 | else if (if (!(ds)) | |
478 | 478 | then (du > dv) | |
479 | 479 | else false) | |
480 | 480 | then throw(((("You have exceeded your swap limit! Requested: " + toString(du)) + ", available: ") + toString(dv))) | |
481 | 481 | else if (bD) | |
482 | 482 | then bw() | |
483 | 483 | else { | |
484 | 484 | let dw = if ((aW == "waves")) | |
485 | 485 | then cS(0) | |
486 | 486 | else nil | |
487 | 487 | $Tuple2(([IntegerEntry(bk(di), du), IntegerEntry(bm(di), height), IntegerEntry(aY(aW, di), (dq + dh)), IntegerEntry(aL(di), cn), IntegerEntry(aX(aW), (dp + dh)), StringEntry(cc(di, dj), cu(aW, dh, cn))] ++ dw), unit) | |
488 | 488 | } | |
489 | 489 | } | |
490 | 490 | ||
491 | 491 | ||
492 | 492 | let dx = 0 | |
493 | 493 | ||
494 | 494 | let dy = 1 | |
495 | 495 | ||
496 | 496 | let dz = 2 | |
497 | 497 | ||
498 | 498 | let dA = 3 | |
499 | 499 | ||
500 | 500 | let dB = 4 | |
501 | 501 | ||
502 | 502 | let dC = 5 | |
503 | 503 | ||
504 | 504 | let dD = 6 | |
505 | 505 | ||
506 | 506 | let dE = 7 | |
507 | 507 | ||
508 | 508 | let dF = 8 | |
509 | 509 | ||
510 | 510 | let dG = 9 | |
511 | 511 | ||
512 | 512 | let dH = 10 | |
513 | 513 | ||
514 | 514 | let dI = 11 | |
515 | 515 | ||
516 | 516 | let dJ = 12 | |
517 | 517 | ||
518 | 518 | let dK = 13 | |
519 | 519 | ||
520 | 520 | let dL = 0 | |
521 | 521 | ||
522 | 522 | let dM = 1 | |
523 | 523 | ||
524 | 524 | let dN = 2 | |
525 | 525 | ||
526 | 526 | let dO = 3 | |
527 | 527 | ||
528 | 528 | let dP = 4 | |
529 | 529 | ||
530 | 530 | let dQ = 5 | |
531 | 531 | ||
532 | 532 | let dR = 6 | |
533 | 533 | ||
534 | 534 | let dS = 7 | |
535 | 535 | ||
536 | 536 | let dT = 8 | |
537 | 537 | ||
538 | 538 | let dU = 9 | |
539 | 539 | ||
540 | 540 | let dV = 10 | |
541 | 541 | ||
542 | 542 | func dW (dX,bp) = { | |
543 | 543 | let dY = bq(dX, bp) | |
544 | - | $ | |
544 | + | $Tuple10(dY, bC, 0, unit, 0, bp, dX, 0, 0, 0) | |
545 | 545 | } | |
546 | 546 | ||
547 | 547 | ||
548 | 548 | func dZ (ea,bp,ct,eb,ec) = { | |
549 | 549 | let ed = valueOrElse(getInteger(this, bd()), F) | |
550 | 550 | let ee = if ((ed >= ct)) | |
551 | 551 | then 0 | |
552 | 552 | else fraction((eb - fraction(ed, ec, C)), C, (C - ed)) | |
553 | 553 | let ef = if ((ea > ee)) | |
554 | 554 | then ee | |
555 | 555 | else ea | |
556 | 556 | let eg = if ((ea > ee)) | |
557 | 557 | then fraction((ea - ee), ct, C) | |
558 | 558 | else 0 | |
559 | 559 | let eh = (ef + eg) | |
560 | 560 | let ei = (ea - eh) | |
561 | 561 | let dY = bn(eh, bp) | |
562 | - | $ | |
562 | + | $Tuple10(dY, unit, ei, bC, dY, bp, eh, ee, ef, eg) | |
563 | 563 | } | |
564 | 564 | ||
565 | 565 | ||
566 | 566 | func ej (aW,cg,bp,ek) = { | |
567 | 567 | let el = valueOrElse(getInteger(this, bb(aW)), E) | |
568 | 568 | if (if ((0 > el)) | |
569 | 569 | then true | |
570 | 570 | else (el >= C)) | |
571 | 571 | then throw(((("invalid outFeePart config for " + aW) + " swap: outFeePart=") + toString(el))) | |
572 | 572 | else { | |
573 | 573 | let ed = valueOrElse(getInteger(this, bd()), F) | |
574 | 574 | let em = q(ek[dF]) | |
575 | 575 | let eb = q(ek[dB]) | |
576 | 576 | let ec = q(ek[dC]) | |
577 | 577 | let en = q(ek[dK]) | |
578 | 578 | let eo = if ((aW == "waves")) | |
579 | 579 | then dW(cg, bp) | |
580 | 580 | else if ((aW == "neutrino")) | |
581 | 581 | then dZ(cg, en, em, eb, ec) | |
582 | 582 | else throw(("Unsupported swap type " + aW)) | |
583 | 583 | let dY = eo._1 | |
584 | 584 | let ep = eo._2 | |
585 | 585 | let eq = eo._3 | |
586 | 586 | let er = eo._4 | |
587 | 587 | let es = eo._5 | |
588 | - | let et = cB(dY, eq, el) | |
589 | - | let eu = et[G] | |
590 | - | let ev = et[H] | |
588 | + | let et = eo._6 | |
589 | + | let eu = cB(dY, eq, el) | |
590 | + | let ev = eu[G] | |
591 | + | let ew = eu[H] | |
591 | 592 | let cs = if ((0 >= eq)) | |
592 | 593 | then 0 | |
593 | 594 | else { | |
594 | - | let | |
595 | - | q( | |
595 | + | let ex = l(invoke(ae, "surfFunctionREADONLY", [eq, er], nil)) | |
596 | + | q(ex[dL]) | |
596 | 597 | } | |
597 | - | $ | |
598 | + | $Tuple8(ev, ep, cs, eq, es, ew, dY, et) | |
598 | 599 | } | |
599 | 600 | } | |
600 | 601 | ||
601 | 602 | ||
602 | - | func | |
603 | - | let bl = addressFromStringValue( | |
604 | - | let cx = cy( | |
603 | + | func ey (ez,aH,cz,cp,ek) = { | |
604 | + | let bl = addressFromStringValue(ez) | |
605 | + | let cx = cy(ez, cz) | |
605 | 606 | let cn = parseIntValue(cx[bZ]) | |
606 | 607 | let aW = cx[bU] | |
607 | 608 | let cg = parseIntValue(cx[bW]) | |
608 | - | let | |
609 | + | let eA = cx[bV] | |
609 | 610 | let cj = parseIntValue(cx[bX]) | |
610 | 611 | let el = valueOrElse(getInteger(this, bb(aW)), E) | |
611 | 612 | let dp = bg(aW) | |
612 | - | let dq = bh(aW, | |
613 | + | let dq = bh(aW, ez) | |
613 | 614 | let bA = cn | |
614 | 615 | let bz = bS(aH) | |
615 | 616 | let bB = bS((aH - 1)) | |
616 | 617 | let dr = bR(bz) | |
617 | 618 | if (bD) | |
618 | 619 | then bw() | |
619 | - | else if (( | |
620 | + | else if ((eA != "PENDING")) | |
620 | 621 | then throw("swap has been already processed") | |
621 | 622 | else if ((bA > height)) | |
622 | 623 | then throw((("please wait for: " + toString(bA)) + " block height to withdraw funds")) | |
623 | 624 | else if (if (if ((aH > by)) | |
624 | 625 | then true | |
625 | 626 | else (bA > bz)) | |
626 | 627 | then true | |
627 | 628 | else if ((bB != 0)) | |
628 | 629 | then (bB >= bA) | |
629 | 630 | else false) | |
630 | 631 | then bx(aH, by, bz, bA, bB) | |
631 | 632 | else { | |
632 | - | let eA = ej(aW, cg, dr, ek) | |
633 | - | let ch = eA._1 | |
634 | - | let ep = eA._2 | |
635 | - | let cs = eA._3 | |
636 | - | let es = eA._5 | |
637 | - | let ci = eA._6 | |
638 | - | let dY = eA._7 | |
633 | + | let eB = ej(aW, cg, dr, ek) | |
634 | + | let ch = eB._1 | |
635 | + | let ep = eB._2 | |
636 | + | let cs = eB._3 | |
637 | + | let es = eB._5 | |
638 | + | let ci = eB._6 | |
639 | + | let dY = eB._7 | |
640 | + | let et = eB._8 | |
639 | 641 | if ((0 >= dY)) | |
640 | 642 | then throw("balance equals zero") | |
641 | 643 | else { | |
642 | 644 | let em = q(ek[dF]) | |
643 | - | let | |
644 | - | let | |
645 | + | let eC = [IntegerEntry(aY(aW, ez), (dq - cg)), IntegerEntry(aX(aW), (dp - cg)), ScriptTransfer(bl, ch, ep), StringEntry(cc(ez, cz), cw(cx, et, ch, ci, bA, aH, cp, cs, em))] | |
646 | + | let eD = if ((cs > 0)) | |
645 | 647 | then { | |
646 | - | let | |
647 | - | if (( | |
648 | + | let eE = invoke(ai, "issueSurf", [cs, ez], nil) | |
649 | + | if ((eE == eE)) | |
648 | 650 | then 0 | |
649 | 651 | else throw("Strict value is not equal to itself.") | |
650 | 652 | } | |
651 | 653 | else 0 | |
652 | - | if (( | |
653 | - | then $Tuple3( | |
654 | + | if ((eD == eD)) | |
655 | + | then $Tuple3(eC, AttachedPayment(ep, ci), es) | |
654 | 656 | else throw("Strict value is not equal to itself.") | |
655 | 657 | } | |
656 | 658 | } | |
657 | 659 | } | |
658 | 660 | ||
659 | 661 | ||
660 | - | func | |
662 | + | func eF () = "%s__applyInProgress" | |
661 | 663 | ||
662 | 664 | ||
663 | - | func | |
665 | + | func eG (eH) = ("%s%d__proposalData__" + toString(eH)) | |
664 | 666 | ||
665 | 667 | ||
666 | - | let | |
668 | + | let eI = 9 | |
667 | 669 | ||
668 | - | func | |
670 | + | func eJ (bK) = { | |
669 | 671 | let n = bK | |
670 | 672 | if ($isInstanceOf(n, "Order")) | |
671 | 673 | then { | |
672 | - | let | |
674 | + | let eK = n | |
673 | 675 | throw("Orders aren't allowed") | |
674 | 676 | } | |
675 | 677 | else if (if ($isInstanceOf(n, "DataTransaction")) | |
676 | 678 | then true | |
677 | 679 | else if ($isInstanceOf(n, "SponsorFeeTransaction")) | |
678 | 680 | then true | |
679 | 681 | else if ($isInstanceOf(n, "SetScriptTransaction")) | |
680 | 682 | then true | |
681 | 683 | else if ($isInstanceOf(n, "CreateAliasTransaction")) | |
682 | 684 | then true | |
683 | 685 | else if ($isInstanceOf(n, "LeaseCancelTransaction")) | |
684 | 686 | then true | |
685 | 687 | else if ($isInstanceOf(n, "LeaseTransaction")) | |
686 | 688 | then true | |
687 | 689 | else if ($isInstanceOf(n, "IssueTransaction")) | |
688 | 690 | then true | |
689 | 691 | else if ($isInstanceOf(n, "InvokeExpressionTransaction")) | |
690 | 692 | then true | |
691 | 693 | else if ($isInstanceOf(n, "UpdateAssetInfoTransaction")) | |
692 | 694 | then true | |
693 | 695 | else if ($isInstanceOf(n, "InvokeScriptTransaction")) | |
694 | 696 | then true | |
695 | 697 | else if ($isInstanceOf(n, "SetAssetScriptTransaction")) | |
696 | 698 | then true | |
697 | 699 | else if ($isInstanceOf(n, "TransferTransaction")) | |
698 | 700 | then true | |
699 | 701 | else if ($isInstanceOf(n, "ExchangeTransaction")) | |
700 | 702 | then true | |
701 | 703 | else if ($isInstanceOf(n, "MassTransferTransaction")) | |
702 | 704 | then true | |
703 | 705 | else if ($isInstanceOf(n, "BurnTransaction")) | |
704 | 706 | then true | |
705 | 707 | else $isInstanceOf(n, "ReissueTransaction")) | |
706 | 708 | then { | |
707 | - | let | |
708 | - | let cd = toBase58String( | |
709 | - | let | |
710 | - | let | |
711 | - | if (!(isDefined(indexOf( | |
712 | - | then throw(((("Unknown txId: " + cd) + " for proposalId=") + toString( | |
709 | + | let eL = n | |
710 | + | let cd = toBase58String(eL.id) | |
711 | + | let eH = valueOrErrorMessage(getInteger(ak, eF()), "Apply is not happening") | |
712 | + | let eM = split(split(a(ak, eG(eH)), z)[eI], A) | |
713 | + | if (!(isDefined(indexOf(eM, cd)))) | |
714 | + | then throw(((("Unknown txId: " + cd) + " for proposalId=") + toString(eH))) | |
713 | 715 | else true | |
714 | 716 | } | |
715 | 717 | else throw("Match error") | |
716 | 718 | } | |
717 | 719 | ||
718 | 720 | ||
719 | 721 | @Callable(r) | |
720 | - | func constructor ( | |
721 | - | let | |
722 | - | if (( | |
722 | + | func constructor (eN,eO,eP,eQ,eR,eS,eT,eU,eV,eW,eX,eY) = { | |
723 | + | let eZ = cR(r) | |
724 | + | if ((eZ == eZ)) | |
723 | 725 | then if ((size(r.payments) != 0)) | |
724 | 726 | then throw("no payments allowed") | |
725 | - | else [StringEntry(al, | |
727 | + | else [StringEntry(al, eN), StringEntry(am, eO), StringEntry(an, eP), StringEntry(ap, eQ), StringEntry(aq, eR), StringEntry(ax, eS), IntegerEntry(at, eT), IntegerEntry(au, eU), IntegerEntry(av, eV), IntegerEntry(aw, eW), IntegerEntry(ay, eX), IntegerEntry(az, eY)] | |
726 | 728 | else throw("Strict value is not equal to itself.") | |
727 | 729 | } | |
728 | 730 | ||
729 | 731 | ||
730 | 732 | ||
731 | 733 | @Callable(r) | |
732 | - | func constructorV2 (ae,af, | |
733 | - | let | |
734 | - | if (( | |
734 | + | func constructorV2 (ae,af,fa) = { | |
735 | + | let eZ = cR(r) | |
736 | + | if ((eZ == eZ)) | |
735 | 737 | then if ((size(r.payments) != 0)) | |
736 | 738 | then throw("no payments allowed") | |
737 | - | else [StringEntry(as, ae), StringEntry(ao, af), IntegerEntry(bc(), | |
739 | + | else [StringEntry(as, ae), StringEntry(ao, af), IntegerEntry(bc(), fa)] | |
738 | 740 | else throw("Strict value is not equal to itself.") | |
739 | 741 | } | |
740 | 742 | ||
741 | 743 | ||
742 | 744 | ||
743 | 745 | @Callable(r) | |
744 | 746 | func swapWavesToNeutrino () = if ((size(r.payments) != 1)) | |
745 | 747 | then throw("swapWavesToNeutrino require only one payment") | |
746 | 748 | else { | |
747 | - | let | |
748 | - | if (isDefined( | |
749 | + | let fb = value(r.payments[0]) | |
750 | + | if (isDefined(fb.assetId)) | |
749 | 751 | then throw("Only Waves token is allowed for swapping.") | |
750 | 752 | else { | |
751 | 753 | let bl = toString(r.caller) | |
752 | 754 | let dj = toBase58String(r.transactionId) | |
753 | - | let | |
754 | - | let | |
755 | - | | |
755 | + | let fc = x(invoke(this, "swapParamsByUserSYSREADONLY", [bl, 0], nil)) | |
756 | + | let fd = dg("waves", fb.amount, bl, dj, fc) | |
757 | + | fd | |
756 | 758 | } | |
757 | 759 | } | |
758 | 760 | ||
759 | 761 | ||
760 | 762 | ||
761 | 763 | @Callable(r) | |
762 | 764 | func swapNeutrinoToWaves () = if ((size(r.payments) != 1)) | |
763 | 765 | then throw("swapNeutrinoToWaves require only one payment") | |
764 | 766 | else { | |
765 | - | let | |
766 | - | if (( | |
767 | + | let fb = value(r.payments[0]) | |
768 | + | if ((fb.assetId != bC)) | |
767 | 769 | then throw("Only appropriate Neutrino tokens are allowed for swapping.") | |
768 | 770 | else { | |
769 | 771 | let bl = toString(r.caller) | |
770 | 772 | let dj = toBase58String(r.transactionId) | |
771 | - | let | |
772 | - | let | |
773 | - | | |
773 | + | let fc = x(invoke(this, "swapParamsByUserSYSREADONLY", [bl, 0], nil)) | |
774 | + | let fd = dg("neutrino", fb.amount, bl, dj, fc) | |
775 | + | fd | |
774 | 776 | } | |
775 | 777 | } | |
776 | 778 | ||
777 | 779 | ||
778 | 780 | ||
779 | 781 | @Callable(r) | |
780 | - | func withdraw ( | |
782 | + | func withdraw (ez,aH,cz) = { | |
781 | 783 | let cd = toBase58String(r.transactionId) | |
782 | 784 | if ((size(r.payments) != 0)) | |
783 | 785 | then throw("no payments allowed") | |
784 | 786 | else { | |
785 | 787 | let ek = l(invoke(ae, "calcNeutinoMetricsREADONLY", nil, nil)) | |
786 | 788 | let em = q(ek[dF]) | |
787 | - | let | |
788 | - | let | |
789 | - | let | |
790 | - | let es = | |
791 | - | let | |
792 | - | if (( | |
789 | + | let fe = ey(ez, aH, cz, cd, ek) | |
790 | + | let eC = fe._1 | |
791 | + | let ff = fe._2 | |
792 | + | let es = fe._3 | |
793 | + | let fg = invoke(this, "internalUnleaseAndLease", [es], nil) | |
794 | + | if ((fg == fg)) | |
793 | 795 | then { | |
794 | - | let | |
795 | - | let | |
796 | - | let | |
797 | - | let | |
798 | - | then fraction( | |
796 | + | let fh = l(invoke(ah, "gnsbtInfoSYSREADONLY", ["", 0, 0], nil)) | |
797 | + | let fi = q(fh[1]) | |
798 | + | let fj = q(l(fh[3])[3]) | |
799 | + | let fk = if ((fi != 0)) | |
800 | + | then fraction(ff.amount, fj, fi) | |
799 | 801 | else 0 | |
800 | - | let | |
801 | - | then fraction( | |
802 | + | let fl = if ((fi != 0)) | |
803 | + | then fraction(ff.amount, (C - em), C) | |
802 | 804 | else 0 | |
803 | - | let | |
804 | - | let | |
805 | - | let | |
805 | + | let fm = max([fk, fl]) | |
806 | + | let fn = (ff.amount - fm) | |
807 | + | let fo = if ((fm > 0)) | |
806 | 808 | then { | |
807 | - | let | |
808 | - | if (( | |
809 | + | let fp = invoke(ag, "deposit", nil, [AttachedPayment(ff.assetId, fm)]) | |
810 | + | if ((fp == fp)) | |
809 | 811 | then nil | |
810 | 812 | else throw("Strict value is not equal to itself.") | |
811 | 813 | } | |
812 | 814 | else nil | |
813 | - | if (( | |
815 | + | if ((fo == fo)) | |
814 | 816 | then { | |
815 | - | let | |
817 | + | let fq = if ((fn > 0)) | |
816 | 818 | then { | |
817 | - | let | |
818 | - | if (( | |
819 | + | let fr = invoke(af, "deposit", nil, [AttachedPayment(ff.assetId, fn)]) | |
820 | + | if ((fr == fr)) | |
819 | 821 | then nil | |
820 | 822 | else throw("Strict value is not equal to itself.") | |
821 | 823 | } | |
822 | 824 | else nil | |
823 | - | if (( | |
824 | - | then | |
825 | + | if ((fq == fq)) | |
826 | + | then eC | |
825 | 827 | else throw("Strict value is not equal to itself.") | |
826 | 828 | } | |
827 | 829 | else throw("Strict value is not equal to itself.") | |
828 | 830 | } | |
829 | 831 | else throw("Strict value is not equal to itself.") | |
830 | 832 | } | |
831 | 833 | } | |
832 | 834 | ||
833 | 835 | ||
834 | 836 | ||
835 | 837 | @Callable(r) | |
836 | 838 | func internalUnleaseAndLease (cJ) = if ((r.caller != this)) | |
837 | 839 | then throw("internalUnleaseAndLease is not public method") | |
838 | 840 | else cS(cJ) | |
839 | 841 | ||
840 | 842 | ||
841 | 843 | ||
842 | 844 | @Callable(r) | |
843 | - | func transferUsdnToUser (bo, | |
845 | + | func transferUsdnToUser (bo,fs) = if ((r.caller != ai)) | |
844 | 846 | then throw("Only auction contract is authorized") | |
845 | - | else [ScriptTransfer(addressFromStringValue( | |
847 | + | else [ScriptTransfer(addressFromStringValue(fs), bo, bC)] | |
846 | 848 | ||
847 | 849 | ||
848 | 850 | ||
849 | 851 | @Callable(r) | |
850 | 852 | func acceptWaves () = if (if ((r.caller != ai)) | |
851 | 853 | then (r.caller != ak) | |
852 | 854 | else false) | |
853 | 855 | then throw("Currently only auction and governance contracts are allowed to call") | |
854 | 856 | else $Tuple2(cS(0), "success") | |
855 | 857 | ||
856 | 858 | ||
857 | 859 | ||
858 | 860 | @Callable(r) | |
859 | - | func approveLeasings ( | |
860 | - | let | |
861 | - | let | |
862 | - | let | |
863 | - | let | |
864 | - | let | |
865 | - | let | |
866 | - | let | |
867 | - | if (isDefined( | |
861 | + | func approveLeasings (ft,aU,fu) = { | |
862 | + | let fv = [0, 1, 2, 3, 4, 5, 6, 7] | |
863 | + | let fw = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur") | |
864 | + | let fx = fromBase58String(fw) | |
865 | + | let fy = valueOrElse(getString("%s%s__cfg__nodesRegistryAddress"), "3P9vKqQKjUdmpXAfiWau8krREYAY1Xr69pE") | |
866 | + | let fz = addressFromStringValue(fy) | |
867 | + | let fA = aT(aU) | |
868 | + | let fB = getString(this, fA) | |
869 | + | if (isDefined(fB)) | |
868 | 870 | then throw((("group " + toString(aU)) + " already initialized")) | |
869 | 871 | else { | |
870 | - | let | |
871 | - | let | |
872 | - | if ((r.callerPublicKey != | |
872 | + | let fC = split(ft, z) | |
873 | + | let fD = size(fv) | |
874 | + | if ((r.callerPublicKey != fx)) | |
873 | 875 | then throw("approveLeasings not authorized") | |
874 | 876 | else { | |
875 | - | let | |
876 | - | let | |
877 | - | let | |
878 | - | let | |
879 | - | let | |
880 | - | let | |
881 | - | let | |
882 | - | let | |
883 | - | if (( | |
877 | + | let fE = da(0) | |
878 | + | let fF = fE._1 | |
879 | + | let fG = fE._2 | |
880 | + | let fH = fE._3 | |
881 | + | let fI = fE._4 | |
882 | + | let fJ = fE._5 | |
883 | + | let fK = Lease(fF, (fH - (fu * fD))) | |
884 | + | let fL = invoke(fz, "validateAndApproveLeasings", [ft], nil) | |
885 | + | if ((fL == fL)) | |
884 | 886 | then { | |
885 | - | func | |
886 | - | let | |
887 | - | let | |
888 | - | ( | |
887 | + | func fM (fN,r) = { | |
888 | + | let fO = fC[r] | |
889 | + | let fP = Lease(addressFromStringValue(fO), fu) | |
890 | + | (fN ++ [fP, BinaryEntry(aP(fO), d(fP)), IntegerEntry(aS(fO), fu)]) | |
889 | 891 | } | |
890 | 892 | ||
891 | - | ([StringEntry( | |
892 | - | let | |
893 | - | let | |
894 | - | let | |
895 | - | func | |
896 | - | then | |
897 | - | else | |
893 | + | ([StringEntry(fA, ft), BinaryEntry(fI, d(fK)), IntegerEntry(fG, fK.amount), LeaseCancel(fJ), fK] ++ { | |
894 | + | let fQ = fv | |
895 | + | let fR = size(fQ) | |
896 | + | let fS = nil | |
897 | + | func fT (fU,fV) = if ((fV >= fR)) | |
898 | + | then fU | |
899 | + | else fM(fU, fQ[fV]) | |
898 | 900 | ||
899 | - | func | |
900 | - | then | |
901 | + | func fW (fU,fV) = if ((fV >= fR)) | |
902 | + | then fU | |
901 | 903 | else throw("List size exceeds 8") | |
902 | 904 | ||
903 | - | | |
905 | + | fW(fT(fT(fT(fT(fT(fT(fT(fT(fS, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
904 | 906 | }) | |
905 | 907 | } | |
906 | 908 | else throw("Strict value is not equal to itself.") | |
907 | 909 | } | |
908 | 910 | } | |
909 | 911 | } | |
910 | 912 | ||
911 | 913 | ||
912 | 914 | ||
913 | 915 | @Callable(r) | |
914 | 916 | func rebalanceLeasings (bo,aU) = { | |
915 | - | let | |
916 | - | let | |
917 | - | let | |
918 | - | let | |
919 | - | let | |
920 | - | let | |
921 | - | if ((r.callerPublicKey != | |
917 | + | let fv = [0, 1, 2, 3, 4, 5, 6, 7] | |
918 | + | let fw = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur") | |
919 | + | let fx = fromBase58String(fw) | |
920 | + | let fA = aT(aU) | |
921 | + | let ft = a(this, fA) | |
922 | + | let fC = split(ft, z) | |
923 | + | if ((r.callerPublicKey != fx)) | |
922 | 924 | then throw("rebalanceLeasings not authorized") | |
923 | 925 | else { | |
924 | - | let es = ((bo / size( | |
925 | - | let | |
926 | - | let | |
927 | - | let | |
928 | - | let | |
929 | - | let | |
930 | - | let | |
931 | - | let | |
932 | - | func | |
933 | - | let | |
934 | - | let | |
935 | - | let | |
936 | - | let | |
937 | - | let | |
938 | - | let | |
939 | - | let | |
940 | - | ( | |
926 | + | let es = ((bo / size(fC)) + 1) | |
927 | + | let fX = da(0) | |
928 | + | let fF = fX._1 | |
929 | + | let fG = fX._2 | |
930 | + | let fH = fX._3 | |
931 | + | let fI = fX._4 | |
932 | + | let fJ = fX._5 | |
933 | + | let fK = Lease(fF, (fH + (es * size(fC)))) | |
934 | + | func fY (fN,r) = { | |
935 | + | let fO = fC[r] | |
936 | + | let fZ = aP(fO) | |
937 | + | let ga = getBinaryValue(this, fZ) | |
938 | + | let gb = aS(fO) | |
939 | + | let fu = getIntegerValue(this, gb) | |
940 | + | let gc = LeaseCancel(value(ga)) | |
941 | + | let fP = Lease(addressFromStringValue(fO), (fu - es)) | |
942 | + | (fN ++ [LeaseCancel(value(ga)), fP, BinaryEntry(fZ, d(fP)), IntegerEntry(gb, fP.amount)]) | |
941 | 943 | } | |
942 | 944 | ||
943 | 945 | ({ | |
944 | - | let | |
945 | - | let | |
946 | - | let | |
947 | - | func | |
948 | - | then | |
949 | - | else | |
946 | + | let fQ = fv | |
947 | + | let fR = size(fQ) | |
948 | + | let fS = nil | |
949 | + | func fT (fU,fV) = if ((fV >= fR)) | |
950 | + | then fU | |
951 | + | else fY(fU, fQ[fV]) | |
950 | 952 | ||
951 | - | func | |
952 | - | then | |
953 | + | func fW (fU,fV) = if ((fV >= fR)) | |
954 | + | then fU | |
953 | 955 | else throw("List size exceeds 8") | |
954 | 956 | ||
955 | - | | |
956 | - | } ++ [BinaryEntry( | |
957 | + | fW(fT(fT(fT(fT(fT(fT(fT(fT(fS, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
958 | + | } ++ [BinaryEntry(fI, d(fK)), IntegerEntry(fG, fK.amount), LeaseCancel(fJ), fK]) | |
957 | 959 | } | |
958 | 960 | } | |
959 | 961 | ||
960 | 962 | ||
961 | 963 | ||
962 | 964 | @Callable(r) | |
963 | - | func swapParamsByUserSYSREADONLY (di, | |
964 | - | let | |
965 | - | let | |
966 | - | let | |
967 | - | let | |
968 | - | let | |
969 | - | let dn = q( | |
970 | - | let do = q( | |
971 | - | let | |
972 | - | let | |
973 | - | let | |
974 | - | let | |
975 | - | let | |
965 | + | func swapParamsByUserSYSREADONLY (di,gd) = { | |
966 | + | let fh = l(invoke(ah, "gnsbtInfoSYSREADONLY", [di, 0, 0], nil)) | |
967 | + | let ge = (q(fh[0]) + gd) | |
968 | + | let fi = (q(fh[1]) + gd) | |
969 | + | let gf = l(invoke(ae, "calcSwapLimitREADONLY", [ge], nil)) | |
970 | + | let gg = q(gf[0]) | |
971 | + | let dn = q(gf[1]) | |
972 | + | let do = q(gf[2]) | |
973 | + | let gh = valueOrElse(getInteger(this, bm(di)), 0) | |
974 | + | let gi = bf() | |
975 | + | let gj = (height - gh) | |
976 | + | let gk = (gj >= gi) | |
977 | + | let gl = if (gk) | |
976 | 978 | then 0 | |
977 | 979 | else valueOrElse(getInteger(this, bk(di)), 0) | |
978 | - | let dm = if ( | |
980 | + | let dm = if (gk) | |
979 | 981 | then 0 | |
980 | - | else ( | |
981 | - | $Tuple2(nil, $Tuple7( | |
982 | + | else (gi - gj) | |
983 | + | $Tuple2(nil, $Tuple7(gg, gl, dm, ge, fi, dn, do)) | |
982 | 984 | } | |
983 | 985 | ||
984 | 986 | ||
985 | 987 | ||
986 | 988 | @Callable(r) | |
987 | 989 | func calcWithdrawResultSYSREADONLY (aW,cg,bp) = { | |
988 | 990 | let ek = l(invoke(ae, "calcNeutinoMetricsREADONLY", nil, nil)) | |
989 | 991 | $Tuple2(nil, ej(aW, cg, bp, ek)) | |
990 | 992 | } | |
991 | 993 | ||
992 | 994 | ||
993 | 995 | ||
994 | 996 | @Callable(r) | |
995 | - | func replaceCommunityNode ( | |
996 | - | let | |
997 | - | let | |
998 | - | if ((r.callerPublicKey != | |
997 | + | func replaceCommunityNode (gm,gn,aU,go) = { | |
998 | + | let fw = valueOrElse(getString("%s%s__cfg__leasingManagerPub"), "7AUMX54ukYMYvPmma7yoFf5NjZhs4Bu5nz3Ez9EV8sur") | |
999 | + | let fx = fromBase58String(fw) | |
1000 | + | if ((r.callerPublicKey != fx)) | |
999 | 1001 | then throw("replaceCommunityNode not authorized") | |
1000 | 1002 | else { | |
1001 | - | let | |
1002 | - | let | |
1003 | - | if (!(contains( | |
1004 | - | then throw(((("Group " + toString(aU)) + " does not contain address ") + | |
1003 | + | let gp = aT(aU) | |
1004 | + | let gq = a(this, gp) | |
1005 | + | if (!(contains(gq, gm))) | |
1006 | + | then throw(((("Group " + toString(aU)) + " does not contain address ") + gm)) | |
1005 | 1007 | else { | |
1006 | - | let | |
1007 | - | if (( | |
1008 | + | let gr = invoke(aj, "replaceApprovedNode", [gm, gn, aU, go], nil) | |
1009 | + | if ((gr == gr)) | |
1008 | 1010 | then { | |
1009 | - | let | |
1010 | - | let | |
1011 | - | let | |
1012 | - | let | |
1013 | - | let | |
1014 | - | let | |
1015 | - | let | |
1016 | - | $Tuple2([LeaseCancel(getBinaryValue( | |
1011 | + | let gs = aP(gm) | |
1012 | + | let gt = aS(gm) | |
1013 | + | let gu = getIntegerValue(gt) | |
1014 | + | let gv = aP(gm) | |
1015 | + | let gw = aS(gm) | |
1016 | + | let gx = Lease(addressFromStringValue(gn), gu) | |
1017 | + | let gy = makeString(split(gq, gm), gn) | |
1018 | + | $Tuple2([LeaseCancel(getBinaryValue(gs)), DeleteEntry(gs), DeleteEntry(gt), StringEntry(gp, gy), gx, BinaryEntry(gv, d(gx)), IntegerEntry(gw, gu)], unit) | |
1017 | 1019 | } | |
1018 | 1020 | else throw("Strict value is not equal to itself.") | |
1019 | 1021 | } | |
1020 | 1022 | } | |
1021 | 1023 | } | |
1022 | 1024 | ||
1023 | 1025 | ||
1024 | 1026 | ||
1025 | 1027 | @Callable(r) | |
1026 | 1028 | func updateReservesAndNeutrinoSupply () = { | |
1027 | - | func | |
1029 | + | func gz (c) = { | |
1028 | 1030 | let n = getInteger(this, c) | |
1029 | 1031 | if ($isInstanceOf(n, "Int")) | |
1030 | 1032 | then { | |
1031 | - | let | |
1032 | - | | |
1033 | + | let fN = n | |
1034 | + | fN | |
1033 | 1035 | } | |
1034 | 1036 | else 0 | |
1035 | 1037 | } | |
1036 | 1038 | ||
1037 | - | let | |
1038 | - | let ac = | |
1039 | - | let | |
1040 | - | [IntegerEntry("updateReservesAndNeutrinoSupplyIdx", | |
1039 | + | let gA = l(invoke(ae, "calcNeutinoMetricsREADONLY", nil, nil)) | |
1040 | + | let ac = gz("updateReservesAndNeutrinoSupplyIdx") | |
1041 | + | let gB = (ac + 1) | |
1042 | + | [IntegerEntry("updateReservesAndNeutrinoSupplyIdx", gB), IntegerEntry("reserve", q(gA[3])), IntegerEntry("neutrinoSupply", q(gA[5])), IntegerEntry("reservesInUsdn", bq(q(gA[3]), q(gA[0]))), IntegerEntry("surplus", q(gA[6])), IntegerEntry("deficit", -(q(gA[6])))] | |
1041 | 1043 | } | |
1042 | 1044 | ||
1043 | 1045 | ||
1044 | 1046 | ||
1045 | 1047 | @Callable(r) | |
1046 | 1048 | func wavesBalancesVsPayment () = { | |
1047 | - | let | |
1048 | - | [IntegerEntry("wavesBalance_available", | |
1049 | + | let gC = wavesBalance(this) | |
1050 | + | [IntegerEntry("wavesBalance_available", gC.available), IntegerEntry("wavesBalance_regular", gC.regular), IntegerEntry("wavesBalance_generating", gC.generating), IntegerEntry("wavesBalance_effective", gC.effective), IntegerEntry("waves_payment", value(r.payments[0]).amount)] | |
1049 | 1051 | } | |
1050 | 1052 | ||
1051 | 1053 | ||
1052 | 1054 | @Verifier(bK) | |
1053 | - | func | |
1054 | - | let | |
1055 | - | let | |
1056 | - | let | |
1055 | + | func gD () = { | |
1056 | + | let gE = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], z) | |
1057 | + | let gF = split(valueOrElse(getString(ad, "%s__multisig"), gE), z) | |
1058 | + | let gG = ((((if (sigVerify(bK.bodyBytes, bK.proofs[0], fromBase58String(gF[0]))) | |
1057 | 1059 | then 1 | |
1058 | - | else 0) + (if (sigVerify(bK.bodyBytes, bK.proofs[1], fromBase58String( | |
1060 | + | else 0) + (if (sigVerify(bK.bodyBytes, bK.proofs[1], fromBase58String(gF[1]))) | |
1059 | 1061 | then 1 | |
1060 | - | else 0)) + (if (sigVerify(bK.bodyBytes, bK.proofs[2], fromBase58String( | |
1062 | + | else 0)) + (if (sigVerify(bK.bodyBytes, bK.proofs[2], fromBase58String(gF[2]))) | |
1061 | 1063 | then 1 | |
1062 | - | else 0)) + (if (sigVerify(bK.bodyBytes, bK.proofs[3], fromBase58String( | |
1064 | + | else 0)) + (if (sigVerify(bK.bodyBytes, bK.proofs[3], fromBase58String(gF[3]))) | |
1063 | 1065 | then 2 | |
1064 | 1066 | else 0)) | |
1065 | 1067 | if (if (bD) | |
1066 | 1068 | then (getStringValue(ad, "is_blocked_caller") == toString(ak)) | |
1067 | 1069 | else false) | |
1068 | - | then | |
1070 | + | then eJ(bK) | |
1069 | 1071 | else { | |
1070 | 1072 | let n = bK | |
1071 | 1073 | if ($isInstanceOf(n, "SponsorFeeTransaction")) | |
1072 | 1074 | then { | |
1073 | - | let | |
1074 | - | if (bJ( | |
1075 | - | then ( | |
1075 | + | let gH = n | |
1076 | + | if (bJ(gH)) | |
1077 | + | then (gG >= 3) | |
1076 | 1078 | else false | |
1077 | 1079 | } | |
1078 | - | else ( | |
1080 | + | else (gG >= 3) | |
1079 | 1081 | } | |
1080 | 1082 | } | |
1081 | 1083 |
github/deemru/w8io/026f985 205.93 ms ◑