tx · H2TWnCioPkGbiEH5A5CRkDs42iPCS86sw4T96ZdbY3Kr 3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT: -0.03600000 Waves 2022.12.16 11:22 [2362610] smart account 3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT > SELF 0.00000000 Waves
{ "type": 13, "id": "H2TWnCioPkGbiEH5A5CRkDs42iPCS86sw4T96ZdbY3Kr", "fee": 3600000, "feeAssetId": null, "timestamp": 1671178975803, "version": 1, "sender": "3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT", "senderPublicKey": "D1BL65meykxFZTCuq7jq9HSGLLnWvQamQPUNrguW5w39", "proofs": [ "61MkgLVP4CbRbciSWaetgVDpnzxAFrQuefeF2Vn72tZfLmmCmAuCRdjD3QN4aTyhw82R8ChHDpXm6gTcy6oyNaRi" ], "script": "base64:BgLiKAgCEgMKAQgSAwoBCBIAEgQKAgEEEgQKAgEEEgMKAQESABIECgIIARIAEgQKAggBEgQKAggBEgQKAgEBEgMKAQESBQoDAQEBEgUKAwEIARIECgIBCBIECgIBCBIECgIICBIECgIICBIECgIIARIAEgMKAQgSBQoDAQEBEgQKAggBEgQKAgEBEgQKAggIEgsKCQgBAQIBAggEBBIGCgQICAEIEgAiBnNjYWxlOCIMc2NhbGU4QmlnSW50IgdzY2FsZTE4Igp6ZXJvQmlnSW50IgRiaWcwIgRiaWcxIgRiaWcyIgRiaWczIgRiaWc0IgpzbGlwcGFnZTREIgt3YXZlc1N0cmluZyIFQW11bHQiBURjb252IgNTRVAiBUVNUFRZIgpQb29sQWN0aXZlIgpQb29sUHV0RGlzIg5Qb29sTWF0Y2hlckRpcyIMUG9vbFNodXRkb3duIg5pZHhQb29sQWRkcmVzcyIJaWR4UG9vbFN0IglpZHhMUEFzSWQiCWlkeEFtQXNJZCIJaWR4UHJBc0lkIgtpZHhBbXRBc0RjbSINaWR4UHJpY2VBc0RjbSILaWR4SUFtdEFzSWQiDWlkeElQcmljZUFzSWQiD2lkeEZh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QUCZVkEAmhTCQD0AwMIBQJlWQlib2R5Qnl0ZXMJAJEDAggFAmVZBnByb29mcwAACAUCZVkPc2VuZGVyUHVibGljS2V5BAJoVAkA9AMDCAUCZVkJYm9keUJ5dGVzCQCRAwIIBQJlWQZwcm9vZnMAAQUCaFEDAwMFAmhSBQJoUwcFAmhUBwYJAQJhQgMFAmhSBQJoUwUCaFQDCQABAgUCYUcCFFNldFNjcmlwdFRyYW5zYWN0aW9uBAJkSwUCYUcEAmhVCQD2AwEJAQV2YWx1ZQEIBQJkSwZzY3JpcHQEAmhWCQDbBAEJAQV2YWx1ZQEJAJ0IAgUCYVAJAQJhegAEAmhXCQDxBwEFBHRoaXMDAwkAAAIFAmhWBQJoVQkBAiE9AgUCaFcFAmhVBwYJAPQDAwgFAmhOCWJvZHlCeXRlcwkAkQMCCAUCaE4GcHJvb2ZzAAAFAmhQCQD0AwMIBQJoTglib2R5Qnl0ZXMJAJEDAggFAmhOBnByb29mcwAABQJoUI2uYPs=", "chainId": 84, "height": 2362610, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AxhLbJVF9wXAf3YhwXkgmcJTdGfrfxmisJpW5QrkVxMu Next: JD8Uf5NgCtxf4VwW7HqZGBFxVrm1Jhc4j3M2P6Zcibht Diff:
Old | New | Differences | |
---|---|---|---|
780 | 780 | let fi = value(fM[0]) | |
781 | 781 | let cu = value(fi.assetId) | |
782 | 782 | let da = fi.amount | |
783 | - | let eQ = eJ(e, e, | |
783 | + | let eQ = eJ(e, e, toBigInt(da)) | |
784 | 784 | if ((eQ == eQ)) | |
785 | 785 | then { | |
786 | 786 | let ct = toBase58String(fO) | |
1075 | 1075 | let fi = value(dX.payments[0]) | |
1076 | 1076 | let cu = toBase58String(value(fi.assetId)) | |
1077 | 1077 | let da = fi.amount | |
1078 | - | let gN = fn(da, cu, toString(cw), toBase58String(dX.transactionId), true) | |
1079 | - | if ((gN == gN)) | |
1078 | + | let eQ = if ((fi.assetId == bi)) | |
1079 | + | then eJ(toBigInt(da), toBigInt(0), toBigInt(0)) | |
1080 | + | else eJ(toBigInt(0), toBigInt(da), toBigInt(0)) | |
1081 | + | if ((eQ == eQ)) | |
1080 | 1082 | then { | |
1081 | - | let cr = gN._3 | |
1082 | - | let cQ = gN._2 | |
1083 | - | let gO = gN._1 | |
1084 | - | let dz = if (if ((fL > 0)) | |
1085 | - | then (fL > gO) | |
1086 | - | else false) | |
1087 | - | then aM(makeString(["amount to receive is less than ", toString(fL)], "")) | |
1088 | - | else gO | |
1089 | - | let gB = invoke(aP, "emit", [dz], nil) | |
1090 | - | if ((gB == gB)) | |
1083 | + | let gN = fn(da, cu, toString(cw), toBase58String(dX.transactionId), true) | |
1084 | + | if ((gN == gN)) | |
1091 | 1085 | then { | |
1092 | - | let gD = { | |
1093 | - | let aG = gB | |
1094 | - | if ($isInstanceOf(aG, "Address")) | |
1095 | - | then { | |
1096 | - | let gE = aG | |
1097 | - | invoke(gE, "emit", [dz], nil) | |
1086 | + | let cr = gN._3 | |
1087 | + | let cQ = gN._2 | |
1088 | + | let gO = gN._1 | |
1089 | + | let dz = if (if ((fL > 0)) | |
1090 | + | then (fL > gO) | |
1091 | + | else false) | |
1092 | + | then aM(makeString(["amount to receive is less than ", toString(fL)], "")) | |
1093 | + | else gO | |
1094 | + | let gB = invoke(aP, "emit", [dz], nil) | |
1095 | + | if ((gB == gB)) | |
1096 | + | then { | |
1097 | + | let gD = { | |
1098 | + | let aG = gB | |
1099 | + | if ($isInstanceOf(aG, "Address")) | |
1100 | + | then { | |
1101 | + | let gE = aG | |
1102 | + | invoke(gE, "emit", [dz], nil) | |
1103 | + | } | |
1104 | + | else unit | |
1098 | 1105 | } | |
1099 | - | else unit | |
1100 | - | } | |
1101 | - | if ((gD == gD)) | |
1102 | - | then { | |
1103 | - | let gH = if (gv) | |
1106 | + | if ((gD == gD)) | |
1104 | 1107 | then { | |
1105 | - | let gI = invoke(bo, "stake", nil, [AttachedPayment(cx, dz)]) | |
1106 | - | if ((gI == gI)) | |
1107 | - | then nil | |
1108 | + | let gH = if (gv) | |
1109 | + | then { | |
1110 | + | let gI = invoke(bo, "stake", nil, [AttachedPayment(cx, dz)]) | |
1111 | + | if ((gI == gI)) | |
1112 | + | then nil | |
1113 | + | else throw("Strict value is not equal to itself.") | |
1114 | + | } | |
1115 | + | else [ScriptTransfer(dX.caller, dz, cx)] | |
1116 | + | let gc = if ((cr > 0)) | |
1117 | + | then [ScriptTransfer(aT, cr, fromBase58String(cu))] | |
1118 | + | else nil | |
1119 | + | let gP = if ((this == aT)) | |
1120 | + | then $Tuple2(0, 0) | |
1121 | + | else { | |
1122 | + | let gQ = if ((fi.assetId == bi)) | |
1123 | + | then true | |
1124 | + | else false | |
1125 | + | if (gQ) | |
1126 | + | then $Tuple2(-(cr), 0) | |
1127 | + | else $Tuple2(0, -(cr)) | |
1128 | + | } | |
1129 | + | let eS = gP._1 | |
1130 | + | let eT = gP._2 | |
1131 | + | let gR = eR(eS, eT, 0) | |
1132 | + | let gi = gR._1 | |
1133 | + | let eI = gR._2 | |
1134 | + | let gj = eV(eQ, eI) | |
1135 | + | if ((gj == gj)) | |
1136 | + | then $Tuple2((((cQ ++ gH) ++ gc) ++ gi), dz) | |
1108 | 1137 | else throw("Strict value is not equal to itself.") | |
1109 | 1138 | } | |
1110 | - | else [ScriptTransfer(dX.caller, dz, cx)] | |
1111 | - | let gc = if ((cr > 0)) | |
1112 | - | then [ScriptTransfer(aT, cr, fromBase58String(cu))] | |
1113 | - | else nil | |
1114 | - | let gP = if ((this == aT)) | |
1115 | - | then $Tuple2(0, 0) | |
1116 | - | else { | |
1117 | - | let gQ = if ((fi.assetId == bi)) | |
1118 | - | then true | |
1119 | - | else false | |
1120 | - | if (gQ) | |
1121 | - | then $Tuple2(-(cr), 0) | |
1122 | - | else $Tuple2(0, -(cr)) | |
1123 | - | } | |
1124 | - | let eS = gP._1 | |
1125 | - | let eT = gP._2 | |
1126 | - | let gR = eR(eS, eT, 0) | |
1127 | - | let gi = gR._1 | |
1128 | - | let eI = gR._2 | |
1129 | - | $Tuple2((((cQ ++ gH) ++ gc) ++ gi), dz) | |
1139 | + | else throw("Strict value is not equal to itself.") | |
1130 | 1140 | } | |
1131 | 1141 | else throw("Strict value is not equal to itself.") | |
1132 | 1142 | } | |
1167 | 1177 | ||
1168 | 1178 | @Callable(dX) | |
1169 | 1179 | func get () = { | |
1170 | - | let dm = fh(dX) | |
1171 | - | let gV = dm._1 | |
1172 | - | let cP = dm._2 | |
1173 | - | let da = dm._3 | |
1174 | - | let cu = dm._4 | |
1175 | - | let cQ = dm._5 | |
1176 | - | let ey = invoke(aP, "burn", [da], [AttachedPayment(cu, da)]) | |
1177 | - | if ((ey == ey)) | |
1180 | + | let eQ = eJ(toBigInt(0), toBigInt(0), toBigInt(value(dX.payments[0]).amount)) | |
1181 | + | if ((eQ == eQ)) | |
1178 | 1182 | then { | |
1179 | - | let eQ = eJ(toBigInt(0), toBigInt(0), toBigInt(da)) | |
1180 | - | let gW = eR(-(gV), -(cP), 0) | |
1181 | - | let gi = gW._1 | |
1182 | - | let eI = gW._2 | |
1183 | - | let gj = eV(eQ, eI) | |
1184 | - | if ((gj == gj)) | |
1185 | - | then (cQ ++ gi) | |
1183 | + | let dm = fh(dX) | |
1184 | + | let gV = dm._1 | |
1185 | + | let cP = dm._2 | |
1186 | + | let da = dm._3 | |
1187 | + | let cu = dm._4 | |
1188 | + | let cQ = dm._5 | |
1189 | + | let ey = invoke(aP, "burn", [da], [AttachedPayment(cu, da)]) | |
1190 | + | if ((ey == ey)) | |
1191 | + | then { | |
1192 | + | let gW = eR(-(gV), -(cP), 0) | |
1193 | + | let gi = gW._1 | |
1194 | + | let eI = gW._2 | |
1195 | + | let gj = eV(eQ, eI) | |
1196 | + | if ((gj == gj)) | |
1197 | + | then (cQ ++ gi) | |
1198 | + | else throw("Strict value is not equal to itself.") | |
1199 | + | } | |
1186 | 1200 | else throw("Strict value is not equal to itself.") | |
1187 | 1201 | } | |
1188 | 1202 | else throw("Strict value is not equal to itself.") |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 100000000 | |
5 | 5 | ||
6 | 6 | let b = toBigInt(100000000) | |
7 | 7 | ||
8 | 8 | let c = toBigInt(1000000000000000000) | |
9 | 9 | ||
10 | 10 | let d = toBigInt(0) | |
11 | 11 | ||
12 | 12 | let e = toBigInt(0) | |
13 | 13 | ||
14 | 14 | let f = toBigInt(1) | |
15 | 15 | ||
16 | 16 | let g = toBigInt(2) | |
17 | 17 | ||
18 | 18 | let h = toBigInt(3) | |
19 | 19 | ||
20 | 20 | let i = toBigInt(4) | |
21 | 21 | ||
22 | 22 | let j = toBigInt((a - ((a * 1) / a))) | |
23 | 23 | ||
24 | 24 | let k = "WAVES" | |
25 | 25 | ||
26 | 26 | let l = "100" | |
27 | 27 | ||
28 | 28 | let m = "1" | |
29 | 29 | ||
30 | 30 | let n = "__" | |
31 | 31 | ||
32 | 32 | let o = "" | |
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 = 1 | |
43 | 43 | ||
44 | 44 | let u = 2 | |
45 | 45 | ||
46 | 46 | let v = 3 | |
47 | 47 | ||
48 | 48 | let w = 4 | |
49 | 49 | ||
50 | 50 | let x = 5 | |
51 | 51 | ||
52 | 52 | let y = 6 | |
53 | 53 | ||
54 | 54 | let z = 7 | |
55 | 55 | ||
56 | 56 | let A = 8 | |
57 | 57 | ||
58 | 58 | let B = 9 | |
59 | 59 | ||
60 | 60 | let C = 1 | |
61 | 61 | ||
62 | 62 | let D = 6 | |
63 | 63 | ||
64 | 64 | let E = 7 | |
65 | 65 | ||
66 | 66 | let F = 10 | |
67 | 67 | ||
68 | 68 | let G = fraction(10, a, 10000) | |
69 | 69 | ||
70 | 70 | func H (I,J) = fraction(toBigInt(I), c, toBigInt(J)) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func K (L,M) = toInt(fraction(L, toBigInt(M), c)) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func N (L,M,O) = toInt(fraction(L, toBigInt(M), c, O)) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func P (Q,R,S) = fraction(Q, R, S) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func T (L) = if ((d > L)) | |
83 | 83 | then -(L) | |
84 | 84 | else L | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func U (L) = if ((d > L)) | |
88 | 88 | then -(L) | |
89 | 89 | else L | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func V () = "%s__factoryContract" | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func W () = "%s__managerPublicKey" | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func X () = "%s__pendingManagerPublicKey" | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func Y () = "%s%s__price__last" | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func Z (aa,ab) = makeString(["%s%s%d%d__price__history", toString(aa), toString(ab)], n) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func ac (ad,ae) = ((("%s%s%s__P__" + ad) + "__") + ae) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func af (ad,ae) = ((("%s%s%s__G__" + ad) + "__") + ae) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func ag () = "%s__amountAsset" | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func ah () = "%s__priceAsset" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func ai () = "%s__amp" | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func aj () = "%s__addonAddr" | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | let ak = "%s__fee" | |
126 | 126 | ||
127 | 127 | let al = valueOrElse(getInteger(this, ak), G) | |
128 | 128 | ||
129 | 129 | let am = makeString(["%s", "dLp"], n) | |
130 | 130 | ||
131 | 131 | let an = makeString(["%s", "dLpRefreshedHeight"], n) | |
132 | 132 | ||
133 | 133 | let ao = makeString(["%s", "refreshDLpDelay"], n) | |
134 | 134 | ||
135 | 135 | let ap = 1 | |
136 | 136 | ||
137 | 137 | let aq = valueOrElse(getInteger(this, ao), ap) | |
138 | 138 | ||
139 | 139 | func ar () = "%s__factoryConfig" | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func as () = "%s%s__matcher__publicKey" | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func at (au,av) = (((("%d%d%s__" + au) + "__") + av) + "__config") | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func aw (ax) = ("%s%s%s__mappings__baseAsset2internalId__" + ax) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func ay () = "%s__shutdown" | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func az () = "%s__allowedLpStableScriptHash" | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func aA () = "%s__feeCollectorAddress" | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func aB (aC,aD,aE) = throw(((((("Failed: ordValid=" + toString(aC)) + " sndrValid=") + toString(aD)) + " mtchrValid=") + toString(aE))) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func aF (L) = { | |
164 | 164 | let aG = L | |
165 | 165 | if ($isInstanceOf(aG, "String")) | |
166 | 166 | then { | |
167 | 167 | let aH = aG | |
168 | 168 | aH | |
169 | 169 | } | |
170 | 170 | else throw("fail cast to String") | |
171 | 171 | } | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func aI (aJ,aK) = valueOrErrorMessage(getString(aJ, aK), makeString(["mandatory ", toString(aJ), ".", aK, " not defined"], "")) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func aL (aJ,aK) = valueOrErrorMessage(getInteger(aJ, aK), makeString(["mandatory ", toString(aJ), ".", aK, " not defined"], "")) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func aM (aN) = throw(makeString(["lp_stable.ride:", aN], " ")) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func aO (aN) = makeString(["lp_stable.ride:", aN], " ") | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | let aP = addressFromStringValue(aI(this, V())) | |
187 | 187 | ||
188 | 188 | let aQ = aI(this, ai()) | |
189 | 189 | ||
190 | 190 | func aR () = valueOrElse(getBoolean(aP, ay()), false) | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | func aS () = fromBase58String(aI(aP, as())) | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | let aT = addressFromStringValue(aI(aP, aA())) | |
197 | 197 | ||
198 | 198 | func aU () = { | |
199 | 199 | let aV = aI(this, ag()) | |
200 | 200 | let aW = aI(this, ah()) | |
201 | 201 | let aX = aL(aP, aw(aW)) | |
202 | 202 | let au = aL(aP, aw(aV)) | |
203 | 203 | split(aI(aP, at(toString(au), toString(aX))), n) | |
204 | 204 | } | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func aY (aZ) = if ((aZ == k)) | |
208 | 208 | then unit | |
209 | 209 | else fromBase58String(aZ) | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | func ba (aZ) = if ((aZ == unit)) | |
213 | 213 | then k | |
214 | 214 | else toBase58String(value(aZ)) | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | func bb (bc) = $Tuple7(addressFromStringValue(bc[t]), parseIntValue(bc[u]), fromBase58String(bc[v]), aY(bc[w]), aY(bc[x]), parseIntValue(bc[y]), parseIntValue(bc[z])) | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | let bd = bb(aU()) | |
221 | 221 | ||
222 | 222 | let be = bd | |
223 | 223 | ||
224 | 224 | let bf = be._1 | |
225 | 225 | ||
226 | 226 | let bg = be._2 | |
227 | 227 | ||
228 | 228 | let bh = be._3 | |
229 | 229 | ||
230 | 230 | let bi = be._4 | |
231 | 231 | ||
232 | 232 | let bj = be._5 | |
233 | 233 | ||
234 | 234 | let bk = be._6 | |
235 | 235 | ||
236 | 236 | let bl = be._7 | |
237 | 237 | ||
238 | 238 | func bm () = split(aI(aP, ar()), n) | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | let bn = bm() | |
242 | 242 | ||
243 | 243 | let bo = valueOrErrorMessage(addressFromString(bn[C]), "Invalid staking contract address") | |
244 | 244 | ||
245 | 245 | let bp = valueOrErrorMessage(addressFromString(bn[E]), "Invalid slipage contract address") | |
246 | 246 | ||
247 | 247 | let bq = valueOrErrorMessage(addressFromString(bn[F]), "Invalid gwx contract address") | |
248 | 248 | ||
249 | 249 | let br = valueOrErrorMessage(addressFromString(bn[D]), "Invalid gwx contract address") | |
250 | 250 | ||
251 | 251 | func bs (bt,bu,bv,bw,bx,by,bz,bA,bB,bC) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(bt), toString(bu), toString(bv), toString(bw), toString(bx), toString(by), toString(bz), toString(bA), toString(bB), toString(bC)], n) | |
252 | 252 | ||
253 | 253 | ||
254 | 254 | func bD (bE,bF,bG,bw,bz,bA) = makeString(["%d%d%d%d%d%d", toString(bE), toString(bF), toString(bG), toString(bw), toString(bz), toString(bA)], n) | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func bH (bI) = if ((bI == "WAVES")) | |
258 | 258 | then wavesBalance(this).available | |
259 | 259 | else assetBalance(this, fromBase58String(bI)) | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | func bJ (bK,bL) = fraction(bK, c, bL) | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | func bM (bN,bO,bP) = { | |
266 | 266 | let bQ = fraction((bN - bO), b, bO) | |
267 | 267 | let bR = ((bP - T(bQ)) > d) | |
268 | 268 | if (!(bR)) | |
269 | 269 | then throw(("Big slpg: " + toString(bQ))) | |
270 | 270 | else $Tuple2(bR, min([bN, bO])) | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func bS (bT,bU,bV) = { | |
275 | 275 | let bQ = fraction(bU, b, bT) | |
276 | 276 | let bW = (bV > bQ) | |
277 | 277 | if (if (bW) | |
278 | 278 | then true | |
279 | 279 | else (bU > bT)) | |
280 | 280 | then throw(((((((toString(bU) + " ") + toString(bT)) + " ") + toString(bQ)) + " ") + toString(bV))) | |
281 | 281 | else bW | |
282 | 282 | } | |
283 | 283 | ||
284 | 284 | ||
285 | 285 | func bX (bY,bZ,ca,cb) = { | |
286 | 286 | let cc = H(ca, bY) | |
287 | 287 | let cd = H(cb, bZ) | |
288 | 288 | bJ(cd, cc) | |
289 | 289 | } | |
290 | 290 | ||
291 | 291 | ||
292 | 292 | func ce (ca,cb,cf) = { | |
293 | 293 | let cg = aU() | |
294 | 294 | let ch = parseIntValue(cg[y]) | |
295 | 295 | let ci = parseIntValue(cg[z]) | |
296 | 296 | let cj = bX(ch, ci, ca, cb) | |
297 | 297 | let bL = H(ca, ch) | |
298 | 298 | let bK = H(cb, ci) | |
299 | 299 | let ck = H(cf, a) | |
300 | 300 | let cl = bJ(bL, ck) | |
301 | 301 | let cm = bJ(bK, ck) | |
302 | 302 | [cj, cl, cm] | |
303 | 303 | } | |
304 | 304 | ||
305 | 305 | ||
306 | 306 | func cn (ca,cb,cf) = { | |
307 | 307 | let co = ce(ca, cb, cf) | |
308 | 308 | [K(co[0], a), K(co[1], a), K(co[2], a)] | |
309 | 309 | } | |
310 | 310 | ||
311 | 311 | ||
312 | 312 | func cp (cq) = { | |
313 | 313 | let cr = fraction(cq, al, a) | |
314 | 314 | $Tuple2((cq - cr), cr) | |
315 | 315 | } | |
316 | 316 | ||
317 | 317 | ||
318 | 318 | func cs (ct,cu,cv,cw) = { | |
319 | 319 | let cg = aU() | |
320 | 320 | let cx = cg[v] | |
321 | 321 | let cy = cg[w] | |
322 | 322 | let cz = cg[x] | |
323 | 323 | let cA = parseIntValue(cg[y]) | |
324 | 324 | let cB = parseIntValue(cg[z]) | |
325 | 325 | let cC = cg[u] | |
326 | 326 | let cD = valueOrErrorMessage(assetInfo(fromBase58String(cx)), "Wrong LP id").quantity | |
327 | 327 | if ((cx != cu)) | |
328 | 328 | then throw("Wrong pmt asset") | |
329 | 329 | else { | |
330 | 330 | let cE = bH(cy) | |
331 | 331 | let cF = H(cE, cA) | |
332 | 332 | let cG = bH(cz) | |
333 | 333 | let cH = H(cG, cB) | |
334 | 334 | let cI = bJ(cH, cF) | |
335 | 335 | let cJ = K(cI, a) | |
336 | 336 | let cK = H(cv, a) | |
337 | 337 | let cL = H(cD, a) | |
338 | 338 | let cM = fraction(cF, cK, cL) | |
339 | 339 | let cN = fraction(cH, cK, cL) | |
340 | 340 | let cO = N(cM, cA, FLOOR) | |
341 | 341 | let cP = N(cN, cB, FLOOR) | |
342 | 342 | let cQ = if ((ct == "")) | |
343 | 343 | then nil | |
344 | 344 | else [ScriptTransfer(cw, cO, if ((cy == "WAVES")) | |
345 | 345 | then unit | |
346 | 346 | else fromBase58String(cy)), ScriptTransfer(cw, cP, if ((cz == "WAVES")) | |
347 | 347 | then unit | |
348 | 348 | else fromBase58String(cz)), StringEntry(af(toString(cw), ct), bD(cO, cP, cv, cJ, height, lastBlock.timestamp)), IntegerEntry(Y(), cJ), IntegerEntry(Z(height, lastBlock.timestamp), cJ)] | |
349 | 349 | $Tuple10(cO, cP, cy, cz, cE, cG, cD, cI, cC, cQ) | |
350 | 350 | } | |
351 | 351 | } | |
352 | 352 | ||
353 | 353 | ||
354 | 354 | func cR (ct,bP,cS,cT,cU,cV,cw,cW,cX,cY,cZ,da,db) = { | |
355 | 355 | let cg = aU() | |
356 | 356 | let cx = fromBase58String(cg[v]) | |
357 | 357 | let dc = cg[w] | |
358 | 358 | let dd = cg[x] | |
359 | 359 | let de = cg[A] | |
360 | 360 | let df = cg[B] | |
361 | 361 | let dg = parseIntValue(cg[y]) | |
362 | 362 | let dh = parseIntValue(cg[z]) | |
363 | 363 | let cC = cg[u] | |
364 | 364 | let di = valueOrErrorMessage(assetInfo(cx), "Wr lp as").quantity | |
365 | 365 | let cE = if (cW) | |
366 | 366 | then bH(dc) | |
367 | 367 | else if (if (cY) | |
368 | 368 | then (db == dc) | |
369 | 369 | else false) | |
370 | 370 | then (bH(dc) - da) | |
371 | 371 | else if (cY) | |
372 | 372 | then bH(dc) | |
373 | 373 | else (bH(dc) - cS) | |
374 | 374 | let cG = if (cW) | |
375 | 375 | then bH(dd) | |
376 | 376 | else if (if (cY) | |
377 | 377 | then (db == dd) | |
378 | 378 | else false) | |
379 | 379 | then (bH(dd) - da) | |
380 | 380 | else if (cY) | |
381 | 381 | then bH(dd) | |
382 | 382 | else (bH(dd) - cU) | |
383 | 383 | let dj = H(cS, dg) | |
384 | 384 | let dk = H(cU, dh) | |
385 | 385 | let dl = bJ(dk, dj) | |
386 | 386 | let cF = H(cE, dg) | |
387 | 387 | let cH = H(cG, dh) | |
388 | 388 | let dm = if ((di == 0)) | |
389 | 389 | then { | |
390 | 390 | let cI = d | |
391 | 391 | let dn = d | |
392 | 392 | let ck = pow((dj * dk), 0, toBigInt(5), 1, 0, DOWN) | |
393 | 393 | $Tuple5(K(ck, a), K(dj, dg), K(dk, dh), bJ((cH + dk), (cF + dj)), dn) | |
394 | 394 | } | |
395 | 395 | else { | |
396 | 396 | let cI = bJ(cH, cF) | |
397 | 397 | let do = fraction(T((cI - dl)), c, cI) | |
398 | 398 | let dn = H(bP, a) | |
399 | 399 | if (if (if (cZ) | |
400 | 400 | then (cI != d) | |
401 | 401 | else false) | |
402 | 402 | then (do > dn) | |
403 | 403 | else false) | |
404 | 404 | then throw(((("Price slippage " + toString(do)) + " > ") + toString(dn))) | |
405 | 405 | else { | |
406 | 406 | let dp = H(di, a) | |
407 | 407 | let dq = fraction(dj, cI, c) | |
408 | 408 | let dr = fraction(dk, c, cI) | |
409 | 409 | let ds = if ((dq > dk)) | |
410 | 410 | then $Tuple2(dr, dk) | |
411 | 411 | else $Tuple2(dj, dq) | |
412 | 412 | let dt = ds._1 | |
413 | 413 | let du = ds._2 | |
414 | 414 | let ck = fraction(dp, du, cH) | |
415 | 415 | $Tuple5(N(ck, a, FLOOR), N(dt, dg, CEILING), N(du, dh, CEILING), cI, dn) | |
416 | 416 | } | |
417 | 417 | } | |
418 | 418 | let dv = dm._1 | |
419 | 419 | let dw = dm._2 | |
420 | 420 | let dx = dm._3 | |
421 | 421 | let cJ = K(dm._4, a) | |
422 | 422 | let dy = K(dm._5, a) | |
423 | 423 | if ((0 >= dv)) | |
424 | 424 | then throw("LP <= 0") | |
425 | 425 | else { | |
426 | 426 | let dz = if (!(cX)) | |
427 | 427 | then 0 | |
428 | 428 | else dv | |
429 | 429 | let dA = (cS - dw) | |
430 | 430 | let dB = (cU - dx) | |
431 | 431 | let dC = if (if (cY) | |
432 | 432 | then (db == dc) | |
433 | 433 | else false) | |
434 | 434 | then $Tuple2(da, 0) | |
435 | 435 | else if (if (cY) | |
436 | 436 | then (db == dd) | |
437 | 437 | else false) | |
438 | 438 | then $Tuple2(0, da) | |
439 | 439 | else $Tuple2(dw, dx) | |
440 | 440 | let dD = dC._1 | |
441 | 441 | let dE = dC._2 | |
442 | 442 | let dF = [IntegerEntry(Y(), cJ), IntegerEntry(Z(height, lastBlock.timestamp), cJ), StringEntry(ac(cw, ct), bs(dD, dE, dz, cJ, bP, dy, height, lastBlock.timestamp, dA, dB))] | |
443 | 443 | $Tuple13(dv, dz, cJ, cE, cG, di, cx, cC, dF, dA, dB, cT, cV) | |
444 | 444 | } | |
445 | 445 | } | |
446 | 446 | ||
447 | 447 | ||
448 | 448 | func dG (dH) = { | |
449 | 449 | let dI = dH[0] | |
450 | 450 | let dJ = dH[1] | |
451 | 451 | let dK = (dI + dJ) | |
452 | 452 | if ((dK == e)) | |
453 | 453 | then e | |
454 | 454 | else { | |
455 | 455 | let dL = parseIntValue(aQ) | |
456 | 456 | let dM = (dL * 2) | |
457 | 457 | let co = fraction(dI, dJ, f) | |
458 | 458 | let dN = fraction(co, i, f) | |
459 | 459 | let dO = fraction(toBigInt(dM), dK, f) | |
460 | 460 | let dP = toBigInt((dM - 1)) | |
461 | 461 | func dQ (dR) = { | |
462 | 462 | let dS = fraction(dR, dR, f) | |
463 | 463 | let dT = fraction(dS, dR, f) | |
464 | 464 | let dU = fraction(dT, f, dN) | |
465 | 465 | fraction((dO + fraction(dU, g, f)), dR, (fraction(dP, dR, f) + fraction(h, dU, f)), CEILING) | |
466 | 466 | } | |
467 | 467 | ||
468 | 468 | func dV (dW,dX) = if (dW._2) | |
469 | 469 | then dW | |
470 | 470 | else { | |
471 | 471 | let dR = dW._1 | |
472 | 472 | let dY = dQ(dR) | |
473 | 473 | let dZ = toInt((dY - value(dR))) | |
474 | 474 | let ea = if ((0 > dZ)) | |
475 | 475 | then -(dZ) | |
476 | 476 | else dZ | |
477 | 477 | if ((1 >= ea)) | |
478 | 478 | then $Tuple2(dY, true) | |
479 | 479 | else $Tuple2(dY, false) | |
480 | 480 | } | |
481 | 481 | ||
482 | 482 | let eb = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] | |
483 | 483 | let ec = { | |
484 | 484 | let ed = eb | |
485 | 485 | let ee = size(ed) | |
486 | 486 | let ef = $Tuple2(dK, false) | |
487 | 487 | func eg (eh,ei) = if ((ei >= ee)) | |
488 | 488 | then eh | |
489 | 489 | else dV(eh, ed[ei]) | |
490 | 490 | ||
491 | 491 | func ej (eh,ei) = if ((ei >= ee)) | |
492 | 492 | then eh | |
493 | 493 | else throw("List size exceeds 15") | |
494 | 494 | ||
495 | 495 | ej(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(ef, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15) | |
496 | 496 | } | |
497 | 497 | let dR = ec._1 | |
498 | 498 | let ek = ec._2 | |
499 | 499 | if (ek) | |
500 | 500 | then dR | |
501 | 501 | else throw(("D calculation error, D = " + toString(dR))) | |
502 | 502 | } | |
503 | 503 | } | |
504 | 504 | ||
505 | 505 | ||
506 | 506 | func el (dH) = { | |
507 | 507 | let em = g | |
508 | 508 | let dI = dH[0] | |
509 | 509 | let dJ = dH[1] | |
510 | 510 | let en = parseBigIntValue(l) | |
511 | 511 | let dL = (parseBigIntValue(aQ) * en) | |
512 | 512 | let dK = (dI + dJ) | |
513 | 513 | if ((dK == e)) | |
514 | 514 | then e | |
515 | 515 | else { | |
516 | 516 | let dM = (dL * em) | |
517 | 517 | let dN = (((dI * dJ) * em) * em) | |
518 | 518 | let eo = ((dM * dK) / en) | |
519 | 519 | let ep = (dM - en) | |
520 | 520 | let eq = (em + f) | |
521 | 521 | func dV (dW,er) = { | |
522 | 522 | let es = dW | |
523 | 523 | let dR = es._1 | |
524 | 524 | let ek = es._2 | |
525 | 525 | if ((ek != unit)) | |
526 | 526 | then dW | |
527 | 527 | else { | |
528 | 528 | let dU = (((dR * dR) * dR) / dN) | |
529 | 529 | let dY = (((eo + (dU * em)) * dR) / (((ep * dR) / en) + (eq * dU))) | |
530 | 530 | let ea = U((dY - value(dR))) | |
531 | 531 | if ((f >= ea)) | |
532 | 532 | then $Tuple2(dY, er) | |
533 | 533 | else $Tuple2(dY, unit) | |
534 | 534 | } | |
535 | 535 | } | |
536 | 536 | ||
537 | 537 | let eb = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] | |
538 | 538 | let et = { | |
539 | 539 | let ed = eb | |
540 | 540 | let ee = size(ed) | |
541 | 541 | let ef = $Tuple2(dK, unit) | |
542 | 542 | func eg (eh,ei) = if ((ei >= ee)) | |
543 | 543 | then eh | |
544 | 544 | else dV(eh, ed[ei]) | |
545 | 545 | ||
546 | 546 | func ej (eh,ei) = if ((ei >= ee)) | |
547 | 547 | then eh | |
548 | 548 | else throw("List size exceeds 15") | |
549 | 549 | ||
550 | 550 | ej(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(ef, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15) | |
551 | 551 | } | |
552 | 552 | let dR = et._1 | |
553 | 553 | let ek = et._2 | |
554 | 554 | if ((ek != unit)) | |
555 | 555 | then dR | |
556 | 556 | else throw(("D calculation error, D = " + toString(dR))) | |
557 | 557 | } | |
558 | 558 | } | |
559 | 559 | ||
560 | 560 | ||
561 | 561 | func eu (dH,dX,ev) = { | |
562 | 562 | let em = g | |
563 | 563 | let ew = dH[if ((dX == 0)) | |
564 | 564 | then 1 | |
565 | 565 | else 0] | |
566 | 566 | let en = parseBigIntValue(l) | |
567 | 567 | let dL = (parseBigIntValue(aQ) * en) | |
568 | 568 | let dK = ew | |
569 | 569 | let dM = (dL * em) | |
570 | 570 | let ex = (((((ev * ev) / (ew * em)) * ev) * en) / (dM * em)) | |
571 | 571 | let ey = ((dK + ((ev * en) / dM)) - ev) | |
572 | 572 | func dV (dW,er) = { | |
573 | 573 | let ez = dW | |
574 | 574 | let eA = ez._1 | |
575 | 575 | let ek = ez._2 | |
576 | 576 | if ((ek != unit)) | |
577 | 577 | then dW | |
578 | 578 | else { | |
579 | 579 | let eB = (((eA * eA) + ex) / ((g * eA) + ey)) | |
580 | 580 | let eC = U((eB - value(eA))) | |
581 | 581 | if ((f >= eC)) | |
582 | 582 | then $Tuple2(eB, er) | |
583 | 583 | else $Tuple2(eB, unit) | |
584 | 584 | } | |
585 | 585 | } | |
586 | 586 | ||
587 | 587 | let eb = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] | |
588 | 588 | let eD = { | |
589 | 589 | let ed = eb | |
590 | 590 | let ee = size(ed) | |
591 | 591 | let ef = $Tuple2(ev, unit) | |
592 | 592 | func eg (eh,ei) = if ((ei >= ee)) | |
593 | 593 | then eh | |
594 | 594 | else dV(eh, ed[ei]) | |
595 | 595 | ||
596 | 596 | func ej (eh,ei) = if ((ei >= ee)) | |
597 | 597 | then eh | |
598 | 598 | else throw("List size exceeds 15") | |
599 | 599 | ||
600 | 600 | ej(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(eg(ef, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15) | |
601 | 601 | } | |
602 | 602 | let eA = eD._1 | |
603 | 603 | let ek = eD._2 | |
604 | 604 | if ((ek != unit)) | |
605 | 605 | then eA | |
606 | 606 | else throw(("Y calculation error, Y = " + toString(eA))) | |
607 | 607 | } | |
608 | 608 | ||
609 | 609 | ||
610 | 610 | func eE (eF,eG,eH) = { | |
611 | 611 | let eI = fraction(dG([eF, eG]), c, eH) | |
612 | 612 | if ((eH == e)) | |
613 | 613 | then e | |
614 | 614 | else eI | |
615 | 615 | } | |
616 | 616 | ||
617 | 617 | ||
618 | 618 | func eJ (eK,eL,eM) = { | |
619 | 619 | let eN = (toBigInt(bH(ba(bi))) - eK) | |
620 | 620 | let eO = (toBigInt(bH(ba(bj))) - eL) | |
621 | 621 | let eP = (toBigInt(value(assetInfo(bh)).quantity) - eM) | |
622 | 622 | let eQ = eE(eN, eO, eP) | |
623 | 623 | eQ | |
624 | 624 | } | |
625 | 625 | ||
626 | 626 | ||
627 | 627 | func eR (eS,eT,eM) = { | |
628 | 628 | let eN = (bH(ba(bi)) + eS) | |
629 | 629 | let eO = (bH(ba(bj)) + eT) | |
630 | 630 | let eP = (value(assetInfo(bh)).quantity + eM) | |
631 | 631 | let eI = eE(toBigInt(eN), toBigInt(eO), toBigInt(eP)) | |
632 | 632 | let eU = [IntegerEntry(an, height), StringEntry(am, toString(eI))] | |
633 | 633 | $Tuple2(eU, eI) | |
634 | 634 | } | |
635 | 635 | ||
636 | 636 | ||
637 | 637 | func eV (eW,eI) = if ((eI >= eW)) | |
638 | 638 | then true | |
639 | 639 | else aM("updated DLp lower than current DLp") | |
640 | 640 | ||
641 | 641 | ||
642 | 642 | func eX (eY) = { | |
643 | 643 | let eZ = eY.amount | |
644 | 644 | let fa = fraction(eY.amount, eY.price, a, FLOOR) | |
645 | 645 | let fb = if ((eY.orderType == Buy)) | |
646 | 646 | then $Tuple2(eZ, -(fa)) | |
647 | 647 | else $Tuple2(-(eZ), fa) | |
648 | 648 | let eS = fb._1 | |
649 | 649 | let eT = fb._2 | |
650 | 650 | if (if (if (aR()) | |
651 | 651 | then true | |
652 | 652 | else (bg == r)) | |
653 | 653 | then true | |
654 | 654 | else (bg == s)) | |
655 | 655 | then throw("Admin blocked") | |
656 | 656 | else if (if ((eY.assetPair.amountAsset != bi)) | |
657 | 657 | then true | |
658 | 658 | else (eY.assetPair.priceAsset != bj)) | |
659 | 659 | then throw("Wr assets") | |
660 | 660 | else { | |
661 | 661 | let fc = parseBigIntValue(getStringValue(this, am)) | |
662 | 662 | let fd = eR(eS, eT, 0) | |
663 | 663 | let fe = fd._1 | |
664 | 664 | let ff = fd._2 | |
665 | 665 | let fg = (ff >= fc) | |
666 | 666 | fg | |
667 | 667 | } | |
668 | 668 | } | |
669 | 669 | ||
670 | 670 | ||
671 | 671 | func fh (dX) = if ((size(dX.payments) != 1)) | |
672 | 672 | then throw("1 pmnt exp") | |
673 | 673 | else { | |
674 | 674 | let fi = value(dX.payments[0]) | |
675 | 675 | let cu = value(fi.assetId) | |
676 | 676 | let da = fi.amount | |
677 | 677 | let dm = cs(toBase58String(dX.transactionId), toBase58String(cu), da, dX.caller) | |
678 | 678 | let cO = dm._1 | |
679 | 679 | let cP = dm._2 | |
680 | 680 | let cC = parseIntValue(dm._9) | |
681 | 681 | let cQ = dm._10 | |
682 | 682 | if (if (aR()) | |
683 | 683 | then true | |
684 | 684 | else (cC == s)) | |
685 | 685 | then throw(("Admin blocked: " + toString(cC))) | |
686 | 686 | else $Tuple5(cO, cP, da, cu, cQ) | |
687 | 687 | } | |
688 | 688 | ||
689 | 689 | ||
690 | 690 | func fj (fk,ae,fl,fm,bP,cX,cY,cZ,da,db) = { | |
691 | 691 | let dm = cR(ae, bP, value(fl).amount, value(fl).assetId, value(fm).amount, value(fm).assetId, fk, (ae == ""), cX, cY, cZ, da, db) | |
692 | 692 | let cC = parseIntValue(dm._8) | |
693 | 693 | if (if (if (aR()) | |
694 | 694 | then true | |
695 | 695 | else (cC == q)) | |
696 | 696 | then true | |
697 | 697 | else (cC == s)) | |
698 | 698 | then throw(("Blocked:" + toString(cC))) | |
699 | 699 | else dm | |
700 | 700 | } | |
701 | 701 | ||
702 | 702 | ||
703 | 703 | func fn (fo,cu,cw,ae,fp) = { | |
704 | 704 | let bc = aU() | |
705 | 705 | let cy = bc[w] | |
706 | 706 | let cz = bc[x] | |
707 | 707 | let cx = bc[v] | |
708 | 708 | let dg = parseIntValue(bc[y]) | |
709 | 709 | let dh = parseIntValue(bc[z]) | |
710 | 710 | let eP = toBigInt(valueOrErrorMessage(assetInfo(fromBase58String(cx)), "invalid lp asset").quantity) | |
711 | 711 | let fq = if ((eP > e)) | |
712 | 712 | then true | |
713 | 713 | else throw("initial deposit requires all coins") | |
714 | 714 | if ((fq == fq)) | |
715 | 715 | then { | |
716 | 716 | let cE = bH(cy) | |
717 | 717 | let cG = bH(cz) | |
718 | 718 | let fr = if ((ae == "")) | |
719 | 719 | then $Tuple2(cE, cG) | |
720 | 720 | else if ((cu == cy)) | |
721 | 721 | then if ((fo > cE)) | |
722 | 722 | then throw("invalid payment amount") | |
723 | 723 | else $Tuple2((cE - fo), cG) | |
724 | 724 | else if ((cu == cz)) | |
725 | 725 | then if ((fo > cG)) | |
726 | 726 | then throw("invalid payment amount") | |
727 | 727 | else $Tuple2(cE, (cG - fo)) | |
728 | 728 | else throw("wrong pmtAssetId") | |
729 | 729 | let fs = fr._1 | |
730 | 730 | let ft = fr._2 | |
731 | 731 | let fu = if ((cu == cy)) | |
732 | 732 | then $Tuple2(fo, 0) | |
733 | 733 | else if ((cu == cz)) | |
734 | 734 | then $Tuple2(0, fo) | |
735 | 735 | else throw("invalid payment") | |
736 | 736 | let fv = fu._1 | |
737 | 737 | let fw = fu._2 | |
738 | 738 | let fx = if (fp) | |
739 | 739 | then $Tuple3(cp(fv)._1, cp(fw)._1, cp(fo)._2) | |
740 | 740 | else $Tuple3(fv, fw, 0) | |
741 | 741 | let fy = fx._1 | |
742 | 742 | let fz = fx._2 | |
743 | 743 | let cr = fx._3 | |
744 | 744 | let fA = (fs + fy) | |
745 | 745 | let fB = (ft + fz) | |
746 | 746 | let bU = dG([toBigInt(fs), toBigInt(ft)]) | |
747 | 747 | let bT = dG([toBigInt(fA), toBigInt(fB)]) | |
748 | 748 | let fC = if ((bT > bU)) | |
749 | 749 | then true | |
750 | 750 | else throw() | |
751 | 751 | if ((fC == fC)) | |
752 | 752 | then { | |
753 | 753 | let fD = fraction(eP, (bT - bU), bU, FLOOR) | |
754 | 754 | let cJ = K(bJ(H(fB, dh), H(fA, dg)), a) | |
755 | 755 | let dF = [IntegerEntry(Y(), cJ), IntegerEntry(Z(height, lastBlock.timestamp), cJ), StringEntry(ac(cw, ae), bs(fv, fw, toInt(fD), cJ, 0, 0, height, lastBlock.timestamp, 0, 0))] | |
756 | 756 | let fE = fraction(ft, a, fs) | |
757 | 757 | let fF = fraction(fo, a, (fE + a)) | |
758 | 758 | let fG = (fo - fF) | |
759 | 759 | let fH = fraction(eP, toBigInt(fG), toBigInt(ft)) | |
760 | 760 | let fI = toInt(fraction((fD - fH), b, fH)) | |
761 | 761 | $Tuple4(toInt(fD), dF, cr, fI) | |
762 | 762 | } | |
763 | 763 | else throw("Strict value is not equal to itself.") | |
764 | 764 | } | |
765 | 765 | else throw("Strict value is not equal to itself.") | |
766 | 766 | } | |
767 | 767 | ||
768 | 768 | ||
769 | 769 | func fJ (fK,fL,fM,fk,fN,fO) = { | |
770 | 770 | let bc = aU() | |
771 | 771 | let cx = bc[v] | |
772 | 772 | let cy = bc[w] | |
773 | 773 | let cz = bc[x] | |
774 | 774 | let fP = parseIntValue(bc[y]) | |
775 | 775 | let fQ = parseIntValue(bc[z]) | |
776 | 776 | let fR = bc[u] | |
777 | 777 | let cw = if ((fk == br)) | |
778 | 778 | then fN | |
779 | 779 | else fk | |
780 | 780 | let fi = value(fM[0]) | |
781 | 781 | let cu = value(fi.assetId) | |
782 | 782 | let da = fi.amount | |
783 | - | let eQ = eJ(e, e, | |
783 | + | let eQ = eJ(e, e, toBigInt(da)) | |
784 | 784 | if ((eQ == eQ)) | |
785 | 785 | then { | |
786 | 786 | let ct = toBase58String(fO) | |
787 | 787 | if ((cx != toBase58String(cu))) | |
788 | 788 | then throw("Wrong LP") | |
789 | 789 | else { | |
790 | 790 | let cE = bH(cy) | |
791 | 791 | let cG = bH(cz) | |
792 | 792 | let fS = { | |
793 | 793 | let fT = invoke(this, "getOneTknV2READONLY", [fK, da], nil) | |
794 | 794 | if ($isInstanceOf(fT, "(Int, Int)")) | |
795 | 795 | then fT | |
796 | 796 | else throw(($getType(fT) + " couldn't be cast to (Int, Int)")) | |
797 | 797 | } | |
798 | 798 | if ((fS == fS)) | |
799 | 799 | then { | |
800 | 800 | let cr = fS._2 | |
801 | 801 | let fU = fS._1 | |
802 | 802 | let fV = if (if ((fL > 0)) | |
803 | 803 | then (fL > fU) | |
804 | 804 | else false) | |
805 | 805 | then aM(makeString(["amount to receive is less than ", toString(fL)], "")) | |
806 | 806 | else fU | |
807 | 807 | let fW = if ((fK == cy)) | |
808 | 808 | then $Tuple4(fV, 0, ((cE - fV) - cr), cG) | |
809 | 809 | else if ((fK == cz)) | |
810 | 810 | then $Tuple4(0, fV, cE, ((cG - fV) - cr)) | |
811 | 811 | else throw("invalid out asset id") | |
812 | 812 | let fX = fW._1 | |
813 | 813 | let fY = fW._2 | |
814 | 814 | let fA = fW._3 | |
815 | 815 | let fB = fW._4 | |
816 | 816 | let fZ = bJ(H(fB, fQ), H(fA, fP)) | |
817 | 817 | let ga = K(fZ, a) | |
818 | 818 | let gb = if ((fK == "WAVES")) | |
819 | 819 | then unit | |
820 | 820 | else fromBase58String(fK) | |
821 | 821 | let gc = if ((cr > 0)) | |
822 | 822 | then [ScriptTransfer(aT, cr, gb)] | |
823 | 823 | else nil | |
824 | 824 | let cQ = ([ScriptTransfer(cw, fV, gb), StringEntry(af(toString(cw), ct), bD(fX, fY, da, ga, height, lastBlock.timestamp)), IntegerEntry(Y(), ga), IntegerEntry(Z(height, lastBlock.timestamp), ga)] ++ gc) | |
825 | 825 | if ((cQ == cQ)) | |
826 | 826 | then { | |
827 | 827 | let gd = invoke(aP, "burn", [da], [AttachedPayment(cu, da)]) | |
828 | 828 | if ((gd == gd)) | |
829 | 829 | then { | |
830 | 830 | let ge = { | |
831 | 831 | let gf = if ((this == aT)) | |
832 | 832 | then 0 | |
833 | 833 | else cr | |
834 | 834 | let gg = if ((aY(fK) == bi)) | |
835 | 835 | then true | |
836 | 836 | else false | |
837 | 837 | if (gg) | |
838 | 838 | then $Tuple2(-((fU + gf)), 0) | |
839 | 839 | else $Tuple2(0, -((fU + gf))) | |
840 | 840 | } | |
841 | 841 | let eS = ge._1 | |
842 | 842 | let eT = ge._2 | |
843 | 843 | let gh = eR(eS, eT, 0) | |
844 | 844 | let gi = gh._1 | |
845 | 845 | let eI = gh._2 | |
846 | 846 | let gj = eV(eQ, eI) | |
847 | 847 | if ((gj == gj)) | |
848 | 848 | then $Tuple2((cQ ++ gi), fV) | |
849 | 849 | else throw("Strict value is not equal to itself.") | |
850 | 850 | } | |
851 | 851 | else throw("Strict value is not equal to itself.") | |
852 | 852 | } | |
853 | 853 | else throw("Strict value is not equal to itself.") | |
854 | 854 | } | |
855 | 855 | else throw("Strict value is not equal to itself.") | |
856 | 856 | } | |
857 | 857 | } | |
858 | 858 | else throw("Strict value is not equal to itself.") | |
859 | 859 | } | |
860 | 860 | ||
861 | 861 | ||
862 | 862 | func gk () = { | |
863 | 863 | let aG = getString(W()) | |
864 | 864 | if ($isInstanceOf(aG, "String")) | |
865 | 865 | then { | |
866 | 866 | let dK = aG | |
867 | 867 | fromBase58String(dK) | |
868 | 868 | } | |
869 | 869 | else if ($isInstanceOf(aG, "Unit")) | |
870 | 870 | then unit | |
871 | 871 | else throw("Match error") | |
872 | 872 | } | |
873 | 873 | ||
874 | 874 | ||
875 | 875 | func gl () = { | |
876 | 876 | let aG = getString(X()) | |
877 | 877 | if ($isInstanceOf(aG, "String")) | |
878 | 878 | then { | |
879 | 879 | let dK = aG | |
880 | 880 | fromBase58String(dK) | |
881 | 881 | } | |
882 | 882 | else if ($isInstanceOf(aG, "Unit")) | |
883 | 883 | then unit | |
884 | 884 | else throw("Match error") | |
885 | 885 | } | |
886 | 886 | ||
887 | 887 | ||
888 | 888 | let gm = throw("Permission denied") | |
889 | 889 | ||
890 | 890 | func gn (dX) = { | |
891 | 891 | let aG = gk() | |
892 | 892 | if ($isInstanceOf(aG, "ByteVector")) | |
893 | 893 | then { | |
894 | 894 | let go = aG | |
895 | 895 | (dX.callerPublicKey == go) | |
896 | 896 | } | |
897 | 897 | else if ($isInstanceOf(aG, "Unit")) | |
898 | 898 | then (dX.caller == this) | |
899 | 899 | else throw("Match error") | |
900 | 900 | } | |
901 | 901 | ||
902 | 902 | ||
903 | 903 | func gp (dX) = { | |
904 | 904 | let aG = gk() | |
905 | 905 | if ($isInstanceOf(aG, "ByteVector")) | |
906 | 906 | then { | |
907 | 907 | let go = aG | |
908 | 908 | if ((dX.callerPublicKey == go)) | |
909 | 909 | then true | |
910 | 910 | else gm | |
911 | 911 | } | |
912 | 912 | else if ($isInstanceOf(aG, "Unit")) | |
913 | 913 | then if ((dX.caller == this)) | |
914 | 914 | then true | |
915 | 915 | else gm | |
916 | 916 | else throw("Match error") | |
917 | 917 | } | |
918 | 918 | ||
919 | 919 | ||
920 | 920 | @Callable(dX) | |
921 | 921 | func constructor (V) = { | |
922 | 922 | let ex = gp(dX) | |
923 | 923 | if ((ex == ex)) | |
924 | 924 | then [StringEntry(V(), V)] | |
925 | 925 | else throw("Strict value is not equal to itself.") | |
926 | 926 | } | |
927 | 927 | ||
928 | 928 | ||
929 | 929 | ||
930 | 930 | @Callable(dX) | |
931 | 931 | func setManager (gq) = { | |
932 | 932 | let ex = gp(dX) | |
933 | 933 | if ((ex == ex)) | |
934 | 934 | then { | |
935 | 935 | let gr = fromBase58String(gq) | |
936 | 936 | if ((gr == gr)) | |
937 | 937 | then [StringEntry(X(), gq)] | |
938 | 938 | else throw("Strict value is not equal to itself.") | |
939 | 939 | } | |
940 | 940 | else throw("Strict value is not equal to itself.") | |
941 | 941 | } | |
942 | 942 | ||
943 | 943 | ||
944 | 944 | ||
945 | 945 | @Callable(dX) | |
946 | 946 | func confirmManager () = { | |
947 | 947 | let co = gl() | |
948 | 948 | let gs = if (isDefined(co)) | |
949 | 949 | then true | |
950 | 950 | else throw("No pending manager") | |
951 | 951 | if ((gs == gs)) | |
952 | 952 | then { | |
953 | 953 | let gt = if ((dX.callerPublicKey == value(co))) | |
954 | 954 | then true | |
955 | 955 | else throw("You are not pending manager") | |
956 | 956 | if ((gt == gt)) | |
957 | 957 | then [StringEntry(W(), toBase58String(value(co))), DeleteEntry(X())] | |
958 | 958 | else throw("Strict value is not equal to itself.") | |
959 | 959 | } | |
960 | 960 | else throw("Strict value is not equal to itself.") | |
961 | 961 | } | |
962 | 962 | ||
963 | 963 | ||
964 | 964 | ||
965 | 965 | @Callable(dX) | |
966 | 966 | func put (gu,gv) = { | |
967 | 967 | let gw = bm() | |
968 | 968 | let gx = valueOrErrorMessage(addressFromString(gw[C]), "Wr st addr") | |
969 | 969 | let gy = valueOrErrorMessage(addressFromString(gw[E]), "Wr sl addr") | |
970 | 970 | if ((0 > gu)) | |
971 | 971 | then throw("Wrong slippage") | |
972 | 972 | else if ((size(dX.payments) != 2)) | |
973 | 973 | then throw("2 pmnts expd") | |
974 | 974 | else { | |
975 | 975 | let gz = toBigInt(value(dX.payments[0]).amount) | |
976 | 976 | let gA = toBigInt(value(dX.payments[1]).amount) | |
977 | 977 | let eQ = eJ(gz, gA, toBigInt(0)) | |
978 | 978 | if ((eQ == eQ)) | |
979 | 979 | then { | |
980 | 980 | let gB = fj(toString(dX.caller), toBase58String(dX.transactionId), AttachedPayment(value(dX.payments[0]).assetId, value(dX.payments[0]).amount), dX.payments[1], gu, true, false, true, 0, "") | |
981 | 981 | let dz = gB._2 | |
982 | 982 | let gC = gB._7 | |
983 | 983 | let cQ = gB._9 | |
984 | 984 | let dA = gB._10 | |
985 | 985 | let dB = gB._11 | |
986 | 986 | let cy = gB._12 | |
987 | 987 | let cz = gB._13 | |
988 | 988 | let dm = invoke(aP, "emit", [dz], nil) | |
989 | 989 | if ((dm == dm)) | |
990 | 990 | then { | |
991 | 991 | let gD = { | |
992 | 992 | let aG = dm | |
993 | 993 | if ($isInstanceOf(aG, "Address")) | |
994 | 994 | then { | |
995 | 995 | let gE = aG | |
996 | 996 | invoke(gE, "emit", [dz], nil) | |
997 | 997 | } | |
998 | 998 | else unit | |
999 | 999 | } | |
1000 | 1000 | if ((gD == gD)) | |
1001 | 1001 | then { | |
1002 | 1002 | let gF = if ((dA > 0)) | |
1003 | 1003 | then invoke(gy, "put", nil, [AttachedPayment(cy, dA)]) | |
1004 | 1004 | else nil | |
1005 | 1005 | if ((gF == gF)) | |
1006 | 1006 | then { | |
1007 | 1007 | let gG = if ((dB > 0)) | |
1008 | 1008 | then invoke(gy, "put", nil, [AttachedPayment(cz, dB)]) | |
1009 | 1009 | else nil | |
1010 | 1010 | if ((gG == gG)) | |
1011 | 1011 | then { | |
1012 | 1012 | let gH = if (gv) | |
1013 | 1013 | then { | |
1014 | 1014 | let gI = invoke(gx, "stake", nil, [AttachedPayment(gC, dz)]) | |
1015 | 1015 | if ((gI == gI)) | |
1016 | 1016 | then nil | |
1017 | 1017 | else throw("Strict value is not equal to itself.") | |
1018 | 1018 | } | |
1019 | 1019 | else [ScriptTransfer(dX.caller, dz, gC)] | |
1020 | 1020 | let gJ = eR(0, 0, 0) | |
1021 | 1021 | let gi = gJ._1 | |
1022 | 1022 | let eI = gJ._2 | |
1023 | 1023 | let gj = eV(eQ, eI) | |
1024 | 1024 | if ((gj == gj)) | |
1025 | 1025 | then ((cQ ++ gH) ++ gi) | |
1026 | 1026 | else throw("Strict value is not equal to itself.") | |
1027 | 1027 | } | |
1028 | 1028 | else throw("Strict value is not equal to itself.") | |
1029 | 1029 | } | |
1030 | 1030 | else throw("Strict value is not equal to itself.") | |
1031 | 1031 | } | |
1032 | 1032 | else throw("Strict value is not equal to itself.") | |
1033 | 1033 | } | |
1034 | 1034 | else throw("Strict value is not equal to itself.") | |
1035 | 1035 | } | |
1036 | 1036 | else throw("Strict value is not equal to itself.") | |
1037 | 1037 | } | |
1038 | 1038 | } | |
1039 | 1039 | ||
1040 | 1040 | ||
1041 | 1041 | ||
1042 | 1042 | @Callable(dX) | |
1043 | 1043 | func putOneTknV2 (fL,gv) = { | |
1044 | 1044 | let gK = { | |
1045 | 1045 | let fT = invoke(aP, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
1046 | 1046 | if ($isInstanceOf(fT, "Boolean")) | |
1047 | 1047 | then fT | |
1048 | 1048 | else throw(($getType(fT) + " couldn't be cast to Boolean")) | |
1049 | 1049 | } | |
1050 | 1050 | let gL = if (if (if (aR()) | |
1051 | 1051 | then true | |
1052 | 1052 | else (bg == q)) | |
1053 | 1053 | then true | |
1054 | 1054 | else (bg == s)) | |
1055 | 1055 | then true | |
1056 | 1056 | else gK | |
1057 | 1057 | let gM = [if (if (!(gL)) | |
1058 | 1058 | then true | |
1059 | 1059 | else gn(dX)) | |
1060 | 1060 | then true | |
1061 | 1061 | else aM("put operation is blocked by admin"), if ((size(dX.payments) == 1)) | |
1062 | 1062 | then true | |
1063 | 1063 | else aM("exactly 1 payment are expected")] | |
1064 | 1064 | if ((gM == gM)) | |
1065 | 1065 | then { | |
1066 | 1066 | let bc = aU() | |
1067 | 1067 | let cy = bc[w] | |
1068 | 1068 | let cz = bc[x] | |
1069 | 1069 | let cx = fromBase58String(bc[v]) | |
1070 | 1070 | let fP = parseIntValue(bc[y]) | |
1071 | 1071 | let fQ = parseIntValue(bc[z]) | |
1072 | 1072 | let cw = if ((dX.caller == this)) | |
1073 | 1073 | then dX.originCaller | |
1074 | 1074 | else dX.caller | |
1075 | 1075 | let fi = value(dX.payments[0]) | |
1076 | 1076 | let cu = toBase58String(value(fi.assetId)) | |
1077 | 1077 | let da = fi.amount | |
1078 | - | let gN = fn(da, cu, toString(cw), toBase58String(dX.transactionId), true) | |
1079 | - | if ((gN == gN)) | |
1078 | + | let eQ = if ((fi.assetId == bi)) | |
1079 | + | then eJ(toBigInt(da), toBigInt(0), toBigInt(0)) | |
1080 | + | else eJ(toBigInt(0), toBigInt(da), toBigInt(0)) | |
1081 | + | if ((eQ == eQ)) | |
1080 | 1082 | then { | |
1081 | - | let cr = gN._3 | |
1082 | - | let cQ = gN._2 | |
1083 | - | let gO = gN._1 | |
1084 | - | let dz = if (if ((fL > 0)) | |
1085 | - | then (fL > gO) | |
1086 | - | else false) | |
1087 | - | then aM(makeString(["amount to receive is less than ", toString(fL)], "")) | |
1088 | - | else gO | |
1089 | - | let gB = invoke(aP, "emit", [dz], nil) | |
1090 | - | if ((gB == gB)) | |
1083 | + | let gN = fn(da, cu, toString(cw), toBase58String(dX.transactionId), true) | |
1084 | + | if ((gN == gN)) | |
1091 | 1085 | then { | |
1092 | - | let gD = { | |
1093 | - | let aG = gB | |
1094 | - | if ($isInstanceOf(aG, "Address")) | |
1095 | - | then { | |
1096 | - | let gE = aG | |
1097 | - | invoke(gE, "emit", [dz], nil) | |
1086 | + | let cr = gN._3 | |
1087 | + | let cQ = gN._2 | |
1088 | + | let gO = gN._1 | |
1089 | + | let dz = if (if ((fL > 0)) | |
1090 | + | then (fL > gO) | |
1091 | + | else false) | |
1092 | + | then aM(makeString(["amount to receive is less than ", toString(fL)], "")) | |
1093 | + | else gO | |
1094 | + | let gB = invoke(aP, "emit", [dz], nil) | |
1095 | + | if ((gB == gB)) | |
1096 | + | then { | |
1097 | + | let gD = { | |
1098 | + | let aG = gB | |
1099 | + | if ($isInstanceOf(aG, "Address")) | |
1100 | + | then { | |
1101 | + | let gE = aG | |
1102 | + | invoke(gE, "emit", [dz], nil) | |
1103 | + | } | |
1104 | + | else unit | |
1098 | 1105 | } | |
1099 | - | else unit | |
1100 | - | } | |
1101 | - | if ((gD == gD)) | |
1102 | - | then { | |
1103 | - | let gH = if (gv) | |
1106 | + | if ((gD == gD)) | |
1104 | 1107 | then { | |
1105 | - | let gI = invoke(bo, "stake", nil, [AttachedPayment(cx, dz)]) | |
1106 | - | if ((gI == gI)) | |
1107 | - | then nil | |
1108 | + | let gH = if (gv) | |
1109 | + | then { | |
1110 | + | let gI = invoke(bo, "stake", nil, [AttachedPayment(cx, dz)]) | |
1111 | + | if ((gI == gI)) | |
1112 | + | then nil | |
1113 | + | else throw("Strict value is not equal to itself.") | |
1114 | + | } | |
1115 | + | else [ScriptTransfer(dX.caller, dz, cx)] | |
1116 | + | let gc = if ((cr > 0)) | |
1117 | + | then [ScriptTransfer(aT, cr, fromBase58String(cu))] | |
1118 | + | else nil | |
1119 | + | let gP = if ((this == aT)) | |
1120 | + | then $Tuple2(0, 0) | |
1121 | + | else { | |
1122 | + | let gQ = if ((fi.assetId == bi)) | |
1123 | + | then true | |
1124 | + | else false | |
1125 | + | if (gQ) | |
1126 | + | then $Tuple2(-(cr), 0) | |
1127 | + | else $Tuple2(0, -(cr)) | |
1128 | + | } | |
1129 | + | let eS = gP._1 | |
1130 | + | let eT = gP._2 | |
1131 | + | let gR = eR(eS, eT, 0) | |
1132 | + | let gi = gR._1 | |
1133 | + | let eI = gR._2 | |
1134 | + | let gj = eV(eQ, eI) | |
1135 | + | if ((gj == gj)) | |
1136 | + | then $Tuple2((((cQ ++ gH) ++ gc) ++ gi), dz) | |
1108 | 1137 | else throw("Strict value is not equal to itself.") | |
1109 | 1138 | } | |
1110 | - | else [ScriptTransfer(dX.caller, dz, cx)] | |
1111 | - | let gc = if ((cr > 0)) | |
1112 | - | then [ScriptTransfer(aT, cr, fromBase58String(cu))] | |
1113 | - | else nil | |
1114 | - | let gP = if ((this == aT)) | |
1115 | - | then $Tuple2(0, 0) | |
1116 | - | else { | |
1117 | - | let gQ = if ((fi.assetId == bi)) | |
1118 | - | then true | |
1119 | - | else false | |
1120 | - | if (gQ) | |
1121 | - | then $Tuple2(-(cr), 0) | |
1122 | - | else $Tuple2(0, -(cr)) | |
1123 | - | } | |
1124 | - | let eS = gP._1 | |
1125 | - | let eT = gP._2 | |
1126 | - | let gR = eR(eS, eT, 0) | |
1127 | - | let gi = gR._1 | |
1128 | - | let eI = gR._2 | |
1129 | - | $Tuple2((((cQ ++ gH) ++ gc) ++ gi), dz) | |
1139 | + | else throw("Strict value is not equal to itself.") | |
1130 | 1140 | } | |
1131 | 1141 | else throw("Strict value is not equal to itself.") | |
1132 | 1142 | } | |
1133 | 1143 | else throw("Strict value is not equal to itself.") | |
1134 | 1144 | } | |
1135 | 1145 | else throw("Strict value is not equal to itself.") | |
1136 | 1146 | } | |
1137 | 1147 | else throw("Strict value is not equal to itself.") | |
1138 | 1148 | } | |
1139 | 1149 | ||
1140 | 1150 | ||
1141 | 1151 | ||
1142 | 1152 | @Callable(dX) | |
1143 | 1153 | func putForFree (gS) = if ((0 > gS)) | |
1144 | 1154 | then throw("Wrong slpg") | |
1145 | 1155 | else if ((size(dX.payments) != 2)) | |
1146 | 1156 | then throw("2 pmnts expd") | |
1147 | 1157 | else { | |
1148 | 1158 | let gT = fj(toString(dX.caller), toBase58String(dX.transactionId), AttachedPayment(value(dX.payments[0]).assetId, value(dX.payments[0]).amount), dX.payments[1], gS, false, false, true, 0, "") | |
1149 | 1159 | let cQ = gT._9 | |
1150 | 1160 | let gz = toBigInt(value(dX.payments[0]).amount) | |
1151 | 1161 | let gA = toBigInt(value(dX.payments[1]).amount) | |
1152 | 1162 | let eQ = eJ(gz, gA, toBigInt(0)) | |
1153 | 1163 | if ((eQ == eQ)) | |
1154 | 1164 | then { | |
1155 | 1165 | let gU = eR(0, 0, 0) | |
1156 | 1166 | let gi = gU._1 | |
1157 | 1167 | let eI = gU._2 | |
1158 | 1168 | let gj = eV(eQ, eI) | |
1159 | 1169 | if ((gj == gj)) | |
1160 | 1170 | then (cQ ++ gi) | |
1161 | 1171 | else throw("Strict value is not equal to itself.") | |
1162 | 1172 | } | |
1163 | 1173 | else throw("Strict value is not equal to itself.") | |
1164 | 1174 | } | |
1165 | 1175 | ||
1166 | 1176 | ||
1167 | 1177 | ||
1168 | 1178 | @Callable(dX) | |
1169 | 1179 | func get () = { | |
1170 | - | let dm = fh(dX) | |
1171 | - | let gV = dm._1 | |
1172 | - | let cP = dm._2 | |
1173 | - | let da = dm._3 | |
1174 | - | let cu = dm._4 | |
1175 | - | let cQ = dm._5 | |
1176 | - | let ey = invoke(aP, "burn", [da], [AttachedPayment(cu, da)]) | |
1177 | - | if ((ey == ey)) | |
1180 | + | let eQ = eJ(toBigInt(0), toBigInt(0), toBigInt(value(dX.payments[0]).amount)) | |
1181 | + | if ((eQ == eQ)) | |
1178 | 1182 | then { | |
1179 | - | let eQ = eJ(toBigInt(0), toBigInt(0), toBigInt(da)) | |
1180 | - | let gW = eR(-(gV), -(cP), 0) | |
1181 | - | let gi = gW._1 | |
1182 | - | let eI = gW._2 | |
1183 | - | let gj = eV(eQ, eI) | |
1184 | - | if ((gj == gj)) | |
1185 | - | then (cQ ++ gi) | |
1183 | + | let dm = fh(dX) | |
1184 | + | let gV = dm._1 | |
1185 | + | let cP = dm._2 | |
1186 | + | let da = dm._3 | |
1187 | + | let cu = dm._4 | |
1188 | + | let cQ = dm._5 | |
1189 | + | let ey = invoke(aP, "burn", [da], [AttachedPayment(cu, da)]) | |
1190 | + | if ((ey == ey)) | |
1191 | + | then { | |
1192 | + | let gW = eR(-(gV), -(cP), 0) | |
1193 | + | let gi = gW._1 | |
1194 | + | let eI = gW._2 | |
1195 | + | let gj = eV(eQ, eI) | |
1196 | + | if ((gj == gj)) | |
1197 | + | then (cQ ++ gi) | |
1198 | + | else throw("Strict value is not equal to itself.") | |
1199 | + | } | |
1186 | 1200 | else throw("Strict value is not equal to itself.") | |
1187 | 1201 | } | |
1188 | 1202 | else throw("Strict value is not equal to itself.") | |
1189 | 1203 | } | |
1190 | 1204 | ||
1191 | 1205 | ||
1192 | 1206 | ||
1193 | 1207 | @Callable(dX) | |
1194 | 1208 | func getOneTknV2 (fK,fL) = { | |
1195 | 1209 | let gK = { | |
1196 | 1210 | let fT = invoke(aP, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
1197 | 1211 | if ($isInstanceOf(fT, "Boolean")) | |
1198 | 1212 | then fT | |
1199 | 1213 | else throw(($getType(fT) + " couldn't be cast to Boolean")) | |
1200 | 1214 | } | |
1201 | 1215 | let gX = if (if (aR()) | |
1202 | 1216 | then true | |
1203 | 1217 | else (bg == s)) | |
1204 | 1218 | then true | |
1205 | 1219 | else gK | |
1206 | 1220 | let gM = [if (if (!(gX)) | |
1207 | 1221 | then true | |
1208 | 1222 | else gn(dX)) | |
1209 | 1223 | then true | |
1210 | 1224 | else aM("get operation is blocked by admin"), if ((size(dX.payments) == 1)) | |
1211 | 1225 | then true | |
1212 | 1226 | else aM("exactly 1 payment are expected")] | |
1213 | 1227 | if ((gM == gM)) | |
1214 | 1228 | then { | |
1215 | 1229 | let gY = fJ(fK, fL, dX.payments, dX.caller, dX.originCaller, dX.transactionId) | |
1216 | 1230 | let cQ = gY._1 | |
1217 | 1231 | let fV = gY._2 | |
1218 | 1232 | $Tuple2(cQ, fV) | |
1219 | 1233 | } | |
1220 | 1234 | else throw("Strict value is not equal to itself.") | |
1221 | 1235 | } | |
1222 | 1236 | ||
1223 | 1237 | ||
1224 | 1238 | ||
1225 | 1239 | @Callable(dX) | |
1226 | 1240 | func refreshDLp () = { | |
1227 | 1241 | let gZ = valueOrElse(getInteger(an), 0) | |
1228 | 1242 | let ha = if (((height - gZ) >= aq)) | |
1229 | 1243 | then unit | |
1230 | 1244 | else aM(makeString([toString(aq), " blocks have not passed since the previous call"], "")) | |
1231 | 1245 | if ((ha == ha)) | |
1232 | 1246 | then { | |
1233 | 1247 | let fc = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, am), "0")), aO("invalid dLp")) | |
1234 | 1248 | let hb = eR(0, 0, 0) | |
1235 | 1249 | let hc = hb._1 | |
1236 | 1250 | let eI = hb._2 | |
1237 | 1251 | let eU = if ((fc != eI)) | |
1238 | 1252 | then hc | |
1239 | 1253 | else aM("nothing to refresh") | |
1240 | 1254 | $Tuple2(eU, toString(eI)) | |
1241 | 1255 | } | |
1242 | 1256 | else throw("Strict value is not equal to itself.") | |
1243 | 1257 | } | |
1244 | 1258 | ||
1245 | 1259 | ||
1246 | 1260 | ||
1247 | 1261 | @Callable(dX) | |
1248 | 1262 | func getOneTknV2READONLY (fK,hd) = { | |
1249 | 1263 | let bc = aU() | |
1250 | 1264 | let cy = bc[w] | |
1251 | 1265 | let cz = bc[x] | |
1252 | 1266 | let cx = bc[v] | |
1253 | 1267 | let dH = [toBigInt(bH(cy)), toBigInt(bH(cz))] | |
1254 | 1268 | let eH = toBigInt(valueOrErrorMessage(assetInfo(fromBase58String(cx)), "invalid lp asset").quantity) | |
1255 | 1269 | let bU = dG(dH) | |
1256 | 1270 | let bT = (bU - fraction(toBigInt(hd), bU, eH)) | |
1257 | 1271 | let he = if ((fK == cy)) | |
1258 | 1272 | then 0 | |
1259 | 1273 | else if ((fK == cz)) | |
1260 | 1274 | then 1 | |
1261 | 1275 | else throw("invalid out asset id") | |
1262 | 1276 | let hf = eu(dH, he, bT) | |
1263 | 1277 | let hg = (dH[he] - hf) | |
1264 | 1278 | let hh = max([0, toInt((hg - f))]) | |
1265 | 1279 | let hi = cp(hh) | |
1266 | 1280 | let fU = hi._1 | |
1267 | 1281 | let cr = hi._2 | |
1268 | 1282 | $Tuple2(nil, $Tuple2(fU, cr)) | |
1269 | 1283 | } | |
1270 | 1284 | ||
1271 | 1285 | ||
1272 | 1286 | ||
1273 | 1287 | @Callable(dX) | |
1274 | 1288 | func getOneTknV2WithBonusREADONLY (fK,hd) = { | |
1275 | 1289 | let bc = aU() | |
1276 | 1290 | let cy = bc[w] | |
1277 | 1291 | let cz = bc[x] | |
1278 | 1292 | let cx = bc[v] | |
1279 | 1293 | let cE = bH(cy) | |
1280 | 1294 | let cG = bH(cz) | |
1281 | 1295 | let hj = { | |
1282 | 1296 | let fT = invoke(this, "getOneTknV2READONLY", [fK, hd], nil) | |
1283 | 1297 | if ($isInstanceOf(fT, "(Int, Int)")) | |
1284 | 1298 | then fT | |
1285 | 1299 | else throw(($getType(fT) + " couldn't be cast to (Int, Int)")) | |
1286 | 1300 | } | |
1287 | 1301 | let fU = hj._1 | |
1288 | 1302 | let cr = hj._2 | |
1289 | 1303 | let dm = cs("", cx, hd, this) | |
1290 | 1304 | let cO = dm._1 | |
1291 | 1305 | let cP = dm._2 | |
1292 | 1306 | let hk = (cO + cP) | |
1293 | 1307 | let fI = if ((hk == 0)) | |
1294 | 1308 | then if ((fU == 0)) | |
1295 | 1309 | then 0 | |
1296 | 1310 | else throw("bonus calculation error") | |
1297 | 1311 | else fraction((fU - hk), a, hk) | |
1298 | 1312 | $Tuple2(nil, $Tuple3(fU, cr, fI)) | |
1299 | 1313 | } | |
1300 | 1314 | ||
1301 | 1315 | ||
1302 | 1316 | ||
1303 | 1317 | @Callable(dX) | |
1304 | 1318 | func getNoLess (hl,hm) = { | |
1305 | 1319 | let dm = fh(dX) | |
1306 | 1320 | let cO = dm._1 | |
1307 | 1321 | let cP = dm._2 | |
1308 | 1322 | let da = dm._3 | |
1309 | 1323 | let cu = dm._4 | |
1310 | 1324 | let cQ = dm._5 | |
1311 | 1325 | if ((hl > cO)) | |
1312 | 1326 | then throw(((("Failed: " + toString(cO)) + " < ") + toString(hl))) | |
1313 | 1327 | else if ((hm > cP)) | |
1314 | 1328 | then throw(((("Failed: " + toString(cP)) + " < ") + toString(hm))) | |
1315 | 1329 | else { | |
1316 | 1330 | let eQ = eJ(toBigInt(0), toBigInt(0), toBigInt(da)) | |
1317 | 1331 | let hn = invoke(aP, "burn", [da], [AttachedPayment(cu, da)]) | |
1318 | 1332 | if ((hn == hn)) | |
1319 | 1333 | then { | |
1320 | 1334 | let ho = eR(-(cO), -(cP), 0) | |
1321 | 1335 | let gi = ho._1 | |
1322 | 1336 | let eI = ho._2 | |
1323 | 1337 | let gj = eV(eQ, eI) | |
1324 | 1338 | if ((gj == gj)) | |
1325 | 1339 | then (cQ ++ gi) | |
1326 | 1340 | else throw("Strict value is not equal to itself.") | |
1327 | 1341 | } | |
1328 | 1342 | else throw("Strict value is not equal to itself.") | |
1329 | 1343 | } | |
1330 | 1344 | } | |
1331 | 1345 | ||
1332 | 1346 | ||
1333 | 1347 | ||
1334 | 1348 | @Callable(dX) | |
1335 | 1349 | func unstakeAndGet (cq) = { | |
1336 | 1350 | let hp = if ((size(dX.payments) != 0)) | |
1337 | 1351 | then throw("No pmnts expd") | |
1338 | 1352 | else true | |
1339 | 1353 | if ((hp == hp)) | |
1340 | 1354 | then { | |
1341 | 1355 | let cg = aU() | |
1342 | 1356 | let hq = bm() | |
1343 | 1357 | let gC = fromBase58String(cg[v]) | |
1344 | 1358 | let hr = valueOrErrorMessage(addressFromString(hq[C]), "Wr st addr") | |
1345 | 1359 | let eQ = eJ(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1346 | 1360 | let hs = invoke(hr, "unstake", [toBase58String(gC), cq], nil) | |
1347 | 1361 | if ((hs == hs)) | |
1348 | 1362 | then { | |
1349 | 1363 | let dm = cs(toBase58String(dX.transactionId), toBase58String(gC), cq, dX.caller) | |
1350 | 1364 | let cO = dm._1 | |
1351 | 1365 | let cP = dm._2 | |
1352 | 1366 | let cC = parseIntValue(dm._9) | |
1353 | 1367 | let cQ = dm._10 | |
1354 | 1368 | let ht = if (if (aR()) | |
1355 | 1369 | then true | |
1356 | 1370 | else (cC == s)) | |
1357 | 1371 | then throw(("Blocked: " + toString(cC))) | |
1358 | 1372 | else true | |
1359 | 1373 | if ((ht == ht)) | |
1360 | 1374 | then { | |
1361 | 1375 | let hu = invoke(aP, "burn", [cq], [AttachedPayment(gC, cq)]) | |
1362 | 1376 | if ((hu == hu)) | |
1363 | 1377 | then { | |
1364 | 1378 | let hv = eR(-(cO), -(cP), 0) | |
1365 | 1379 | let gi = hv._1 | |
1366 | 1380 | let eI = hv._2 | |
1367 | 1381 | let gj = eV(eQ, eI) | |
1368 | 1382 | if ((gj == gj)) | |
1369 | 1383 | then (cQ ++ gi) | |
1370 | 1384 | else throw("Strict value is not equal to itself.") | |
1371 | 1385 | } | |
1372 | 1386 | else throw("Strict value is not equal to itself.") | |
1373 | 1387 | } | |
1374 | 1388 | else throw("Strict value is not equal to itself.") | |
1375 | 1389 | } | |
1376 | 1390 | else throw("Strict value is not equal to itself.") | |
1377 | 1391 | } | |
1378 | 1392 | else throw("Strict value is not equal to itself.") | |
1379 | 1393 | } | |
1380 | 1394 | ||
1381 | 1395 | ||
1382 | 1396 | ||
1383 | 1397 | @Callable(dX) | |
1384 | 1398 | func unstakeAndGetNoLess (hw,hx,hm) = { | |
1385 | 1399 | let gX = if (aR()) | |
1386 | 1400 | then true | |
1387 | 1401 | else (bg == s) | |
1388 | 1402 | let gM = [if (!(gX)) | |
1389 | 1403 | then true | |
1390 | 1404 | else throw("get operation is blocked by admin"), if ((size(dX.payments) == 0)) | |
1391 | 1405 | then true | |
1392 | 1406 | else throw("no payments are expected")] | |
1393 | 1407 | if ((gM == gM)) | |
1394 | 1408 | then { | |
1395 | 1409 | let eQ = eJ(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1396 | 1410 | let hs = invoke(bo, "unstake", [toBase58String(bh), hw], nil) | |
1397 | 1411 | if ((hs == hs)) | |
1398 | 1412 | then { | |
1399 | 1413 | let hy = cs(toBase58String(dX.transactionId), toBase58String(bh), hw, dX.caller) | |
1400 | 1414 | let cO = hy._1 | |
1401 | 1415 | let cP = hy._2 | |
1402 | 1416 | let cQ = hy._10 | |
1403 | 1417 | let hz = [if ((cO >= hx)) | |
1404 | 1418 | then true | |
1405 | 1419 | else throw(makeString(["amount asset amount to receive is less than ", toString(hx)], "")), if ((cP >= hm)) | |
1406 | 1420 | then true | |
1407 | 1421 | else throw(makeString(["price asset amount to receive is less than ", toString(hm)], ""))] | |
1408 | 1422 | if ((hz == hz)) | |
1409 | 1423 | then { | |
1410 | 1424 | let hn = invoke(aP, "burn", [hw], [AttachedPayment(bh, hw)]) | |
1411 | 1425 | if ((hn == hn)) | |
1412 | 1426 | then { | |
1413 | 1427 | let hA = eR(-(cO), -(cP), 0) | |
1414 | 1428 | let gi = hA._1 | |
1415 | 1429 | let eI = hA._2 | |
1416 | 1430 | let gj = eV(eQ, eI) | |
1417 | 1431 | if ((gj == gj)) | |
1418 | 1432 | then (cQ ++ gi) | |
1419 | 1433 | else throw("Strict value is not equal to itself.") | |
1420 | 1434 | } | |
1421 | 1435 | else throw("Strict value is not equal to itself.") | |
1422 | 1436 | } | |
1423 | 1437 | else throw("Strict value is not equal to itself.") | |
1424 | 1438 | } | |
1425 | 1439 | else throw("Strict value is not equal to itself.") | |
1426 | 1440 | } | |
1427 | 1441 | else throw("Strict value is not equal to itself.") | |
1428 | 1442 | } | |
1429 | 1443 | ||
1430 | 1444 | ||
1431 | 1445 | ||
1432 | 1446 | @Callable(dX) | |
1433 | 1447 | func unstakeAndGetOneTknV2 (hw,fK,fL) = { | |
1434 | 1448 | let gK = { | |
1435 | 1449 | let fT = invoke(aP, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
1436 | 1450 | if ($isInstanceOf(fT, "Boolean")) | |
1437 | 1451 | then fT | |
1438 | 1452 | else throw(($getType(fT) + " couldn't be cast to Boolean")) | |
1439 | 1453 | } | |
1440 | 1454 | let gX = if (if (aR()) | |
1441 | 1455 | then true | |
1442 | 1456 | else (bg == s)) | |
1443 | 1457 | then true | |
1444 | 1458 | else gK | |
1445 | 1459 | let gM = [if (if (!(gX)) | |
1446 | 1460 | then true | |
1447 | 1461 | else gn(dX)) | |
1448 | 1462 | then true | |
1449 | 1463 | else aM("get operation is blocked by admin"), if ((size(dX.payments) == 0)) | |
1450 | 1464 | then true | |
1451 | 1465 | else aM("no payments are expected")] | |
1452 | 1466 | if ((gM == gM)) | |
1453 | 1467 | then { | |
1454 | 1468 | let cg = aU() | |
1455 | 1469 | let hq = bm() | |
1456 | 1470 | let gC = fromBase58String(cg[v]) | |
1457 | 1471 | let hr = valueOrErrorMessage(addressFromString(hq[C]), "Wr st addr") | |
1458 | 1472 | let hs = invoke(hr, "unstake", [toBase58String(gC), hw], nil) | |
1459 | 1473 | if ((hs == hs)) | |
1460 | 1474 | then { | |
1461 | 1475 | let hB = fJ(fK, fL, [AttachedPayment(gC, hw)], dX.caller, dX.originCaller, dX.transactionId) | |
1462 | 1476 | let cQ = hB._1 | |
1463 | 1477 | let fV = hB._2 | |
1464 | 1478 | $Tuple2(cQ, fV) | |
1465 | 1479 | } | |
1466 | 1480 | else throw("Strict value is not equal to itself.") | |
1467 | 1481 | } | |
1468 | 1482 | else throw("Strict value is not equal to itself.") | |
1469 | 1483 | } | |
1470 | 1484 | ||
1471 | 1485 | ||
1472 | 1486 | ||
1473 | 1487 | @Callable(dX) | |
1474 | 1488 | func putOneTknV2WithBonusREADONLY (hC,hD) = { | |
1475 | 1489 | let bc = aU() | |
1476 | 1490 | let cy = bc[w] | |
1477 | 1491 | let cz = bc[x] | |
1478 | 1492 | let cx = bc[v] | |
1479 | 1493 | let hE = fn(hC, hD, "", "", true) | |
1480 | 1494 | let fD = hE._1 | |
1481 | 1495 | let cQ = hE._2 | |
1482 | 1496 | let cr = hE._3 | |
1483 | 1497 | let fI = hE._4 | |
1484 | 1498 | $Tuple2(nil, $Tuple3(fD, cr, fI)) | |
1485 | 1499 | } | |
1486 | 1500 | ||
1487 | 1501 | ||
1488 | 1502 | ||
1489 | 1503 | @Callable(dX) | |
1490 | 1504 | func putOneTknV2WithoutTakeFeeREADONLY (hC,hD) = { | |
1491 | 1505 | let bc = aU() | |
1492 | 1506 | let cy = bc[w] | |
1493 | 1507 | let cz = bc[x] | |
1494 | 1508 | let cx = bc[v] | |
1495 | 1509 | let hF = fn(hC, hD, "", "", false) | |
1496 | 1510 | let fD = hF._1 | |
1497 | 1511 | let cQ = hF._2 | |
1498 | 1512 | let cr = hF._3 | |
1499 | 1513 | let fI = hF._4 | |
1500 | 1514 | $Tuple2(nil, $Tuple3(fD, cr, fI)) | |
1501 | 1515 | } | |
1502 | 1516 | ||
1503 | 1517 | ||
1504 | 1518 | ||
1505 | 1519 | @Callable(dX) | |
1506 | 1520 | func activate (hG,hH) = if ((toString(dX.caller) != toString(aP))) | |
1507 | 1521 | then throw("denied") | |
1508 | 1522 | else $Tuple2([StringEntry(ag(), hG), StringEntry(ah(), hH)], "success") | |
1509 | 1523 | ||
1510 | 1524 | ||
1511 | 1525 | ||
1512 | 1526 | @Callable(dX) | |
1513 | 1527 | func setS (hI,ht) = if ((toString(dX.caller) != aI(this, aj()))) | |
1514 | 1528 | then gm | |
1515 | 1529 | else [StringEntry(hI, ht)] | |
1516 | 1530 | ||
1517 | 1531 | ||
1518 | 1532 | ||
1519 | 1533 | @Callable(dX) | |
1520 | 1534 | func setI (hI,ht) = if ((toString(dX.caller) != aI(this, aj()))) | |
1521 | 1535 | then gm | |
1522 | 1536 | else [IntegerEntry(hI, ht)] | |
1523 | 1537 | ||
1524 | 1538 | ||
1525 | 1539 | ||
1526 | 1540 | @Callable(dX) | |
1527 | 1541 | func getPoolConfigWrapperREADONLY () = $Tuple2(nil, aU()) | |
1528 | 1542 | ||
1529 | 1543 | ||
1530 | 1544 | ||
1531 | 1545 | @Callable(dX) | |
1532 | 1546 | func getAccBalanceWrapperREADONLY (bI) = $Tuple2(nil, bH(bI)) | |
1533 | 1547 | ||
1534 | 1548 | ||
1535 | 1549 | ||
1536 | 1550 | @Callable(dX) | |
1537 | 1551 | func calcPricesWrapperREADONLY (ca,cb,cf) = { | |
1538 | 1552 | let hJ = ce(ca, cb, cf) | |
1539 | 1553 | $Tuple2(nil, [toString(hJ[0]), toString(hJ[1]), toString(hJ[2])]) | |
1540 | 1554 | } | |
1541 | 1555 | ||
1542 | 1556 | ||
1543 | 1557 | ||
1544 | 1558 | @Callable(dX) | |
1545 | 1559 | func fromX18WrapperREADONLY (L,hK) = $Tuple2(nil, K(parseBigIntValue(L), hK)) | |
1546 | 1560 | ||
1547 | 1561 | ||
1548 | 1562 | ||
1549 | 1563 | @Callable(dX) | |
1550 | 1564 | func toX18WrapperREADONLY (I,J) = $Tuple2(nil, toString(H(I, J))) | |
1551 | 1565 | ||
1552 | 1566 | ||
1553 | 1567 | ||
1554 | 1568 | @Callable(dX) | |
1555 | 1569 | func calcPriceBigIntWrapperREADONLY (bK,bL) = $Tuple2(nil, toString(bJ(parseBigIntValue(bK), parseBigIntValue(bL)))) | |
1556 | 1570 | ||
1557 | 1571 | ||
1558 | 1572 | ||
1559 | 1573 | @Callable(dX) | |
1560 | 1574 | func estimatePutOperationWrapperREADONLY (ct,bP,cS,cT,cU,cV,hL,cW,cX) = $Tuple2(nil, cR(ct, bP, cS, cT, cU, cV, hL, cW, cX, true, false, 0, "")) | |
1561 | 1575 | ||
1562 | 1576 | ||
1563 | 1577 | ||
1564 | 1578 | @Callable(dX) | |
1565 | 1579 | func estimateGetOperationWrapperREADONLY (ct,hM,cv,hL) = { | |
1566 | 1580 | let dm = cs(ct, hM, cv, addressFromStringValue(hL)) | |
1567 | 1581 | $Tuple2(nil, $Tuple10(dm._1, dm._2, dm._3, dm._4, dm._5, dm._6, dm._7, toString(dm._8), dm._9, dm._10)) | |
1568 | 1582 | } | |
1569 | 1583 | ||
1570 | 1584 | ||
1571 | 1585 | ||
1572 | 1586 | @Callable(dX) | |
1573 | 1587 | func getFeeREADONLY () = $Tuple2(nil, al) | |
1574 | 1588 | ||
1575 | 1589 | ||
1576 | 1590 | @Verifier(hN) | |
1577 | 1591 | func hO () = { | |
1578 | 1592 | let hP = { | |
1579 | 1593 | let aG = gk() | |
1580 | 1594 | if ($isInstanceOf(aG, "ByteVector")) | |
1581 | 1595 | then { | |
1582 | 1596 | let go = aG | |
1583 | 1597 | go | |
1584 | 1598 | } | |
1585 | 1599 | else if ($isInstanceOf(aG, "Unit")) | |
1586 | 1600 | then hN.senderPublicKey | |
1587 | 1601 | else throw("Match error") | |
1588 | 1602 | } | |
1589 | 1603 | let aG = hN | |
1590 | 1604 | if ($isInstanceOf(aG, "Order")) | |
1591 | 1605 | then { | |
1592 | 1606 | let eY = aG | |
1593 | 1607 | let hQ = aS() | |
1594 | 1608 | let hR = eX(eY) | |
1595 | 1609 | let hS = sigVerify(eY.bodyBytes, eY.proofs[0], eY.senderPublicKey) | |
1596 | 1610 | let hT = sigVerify(eY.bodyBytes, eY.proofs[1], hQ) | |
1597 | 1611 | if (if (if (hR) | |
1598 | 1612 | then hS | |
1599 | 1613 | else false) | |
1600 | 1614 | then hT | |
1601 | 1615 | else false) | |
1602 | 1616 | then true | |
1603 | 1617 | else aB(hR, hS, hT) | |
1604 | 1618 | } | |
1605 | 1619 | else if ($isInstanceOf(aG, "SetScriptTransaction")) | |
1606 | 1620 | then { | |
1607 | 1621 | let dK = aG | |
1608 | 1622 | let hU = blake2b256(value(dK.script)) | |
1609 | 1623 | let hV = fromBase64String(value(getString(aP, az()))) | |
1610 | 1624 | let hW = scriptHash(this) | |
1611 | 1625 | if (if ((hV == hU)) | |
1612 | 1626 | then (hW != hU) | |
1613 | 1627 | else false) | |
1614 | 1628 | then true | |
1615 | 1629 | else sigVerify(hN.bodyBytes, hN.proofs[0], hP) | |
1616 | 1630 | } | |
1617 | 1631 | else sigVerify(hN.bodyBytes, hN.proofs[0], hP) | |
1618 | 1632 | } | |
1619 | 1633 |
github/deemru/w8io/169f3d6 182.16 ms ◑