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