tx · H7C1zzQiAyMEc3aZA1DD3RxeB1V71eJBysAnZm3NAHnM 3MyeMZm2BLBkcgK2VBeTU8h1n562iB3zA2Z: -0.02900000 Waves 2022.09.13 00:15 [2226425] smart account 3MyeMZm2BLBkcgK2VBeTU8h1n562iB3zA2Z > SELF 0.00000000 Waves
{ "type": 13, "id": "H7C1zzQiAyMEc3aZA1DD3RxeB1V71eJBysAnZm3NAHnM", "fee": 2900000, "feeAssetId": null, "timestamp": 1663017336016, "version": 2, "chainId": 84, "sender": "3MyeMZm2BLBkcgK2VBeTU8h1n562iB3zA2Z", "senderPublicKey": "5bHbDgAVwbyzkor8HrHKU8zcg5RfwKy3rNihVqk8YUvP", "proofs": [ "3Y4qcbxfKhMBLp9eq4LETyZN4UKoF3zWx6vhegF54Qjg8rtjtBuXWQXYEehSqxEHdRPzYMW61nbc7YTzRMx3GE2V" ], "script": "base64:BgJ/CAISAwoBCBIDCgEIEgASBAoCAQQSBwoFAQEBAQQSAwoBARIAEgcKBQEBAQgBEgQKAgEBEgMKAQESBAoCCAgSBAoCCAgSBAoCCAESABIDCgEIEgUKAwEBARIECgIIARIECgIBARIECgIICBILCgkIAQECAQIIBAQSBgoECAgBCE8AD2RlZmF1bHREZWNpbWFscwCAwtcvAAZzY2FsZTgAgMLXLwAMc2NhbGU4QmlnSW50CQC2AgEAgMLXLwAHc2NhbGUxOAkAtgIBAICAkLu61q3wDQAKemVyb0JpZ0ludAkAtgIBAAAACW9uZUJpZ0ludAkAtgIBAAEACnNsaXBwYWdlNEQJALYCAQkAZQIFBnNjYWxlOAkAaQIJAGgCBQZzY2FsZTgAAQUGc2NhbGU4AAVBbXVsdAIDMTAwAAVEY29udgIBMQADU0VQAgJfXwAFRU1QVFkCAAAKUG9vbEFjdGl2ZQABAApQb29sUHV0RGlzAAIADlBvb2xNYXRjaGVyRGlzAAMADFBvb2xTaHV0ZG93bgAEAA5pZHhQb29sQWRkcmVzcwABAAlpZHhQb29sU3QAAgAJaWR4TFBBc0lk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ixsXw3smudYtE2uzkPhioe Next: DuTvqn8retCMWKnhW1NZtvcwqtYzGj5DhP5984wfEtrU Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = | |
4 | + | let a = 100000000 | |
5 | 5 | ||
6 | 6 | let b = 100000000 | |
7 | 7 | ||
634 | 634 | else { | |
635 | 635 | let bR = aX(bL) | |
636 | 636 | let bS = aX(bM) | |
637 | - | let dX = if ((bH == bL)) | |
638 | - | then if (if ((dW > bR)) | |
637 | + | let dX = ((bR * a) / pow(10, 0, bN, 0, 0, DOWN)) | |
638 | + | let dY = ((bS * a) / pow(10, 0, bO, 0, 0, DOWN)) | |
639 | + | let dZ = if ((bH == bL)) | |
640 | + | then if (if ((dW > dX)) | |
639 | 641 | then true | |
640 | 642 | else (dP > dW)) | |
641 | 643 | then throw("invalid payment amount") | |
642 | - | else $Tuple6(( | |
644 | + | else $Tuple6((dX - dW), dY, (dW - dP), dQ, 0, 0) | |
643 | 645 | else if ((bH == bM)) | |
644 | - | then if (if ((dW > | |
646 | + | then if (if ((dW > dY)) | |
645 | 647 | then true | |
646 | 648 | else (dQ > dW)) | |
647 | 649 | then throw("invalid payment amount") | |
648 | - | else $Tuple6( | |
650 | + | else $Tuple6(dX, (dY - dW), 0, 0, (dW - dQ), dP) | |
649 | 651 | else throw("wrong pmtAssetId") | |
650 | - | let | |
651 | - | let | |
652 | - | let | |
653 | - | let | |
654 | - | let | |
655 | - | let | |
656 | - | let bk = invoke(dS, "calcD", [toString( | |
657 | - | let bj = invoke(dS, "calcD", [toString(toBigInt((( | |
658 | - | let | |
659 | - | if (( | |
652 | + | let ea = dZ._1 | |
653 | + | let eb = dZ._2 | |
654 | + | let ec = dZ._3 | |
655 | + | let ed = dZ._4 | |
656 | + | let ee = dZ._5 | |
657 | + | let ef = dZ._6 | |
658 | + | let bk = invoke(dS, "calcD", [toString(ea), toString(eb), aA, h, i], nil) | |
659 | + | let bj = invoke(dS, "calcD", [toString(toBigInt(((ea + ec) - ef))), toString(toBigInt(((eb + ee) - ed))), aA, h, i], nil) | |
660 | + | let eg = bi(parseBigIntValue(as(bj)), parseBigIntValue(as(bk)), g) | |
661 | + | if ((eg == eg)) | |
660 | 662 | then { | |
661 | - | let | |
662 | - | let | |
663 | - | let dI = | |
664 | - | let ch = | |
665 | - | let cS = | |
666 | - | let cT = | |
667 | - | let | |
668 | - | let cR = toInt( | |
663 | + | let eh = do(toString(dm.caller), toBase58String(dm.transactionId), AttachedPayment(fromBase58String(bL), dP), AttachedPayment(fromBase58String(bM), dQ), bf, true, true, cq, bH) | |
664 | + | let ei = eh._2 | |
665 | + | let dI = eh._7 | |
666 | + | let ch = eh._9 | |
667 | + | let cS = eh._10 | |
668 | + | let cT = eh._11 | |
669 | + | let ej = bc(toBigInt(ei), toBigInt(dR), toBigInt(bf)) | |
670 | + | let cR = toInt(ej._2) | |
669 | 671 | let dH = invoke(az, "emit", [cR], nil) | |
670 | 672 | if ((dH == dH)) | |
671 | 673 | then { | |
716 | 718 | ||
717 | 719 | ||
718 | 720 | @Callable(dm) | |
719 | - | func putForFree ( | |
721 | + | func putForFree (ek) = if ((0 > ek)) | |
720 | 722 | then throw("Wrong slpg") | |
721 | 723 | else if ((size(dm.payments) != 2)) | |
722 | 724 | then throw("2 pmnts expd") | |
723 | 725 | else { | |
724 | - | let | |
725 | - | | |
726 | + | let eh = do(toString(dm.caller), toBase58String(dm.transactionId), AttachedPayment(value(dm.payments[0]).assetId, value(dm.payments[0]).amount), dm.payments[1], ek, false, false, 0, "") | |
727 | + | eh._9 | |
726 | 728 | } | |
727 | 729 | ||
728 | 730 | ||
730 | 732 | @Callable(dm) | |
731 | 733 | func get () = { | |
732 | 734 | let cE = dl(dm) | |
733 | - | let | |
735 | + | let el = cE._1 | |
734 | 736 | let cg = cE._2 | |
735 | 737 | let cq = cE._3 | |
736 | 738 | let bH = cE._4 | |
737 | 739 | let ch = cE._5 | |
738 | - | let | |
739 | - | if (( | |
740 | + | let em = invoke(az, "burn", [cq], [AttachedPayment(bH, cq)]) | |
741 | + | if ((em == em)) | |
740 | 742 | then ch | |
741 | 743 | else throw("Strict value is not equal to itself.") | |
742 | 744 | } | |
744 | 746 | ||
745 | 747 | ||
746 | 748 | @Callable(dm) | |
747 | - | func getOneTkn ( | |
749 | + | func getOneTkn (en,eo,ep,eq,bf) = if ((size(dm.payments) != 1)) | |
748 | 750 | then throw("1 pmnt expd") | |
749 | 751 | else { | |
750 | 752 | let bw = aD() | |
768 | 770 | then throw("Min pmt 10 LP") | |
769 | 771 | else if (if (if ((0 > bf)) | |
770 | 772 | then true | |
771 | - | else (0 > | |
773 | + | else (0 > en)) | |
772 | 774 | then true | |
773 | - | else (0 > | |
775 | + | else (0 > ep)) | |
774 | 776 | then throw("Wrong params") | |
775 | 777 | else if ((bK != toBase58String(bH))) | |
776 | 778 | then throw("Wrong LP") | |
777 | 779 | else { | |
778 | 780 | let cE = bF(toBase58String(dm.transactionId), toBase58String(bH), cq, dm.caller) | |
779 | - | let | |
780 | - | let | |
781 | + | let er = cE._1 | |
782 | + | let es = cE._2 | |
781 | 783 | let bR = aX(bL) | |
782 | 784 | let bS = aX(bM) | |
783 | - | let | |
784 | - | then $Tuple7((bR - | |
785 | - | else if (( | |
786 | - | then $Tuple7((bR - | |
785 | + | let et = if ((eq == bL)) | |
786 | + | then $Tuple7((bR - er), (bS - es), en, es, 0, 0, (er + en)) | |
787 | + | else if ((eq == bM)) | |
788 | + | then $Tuple7((bR - er), (bS - es), 0, 0, en, er, (es + en)) | |
787 | 789 | else throw("wrong outAssetId") | |
788 | - | let | |
789 | - | let | |
790 | - | let | |
791 | - | let | |
792 | - | let | |
793 | - | let | |
794 | - | let | |
795 | - | if (if ((0 > | |
790 | + | let ea = et._1 | |
791 | + | let eb = et._2 | |
792 | + | let ec = et._3 | |
793 | + | let ed = et._4 | |
794 | + | let ee = et._5 | |
795 | + | let ef = et._6 | |
796 | + | let eu = et._7 | |
797 | + | if (if ((0 > ec)) | |
796 | 798 | then true | |
797 | - | else (0 > | |
799 | + | else (0 > ee)) | |
798 | 800 | then throw("Wrong calc") | |
799 | 801 | else { | |
800 | - | let bk = invoke(dS, "calcD", [toString( | |
801 | - | let bj = invoke(dS, "calcD", [toString((( | |
802 | - | let | |
803 | - | if (( | |
802 | + | let bk = invoke(dS, "calcD", [toString(ea), toString(eb), aA, h, i], nil) | |
803 | + | let bj = invoke(dS, "calcD", [toString(((ea - ec) + ef)), toString(((eb + ed) - ee)), aA, h, i], nil) | |
804 | + | let eg = bi(parseBigIntValue(as(bj)), parseBigIntValue(as(bk)), g) | |
805 | + | if ((eg == eg)) | |
804 | 806 | then { | |
805 | - | let | |
806 | - | if (( | |
807 | + | let ev = bc(toBigInt(eu), toBigInt(ep), toBigInt(bf)) | |
808 | + | if ((ev == ev)) | |
807 | 809 | then { | |
808 | - | let | |
809 | - | then $Tuple2(toInt( | |
810 | - | else $Tuple2(0, toInt( | |
811 | - | let | |
812 | - | let | |
813 | - | let | |
814 | - | let | |
815 | - | let ch = [ScriptTransfer(bJ, ( | |
810 | + | let ew = if ((eq == bL)) | |
811 | + | then $Tuple2(toInt(ev._2), 0) | |
812 | + | else $Tuple2(0, toInt(ev._2)) | |
813 | + | let ex = ew._1 | |
814 | + | let ey = ew._2 | |
815 | + | let ez = aZ(C(bS, bO), C(bR, bN)) | |
816 | + | let eA = F(ez, b) | |
817 | + | let ch = [ScriptTransfer(bJ, (ex + ey), if ((eq == "WAVES")) | |
816 | 818 | then unit | |
817 | - | else fromBase58String( | |
819 | + | else fromBase58String(eq)), StringEntry(X(toString(bJ), bG), aT(ex, ey, cq, eA, height, lastBlock.timestamp)), IntegerEntry(Q(), eA), IntegerEntry(R(height, lastBlock.timestamp), eA)] | |
818 | 820 | if ((ch == ch)) | |
819 | 821 | then { | |
820 | - | let | |
821 | - | if (( | |
822 | + | let eB = invoke(az, "burn", [cq], [AttachedPayment(bH, cq)]) | |
823 | + | if ((eB == eB)) | |
822 | 824 | then ch | |
823 | 825 | else throw("Strict value is not equal to itself.") | |
824 | 826 | } | |
834 | 836 | ||
835 | 837 | ||
836 | 838 | @Callable(dm) | |
837 | - | func getNoLess ( | |
839 | + | func getNoLess (eC,eD) = { | |
838 | 840 | let cE = dl(dm) | |
839 | 841 | let cf = cE._1 | |
840 | 842 | let cg = cE._2 | |
841 | 843 | let cq = cE._3 | |
842 | 844 | let bH = cE._4 | |
843 | 845 | let ch = cE._5 | |
844 | - | if (( | |
845 | - | then throw(((("Failed: " + toString(cf)) + " < ") + toString( | |
846 | - | else if (( | |
847 | - | then throw(((("Failed: " + toString(cg)) + " < ") + toString( | |
846 | + | if ((eC > cf)) | |
847 | + | then throw(((("Failed: " + toString(cf)) + " < ") + toString(eC))) | |
848 | + | else if ((eD > cg)) | |
849 | + | then throw(((("Failed: " + toString(cg)) + " < ") + toString(eD))) | |
848 | 850 | else { | |
849 | - | let | |
850 | - | if (( | |
851 | + | let eE = invoke(az, "burn", [cq], [AttachedPayment(bH, cq)]) | |
852 | + | if ((eE == eE)) | |
851 | 853 | then ch | |
852 | 854 | else throw("Strict value is not equal to itself.") | |
853 | 855 | } | |
856 | 858 | ||
857 | 859 | ||
858 | 860 | @Callable(dm) | |
859 | - | func unstakeAndGet ( | |
860 | - | let | |
861 | + | func unstakeAndGet (eF) = { | |
862 | + | let eG = if ((size(dm.payments) != 0)) | |
861 | 863 | then throw("No pmnts expd") | |
862 | 864 | else true | |
863 | - | if (( | |
865 | + | if ((eG == eG)) | |
864 | 866 | then { | |
865 | 867 | let bw = aD() | |
866 | - | let | |
868 | + | let eH = aH() | |
867 | 869 | let dI = fromBase58String(bw[r]) | |
868 | - | let | |
869 | - | let | |
870 | - | if (( | |
870 | + | let eI = valueOrErrorMessage(addressFromString(eH[y]), "Wr st addr") | |
871 | + | let eJ = invoke(eI, "unstake", [toBase58String(dI), eF], nil) | |
872 | + | if ((eJ == eJ)) | |
871 | 873 | then { | |
872 | - | let cE = bF(toBase58String(dm.transactionId), toBase58String(dI), | |
874 | + | let cE = bF(toBase58String(dm.transactionId), toBase58String(dI), eF, dm.caller) | |
873 | 875 | let bP = parseIntValue(cE._9) | |
874 | 876 | let ch = cE._10 | |
875 | - | let | |
877 | + | let eK = if (if (aB()) | |
876 | 878 | then true | |
877 | 879 | else (bP == o)) | |
878 | 880 | then throw(("Blocked: " + toString(bP))) | |
879 | 881 | else true | |
880 | - | if (( | |
882 | + | if ((eK == eK)) | |
881 | 883 | then { | |
882 | - | let | |
883 | - | if (( | |
884 | + | let eL = invoke(az, "burn", [eF], [AttachedPayment(dI, eF)]) | |
885 | + | if ((eL == eL)) | |
884 | 886 | then ch | |
885 | 887 | else throw("Strict value is not equal to itself.") | |
886 | 888 | } | |
894 | 896 | ||
895 | 897 | ||
896 | 898 | @Callable(dm) | |
897 | - | func activate ( | |
899 | + | func activate (eM,eN) = if ((toString(dm.caller) != toString(az))) | |
898 | 900 | then throw("denied") | |
899 | - | else $Tuple2([StringEntry(Y(), | |
901 | + | else $Tuple2([StringEntry(Y(), eM), StringEntry(Z(), eN)], "success") | |
900 | 902 | ||
901 | 903 | ||
902 | 904 | ||
903 | 905 | @Callable(dm) | |
904 | - | func setS ( | |
906 | + | func setS (eO,eK) = if ((toString(dm.caller) != av(this, ab()))) | |
905 | 907 | then du | |
906 | - | else [StringEntry( | |
908 | + | else [StringEntry(eO, eK)] | |
907 | 909 | ||
908 | 910 | ||
909 | 911 | ||
910 | 912 | @Callable(dm) | |
911 | - | func setI ( | |
913 | + | func setI (eO,eK) = if ((toString(dm.caller) != av(this, ab()))) | |
912 | 914 | then du | |
913 | - | else [IntegerEntry( | |
915 | + | else [IntegerEntry(eO, eK)] | |
914 | 916 | ||
915 | 917 | ||
916 | 918 | ||
926 | 928 | ||
927 | 929 | @Callable(dm) | |
928 | 930 | func calcPricesWrapperREADONLY (bq,br,bv) = { | |
929 | - | let | |
930 | - | $Tuple2(nil, [toString( | |
931 | + | let eP = bu(bq, br, bv) | |
932 | + | $Tuple2(nil, [toString(eP[0]), toString(eP[1]), toString(eP[2])]) | |
931 | 933 | } | |
932 | 934 | ||
933 | 935 | ||
934 | 936 | ||
935 | 937 | @Callable(dm) | |
936 | - | func fromX18WrapperREADONLY (G, | |
938 | + | func fromX18WrapperREADONLY (G,eQ) = $Tuple2(nil, F(parseBigIntValue(G), eQ)) | |
937 | 939 | ||
938 | 940 | ||
939 | 941 | ||
948 | 950 | ||
949 | 951 | ||
950 | 952 | @Callable(dm) | |
951 | - | func estimatePutOperationWrapperREADONLY (bG,bf,cj,ck,cl,cm, | |
953 | + | func estimatePutOperationWrapperREADONLY (bG,bf,cj,ck,cl,cm,eR,cn,co) = $Tuple2(nil, ci(bG, bf, cj, ck, cl, cm, eR, cn, co, false, 0, "")) | |
952 | 954 | ||
953 | 955 | ||
954 | 956 | ||
955 | 957 | @Callable(dm) | |
956 | - | func estimateGetOperationWrapperREADONLY (bG, | |
957 | - | let cE = bF(bG, | |
958 | + | func estimateGetOperationWrapperREADONLY (bG,eS,bI,eR) = { | |
959 | + | let cE = bF(bG, eS, bI, addressFromStringValue(eR)) | |
958 | 960 | $Tuple2(nil, $Tuple10(cE._1, cE._2, cE._3, cE._4, cE._5, cE._6, cE._7, toString(cE._8), cE._9, cE._10)) | |
959 | 961 | } | |
960 | 962 | ||
961 | 963 | ||
962 | - | @Verifier( | |
963 | - | func | |
964 | - | let | |
964 | + | @Verifier(eT) | |
965 | + | func eU () = { | |
966 | + | let eV = { | |
965 | 967 | let at = dr() | |
966 | 968 | if ($isInstanceOf(at, "ByteVector")) | |
967 | 969 | then { | |
969 | 971 | dw | |
970 | 972 | } | |
971 | 973 | else if ($isInstanceOf(at, "Unit")) | |
972 | - | then | |
974 | + | then eT.senderPublicKey | |
973 | 975 | else throw("Match error") | |
974 | 976 | } | |
975 | - | let at = | |
977 | + | let at = eT | |
976 | 978 | if ($isInstanceOf(at, "Order")) | |
977 | 979 | then { | |
978 | 980 | let cZ = at | |
979 | - | let | |
980 | - | let | |
981 | - | let | |
982 | - | let | |
983 | - | if (if (if ( | |
984 | - | then | |
981 | + | let eW = aC() | |
982 | + | let eX = cY(cZ) | |
983 | + | let eY = sigVerify(cZ.bodyBytes, cZ.proofs[0], cZ.senderPublicKey) | |
984 | + | let eZ = sigVerify(cZ.bodyBytes, cZ.proofs[1], eW) | |
985 | + | if (if (if (eX) | |
986 | + | then eY | |
985 | 987 | else false) | |
986 | - | then | |
988 | + | then eZ | |
987 | 989 | else false) | |
988 | 990 | then true | |
989 | - | else ao( | |
991 | + | else ao(eX, eY, eZ) | |
990 | 992 | } | |
991 | 993 | else if ($isInstanceOf(at, "SetScriptTransaction")) | |
992 | 994 | then { | |
993 | 995 | let ds = at | |
994 | - | let | |
995 | - | let | |
996 | - | let | |
997 | - | if (if (( | |
998 | - | then ( | |
996 | + | let fa = blake2b256(value(ds.script)) | |
997 | + | let fb = fromBase64String(value(getString(az, an()))) | |
998 | + | let fc = scriptHash(this) | |
999 | + | if (if ((fb == fa)) | |
1000 | + | then (fc != fa) | |
999 | 1001 | else false) | |
1000 | 1002 | then true | |
1001 | - | else sigVerify( | |
1003 | + | else sigVerify(eT.bodyBytes, eT.proofs[0], eV) | |
1002 | 1004 | } | |
1003 | - | else sigVerify( | |
1005 | + | else sigVerify(eT.bodyBytes, eT.proofs[0], eV) | |
1004 | 1006 | } | |
1005 | 1007 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = | |
4 | + | let a = 100000000 | |
5 | 5 | ||
6 | 6 | let b = 100000000 | |
7 | 7 | ||
8 | 8 | let c = toBigInt(100000000) | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let e = toBigInt(0) | |
13 | 13 | ||
14 | 14 | let f = toBigInt(1) | |
15 | 15 | ||
16 | 16 | let g = toBigInt((b - ((b * 1) / b))) | |
17 | 17 | ||
18 | 18 | let h = "100" | |
19 | 19 | ||
20 | 20 | let i = "1" | |
21 | 21 | ||
22 | 22 | let j = "__" | |
23 | 23 | ||
24 | 24 | let k = "" | |
25 | 25 | ||
26 | 26 | let l = 1 | |
27 | 27 | ||
28 | 28 | let m = 2 | |
29 | 29 | ||
30 | 30 | let n = 3 | |
31 | 31 | ||
32 | 32 | let o = 4 | |
33 | 33 | ||
34 | 34 | let p = 1 | |
35 | 35 | ||
36 | 36 | let q = 2 | |
37 | 37 | ||
38 | 38 | let r = 3 | |
39 | 39 | ||
40 | 40 | let s = 4 | |
41 | 41 | ||
42 | 42 | let t = 5 | |
43 | 43 | ||
44 | 44 | let u = 6 | |
45 | 45 | ||
46 | 46 | let v = 7 | |
47 | 47 | ||
48 | 48 | let w = 8 | |
49 | 49 | ||
50 | 50 | let x = 9 | |
51 | 51 | ||
52 | 52 | let y = 1 | |
53 | 53 | ||
54 | 54 | let z = 7 | |
55 | 55 | ||
56 | 56 | let A = 10 | |
57 | 57 | ||
58 | 58 | let B = "%s__delay" | |
59 | 59 | ||
60 | 60 | func C (D,E) = fraction(toBigInt(D), d, toBigInt(E)) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func F (G,H) = toInt(fraction(G, toBigInt(H), d)) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func I (J,K,L) = fraction(J, K, L) | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func M (G) = if ((e > G)) | |
70 | 70 | then -(G) | |
71 | 71 | else G | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func N () = "%s__factoryContract" | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func O () = "%s__managerPublicKey" | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func P () = "%s__pendingManagerPublicKey" | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func Q () = "%s%s__price__last" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func R (S,T) = makeString(["%s%s%d%d__price__history", toString(S), toString(T)], j) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func U (V,W) = ((("%s%s%s__P__" + V) + "__") + W) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func X (V,W) = ((("%s%s%s__G__" + V) + "__") + W) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func Y () = "%s__amountAsset" | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func Z () = "%s__priceAsset" | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func aa () = "%s__amp" | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func ab () = "%s__addonAddr" | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func ac (ad) = makeString(["%s%s__lastGetOneTknCall", ad], j) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func ae (ad) = makeString(["%s%s__lastPutOneTknCall", ad], j) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func af () = "%s__factoryConfig" | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func ag () = "%s%s__matcher__publicKey" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func ah (ai,aj) = (((("%d%d%s__" + ai) + "__") + aj) + "__config") | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func ak (al) = ("%s%s%s__mappings__baseAsset2internalId__" + al) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func am () = "%s__shutdown" | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func an () = "%s__allowedLpStableScriptHash" | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func ao (ap,aq,ar) = throw(((((("Failed: ordValid=" + toString(ap)) + " sndrValid=") + toString(aq)) + " mtchrValid=") + toString(ar))) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func as (G) = { | |
135 | 135 | let at = G | |
136 | 136 | if ($isInstanceOf(at, "String")) | |
137 | 137 | then { | |
138 | 138 | let au = at | |
139 | 139 | au | |
140 | 140 | } | |
141 | 141 | else throw("fail cast to String") | |
142 | 142 | } | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func av (aw,ax) = valueOrErrorMessage(getString(aw, ax), makeString(["mandatory ", toString(aw), ".", ax, " not defined"], "")) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func ay (aw,ax) = valueOrErrorMessage(getInteger(aw, ax), makeString(["mandatory ", toString(aw), ".", ax, " not defined"], "")) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | let az = addressFromStringValue(av(this, N())) | |
152 | 152 | ||
153 | 153 | let aA = av(this, aa()) | |
154 | 154 | ||
155 | 155 | func aB () = valueOrElse(getBoolean(az, am()), false) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func aC () = fromBase58String(av(az, ag())) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func aD () = { | |
162 | 162 | let aE = av(this, Y()) | |
163 | 163 | let aF = av(this, Z()) | |
164 | 164 | let aG = ay(az, ak(aF)) | |
165 | 165 | let ai = ay(az, ak(aE)) | |
166 | 166 | split(av(az, ah(toString(ai), toString(aG))), j) | |
167 | 167 | } | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func aH () = split(av(az, af()), j) | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func aI (aJ,aK,aL,aM,aN,aO,aP,aQ,aR,aS) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(aJ), toString(aK), toString(aL), toString(aM), toString(aN), toString(aO), toString(aP), toString(aQ), toString(aR), toString(aS)], j) | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func aT (aU,aV,aW,aM,aP,aQ) = makeString(["%d%d%d%d%d%d", toString(aU), toString(aV), toString(aW), toString(aM), toString(aP), toString(aQ)], j) | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func aX (aY) = if ((aY == "WAVES")) | |
180 | 180 | then wavesBalance(this).available | |
181 | 181 | else assetBalance(this, fromBase58String(aY)) | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | func aZ (ba,bb) = fraction(ba, d, bb) | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func bc (bd,be,bf) = { | |
188 | 188 | let bg = fraction((bd - be), c, be) | |
189 | 189 | let bh = ((bf - M(bg)) > e) | |
190 | 190 | if (!(bh)) | |
191 | 191 | then throw(("Big slpg: " + toString(bg))) | |
192 | 192 | else $Tuple2(bh, min([bd, be])) | |
193 | 193 | } | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func bi (bj,bk,bl) = { | |
197 | 197 | let bg = fraction(bk, c, bj) | |
198 | 198 | let bm = (bl > bg) | |
199 | 199 | if (if (bm) | |
200 | 200 | then true | |
201 | 201 | else (bk > bj)) | |
202 | 202 | then throw(((((((toString(bk) + " ") + toString(bj)) + " ") + toString(bg)) + " ") + toString(bl))) | |
203 | 203 | else bm | |
204 | 204 | } | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func bn (bo,bp,bq,br) = { | |
208 | 208 | let bs = C(bq, bo) | |
209 | 209 | let bt = C(br, bp) | |
210 | 210 | aZ(bt, bs) | |
211 | 211 | } | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func bu (bq,br,bv) = { | |
215 | 215 | let bw = aD() | |
216 | 216 | let bx = parseIntValue(bw[u]) | |
217 | 217 | let by = parseIntValue(bw[v]) | |
218 | 218 | let bz = bn(bx, by, bq, br) | |
219 | 219 | let bb = C(bq, bx) | |
220 | 220 | let ba = C(br, by) | |
221 | 221 | let bA = C(bv, b) | |
222 | 222 | let bB = aZ(bb, bA) | |
223 | 223 | let bC = aZ(ba, bA) | |
224 | 224 | [bz, bB, bC] | |
225 | 225 | } | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func bD (bq,br,bv) = { | |
229 | 229 | let bE = bu(bq, br, bv) | |
230 | 230 | [F(bE[0], b), F(bE[1], b), F(bE[2], b)] | |
231 | 231 | } | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func bF (bG,bH,bI,bJ) = { | |
235 | 235 | let bw = aD() | |
236 | 236 | let bK = bw[r] | |
237 | 237 | let bL = bw[s] | |
238 | 238 | let bM = bw[t] | |
239 | 239 | let bN = parseIntValue(bw[u]) | |
240 | 240 | let bO = parseIntValue(bw[v]) | |
241 | 241 | let bP = bw[q] | |
242 | 242 | let bQ = valueOrErrorMessage(assetInfo(fromBase58String(bK)), "Wrong LP id").quantity | |
243 | 243 | if ((bK != bH)) | |
244 | 244 | then throw("Wrong pmt asset") | |
245 | 245 | else { | |
246 | 246 | let bR = aX(bL) | |
247 | 247 | let bS = aX(bM) | |
248 | 248 | let bT = fraction(bR, a, bN) | |
249 | 249 | let bU = fraction(bS, a, bO) | |
250 | 250 | let bV = C(bT, a) | |
251 | 251 | let bW = C(bU, a) | |
252 | 252 | let bX = aZ(bW, bV) | |
253 | 253 | let bY = F(bX, b) | |
254 | 254 | let bZ = C(bI, b) | |
255 | 255 | let ca = C(bQ, b) | |
256 | 256 | let cb = fraction(bV, bZ, ca) | |
257 | 257 | let cc = fraction(bW, bZ, ca) | |
258 | 258 | let cd = F(cb, a) | |
259 | 259 | let ce = F(cc, a) | |
260 | 260 | let cf = fraction(cd, bN, a) | |
261 | 261 | let cg = fraction(ce, bO, a) | |
262 | 262 | let ch = if ((bG == "")) | |
263 | 263 | then nil | |
264 | 264 | else [ScriptTransfer(bJ, cf, if ((bL == "WAVES")) | |
265 | 265 | then unit | |
266 | 266 | else fromBase58String(bL)), ScriptTransfer(bJ, cg, if ((bM == "WAVES")) | |
267 | 267 | then unit | |
268 | 268 | else fromBase58String(bM)), StringEntry(X(toString(bJ), bG), aT(cf, cg, bI, bY, height, lastBlock.timestamp)), IntegerEntry(Q(), bY), IntegerEntry(R(height, lastBlock.timestamp), bY)] | |
269 | 269 | $Tuple10(cf, cg, bL, bM, bR, bS, bQ, bX, bP, ch) | |
270 | 270 | } | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func ci (bG,bf,cj,ck,cl,cm,bJ,cn,co,cp,cq,cr) = { | |
275 | 275 | let bw = aD() | |
276 | 276 | let bK = fromBase58String(bw[r]) | |
277 | 277 | let cs = bw[s] | |
278 | 278 | let ct = bw[t] | |
279 | 279 | let cu = bw[w] | |
280 | 280 | let cv = bw[x] | |
281 | 281 | let cw = parseIntValue(bw[u]) | |
282 | 282 | let cx = parseIntValue(bw[v]) | |
283 | 283 | let bP = bw[q] | |
284 | 284 | let cy = valueOrErrorMessage(assetInfo(bK), "Wr lp as").quantity | |
285 | 285 | let bR = if (cn) | |
286 | 286 | then aX(cs) | |
287 | 287 | else if (if (cp) | |
288 | 288 | then (cr == cs) | |
289 | 289 | else false) | |
290 | 290 | then (aX(cs) - cq) | |
291 | 291 | else if (cp) | |
292 | 292 | then aX(cs) | |
293 | 293 | else (aX(cs) - cj) | |
294 | 294 | let bS = if (cn) | |
295 | 295 | then aX(ct) | |
296 | 296 | else if (if (cp) | |
297 | 297 | then (cr == ct) | |
298 | 298 | else false) | |
299 | 299 | then (aX(ct) - cq) | |
300 | 300 | else if (cp) | |
301 | 301 | then aX(ct) | |
302 | 302 | else (aX(ct) - cl) | |
303 | 303 | let bT = fraction(bR, a, cw) | |
304 | 304 | let bU = fraction(bS, a, cx) | |
305 | 305 | let cz = fraction(cj, a, cw) | |
306 | 306 | let cA = fraction(cl, a, cx) | |
307 | 307 | let cB = C(cz, a) | |
308 | 308 | let cC = C(cA, a) | |
309 | 309 | let cD = aZ(cC, cB) | |
310 | 310 | let bV = C(bT, a) | |
311 | 311 | let bW = C(bU, a) | |
312 | 312 | let cE = if ((cy == 0)) | |
313 | 313 | then { | |
314 | 314 | let bX = e | |
315 | 315 | let cF = e | |
316 | 316 | let bA = pow((cB * cC), 0, toBigInt(5), 1, 0, DOWN) | |
317 | 317 | $Tuple5(F(bA, b), F(cB, a), F(cC, a), aZ((bW + cC), (bV + cB)), cF) | |
318 | 318 | } | |
319 | 319 | else { | |
320 | 320 | let bX = aZ(bW, bV) | |
321 | 321 | let cG = fraction(M((bX - cD)), d, bX) | |
322 | 322 | let cF = C(bf, b) | |
323 | 323 | if (if ((bX != e)) | |
324 | 324 | then (cG > cF) | |
325 | 325 | else false) | |
326 | 326 | then throw(((("Price slippage " + toString(cG)) + " > ") + toString(cF))) | |
327 | 327 | else { | |
328 | 328 | let cH = C(cy, b) | |
329 | 329 | let cI = fraction(cB, bX, d) | |
330 | 330 | let cJ = fraction(cC, d, bX) | |
331 | 331 | let cK = if ((cI > cC)) | |
332 | 332 | then $Tuple2(cJ, cC) | |
333 | 333 | else $Tuple2(cB, cI) | |
334 | 334 | let cL = cK._1 | |
335 | 335 | let cM = cK._2 | |
336 | 336 | let bA = fraction(cH, cM, bW) | |
337 | 337 | $Tuple5(F(bA, b), F(cL, a), F(cM, a), bX, cF) | |
338 | 338 | } | |
339 | 339 | } | |
340 | 340 | let cN = cE._1 | |
341 | 341 | let cO = fraction(cE._2, cw, a) | |
342 | 342 | let cP = fraction(cE._3, cx, a) | |
343 | 343 | let bY = F(cE._4, b) | |
344 | 344 | let cQ = F(cE._5, b) | |
345 | 345 | if ((0 >= cN)) | |
346 | 346 | then throw("LP <= 0") | |
347 | 347 | else { | |
348 | 348 | let cR = if (!(co)) | |
349 | 349 | then 0 | |
350 | 350 | else cN | |
351 | 351 | let cS = (cj - cO) | |
352 | 352 | let cT = (cl - cP) | |
353 | 353 | let cU = if (if (cp) | |
354 | 354 | then (cr == cs) | |
355 | 355 | else false) | |
356 | 356 | then $Tuple2(cq, 0) | |
357 | 357 | else if (if (cp) | |
358 | 358 | then (cr == ct) | |
359 | 359 | else false) | |
360 | 360 | then $Tuple2(0, cq) | |
361 | 361 | else $Tuple2(cO, cP) | |
362 | 362 | let cV = cU._1 | |
363 | 363 | let cW = cU._2 | |
364 | 364 | let cX = [IntegerEntry(Q(), bY), IntegerEntry(R(height, lastBlock.timestamp), bY), StringEntry(U(bJ, bG), aI(cV, cW, cR, bY, bf, cQ, height, lastBlock.timestamp, cS, cT))] | |
365 | 365 | $Tuple13(cN, cR, bY, bR, bS, cy, bK, bP, cX, cS, cT, ck, cm) | |
366 | 366 | } | |
367 | 367 | } | |
368 | 368 | ||
369 | 369 | ||
370 | 370 | func cY (cZ) = { | |
371 | 371 | let bw = aD() | |
372 | 372 | let da = bw[s] | |
373 | 373 | let db = bw[t] | |
374 | 374 | let bP = parseIntValue(bw[q]) | |
375 | 375 | let bx = parseIntValue(bw[u]) | |
376 | 376 | let by = parseIntValue(bw[v]) | |
377 | 377 | let dc = aX(da) | |
378 | 378 | let dd = aX(db) | |
379 | 379 | let bX = if ((cZ.orderType == Buy)) | |
380 | 380 | then bn(bx, by, (dc + cZ.amount), dd) | |
381 | 381 | else bn(bx, by, (dc - cZ.amount), dd) | |
382 | 382 | let bY = F(bX, b) | |
383 | 383 | if (if (if (aB()) | |
384 | 384 | then true | |
385 | 385 | else (bP == n)) | |
386 | 386 | then true | |
387 | 387 | else (bP == o)) | |
388 | 388 | then throw("Admin blocked") | |
389 | 389 | else { | |
390 | 390 | let de = cZ.assetPair.amountAsset | |
391 | 391 | let df = if ((de == unit)) | |
392 | 392 | then "WAVES" | |
393 | 393 | else toBase58String(value(de)) | |
394 | 394 | let dg = cZ.assetPair.priceAsset | |
395 | 395 | let dh = if ((dg == unit)) | |
396 | 396 | then "WAVES" | |
397 | 397 | else toBase58String(value(dg)) | |
398 | 398 | if (if ((df != da)) | |
399 | 399 | then true | |
400 | 400 | else (dh != db)) | |
401 | 401 | then throw("Wr assets") | |
402 | 402 | else { | |
403 | 403 | let di = cZ.price | |
404 | 404 | let cx = fraction(b, by, bx) | |
405 | 405 | let dj = I(di, b, cx) | |
406 | 406 | let dk = if ((cZ.orderType == Buy)) | |
407 | 407 | then (bY >= dj) | |
408 | 408 | else (dj >= bY) | |
409 | 409 | true | |
410 | 410 | } | |
411 | 411 | } | |
412 | 412 | } | |
413 | 413 | ||
414 | 414 | ||
415 | 415 | func dl (dm) = if ((size(dm.payments) != 1)) | |
416 | 416 | then throw("1 pmnt exp") | |
417 | 417 | else { | |
418 | 418 | let dn = value(dm.payments[0]) | |
419 | 419 | let bH = value(dn.assetId) | |
420 | 420 | let cq = dn.amount | |
421 | 421 | let cE = bF(toBase58String(dm.transactionId), toBase58String(bH), cq, dm.caller) | |
422 | 422 | let cf = cE._1 | |
423 | 423 | let cg = cE._2 | |
424 | 424 | let bP = parseIntValue(cE._9) | |
425 | 425 | let ch = cE._10 | |
426 | 426 | if (if (aB()) | |
427 | 427 | then true | |
428 | 428 | else (bP == o)) | |
429 | 429 | then throw(("Admin blocked: " + toString(bP))) | |
430 | 430 | else $Tuple5(cf, cg, cq, bH, ch) | |
431 | 431 | } | |
432 | 432 | ||
433 | 433 | ||
434 | 434 | func do (ad,W,dp,dq,bf,co,cp,cq,cr) = { | |
435 | 435 | let cE = ci(W, bf, value(dp).amount, value(dp).assetId, value(dq).amount, value(dq).assetId, ad, false, co, cp, cq, cr) | |
436 | 436 | let bP = parseIntValue(cE._8) | |
437 | 437 | if (if (if (aB()) | |
438 | 438 | then true | |
439 | 439 | else (bP == m)) | |
440 | 440 | then true | |
441 | 441 | else (bP == o)) | |
442 | 442 | then throw(("Blocked:" + toString(bP))) | |
443 | 443 | else cE | |
444 | 444 | } | |
445 | 445 | ||
446 | 446 | ||
447 | 447 | func dr () = { | |
448 | 448 | let at = getString(O()) | |
449 | 449 | if ($isInstanceOf(at, "String")) | |
450 | 450 | then { | |
451 | 451 | let ds = at | |
452 | 452 | fromBase58String(ds) | |
453 | 453 | } | |
454 | 454 | else if ($isInstanceOf(at, "Unit")) | |
455 | 455 | then unit | |
456 | 456 | else throw("Match error") | |
457 | 457 | } | |
458 | 458 | ||
459 | 459 | ||
460 | 460 | func dt () = { | |
461 | 461 | let at = getString(P()) | |
462 | 462 | if ($isInstanceOf(at, "String")) | |
463 | 463 | then { | |
464 | 464 | let ds = at | |
465 | 465 | fromBase58String(ds) | |
466 | 466 | } | |
467 | 467 | else if ($isInstanceOf(at, "Unit")) | |
468 | 468 | then unit | |
469 | 469 | else throw("Match error") | |
470 | 470 | } | |
471 | 471 | ||
472 | 472 | ||
473 | 473 | let du = throw("Permission denied") | |
474 | 474 | ||
475 | 475 | func dv (dm) = { | |
476 | 476 | let at = dr() | |
477 | 477 | if ($isInstanceOf(at, "ByteVector")) | |
478 | 478 | then { | |
479 | 479 | let dw = at | |
480 | 480 | if ((dm.callerPublicKey == dw)) | |
481 | 481 | then true | |
482 | 482 | else du | |
483 | 483 | } | |
484 | 484 | else if ($isInstanceOf(at, "Unit")) | |
485 | 485 | then if ((dm.caller == this)) | |
486 | 486 | then true | |
487 | 487 | else du | |
488 | 488 | else throw("Match error") | |
489 | 489 | } | |
490 | 490 | ||
491 | 491 | ||
492 | 492 | @Callable(dm) | |
493 | 493 | func constructor (N) = { | |
494 | 494 | let dx = dv(dm) | |
495 | 495 | if ((dx == dx)) | |
496 | 496 | then [StringEntry(N(), N)] | |
497 | 497 | else throw("Strict value is not equal to itself.") | |
498 | 498 | } | |
499 | 499 | ||
500 | 500 | ||
501 | 501 | ||
502 | 502 | @Callable(dm) | |
503 | 503 | func setManager (dy) = { | |
504 | 504 | let dx = dv(dm) | |
505 | 505 | if ((dx == dx)) | |
506 | 506 | then { | |
507 | 507 | let dz = fromBase58String(dy) | |
508 | 508 | if ((dz == dz)) | |
509 | 509 | then [StringEntry(P(), dy)] | |
510 | 510 | else throw("Strict value is not equal to itself.") | |
511 | 511 | } | |
512 | 512 | else throw("Strict value is not equal to itself.") | |
513 | 513 | } | |
514 | 514 | ||
515 | 515 | ||
516 | 516 | ||
517 | 517 | @Callable(dm) | |
518 | 518 | func confirmManager () = { | |
519 | 519 | let bE = dt() | |
520 | 520 | let dA = if (isDefined(bE)) | |
521 | 521 | then true | |
522 | 522 | else throw("No pending manager") | |
523 | 523 | if ((dA == dA)) | |
524 | 524 | then { | |
525 | 525 | let dB = if ((dm.callerPublicKey == value(bE))) | |
526 | 526 | then true | |
527 | 527 | else throw("You are not pending manager") | |
528 | 528 | if ((dB == dB)) | |
529 | 529 | then [StringEntry(O(), toBase58String(value(bE))), DeleteEntry(P())] | |
530 | 530 | else throw("Strict value is not equal to itself.") | |
531 | 531 | } | |
532 | 532 | else throw("Strict value is not equal to itself.") | |
533 | 533 | } | |
534 | 534 | ||
535 | 535 | ||
536 | 536 | ||
537 | 537 | @Callable(dm) | |
538 | 538 | func put (dC,dD) = { | |
539 | 539 | let dE = aH() | |
540 | 540 | let dF = valueOrErrorMessage(addressFromString(dE[y]), "Wr st addr") | |
541 | 541 | let dG = valueOrErrorMessage(addressFromString(dE[z]), "Wr sl addr") | |
542 | 542 | if ((0 > dC)) | |
543 | 543 | then throw("Wrong slippage") | |
544 | 544 | else if ((size(dm.payments) != 2)) | |
545 | 545 | then throw("2 pmnts expd") | |
546 | 546 | else { | |
547 | 547 | let dH = do(toString(dm.caller), toBase58String(dm.transactionId), AttachedPayment(value(dm.payments[0]).assetId, value(dm.payments[0]).amount), dm.payments[1], dC, true, false, 0, "") | |
548 | 548 | let cR = dH._2 | |
549 | 549 | let dI = dH._7 | |
550 | 550 | let ch = dH._9 | |
551 | 551 | let cS = dH._10 | |
552 | 552 | let cT = dH._11 | |
553 | 553 | let bL = dH._12 | |
554 | 554 | let bM = dH._13 | |
555 | 555 | let cE = invoke(az, "emit", [cR], nil) | |
556 | 556 | if ((cE == cE)) | |
557 | 557 | then { | |
558 | 558 | let dJ = { | |
559 | 559 | let at = cE | |
560 | 560 | if ($isInstanceOf(at, "Address")) | |
561 | 561 | then { | |
562 | 562 | let dK = at | |
563 | 563 | invoke(dK, "emit", [cR], nil) | |
564 | 564 | } | |
565 | 565 | else unit | |
566 | 566 | } | |
567 | 567 | if ((dJ == dJ)) | |
568 | 568 | then { | |
569 | 569 | let dL = if ((cS > 0)) | |
570 | 570 | then invoke(dG, "put", nil, [AttachedPayment(bL, cS)]) | |
571 | 571 | else nil | |
572 | 572 | if ((dL == dL)) | |
573 | 573 | then { | |
574 | 574 | let dM = if ((cT > 0)) | |
575 | 575 | then invoke(dG, "put", nil, [AttachedPayment(bM, cT)]) | |
576 | 576 | else nil | |
577 | 577 | if ((dM == dM)) | |
578 | 578 | then { | |
579 | 579 | let dN = if (dD) | |
580 | 580 | then { | |
581 | 581 | let dO = invoke(dF, "stake", nil, [AttachedPayment(dI, cR)]) | |
582 | 582 | if ((dO == dO)) | |
583 | 583 | then nil | |
584 | 584 | else throw("Strict value is not equal to itself.") | |
585 | 585 | } | |
586 | 586 | else [ScriptTransfer(dm.caller, cR, dI)] | |
587 | 587 | (ch ++ dN) | |
588 | 588 | } | |
589 | 589 | else throw("Strict value is not equal to itself.") | |
590 | 590 | } | |
591 | 591 | else throw("Strict value is not equal to itself.") | |
592 | 592 | } | |
593 | 593 | else throw("Strict value is not equal to itself.") | |
594 | 594 | } | |
595 | 595 | else throw("Strict value is not equal to itself.") | |
596 | 596 | } | |
597 | 597 | } | |
598 | 598 | ||
599 | 599 | ||
600 | 600 | ||
601 | 601 | @Callable(dm) | |
602 | 602 | func putOneTkn (dP,dQ,dR,bf,dD) = { | |
603 | 603 | let bw = aH() | |
604 | 604 | let dF = valueOrErrorMessage(addressFromString(bw[y]), "Wr st addr") | |
605 | 605 | let dG = valueOrErrorMessage(addressFromString(bw[z]), "Wr sl addr") | |
606 | 606 | let dS = valueOrErrorMessage(addressFromString(bw[A]), "Wr gwx addr") | |
607 | 607 | let dT = aD() | |
608 | 608 | let bL = dT[s] | |
609 | 609 | let bM = dT[t] | |
610 | 610 | let bN = parseIntValue(dT[u]) | |
611 | 611 | let bO = parseIntValue(dT[v]) | |
612 | 612 | let dU = valueOrElse(getString(this, ab()), "") | |
613 | 613 | let bJ = if ((dU == toString(dm.caller))) | |
614 | 614 | then dm.originCaller | |
615 | 615 | else dm.caller | |
616 | 616 | if (if (if (if ((0 >= bf)) | |
617 | 617 | then true | |
618 | 618 | else (0 >= dP)) | |
619 | 619 | then true | |
620 | 620 | else (0 >= dQ)) | |
621 | 621 | then true | |
622 | 622 | else (0 >= dR)) | |
623 | 623 | then throw("Wrong params") | |
624 | 624 | else if ((size(dm.payments) != 1)) | |
625 | 625 | then throw("1 pmnt expd") | |
626 | 626 | else { | |
627 | 627 | let dn = value(dm.payments[0]) | |
628 | 628 | let bH = toBase58String(value(dn.assetId)) | |
629 | 629 | let dV = value(assetInfo(value(dm.payments[0].assetId))).decimals | |
630 | 630 | let cq = dn.amount | |
631 | 631 | let dW = ((cq * a) / pow(10, 0, dV, 0, 0, DOWN)) | |
632 | 632 | if ((10000000 > dW)) | |
633 | 633 | then throw("Wrong pmt amt") | |
634 | 634 | else { | |
635 | 635 | let bR = aX(bL) | |
636 | 636 | let bS = aX(bM) | |
637 | - | let dX = if ((bH == bL)) | |
638 | - | then if (if ((dW > bR)) | |
637 | + | let dX = ((bR * a) / pow(10, 0, bN, 0, 0, DOWN)) | |
638 | + | let dY = ((bS * a) / pow(10, 0, bO, 0, 0, DOWN)) | |
639 | + | let dZ = if ((bH == bL)) | |
640 | + | then if (if ((dW > dX)) | |
639 | 641 | then true | |
640 | 642 | else (dP > dW)) | |
641 | 643 | then throw("invalid payment amount") | |
642 | - | else $Tuple6(( | |
644 | + | else $Tuple6((dX - dW), dY, (dW - dP), dQ, 0, 0) | |
643 | 645 | else if ((bH == bM)) | |
644 | - | then if (if ((dW > | |
646 | + | then if (if ((dW > dY)) | |
645 | 647 | then true | |
646 | 648 | else (dQ > dW)) | |
647 | 649 | then throw("invalid payment amount") | |
648 | - | else $Tuple6( | |
650 | + | else $Tuple6(dX, (dY - dW), 0, 0, (dW - dQ), dP) | |
649 | 651 | else throw("wrong pmtAssetId") | |
650 | - | let | |
651 | - | let | |
652 | - | let | |
653 | - | let | |
654 | - | let | |
655 | - | let | |
656 | - | let bk = invoke(dS, "calcD", [toString( | |
657 | - | let bj = invoke(dS, "calcD", [toString(toBigInt((( | |
658 | - | let | |
659 | - | if (( | |
652 | + | let ea = dZ._1 | |
653 | + | let eb = dZ._2 | |
654 | + | let ec = dZ._3 | |
655 | + | let ed = dZ._4 | |
656 | + | let ee = dZ._5 | |
657 | + | let ef = dZ._6 | |
658 | + | let bk = invoke(dS, "calcD", [toString(ea), toString(eb), aA, h, i], nil) | |
659 | + | let bj = invoke(dS, "calcD", [toString(toBigInt(((ea + ec) - ef))), toString(toBigInt(((eb + ee) - ed))), aA, h, i], nil) | |
660 | + | let eg = bi(parseBigIntValue(as(bj)), parseBigIntValue(as(bk)), g) | |
661 | + | if ((eg == eg)) | |
660 | 662 | then { | |
661 | - | let | |
662 | - | let | |
663 | - | let dI = | |
664 | - | let ch = | |
665 | - | let cS = | |
666 | - | let cT = | |
667 | - | let | |
668 | - | let cR = toInt( | |
663 | + | let eh = do(toString(dm.caller), toBase58String(dm.transactionId), AttachedPayment(fromBase58String(bL), dP), AttachedPayment(fromBase58String(bM), dQ), bf, true, true, cq, bH) | |
664 | + | let ei = eh._2 | |
665 | + | let dI = eh._7 | |
666 | + | let ch = eh._9 | |
667 | + | let cS = eh._10 | |
668 | + | let cT = eh._11 | |
669 | + | let ej = bc(toBigInt(ei), toBigInt(dR), toBigInt(bf)) | |
670 | + | let cR = toInt(ej._2) | |
669 | 671 | let dH = invoke(az, "emit", [cR], nil) | |
670 | 672 | if ((dH == dH)) | |
671 | 673 | then { | |
672 | 674 | let dJ = { | |
673 | 675 | let at = dH | |
674 | 676 | if ($isInstanceOf(at, "Address")) | |
675 | 677 | then { | |
676 | 678 | let dK = at | |
677 | 679 | invoke(dK, "emit", [cR], nil) | |
678 | 680 | } | |
679 | 681 | else unit | |
680 | 682 | } | |
681 | 683 | if ((dJ == dJ)) | |
682 | 684 | then { | |
683 | 685 | let dL = if ((cS > 0)) | |
684 | 686 | then invoke(dG, "put", nil, [AttachedPayment(fromBase58String(bL), cS)]) | |
685 | 687 | else nil | |
686 | 688 | if ((dL == dL)) | |
687 | 689 | then { | |
688 | 690 | let dM = if ((cT > 0)) | |
689 | 691 | then invoke(dG, "put", nil, [AttachedPayment(fromBase58String(bM), cT)]) | |
690 | 692 | else nil | |
691 | 693 | if ((dM == dM)) | |
692 | 694 | then { | |
693 | 695 | let dN = if (dD) | |
694 | 696 | then { | |
695 | 697 | let dO = invoke(dF, "stake", nil, [AttachedPayment(dI, cR)]) | |
696 | 698 | if ((dO == dO)) | |
697 | 699 | then nil | |
698 | 700 | else throw("Strict value is not equal to itself.") | |
699 | 701 | } | |
700 | 702 | else [ScriptTransfer(dm.caller, cR, dI)] | |
701 | 703 | (ch ++ dN) | |
702 | 704 | } | |
703 | 705 | else throw("Strict value is not equal to itself.") | |
704 | 706 | } | |
705 | 707 | else throw("Strict value is not equal to itself.") | |
706 | 708 | } | |
707 | 709 | else throw("Strict value is not equal to itself.") | |
708 | 710 | } | |
709 | 711 | else throw("Strict value is not equal to itself.") | |
710 | 712 | } | |
711 | 713 | else throw("Strict value is not equal to itself.") | |
712 | 714 | } | |
713 | 715 | } | |
714 | 716 | } | |
715 | 717 | ||
716 | 718 | ||
717 | 719 | ||
718 | 720 | @Callable(dm) | |
719 | - | func putForFree ( | |
721 | + | func putForFree (ek) = if ((0 > ek)) | |
720 | 722 | then throw("Wrong slpg") | |
721 | 723 | else if ((size(dm.payments) != 2)) | |
722 | 724 | then throw("2 pmnts expd") | |
723 | 725 | else { | |
724 | - | let | |
725 | - | | |
726 | + | let eh = do(toString(dm.caller), toBase58String(dm.transactionId), AttachedPayment(value(dm.payments[0]).assetId, value(dm.payments[0]).amount), dm.payments[1], ek, false, false, 0, "") | |
727 | + | eh._9 | |
726 | 728 | } | |
727 | 729 | ||
728 | 730 | ||
729 | 731 | ||
730 | 732 | @Callable(dm) | |
731 | 733 | func get () = { | |
732 | 734 | let cE = dl(dm) | |
733 | - | let | |
735 | + | let el = cE._1 | |
734 | 736 | let cg = cE._2 | |
735 | 737 | let cq = cE._3 | |
736 | 738 | let bH = cE._4 | |
737 | 739 | let ch = cE._5 | |
738 | - | let | |
739 | - | if (( | |
740 | + | let em = invoke(az, "burn", [cq], [AttachedPayment(bH, cq)]) | |
741 | + | if ((em == em)) | |
740 | 742 | then ch | |
741 | 743 | else throw("Strict value is not equal to itself.") | |
742 | 744 | } | |
743 | 745 | ||
744 | 746 | ||
745 | 747 | ||
746 | 748 | @Callable(dm) | |
747 | - | func getOneTkn ( | |
749 | + | func getOneTkn (en,eo,ep,eq,bf) = if ((size(dm.payments) != 1)) | |
748 | 750 | then throw("1 pmnt expd") | |
749 | 751 | else { | |
750 | 752 | let bw = aD() | |
751 | 753 | let bK = bw[r] | |
752 | 754 | let bL = bw[s] | |
753 | 755 | let bM = bw[t] | |
754 | 756 | let bN = parseIntValue(bw[u]) | |
755 | 757 | let bO = parseIntValue(bw[v]) | |
756 | 758 | let bP = bw[q] | |
757 | 759 | let dE = aH() | |
758 | 760 | let dS = valueOrErrorMessage(addressFromString(dE[A]), "Wr sl addr") | |
759 | 761 | let dn = value(dm.payments[0]) | |
760 | 762 | let dU = valueOrElse(getString(this, ab()), "") | |
761 | 763 | let bJ = if ((dU == toString(dm.caller))) | |
762 | 764 | then dm.originCaller | |
763 | 765 | else dm.caller | |
764 | 766 | let bG = toBase58String(dm.transactionId) | |
765 | 767 | let bH = value(dn.assetId) | |
766 | 768 | let cq = dn.amount | |
767 | 769 | if ((1000000000 > cq)) | |
768 | 770 | then throw("Min pmt 10 LP") | |
769 | 771 | else if (if (if ((0 > bf)) | |
770 | 772 | then true | |
771 | - | else (0 > | |
773 | + | else (0 > en)) | |
772 | 774 | then true | |
773 | - | else (0 > | |
775 | + | else (0 > ep)) | |
774 | 776 | then throw("Wrong params") | |
775 | 777 | else if ((bK != toBase58String(bH))) | |
776 | 778 | then throw("Wrong LP") | |
777 | 779 | else { | |
778 | 780 | let cE = bF(toBase58String(dm.transactionId), toBase58String(bH), cq, dm.caller) | |
779 | - | let | |
780 | - | let | |
781 | + | let er = cE._1 | |
782 | + | let es = cE._2 | |
781 | 783 | let bR = aX(bL) | |
782 | 784 | let bS = aX(bM) | |
783 | - | let | |
784 | - | then $Tuple7((bR - | |
785 | - | else if (( | |
786 | - | then $Tuple7((bR - | |
785 | + | let et = if ((eq == bL)) | |
786 | + | then $Tuple7((bR - er), (bS - es), en, es, 0, 0, (er + en)) | |
787 | + | else if ((eq == bM)) | |
788 | + | then $Tuple7((bR - er), (bS - es), 0, 0, en, er, (es + en)) | |
787 | 789 | else throw("wrong outAssetId") | |
788 | - | let | |
789 | - | let | |
790 | - | let | |
791 | - | let | |
792 | - | let | |
793 | - | let | |
794 | - | let | |
795 | - | if (if ((0 > | |
790 | + | let ea = et._1 | |
791 | + | let eb = et._2 | |
792 | + | let ec = et._3 | |
793 | + | let ed = et._4 | |
794 | + | let ee = et._5 | |
795 | + | let ef = et._6 | |
796 | + | let eu = et._7 | |
797 | + | if (if ((0 > ec)) | |
796 | 798 | then true | |
797 | - | else (0 > | |
799 | + | else (0 > ee)) | |
798 | 800 | then throw("Wrong calc") | |
799 | 801 | else { | |
800 | - | let bk = invoke(dS, "calcD", [toString( | |
801 | - | let bj = invoke(dS, "calcD", [toString((( | |
802 | - | let | |
803 | - | if (( | |
802 | + | let bk = invoke(dS, "calcD", [toString(ea), toString(eb), aA, h, i], nil) | |
803 | + | let bj = invoke(dS, "calcD", [toString(((ea - ec) + ef)), toString(((eb + ed) - ee)), aA, h, i], nil) | |
804 | + | let eg = bi(parseBigIntValue(as(bj)), parseBigIntValue(as(bk)), g) | |
805 | + | if ((eg == eg)) | |
804 | 806 | then { | |
805 | - | let | |
806 | - | if (( | |
807 | + | let ev = bc(toBigInt(eu), toBigInt(ep), toBigInt(bf)) | |
808 | + | if ((ev == ev)) | |
807 | 809 | then { | |
808 | - | let | |
809 | - | then $Tuple2(toInt( | |
810 | - | else $Tuple2(0, toInt( | |
811 | - | let | |
812 | - | let | |
813 | - | let | |
814 | - | let | |
815 | - | let ch = [ScriptTransfer(bJ, ( | |
810 | + | let ew = if ((eq == bL)) | |
811 | + | then $Tuple2(toInt(ev._2), 0) | |
812 | + | else $Tuple2(0, toInt(ev._2)) | |
813 | + | let ex = ew._1 | |
814 | + | let ey = ew._2 | |
815 | + | let ez = aZ(C(bS, bO), C(bR, bN)) | |
816 | + | let eA = F(ez, b) | |
817 | + | let ch = [ScriptTransfer(bJ, (ex + ey), if ((eq == "WAVES")) | |
816 | 818 | then unit | |
817 | - | else fromBase58String( | |
819 | + | else fromBase58String(eq)), StringEntry(X(toString(bJ), bG), aT(ex, ey, cq, eA, height, lastBlock.timestamp)), IntegerEntry(Q(), eA), IntegerEntry(R(height, lastBlock.timestamp), eA)] | |
818 | 820 | if ((ch == ch)) | |
819 | 821 | then { | |
820 | - | let | |
821 | - | if (( | |
822 | + | let eB = invoke(az, "burn", [cq], [AttachedPayment(bH, cq)]) | |
823 | + | if ((eB == eB)) | |
822 | 824 | then ch | |
823 | 825 | else throw("Strict value is not equal to itself.") | |
824 | 826 | } | |
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 | ||
836 | 838 | @Callable(dm) | |
837 | - | func getNoLess ( | |
839 | + | func getNoLess (eC,eD) = { | |
838 | 840 | let cE = dl(dm) | |
839 | 841 | let cf = cE._1 | |
840 | 842 | let cg = cE._2 | |
841 | 843 | let cq = cE._3 | |
842 | 844 | let bH = cE._4 | |
843 | 845 | let ch = cE._5 | |
844 | - | if (( | |
845 | - | then throw(((("Failed: " + toString(cf)) + " < ") + toString( | |
846 | - | else if (( | |
847 | - | then throw(((("Failed: " + toString(cg)) + " < ") + toString( | |
846 | + | if ((eC > cf)) | |
847 | + | then throw(((("Failed: " + toString(cf)) + " < ") + toString(eC))) | |
848 | + | else if ((eD > cg)) | |
849 | + | then throw(((("Failed: " + toString(cg)) + " < ") + toString(eD))) | |
848 | 850 | else { | |
849 | - | let | |
850 | - | if (( | |
851 | + | let eE = invoke(az, "burn", [cq], [AttachedPayment(bH, cq)]) | |
852 | + | if ((eE == eE)) | |
851 | 853 | then ch | |
852 | 854 | else throw("Strict value is not equal to itself.") | |
853 | 855 | } | |
854 | 856 | } | |
855 | 857 | ||
856 | 858 | ||
857 | 859 | ||
858 | 860 | @Callable(dm) | |
859 | - | func unstakeAndGet ( | |
860 | - | let | |
861 | + | func unstakeAndGet (eF) = { | |
862 | + | let eG = if ((size(dm.payments) != 0)) | |
861 | 863 | then throw("No pmnts expd") | |
862 | 864 | else true | |
863 | - | if (( | |
865 | + | if ((eG == eG)) | |
864 | 866 | then { | |
865 | 867 | let bw = aD() | |
866 | - | let | |
868 | + | let eH = aH() | |
867 | 869 | let dI = fromBase58String(bw[r]) | |
868 | - | let | |
869 | - | let | |
870 | - | if (( | |
870 | + | let eI = valueOrErrorMessage(addressFromString(eH[y]), "Wr st addr") | |
871 | + | let eJ = invoke(eI, "unstake", [toBase58String(dI), eF], nil) | |
872 | + | if ((eJ == eJ)) | |
871 | 873 | then { | |
872 | - | let cE = bF(toBase58String(dm.transactionId), toBase58String(dI), | |
874 | + | let cE = bF(toBase58String(dm.transactionId), toBase58String(dI), eF, dm.caller) | |
873 | 875 | let bP = parseIntValue(cE._9) | |
874 | 876 | let ch = cE._10 | |
875 | - | let | |
877 | + | let eK = if (if (aB()) | |
876 | 878 | then true | |
877 | 879 | else (bP == o)) | |
878 | 880 | then throw(("Blocked: " + toString(bP))) | |
879 | 881 | else true | |
880 | - | if (( | |
882 | + | if ((eK == eK)) | |
881 | 883 | then { | |
882 | - | let | |
883 | - | if (( | |
884 | + | let eL = invoke(az, "burn", [eF], [AttachedPayment(dI, eF)]) | |
885 | + | if ((eL == eL)) | |
884 | 886 | then ch | |
885 | 887 | else throw("Strict value is not equal to itself.") | |
886 | 888 | } | |
887 | 889 | else throw("Strict value is not equal to itself.") | |
888 | 890 | } | |
889 | 891 | else throw("Strict value is not equal to itself.") | |
890 | 892 | } | |
891 | 893 | else throw("Strict value is not equal to itself.") | |
892 | 894 | } | |
893 | 895 | ||
894 | 896 | ||
895 | 897 | ||
896 | 898 | @Callable(dm) | |
897 | - | func activate ( | |
899 | + | func activate (eM,eN) = if ((toString(dm.caller) != toString(az))) | |
898 | 900 | then throw("denied") | |
899 | - | else $Tuple2([StringEntry(Y(), | |
901 | + | else $Tuple2([StringEntry(Y(), eM), StringEntry(Z(), eN)], "success") | |
900 | 902 | ||
901 | 903 | ||
902 | 904 | ||
903 | 905 | @Callable(dm) | |
904 | - | func setS ( | |
906 | + | func setS (eO,eK) = if ((toString(dm.caller) != av(this, ab()))) | |
905 | 907 | then du | |
906 | - | else [StringEntry( | |
908 | + | else [StringEntry(eO, eK)] | |
907 | 909 | ||
908 | 910 | ||
909 | 911 | ||
910 | 912 | @Callable(dm) | |
911 | - | func setI ( | |
913 | + | func setI (eO,eK) = if ((toString(dm.caller) != av(this, ab()))) | |
912 | 914 | then du | |
913 | - | else [IntegerEntry( | |
915 | + | else [IntegerEntry(eO, eK)] | |
914 | 916 | ||
915 | 917 | ||
916 | 918 | ||
917 | 919 | @Callable(dm) | |
918 | 920 | func getPoolConfigWrapperREADONLY () = $Tuple2(nil, aD()) | |
919 | 921 | ||
920 | 922 | ||
921 | 923 | ||
922 | 924 | @Callable(dm) | |
923 | 925 | func getAccBalanceWrapperREADONLY (aY) = $Tuple2(nil, aX(aY)) | |
924 | 926 | ||
925 | 927 | ||
926 | 928 | ||
927 | 929 | @Callable(dm) | |
928 | 930 | func calcPricesWrapperREADONLY (bq,br,bv) = { | |
929 | - | let | |
930 | - | $Tuple2(nil, [toString( | |
931 | + | let eP = bu(bq, br, bv) | |
932 | + | $Tuple2(nil, [toString(eP[0]), toString(eP[1]), toString(eP[2])]) | |
931 | 933 | } | |
932 | 934 | ||
933 | 935 | ||
934 | 936 | ||
935 | 937 | @Callable(dm) | |
936 | - | func fromX18WrapperREADONLY (G, | |
938 | + | func fromX18WrapperREADONLY (G,eQ) = $Tuple2(nil, F(parseBigIntValue(G), eQ)) | |
937 | 939 | ||
938 | 940 | ||
939 | 941 | ||
940 | 942 | @Callable(dm) | |
941 | 943 | func toX18WrapperREADONLY (D,E) = $Tuple2(nil, toString(C(D, E))) | |
942 | 944 | ||
943 | 945 | ||
944 | 946 | ||
945 | 947 | @Callable(dm) | |
946 | 948 | func calcPriceBigIntWrapperREADONLY (ba,bb) = $Tuple2(nil, toString(aZ(parseBigIntValue(ba), parseBigIntValue(bb)))) | |
947 | 949 | ||
948 | 950 | ||
949 | 951 | ||
950 | 952 | @Callable(dm) | |
951 | - | func estimatePutOperationWrapperREADONLY (bG,bf,cj,ck,cl,cm, | |
953 | + | func estimatePutOperationWrapperREADONLY (bG,bf,cj,ck,cl,cm,eR,cn,co) = $Tuple2(nil, ci(bG, bf, cj, ck, cl, cm, eR, cn, co, false, 0, "")) | |
952 | 954 | ||
953 | 955 | ||
954 | 956 | ||
955 | 957 | @Callable(dm) | |
956 | - | func estimateGetOperationWrapperREADONLY (bG, | |
957 | - | let cE = bF(bG, | |
958 | + | func estimateGetOperationWrapperREADONLY (bG,eS,bI,eR) = { | |
959 | + | let cE = bF(bG, eS, bI, addressFromStringValue(eR)) | |
958 | 960 | $Tuple2(nil, $Tuple10(cE._1, cE._2, cE._3, cE._4, cE._5, cE._6, cE._7, toString(cE._8), cE._9, cE._10)) | |
959 | 961 | } | |
960 | 962 | ||
961 | 963 | ||
962 | - | @Verifier( | |
963 | - | func | |
964 | - | let | |
964 | + | @Verifier(eT) | |
965 | + | func eU () = { | |
966 | + | let eV = { | |
965 | 967 | let at = dr() | |
966 | 968 | if ($isInstanceOf(at, "ByteVector")) | |
967 | 969 | then { | |
968 | 970 | let dw = at | |
969 | 971 | dw | |
970 | 972 | } | |
971 | 973 | else if ($isInstanceOf(at, "Unit")) | |
972 | - | then | |
974 | + | then eT.senderPublicKey | |
973 | 975 | else throw("Match error") | |
974 | 976 | } | |
975 | - | let at = | |
977 | + | let at = eT | |
976 | 978 | if ($isInstanceOf(at, "Order")) | |
977 | 979 | then { | |
978 | 980 | let cZ = at | |
979 | - | let | |
980 | - | let | |
981 | - | let | |
982 | - | let | |
983 | - | if (if (if ( | |
984 | - | then | |
981 | + | let eW = aC() | |
982 | + | let eX = cY(cZ) | |
983 | + | let eY = sigVerify(cZ.bodyBytes, cZ.proofs[0], cZ.senderPublicKey) | |
984 | + | let eZ = sigVerify(cZ.bodyBytes, cZ.proofs[1], eW) | |
985 | + | if (if (if (eX) | |
986 | + | then eY | |
985 | 987 | else false) | |
986 | - | then | |
988 | + | then eZ | |
987 | 989 | else false) | |
988 | 990 | then true | |
989 | - | else ao( | |
991 | + | else ao(eX, eY, eZ) | |
990 | 992 | } | |
991 | 993 | else if ($isInstanceOf(at, "SetScriptTransaction")) | |
992 | 994 | then { | |
993 | 995 | let ds = at | |
994 | - | let | |
995 | - | let | |
996 | - | let | |
997 | - | if (if (( | |
998 | - | then ( | |
996 | + | let fa = blake2b256(value(ds.script)) | |
997 | + | let fb = fromBase64String(value(getString(az, an()))) | |
998 | + | let fc = scriptHash(this) | |
999 | + | if (if ((fb == fa)) | |
1000 | + | then (fc != fa) | |
999 | 1001 | else false) | |
1000 | 1002 | then true | |
1001 | - | else sigVerify( | |
1003 | + | else sigVerify(eT.bodyBytes, eT.proofs[0], eV) | |
1002 | 1004 | } | |
1003 | - | else sigVerify( | |
1005 | + | else sigVerify(eT.bodyBytes, eT.proofs[0], eV) | |
1004 | 1006 | } | |
1005 | 1007 |
github/deemru/w8io/169f3d6 155.85 ms ◑