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