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