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