tx · BK6wg9BaXb2zvenjjL4qU9HW2ErRNoBNMa8LDwBfxuwn 3Mz51suw3H98TBYJHSra1k2uSYQMv2vUkzt: -0.03500000 Waves 2022.06.07 00:17 [2085020] smart account 3Mz51suw3H98TBYJHSra1k2uSYQMv2vUkzt > SELF 0.00000000 Waves
{ "type": 13, "id": "BK6wg9BaXb2zvenjjL4qU9HW2ErRNoBNMa8LDwBfxuwn", "fee": 3500000, "feeAssetId": null, "timestamp": 1654550280757, "version": 1, "sender": "3Mz51suw3H98TBYJHSra1k2uSYQMv2vUkzt", "senderPublicKey": "8RPibCyjGbPr7troJPW7WTXkrbynj8HwkrckopSZoYVn", "proofs": [ "CPcz374GAGUE7cDSvC1MgTPEzUapJe5SEWDD3bzaWZQWKmPvZ5Hj7k7qrijBxNWcfMcReqPzB6AoYzVHzgT1bJf" ], "script": "base64:AAIFAAAAAAAAEqIIAhIDCgEIEgMKAQgSABIECgIBBBIHCgUBAQEBBBIDCgEBEgASBwoFAQEBCAESBAoCAQESAwoBARIECgIICBIECgIICBIECgIIARIAEgMKAQgSBQoDAQEBEgQKAggBEgQKAgEBEgQKAggIEgsKCQgBAQIBAggEBBIGCgQICAEIGgoKAUESBWRlbGF5GgcKAUISAnQxGgwKAUMSB29yaWdWYWwaEgoBRBINb3JpZ1NjYWxlTXVsdBoHCgFFEgJmMRoICgFGEgN2YWwaFAoBRxIPcmVzdWx0U2NhbGVNdWx0GgcKAUgSAnRzGggKAUkSA2FtdBoNCgFKEghyZXNTY2FsZRoNCgFLEghjdXJTY2FsZRoICgFMEgNhYnMaBwoBTRICZmMaCAoBThIDbXBrGgkKAU8SBHBtcGsaBwoBUBICcGwaBwoBURICcGgaBgoBUhIBaBoGCgFTEgF0GggKAVQSA3BhdRoHCgFVEgJ1YRoJCgFWEgR0eElkGggKAVcSA2dhdRoHCgFYEgJhYRoHCgFZEgJwYRoICgFaEgNhbXAaCwoBYRIGc2NhbGU4GgkKAmFBEgNncGMaCwoCYUISBWFtdEFzG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ibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJlSwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAmVLAAAABnByb29mcwAAAAAAAAAAAAUAAAACZVA6MCCr", "chainId": 84, "height": 2085020, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BxJYeJLQ3tGQJ9edXH5KCMb44aWG5un5d33AeeBxQpaW Next: G1LYSmd55Tu4CsTnGSv6iDND756Bi9N1ADRcsox4t8WH Diff:
Old | New | Differences | |
---|---|---|---|
189 | 189 | let bj = if ((bg == d)) | |
190 | 190 | then e | |
191 | 191 | else bg | |
192 | - | let bd = fraction(bh, b, bg) | |
193 | - | let bk = (bi > bd) | |
194 | - | if (if (bk) | |
195 | - | then true | |
196 | - | else (bh > bg)) | |
197 | - | then throw(((((((toString(bh) + " ") + toString(bg)) + " ") + toString(bd)) + " ") + toString(bi))) | |
198 | - | else bk | |
192 | + | let bk = ("D1: " + throw(toString(bg))) | |
193 | + | if ((bk == bk)) | |
194 | + | then { | |
195 | + | let bd = fraction(bh, b, bg) | |
196 | + | let bl = (bi > bd) | |
197 | + | if (if (bl) | |
198 | + | then true | |
199 | + | else (bh > bg)) | |
200 | + | then throw(((((((toString(bh) + " ") + toString(bg)) + " ") + toString(bd)) + " ") + toString(bi))) | |
201 | + | else bl | |
202 | + | } | |
203 | + | else throw("Strict value is not equal to itself.") | |
199 | 204 | } | |
200 | 205 | ||
201 | 206 | ||
202 | - | func bl (bm,bn,bo,bp) = { | |
203 | - | let bq = B(bo, bm) | |
207 | + | func bm (bn,bo,bp,bq) = { | |
204 | 208 | let br = B(bp, bn) | |
205 | - | aW(br, bq) | |
209 | + | let bs = B(bq, bo) | |
210 | + | aW(bs, br) | |
206 | 211 | } | |
207 | 212 | ||
208 | 213 | ||
209 | - | func | |
210 | - | let | |
211 | - | let | |
212 | - | let | |
213 | - | let | |
214 | - | let aY = B( | |
215 | - | let aX = B( | |
216 | - | let | |
217 | - | let | |
218 | - | let | |
219 | - | [ | |
214 | + | func bt (bp,bq,bu) = { | |
215 | + | let bv = aA() | |
216 | + | let bw = parseIntValue(bv[t]) | |
217 | + | let bx = parseIntValue(bv[u]) | |
218 | + | let by = bm(bw, bx, bp, bq) | |
219 | + | let aY = B(bp, bw) | |
220 | + | let aX = B(bq, bx) | |
221 | + | let bz = B(bu, a) | |
222 | + | let bA = aW(aY, bz) | |
223 | + | let bB = aW(aX, bz) | |
224 | + | [by, bA, bB] | |
220 | 225 | } | |
221 | 226 | ||
222 | 227 | ||
223 | - | func | |
224 | - | let | |
225 | - | [E( | |
228 | + | func bC (bp,bq,bu) = { | |
229 | + | let bD = bt(bp, bq, bu) | |
230 | + | [E(bD[0], a), E(bD[1], a), E(bD[2], a)] | |
226 | 231 | } | |
227 | 232 | ||
228 | 233 | ||
229 | - | func | |
230 | - | let | |
231 | - | let | |
232 | - | let | |
233 | - | let | |
234 | - | let | |
235 | - | let | |
236 | - | let | |
237 | - | let | |
238 | - | if (( | |
234 | + | func bE (bF,bG,bH,bI) = { | |
235 | + | let bv = aA() | |
236 | + | let bJ = bv[q] | |
237 | + | let bK = bv[r] | |
238 | + | let bL = bv[s] | |
239 | + | let bM = parseIntValue(bv[t]) | |
240 | + | let bN = parseIntValue(bv[u]) | |
241 | + | let bO = bv[p] | |
242 | + | let bP = valueOrErrorMessage(assetInfo(fromBase58String(bJ)), "Wrong LP id").quantity | |
243 | + | if ((bJ != bG)) | |
239 | 244 | then throw("Wrong pmt asset") | |
240 | 245 | else { | |
241 | - | let bP = aU(bJ) | |
242 | - | let bQ = B(bP, bL) | |
243 | - | let bR = aU(bK) | |
244 | - | let bS = B(bR, bM) | |
245 | - | let bT = aW(bS, bQ) | |
246 | - | let bU = E(bT, a) | |
247 | - | let bV = B(bG, a) | |
248 | - | let bW = B(bO, a) | |
249 | - | let bX = fraction(bQ, bV, bW) | |
250 | - | let bY = fraction(bS, bV, bW) | |
251 | - | let bZ = E(bX, bL) | |
246 | + | let bQ = aU(bK) | |
247 | + | let bR = B(bQ, bM) | |
248 | + | let bS = aU(bL) | |
249 | + | let bT = B(bS, bN) | |
250 | + | let bU = aW(bT, bR) | |
251 | + | let bV = E(bU, a) | |
252 | + | let bW = B(bH, a) | |
253 | + | let bX = B(bP, a) | |
254 | + | let bY = fraction(bR, bW, bX) | |
255 | + | let bZ = fraction(bT, bW, bX) | |
252 | 256 | let ca = E(bY, bM) | |
253 | - | let cb = if ((bE == "")) | |
257 | + | let cb = E(bZ, bN) | |
258 | + | let cc = if ((bF == "")) | |
254 | 259 | then nil | |
255 | - | else [ScriptTransfer( | |
260 | + | else [ScriptTransfer(bI, ca, if ((bK == "WAVES")) | |
256 | 261 | then unit | |
257 | - | else fromBase58String( | |
262 | + | else fromBase58String(bK)), ScriptTransfer(bI, cb, if ((bL == "WAVES")) | |
258 | 263 | then unit | |
259 | - | else fromBase58String( | |
260 | - | $Tuple10( | |
264 | + | else fromBase58String(bL)), StringEntry(W(toString(bI), bF), aQ(ca, cb, bH, bV, height, lastBlock.timestamp)), IntegerEntry(P(), bV), IntegerEntry(Q(height, lastBlock.timestamp), bV)] | |
265 | + | $Tuple10(ca, cb, bK, bL, bQ, bS, bP, bU, bO, cc) | |
261 | 266 | } | |
262 | 267 | } | |
263 | 268 | ||
264 | 269 | ||
265 | - | func | |
266 | - | let | |
267 | - | let | |
268 | - | let | |
269 | - | let | |
270 | - | let | |
271 | - | let | |
272 | - | let | |
273 | - | let | |
274 | - | let | |
275 | - | let | |
276 | - | let | |
277 | - | then aU( | |
278 | - | else if (if ( | |
279 | - | then ( | |
270 | + | func cd (bF,bc,ce,cf,cg,ch,bI,ci,cj,ck,cl,cm) = { | |
271 | + | let bv = aA() | |
272 | + | let bJ = fromBase58String(bv[q]) | |
273 | + | let cn = bv[r] | |
274 | + | let co = bv[s] | |
275 | + | let cp = bv[v] | |
276 | + | let cq = bv[w] | |
277 | + | let cr = parseIntValue(bv[t]) | |
278 | + | let cs = parseIntValue(bv[u]) | |
279 | + | let bO = bv[p] | |
280 | + | let ct = valueOrErrorMessage(assetInfo(bJ), "Wr lp as").quantity | |
281 | + | let bQ = if (ci) | |
282 | + | then aU(cn) | |
283 | + | else if (if (ck) | |
284 | + | then (cm == cn) | |
280 | 285 | else false) | |
281 | - | then (aU( | |
282 | - | else if ( | |
283 | - | then aU( | |
284 | - | else (aU( | |
285 | - | let | |
286 | - | then aU( | |
287 | - | else if (if ( | |
288 | - | then ( | |
286 | + | then (aU(cn) - cl) | |
287 | + | else if (ck) | |
288 | + | then aU(cn) | |
289 | + | else (aU(cn) - ce) | |
290 | + | let bS = if (ci) | |
291 | + | then aU(co) | |
292 | + | else if (if (ck) | |
293 | + | then (cm == co) | |
289 | 294 | else false) | |
290 | - | then (aU( | |
291 | - | else if ( | |
292 | - | then aU( | |
293 | - | else (aU( | |
294 | - | let | |
295 | - | let | |
296 | - | let | |
297 | - | let | |
298 | - | let | |
299 | - | let | |
295 | + | then (aU(co) - cl) | |
296 | + | else if (ck) | |
297 | + | then aU(co) | |
298 | + | else (aU(co) - cg) | |
299 | + | let cu = B(ce, cr) | |
300 | + | let cv = B(cg, cs) | |
301 | + | let cw = aW(cv, cu) | |
302 | + | let bR = B(bQ, cr) | |
303 | + | let bT = B(bS, cs) | |
304 | + | let cx = if ((ct == 0)) | |
300 | 305 | then { | |
301 | - | let | |
302 | - | let | |
303 | - | let | |
304 | - | $Tuple5(E( | |
306 | + | let bU = d | |
307 | + | let cy = d | |
308 | + | let bz = pow((cu * cv), 0, toBigInt(5), 1, 0, DOWN) | |
309 | + | $Tuple5(E(bz, a), E(cu, cr), E(cv, cs), aW((bT + cv), (bR + cu)), cy) | |
305 | 310 | } | |
306 | 311 | else { | |
307 | - | let | |
308 | - | let | |
309 | - | let | |
310 | - | if (if (( | |
311 | - | then ( | |
312 | + | let bU = aW(bT, bR) | |
313 | + | let cz = fraction(L((bU - cw)), c, bU) | |
314 | + | let cy = B(bc, a) | |
315 | + | if (if ((bU != d)) | |
316 | + | then (cz > cy) | |
312 | 317 | else false) | |
313 | - | then throw(((("Price slippage " + toString( | |
318 | + | then throw(((("Price slippage " + toString(cz)) + " > ") + toString(cy))) | |
314 | 319 | else { | |
315 | - | let | |
316 | - | let | |
317 | - | let | |
318 | - | let | |
319 | - | then $Tuple2( | |
320 | - | else $Tuple2( | |
321 | - | let | |
322 | - | let | |
323 | - | let | |
324 | - | $Tuple5(E( | |
320 | + | let cA = B(ct, a) | |
321 | + | let cB = fraction(cu, bU, c) | |
322 | + | let cC = fraction(cv, c, bU) | |
323 | + | let cD = if ((cB > cv)) | |
324 | + | then $Tuple2(cC, cv) | |
325 | + | else $Tuple2(cu, cB) | |
326 | + | let cE = cD._1 | |
327 | + | let cF = cD._2 | |
328 | + | let bz = fraction(cA, cF, bT) | |
329 | + | $Tuple5(E(bz, a), E(cE, cr), E(cF, cs), bU, cy) | |
325 | 330 | } | |
326 | 331 | } | |
327 | - | let | |
328 | - | let | |
329 | - | let | |
330 | - | let | |
331 | - | let | |
332 | - | if ((0 >= | |
332 | + | let cG = cx._1 | |
333 | + | let cH = cx._2 | |
334 | + | let cI = cx._3 | |
335 | + | let bV = E(cx._4, a) | |
336 | + | let cJ = E(cx._5, a) | |
337 | + | if ((0 >= cG)) | |
333 | 338 | then throw("LP <= 0") | |
334 | 339 | else { | |
335 | - | let | |
340 | + | let cK = if (!(cj)) | |
336 | 341 | then 0 | |
337 | - | else | |
338 | - | let | |
339 | - | let | |
340 | - | let | |
341 | - | then ( | |
342 | + | else cG | |
343 | + | let cL = (ce - cH) | |
344 | + | let cM = (cg - cI) | |
345 | + | let cN = if (if (ck) | |
346 | + | then (cm == cn) | |
342 | 347 | else false) | |
343 | - | then $Tuple2( | |
344 | - | else if (if ( | |
345 | - | then ( | |
348 | + | then $Tuple2(cl, 0) | |
349 | + | else if (if (ck) | |
350 | + | then (cm == co) | |
346 | 351 | else false) | |
347 | - | then $Tuple2(0, | |
348 | - | else $Tuple2( | |
349 | - | let | |
350 | - | let | |
351 | - | let | |
352 | - | $Tuple13( | |
352 | + | then $Tuple2(0, cl) | |
353 | + | else $Tuple2(cH, cI) | |
354 | + | let cO = cN._1 | |
355 | + | let cP = cN._2 | |
356 | + | let cQ = [IntegerEntry(P(), bV), IntegerEntry(Q(height, lastBlock.timestamp), bV), StringEntry(T(bI, bF), aF(cO, cP, cK, bV, bc, cJ, height, lastBlock.timestamp, cL, cM))] | |
357 | + | $Tuple13(cG, cK, bV, bQ, bS, ct, bJ, bO, cQ, cL, cM, cf, ch) | |
353 | 358 | } | |
354 | 359 | } | |
355 | 360 | ||
356 | 361 | ||
357 | - | func cQ (cR) = { | |
358 | - | let bu = aA() | |
359 | - | let cS = bu[r] | |
360 | - | let cT = bu[s] | |
361 | - | let bN = parseIntValue(bu[p]) | |
362 | - | let bv = parseIntValue(bu[t]) | |
363 | - | let bw = parseIntValue(bu[u]) | |
364 | - | let cU = aU(cS) | |
362 | + | func cR (cS) = { | |
363 | + | let bv = aA() | |
364 | + | let cT = bv[r] | |
365 | + | let cU = bv[s] | |
366 | + | let bO = parseIntValue(bv[p]) | |
367 | + | let bw = parseIntValue(bv[t]) | |
368 | + | let bx = parseIntValue(bv[u]) | |
365 | 369 | let cV = aU(cT) | |
366 | - | let bT = if ((cR.orderType == Buy)) | |
367 | - | then bl(bv, bw, (cU + cR.amount), cV) | |
368 | - | else bl(bv, bw, (cU - cR.amount), cV) | |
369 | - | let bU = E(bT, a) | |
370 | + | let cW = aU(cU) | |
371 | + | let bU = if ((cS.orderType == Buy)) | |
372 | + | then bm(bw, bx, (cV + cS.amount), cW) | |
373 | + | else bm(bw, bx, (cV - cS.amount), cW) | |
374 | + | let bV = E(bU, a) | |
370 | 375 | if (if (if (ay()) | |
371 | 376 | then true | |
372 | - | else ( | |
377 | + | else (bO == m)) | |
373 | 378 | then true | |
374 | - | else ( | |
379 | + | else (bO == n)) | |
375 | 380 | then throw("Admin blocked") | |
376 | 381 | else { | |
377 | - | let | |
378 | - | let | |
382 | + | let cX = cS.assetPair.amountAsset | |
383 | + | let cY = if ((cX == unit)) | |
379 | 384 | then "WAVES" | |
380 | - | else toBase58String(value( | |
381 | - | let | |
382 | - | let | |
385 | + | else toBase58String(value(cX)) | |
386 | + | let cZ = cS.assetPair.priceAsset | |
387 | + | let da = if ((cZ == unit)) | |
383 | 388 | then "WAVES" | |
384 | - | else toBase58String(value( | |
385 | - | if (if (( | |
389 | + | else toBase58String(value(cZ)) | |
390 | + | if (if ((cY != cT)) | |
386 | 391 | then true | |
387 | - | else ( | |
392 | + | else (da != cU)) | |
388 | 393 | then throw("Wr assets") | |
389 | 394 | else { | |
390 | - | let | |
391 | - | let | |
392 | - | let | |
393 | - | let | |
394 | - | then ( | |
395 | - | else ( | |
395 | + | let db = cS.price | |
396 | + | let cs = fraction(a, bx, bw) | |
397 | + | let dc = H(db, a, cs) | |
398 | + | let dd = if ((cS.orderType == Buy)) | |
399 | + | then (bV >= dc) | |
400 | + | else (dc >= bV) | |
396 | 401 | true | |
397 | 402 | } | |
398 | 403 | } | |
399 | 404 | } | |
400 | 405 | ||
401 | 406 | ||
402 | - | func | |
407 | + | func de (df) = if ((size(df.payments) != 1)) | |
403 | 408 | then throw("1 pmnt exp") | |
404 | 409 | else { | |
405 | - | let | |
406 | - | let | |
407 | - | let | |
408 | - | let | |
409 | - | let | |
410 | - | let | |
411 | - | let | |
412 | - | let | |
410 | + | let dg = value(df.payments[0]) | |
411 | + | let bG = value(dg.assetId) | |
412 | + | let cl = dg.amount | |
413 | + | let cx = bE(toBase58String(df.transactionId), toBase58String(bG), cl, df.caller) | |
414 | + | let ca = cx._1 | |
415 | + | let cb = cx._2 | |
416 | + | let bO = parseIntValue(cx._9) | |
417 | + | let cc = cx._10 | |
413 | 418 | if (if (ay()) | |
414 | 419 | then true | |
415 | - | else ( | |
416 | - | then throw(("Admin blocked: " + toString( | |
417 | - | else $Tuple5( | |
420 | + | else (bO == n)) | |
421 | + | then throw(("Admin blocked: " + toString(bO))) | |
422 | + | else $Tuple5(ca, cb, cl, bG, cc) | |
418 | 423 | } | |
419 | 424 | ||
420 | 425 | ||
421 | - | func | |
422 | - | let | |
423 | - | let | |
426 | + | func dh (ac,V,di,dj,bc,cj,ck,cl,cm) = { | |
427 | + | let cx = cd(V, bc, value(di).amount, value(di).assetId, value(dj).amount, value(dj).assetId, ac, false, cj, ck, cl, cm) | |
428 | + | let bO = parseIntValue(cx._8) | |
424 | 429 | if (if (if (ay()) | |
425 | 430 | then true | |
426 | - | else ( | |
431 | + | else (bO == l)) | |
427 | 432 | then true | |
428 | - | else ( | |
429 | - | then throw(("Blocked:" + toString( | |
430 | - | else | |
433 | + | else (bO == n)) | |
434 | + | then throw(("Blocked:" + toString(bO))) | |
435 | + | else cx | |
431 | 436 | } | |
432 | 437 | ||
433 | 438 | ||
434 | - | func | |
439 | + | func dk () = { | |
435 | 440 | let aq = getString(N()) | |
436 | 441 | if ($isInstanceOf(aq, "String")) | |
437 | 442 | then { | |
438 | - | let | |
439 | - | fromBase58String( | |
443 | + | let dl = aq | |
444 | + | fromBase58String(dl) | |
440 | 445 | } | |
441 | 446 | else if ($isInstanceOf(aq, "Unit")) | |
442 | 447 | then unit | |
444 | 449 | } | |
445 | 450 | ||
446 | 451 | ||
447 | - | func | |
452 | + | func dm () = { | |
448 | 453 | let aq = getString(O()) | |
449 | 454 | if ($isInstanceOf(aq, "String")) | |
450 | 455 | then { | |
451 | - | let | |
452 | - | fromBase58String( | |
456 | + | let dl = aq | |
457 | + | fromBase58String(dl) | |
453 | 458 | } | |
454 | 459 | else if ($isInstanceOf(aq, "Unit")) | |
455 | 460 | then unit | |
457 | 462 | } | |
458 | 463 | ||
459 | 464 | ||
460 | - | let | |
465 | + | let dn = throw("Permission denied") | |
461 | 466 | ||
462 | - | func | |
463 | - | let aq = | |
467 | + | func do (df) = { | |
468 | + | let aq = dk() | |
464 | 469 | if ($isInstanceOf(aq, "ByteVector")) | |
465 | 470 | then { | |
466 | - | let | |
467 | - | if (( | |
471 | + | let dp = aq | |
472 | + | if ((df.callerPublicKey == dp)) | |
468 | 473 | then true | |
469 | - | else | |
474 | + | else dn | |
470 | 475 | } | |
471 | 476 | else if ($isInstanceOf(aq, "Unit")) | |
472 | - | then if (( | |
477 | + | then if ((df.caller == this)) | |
473 | 478 | then true | |
474 | - | else | |
479 | + | else dn | |
475 | 480 | else throw("Match error") | |
476 | 481 | } | |
477 | 482 | ||
478 | 483 | ||
479 | - | @Callable( | |
484 | + | @Callable(df) | |
480 | 485 | func constructor (M) = { | |
481 | - | let | |
482 | - | if (( | |
486 | + | let dq = do(df) | |
487 | + | if ((dq == dq)) | |
483 | 488 | then [StringEntry(M(), M)] | |
484 | 489 | else throw("Strict value is not equal to itself.") | |
485 | 490 | } | |
486 | 491 | ||
487 | 492 | ||
488 | 493 | ||
489 | - | @Callable( | |
490 | - | func setManager ( | |
491 | - | let | |
492 | - | if (( | |
494 | + | @Callable(df) | |
495 | + | func setManager (dr) = { | |
496 | + | let dq = do(df) | |
497 | + | if ((dq == dq)) | |
493 | 498 | then { | |
494 | - | let | |
495 | - | if (( | |
496 | - | then [StringEntry(O(), | |
499 | + | let ds = fromBase58String(dr) | |
500 | + | if ((ds == ds)) | |
501 | + | then [StringEntry(O(), dr)] | |
497 | 502 | else throw("Strict value is not equal to itself.") | |
498 | 503 | } | |
499 | 504 | else throw("Strict value is not equal to itself.") | |
501 | 506 | ||
502 | 507 | ||
503 | 508 | ||
504 | - | @Callable( | |
509 | + | @Callable(df) | |
505 | 510 | func confirmManager () = { | |
506 | - | let | |
507 | - | let | |
511 | + | let bD = dm() | |
512 | + | let dt = if (isDefined(bD)) | |
508 | 513 | then true | |
509 | 514 | else throw("No pending manager") | |
510 | - | if (( | |
515 | + | if ((dt == dt)) | |
511 | 516 | then { | |
512 | - | let | |
517 | + | let du = if ((df.callerPublicKey == value(bD))) | |
513 | 518 | then true | |
514 | 519 | else throw("You are not pending manager") | |
515 | - | if (( | |
516 | - | then [StringEntry(N(), toBase58String(value( | |
520 | + | if ((du == du)) | |
521 | + | then [StringEntry(N(), toBase58String(value(bD))), DeleteEntry(O())] | |
517 | 522 | else throw("Strict value is not equal to itself.") | |
518 | 523 | } | |
519 | 524 | else throw("Strict value is not equal to itself.") | |
521 | 526 | ||
522 | 527 | ||
523 | 528 | ||
524 | - | @Callable( | |
525 | - | func put ( | |
526 | - | let | |
527 | - | let | |
528 | - | let | |
529 | - | if ((0 > | |
529 | + | @Callable(df) | |
530 | + | func put (dv,dw) = { | |
531 | + | let dx = aE() | |
532 | + | let dy = valueOrErrorMessage(addressFromString(dx[x]), "Wr st addr") | |
533 | + | let dz = valueOrErrorMessage(addressFromString(dx[y]), "Wr sl addr") | |
534 | + | if ((0 > dv)) | |
530 | 535 | then throw("Wrong slippage") | |
531 | - | else if ((size( | |
536 | + | else if ((size(df.payments) != 2)) | |
532 | 537 | then throw("2 pmnts expd") | |
533 | 538 | else { | |
534 | - | let | |
535 | - | let | |
536 | - | let | |
537 | - | let | |
538 | - | let | |
539 | - | let | |
540 | - | let | |
541 | - | let | |
542 | - | let | |
543 | - | if (( | |
539 | + | let dA = dh(toString(df.caller), toBase58String(df.transactionId), AttachedPayment(value(df.payments[0]).assetId, value(df.payments[0]).amount), df.payments[1], dv, true, false, 0, "") | |
540 | + | let cK = dA._2 | |
541 | + | let dB = dA._7 | |
542 | + | let cc = dA._9 | |
543 | + | let cL = dA._10 | |
544 | + | let cM = dA._11 | |
545 | + | let bK = dA._12 | |
546 | + | let bL = dA._13 | |
547 | + | let cx = invoke(aw, "emit", [cK], nil) | |
548 | + | if ((cx == cx)) | |
544 | 549 | then { | |
545 | - | let | |
546 | - | let aq = | |
550 | + | let dC = { | |
551 | + | let aq = cx | |
547 | 552 | if ($isInstanceOf(aq, "Address")) | |
548 | 553 | then { | |
549 | - | let | |
550 | - | invoke( | |
554 | + | let dD = aq | |
555 | + | invoke(dD, "emit", [cK], nil) | |
551 | 556 | } | |
552 | 557 | else unit | |
553 | 558 | } | |
554 | - | if (( | |
559 | + | if ((dC == dC)) | |
555 | 560 | then { | |
556 | - | let | |
557 | - | then invoke( | |
561 | + | let dE = if ((cL > 0)) | |
562 | + | then invoke(dz, "put", nil, [AttachedPayment(bK, cL)]) | |
558 | 563 | else nil | |
559 | - | if (( | |
564 | + | if ((dE == dE)) | |
560 | 565 | then { | |
561 | - | let | |
562 | - | then invoke( | |
566 | + | let dF = if ((cM > 0)) | |
567 | + | then invoke(dz, "put", nil, [AttachedPayment(bL, cM)]) | |
563 | 568 | else nil | |
564 | - | if (( | |
569 | + | if ((dF == dF)) | |
565 | 570 | then { | |
566 | - | let | |
571 | + | let dG = if (dw) | |
567 | 572 | then { | |
568 | - | let | |
569 | - | if (( | |
573 | + | let dH = invoke(dy, "stake", nil, [AttachedPayment(dB, cK)]) | |
574 | + | if ((dH == dH)) | |
570 | 575 | then nil | |
571 | 576 | else throw("Strict value is not equal to itself.") | |
572 | 577 | } | |
573 | - | else [ScriptTransfer( | |
574 | - | ( | |
578 | + | else [ScriptTransfer(df.caller, cK, dB)] | |
579 | + | (cc ++ dG) | |
575 | 580 | } | |
576 | 581 | else throw("Strict value is not equal to itself.") | |
577 | 582 | } | |
585 | 590 | ||
586 | 591 | ||
587 | 592 | ||
588 | - | @Callable( | |
589 | - | func putOneTkn ( | |
590 | - | let | |
591 | - | let | |
592 | - | let | |
593 | - | let | |
594 | - | let | |
595 | - | let | |
596 | - | let | |
597 | - | let | |
598 | - | let | |
599 | - | let | |
600 | - | let | |
601 | - | then | |
602 | - | else | |
603 | - | let | |
604 | - | let | |
605 | - | if (( | |
593 | + | @Callable(df) | |
594 | + | func putOneTkn (dI,dJ,dK,bc,dw) = { | |
595 | + | let bv = aE() | |
596 | + | let dy = valueOrErrorMessage(addressFromString(bv[x]), "Wr st addr") | |
597 | + | let dz = valueOrErrorMessage(addressFromString(bv[y]), "Wr sl addr") | |
598 | + | let dL = valueOrErrorMessage(addressFromString(bv[z]), "Wr gwx addr") | |
599 | + | let dM = aA() | |
600 | + | let bK = dM[r] | |
601 | + | let bL = dM[s] | |
602 | + | let bM = parseIntValue(dM[t]) | |
603 | + | let bN = parseIntValue(dM[u]) | |
604 | + | let dN = valueOrElse(getString(this, aa()), "") | |
605 | + | let bI = if ((dN == toString(df.caller))) | |
606 | + | then df.originCaller | |
607 | + | else df.caller | |
608 | + | let dO = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(aa()), "no addons")), "addon address in not valid") | |
609 | + | let dP = reentrantInvoke(dO, "ensureCanGetOrPutOneTkn", [toString(bI)], nil) | |
610 | + | if ((dP == dP)) | |
606 | 611 | then if (if (if (if ((0 >= bc)) | |
607 | - | then true | |
608 | - | else (0 >= dH)) | |
609 | 612 | then true | |
610 | 613 | else (0 >= dI)) | |
611 | 614 | then true | |
612 | 615 | else (0 >= dJ)) | |
616 | + | then true | |
617 | + | else (0 >= dK)) | |
613 | 618 | then throw("Wrong params") | |
614 | - | else if ((size( | |
619 | + | else if ((size(df.payments) != 1)) | |
615 | 620 | then throw("1 pmnt expd") | |
616 | 621 | else { | |
617 | - | let | |
618 | - | let | |
619 | - | let | |
620 | - | if (if (if (( | |
622 | + | let dg = value(df.payments[0]) | |
623 | + | let bG = toBase58String(value(dg.assetId)) | |
624 | + | let cl = dg.amount | |
625 | + | if (if (if ((dI > cl)) | |
621 | 626 | then true | |
622 | - | else ( | |
627 | + | else (dJ > cl)) | |
623 | 628 | then true | |
624 | - | else (10000000 > | |
629 | + | else (10000000 > cl)) | |
625 | 630 | then throw("Wrong pmt amt") | |
626 | 631 | else { | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | then $Tuple6(( | |
631 | - | else if (( | |
632 | - | then $Tuple6( | |
632 | + | let bQ = aU(bK) | |
633 | + | let bS = aU(bL) | |
634 | + | let dQ = if ((bG == bK)) | |
635 | + | then $Tuple6((bQ - cl), bS, (cl - dI), dJ, 0, 0) | |
636 | + | else if ((bG == bL)) | |
637 | + | then $Tuple6(bQ, (bS - cl), 0, 0, (cl - dJ), dI) | |
633 | 638 | else throw("wrong pmtAssetId") | |
634 | - | let | |
635 | - | let | |
636 | - | let | |
637 | - | let | |
638 | - | let | |
639 | - | let | |
640 | - | let bh = invoke( | |
641 | - | let bg = invoke( | |
642 | - | let | |
643 | - | if (( | |
639 | + | let dR = dQ._1 | |
640 | + | let dS = dQ._2 | |
641 | + | let dT = dQ._3 | |
642 | + | let dU = dQ._4 | |
643 | + | let dV = dQ._5 | |
644 | + | let dW = dQ._6 | |
645 | + | let bh = invoke(dL, "calcD", [toString(dR), toString(dS), ax, g, h], nil) | |
646 | + | let bg = invoke(dL, "calcD", [toString(toBigInt(((dR + dT) - dW))), toString(toBigInt(((dS + dV) - dU))), ax, g, h], nil) | |
647 | + | let dX = bf(parseBigIntValue(ap(bg)), parseBigIntValue(ap(bh)), f) | |
648 | + | if ((dX == dX)) | |
644 | 649 | then { | |
645 | - | let | |
646 | - | let | |
647 | - | let | |
648 | - | let | |
649 | - | let | |
650 | - | let | |
651 | - | let | |
652 | - | let | |
653 | - | let | |
654 | - | if (( | |
650 | + | let dY = dh(toString(df.caller), toBase58String(df.transactionId), AttachedPayment(fromBase58String(bK), dI), AttachedPayment(fromBase58String(bL), dJ), bc, true, true, cl, bG) | |
651 | + | let dZ = dY._2 | |
652 | + | let dB = dY._7 | |
653 | + | let cc = dY._9 | |
654 | + | let cL = dY._10 | |
655 | + | let cM = dY._11 | |
656 | + | let ea = aZ(toBigInt(dZ), toBigInt(dK), toBigInt(bc)) | |
657 | + | let cK = toInt(ea._2) | |
658 | + | let dA = invoke(aw, "emit", [cK], nil) | |
659 | + | if ((dA == dA)) | |
655 | 660 | then { | |
656 | - | let | |
657 | - | let aq = | |
661 | + | let dC = { | |
662 | + | let aq = dA | |
658 | 663 | if ($isInstanceOf(aq, "Address")) | |
659 | 664 | then { | |
660 | - | let | |
661 | - | invoke( | |
665 | + | let dD = aq | |
666 | + | invoke(dD, "emit", [cK], nil) | |
662 | 667 | } | |
663 | 668 | else unit | |
664 | 669 | } | |
665 | - | if (( | |
670 | + | if ((dC == dC)) | |
666 | 671 | then { | |
667 | - | let | |
668 | - | then invoke( | |
672 | + | let dE = if ((cL > 0)) | |
673 | + | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bK), cL)]) | |
669 | 674 | else nil | |
670 | - | if (( | |
675 | + | if ((dE == dE)) | |
671 | 676 | then { | |
672 | - | let | |
673 | - | then invoke( | |
677 | + | let dF = if ((cM > 0)) | |
678 | + | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bL), cM)]) | |
674 | 679 | else nil | |
675 | - | if (( | |
680 | + | if ((dF == dF)) | |
676 | 681 | then { | |
677 | - | let | |
682 | + | let dG = if (dw) | |
678 | 683 | then { | |
679 | - | let | |
680 | - | if (( | |
684 | + | let dH = invoke(dy, "stake", nil, [AttachedPayment(dB, cK)]) | |
685 | + | if ((dH == dH)) | |
681 | 686 | then nil | |
682 | 687 | else throw("Strict value is not equal to itself.") | |
683 | 688 | } | |
684 | - | else [ScriptTransfer( | |
685 | - | ( | |
689 | + | else [ScriptTransfer(df.caller, cK, dB)] | |
690 | + | (cc ++ dG) | |
686 | 691 | } | |
687 | 692 | else throw("Strict value is not equal to itself.") | |
688 | 693 | } | |
700 | 705 | ||
701 | 706 | ||
702 | 707 | ||
703 | - | @Callable( | |
704 | - | func putForFree ( | |
708 | + | @Callable(df) | |
709 | + | func putForFree (eb) = if ((0 > eb)) | |
705 | 710 | then throw("Wrong slpg") | |
706 | - | else if ((size( | |
711 | + | else if ((size(df.payments) != 2)) | |
707 | 712 | then throw("2 pmnts expd") | |
708 | 713 | else { | |
709 | - | let | |
710 | - | | |
714 | + | let dY = dh(toString(df.caller), toBase58String(df.transactionId), AttachedPayment(value(df.payments[0]).assetId, value(df.payments[0]).amount), df.payments[1], eb, false, false, 0, "") | |
715 | + | dY._9 | |
711 | 716 | } | |
712 | 717 | ||
713 | 718 | ||
714 | 719 | ||
715 | - | @Callable( | |
720 | + | @Callable(df) | |
716 | 721 | func get () = { | |
717 | - | let | |
718 | - | let | |
719 | - | let | |
720 | - | let | |
721 | - | let | |
722 | - | let | |
723 | - | let | |
724 | - | if (( | |
725 | - | then | |
722 | + | let cx = de(df) | |
723 | + | let ec = cx._1 | |
724 | + | let cb = cx._2 | |
725 | + | let cl = cx._3 | |
726 | + | let bG = cx._4 | |
727 | + | let cc = cx._5 | |
728 | + | let ed = invoke(aw, "burn", [cl], [AttachedPayment(bG, cl)]) | |
729 | + | if ((ed == ed)) | |
730 | + | then cc | |
726 | 731 | else throw("Strict value is not equal to itself.") | |
727 | 732 | } | |
728 | 733 | ||
729 | 734 | ||
730 | 735 | ||
731 | - | @Callable( | |
732 | - | func getOneTkn ( | |
736 | + | @Callable(df) | |
737 | + | func getOneTkn (ee,ef,eg,eh,bc) = if ((size(df.payments) != 1)) | |
733 | 738 | then throw("1 pmnt expd") | |
734 | 739 | else { | |
735 | - | let | |
736 | - | let | |
737 | - | let | |
738 | - | let | |
739 | - | let | |
740 | - | let | |
741 | - | let | |
742 | - | let | |
743 | - | let | |
744 | - | let | |
745 | - | let | |
746 | - | let | |
747 | - | then | |
748 | - | else | |
749 | - | let | |
750 | - | let | |
751 | - | let | |
752 | - | let | |
753 | - | let | |
754 | - | if (( | |
755 | - | then if ((1000000000 > | |
740 | + | let bv = aA() | |
741 | + | let bJ = bv[q] | |
742 | + | let bK = bv[r] | |
743 | + | let bL = bv[s] | |
744 | + | let bM = parseIntValue(bv[t]) | |
745 | + | let bN = parseIntValue(bv[u]) | |
746 | + | let bO = bv[p] | |
747 | + | let dx = aE() | |
748 | + | let dL = valueOrErrorMessage(addressFromString(dx[z]), "Wr sl addr") | |
749 | + | let dg = value(df.payments[0]) | |
750 | + | let dN = valueOrElse(getString(this, aa()), "") | |
751 | + | let bI = if ((dN == toString(df.caller))) | |
752 | + | then df.originCaller | |
753 | + | else df.caller | |
754 | + | let bF = toBase58String(df.transactionId) | |
755 | + | let bG = value(dg.assetId) | |
756 | + | let cl = dg.amount | |
757 | + | let dO = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(aa()), "no addons")), "addon address in not valid") | |
758 | + | let dP = reentrantInvoke(dO, "ensureCanGetOrPutOneTkn", [toString(bI)], nil) | |
759 | + | if ((dP == dP)) | |
760 | + | then if ((1000000000 > cl)) | |
756 | 761 | then throw("Min pmt 10 LP") | |
757 | 762 | else if (if (if ((0 > bc)) | |
758 | 763 | then true | |
759 | - | else (0 > | |
764 | + | else (0 > ee)) | |
760 | 765 | then true | |
761 | - | else (0 > | |
766 | + | else (0 > eg)) | |
762 | 767 | then throw("Wrong params") | |
763 | - | else if (( | |
768 | + | else if ((bJ != toBase58String(bG))) | |
764 | 769 | then throw("Wrong LP") | |
765 | 770 | else { | |
766 | - | let | |
767 | - | let | |
768 | - | let | |
769 | - | let | |
770 | - | let | |
771 | - | let | |
772 | - | then $Tuple7(( | |
773 | - | else if (( | |
774 | - | then $Tuple7(( | |
771 | + | let cx = bE(toBase58String(df.transactionId), toBase58String(bG), cl, df.caller) | |
772 | + | let ei = cx._1 | |
773 | + | let ej = cx._2 | |
774 | + | let bQ = aU(bK) | |
775 | + | let bS = aU(bL) | |
776 | + | let ek = if ((eh == bK)) | |
777 | + | then $Tuple7((bQ - ei), (bS - ej), ee, ej, 0, 0, (ei + ee)) | |
778 | + | else if ((eh == bL)) | |
779 | + | then $Tuple7((bQ - ei), (bS - ej), 0, 0, ee, ei, (ej + ee)) | |
775 | 780 | else throw("wrong outAssetId") | |
776 | - | let | |
777 | - | let | |
778 | - | let | |
779 | - | let | |
780 | - | let | |
781 | - | let | |
782 | - | let | |
783 | - | if (if ((0 > | |
781 | + | let dR = ek._1 | |
782 | + | let dS = ek._2 | |
783 | + | let dT = ek._3 | |
784 | + | let dU = ek._4 | |
785 | + | let dV = ek._5 | |
786 | + | let dW = ek._6 | |
787 | + | let el = ek._7 | |
788 | + | if (if ((0 > dT)) | |
784 | 789 | then true | |
785 | - | else (0 > | |
790 | + | else (0 > dV)) | |
786 | 791 | then throw("Wrong calc") | |
787 | 792 | else { | |
788 | - | let bh = invoke( | |
789 | - | let bg = invoke( | |
790 | - | let | |
791 | - | if (( | |
793 | + | let bh = invoke(dL, "calcD", [toString(dR), toString(dS), ax, g, h], nil) | |
794 | + | let bg = invoke(dL, "calcD", [toString(((dR - dT) + dW)), toString(((dS + dU) - dV)), ax, g, h], nil) | |
795 | + | let dX = bf(parseBigIntValue(ap(bg)), parseBigIntValue(ap(bh)), f) | |
796 | + | if ((dX == dX)) | |
792 | 797 | then { | |
793 | - | let | |
794 | - | if (( | |
798 | + | let em = aZ(toBigInt(el), toBigInt(eg), toBigInt(bc)) | |
799 | + | if ((em == em)) | |
795 | 800 | then { | |
796 | - | let | |
797 | - | then $Tuple2(toInt( | |
798 | - | else $Tuple2(0, toInt( | |
799 | - | let | |
800 | - | let | |
801 | - | let | |
802 | - | let | |
803 | - | let | |
801 | + | let en = if ((eh == bK)) | |
802 | + | then $Tuple2(toInt(em._2), 0) | |
803 | + | else $Tuple2(0, toInt(em._2)) | |
804 | + | let eo = en._1 | |
805 | + | let ep = en._2 | |
806 | + | let eq = aW(B(bS, bN), B(bQ, bM)) | |
807 | + | let er = E(eq, a) | |
808 | + | let cc = [ScriptTransfer(bI, (eo + ep), if ((eh == "WAVES")) | |
804 | 809 | then unit | |
805 | - | else fromBase58String( | |
806 | - | if (( | |
810 | + | else fromBase58String(eh)), StringEntry(W(toString(bI), bF), aQ(eo, ep, cl, er, height, lastBlock.timestamp)), IntegerEntry(P(), er), IntegerEntry(Q(height, lastBlock.timestamp), er)] | |
811 | + | if ((cc == cc)) | |
807 | 812 | then { | |
808 | - | let | |
809 | - | if (( | |
810 | - | then | |
813 | + | let es = invoke(aw, "burn", [cl], [AttachedPayment(bG, cl)]) | |
814 | + | if ((es == es)) | |
815 | + | then cc | |
811 | 816 | else throw("Strict value is not equal to itself.") | |
812 | 817 | } | |
813 | 818 | else throw("Strict value is not equal to itself.") | |
822 | 827 | ||
823 | 828 | ||
824 | 829 | ||
825 | - | @Callable( | |
826 | - | func getNoLess ( | |
827 | - | let | |
828 | - | let | |
829 | - | let | |
830 | - | let | |
831 | - | let | |
832 | - | let | |
833 | - | if (( | |
834 | - | then throw(((("Failed: " + toString( | |
835 | - | else if (( | |
836 | - | then throw(((("Failed: " + toString( | |
830 | + | @Callable(df) | |
831 | + | func getNoLess (et,eu) = { | |
832 | + | let cx = de(df) | |
833 | + | let ca = cx._1 | |
834 | + | let cb = cx._2 | |
835 | + | let cl = cx._3 | |
836 | + | let bG = cx._4 | |
837 | + | let cc = cx._5 | |
838 | + | if ((et > ca)) | |
839 | + | then throw(((("Failed: " + toString(ca)) + " < ") + toString(et))) | |
840 | + | else if ((eu > cb)) | |
841 | + | then throw(((("Failed: " + toString(cb)) + " < ") + toString(eu))) | |
837 | 842 | else { | |
838 | - | let | |
839 | - | if (( | |
840 | - | then | |
843 | + | let ev = invoke(aw, "burn", [cl], [AttachedPayment(bG, cl)]) | |
844 | + | if ((ev == ev)) | |
845 | + | then cc | |
841 | 846 | else throw("Strict value is not equal to itself.") | |
842 | 847 | } | |
843 | 848 | } | |
844 | 849 | ||
845 | 850 | ||
846 | 851 | ||
847 | - | @Callable( | |
848 | - | func unstakeAndGet ( | |
849 | - | let | |
852 | + | @Callable(df) | |
853 | + | func unstakeAndGet (ew) = { | |
854 | + | let ex = if ((size(df.payments) != 0)) | |
850 | 855 | then throw("No pmnts expd") | |
851 | 856 | else true | |
852 | - | if (( | |
857 | + | if ((ex == ex)) | |
853 | 858 | then { | |
854 | - | let | |
855 | - | let | |
856 | - | let | |
857 | - | let | |
858 | - | let | |
859 | - | if (( | |
859 | + | let bv = aA() | |
860 | + | let ey = aE() | |
861 | + | let dB = fromBase58String(bv[q]) | |
862 | + | let ez = valueOrErrorMessage(addressFromString(ey[x]), "Wr st addr") | |
863 | + | let eA = invoke(ez, "unstake", [toBase58String(dB), ew], nil) | |
864 | + | if ((eA == eA)) | |
860 | 865 | then { | |
861 | - | let | |
862 | - | let | |
863 | - | let | |
864 | - | let | |
866 | + | let cx = bE(toBase58String(df.transactionId), toBase58String(dB), ew, df.caller) | |
867 | + | let bO = parseIntValue(cx._9) | |
868 | + | let cc = cx._10 | |
869 | + | let eB = if (if (ay()) | |
865 | 870 | then true | |
866 | - | else ( | |
867 | - | then throw(("Blocked: " + toString( | |
871 | + | else (bO == n)) | |
872 | + | then throw(("Blocked: " + toString(bO))) | |
868 | 873 | else true | |
869 | - | if (( | |
874 | + | if ((eB == eB)) | |
870 | 875 | then { | |
871 | - | let | |
872 | - | if (( | |
873 | - | then | |
876 | + | let eC = invoke(aw, "burn", [ew], [AttachedPayment(dB, ew)]) | |
877 | + | if ((eC == eC)) | |
878 | + | then cc | |
874 | 879 | else throw("Strict value is not equal to itself.") | |
875 | 880 | } | |
876 | 881 | else throw("Strict value is not equal to itself.") | |
882 | 887 | ||
883 | 888 | ||
884 | 889 | ||
885 | - | @Callable( | |
886 | - | func activate ( | |
890 | + | @Callable(df) | |
891 | + | func activate (eD,eE) = if ((toString(df.caller) != toString(aw))) | |
887 | 892 | then throw("denied") | |
888 | - | else $Tuple2([StringEntry(X(), | |
893 | + | else $Tuple2([StringEntry(X(), eD), StringEntry(Y(), eE)], "success") | |
889 | 894 | ||
890 | 895 | ||
891 | 896 | ||
892 | - | @Callable( | |
893 | - | func setS ( | |
894 | - | then | |
895 | - | else [StringEntry( | |
897 | + | @Callable(df) | |
898 | + | func setS (eF,eB) = if ((toString(df.caller) != as(this, aa()))) | |
899 | + | then dn | |
900 | + | else [StringEntry(eF, eB)] | |
896 | 901 | ||
897 | 902 | ||
898 | 903 | ||
899 | - | @Callable( | |
900 | - | func setI ( | |
901 | - | then | |
902 | - | else [IntegerEntry( | |
904 | + | @Callable(df) | |
905 | + | func setI (eF,eB) = if ((toString(df.caller) != as(this, aa()))) | |
906 | + | then dn | |
907 | + | else [IntegerEntry(eF, eB)] | |
903 | 908 | ||
904 | 909 | ||
905 | 910 | ||
906 | - | @Callable( | |
911 | + | @Callable(df) | |
907 | 912 | func getPoolConfigWrapperREADONLY () = $Tuple2(nil, aA()) | |
908 | 913 | ||
909 | 914 | ||
910 | 915 | ||
911 | - | @Callable( | |
916 | + | @Callable(df) | |
912 | 917 | func getAccBalanceWrapperREADONLY (aV) = $Tuple2(nil, aU(aV)) | |
913 | 918 | ||
914 | 919 | ||
915 | 920 | ||
916 | - | @Callable( | |
917 | - | func calcPricesWrapperREADONLY ( | |
918 | - | let | |
919 | - | $Tuple2(nil, [toString( | |
921 | + | @Callable(df) | |
922 | + | func calcPricesWrapperREADONLY (bp,bq,bu) = { | |
923 | + | let eG = bt(bp, bq, bu) | |
924 | + | $Tuple2(nil, [toString(eG[0]), toString(eG[1]), toString(eG[2])]) | |
920 | 925 | } | |
921 | 926 | ||
922 | 927 | ||
923 | 928 | ||
924 | - | @Callable( | |
925 | - | func fromX18WrapperREADONLY (F, | |
929 | + | @Callable(df) | |
930 | + | func fromX18WrapperREADONLY (F,eH) = $Tuple2(nil, E(parseBigIntValue(F), eH)) | |
926 | 931 | ||
927 | 932 | ||
928 | 933 | ||
929 | - | @Callable( | |
934 | + | @Callable(df) | |
930 | 935 | func toX18WrapperREADONLY (C,D) = $Tuple2(nil, toString(B(C, D))) | |
931 | 936 | ||
932 | 937 | ||
933 | 938 | ||
934 | - | @Callable( | |
939 | + | @Callable(df) | |
935 | 940 | func calcPriceBigIntWrapperREADONLY (aX,aY) = $Tuple2(nil, toString(aW(parseBigIntValue(aX), parseBigIntValue(aY)))) | |
936 | 941 | ||
937 | 942 | ||
938 | 943 | ||
939 | - | @Callable( | |
940 | - | func estimatePutOperationWrapperREADONLY ( | |
944 | + | @Callable(df) | |
945 | + | func estimatePutOperationWrapperREADONLY (bF,bc,ce,cf,cg,ch,eI,ci,cj) = $Tuple2(nil, cd(bF, bc, ce, cf, cg, ch, eI, ci, cj, false, 0, "")) | |
941 | 946 | ||
942 | 947 | ||
943 | 948 | ||
944 | - | @Callable( | |
945 | - | func estimateGetOperationWrapperREADONLY ( | |
946 | - | let | |
947 | - | $Tuple2(nil, $Tuple10( | |
949 | + | @Callable(df) | |
950 | + | func estimateGetOperationWrapperREADONLY (bF,eJ,bH,eI) = { | |
951 | + | let cx = bE(bF, eJ, bH, addressFromStringValue(eI)) | |
952 | + | $Tuple2(nil, $Tuple10(cx._1, cx._2, cx._3, cx._4, cx._5, cx._6, cx._7, toString(cx._8), cx._9, cx._10)) | |
948 | 953 | } | |
949 | 954 | ||
950 | 955 | ||
951 | - | @Verifier( | |
952 | - | func | |
953 | - | let aq = | |
956 | + | @Verifier(eK) | |
957 | + | func eL () = { | |
958 | + | let aq = eK | |
954 | 959 | if ($isInstanceOf(aq, "Order")) | |
955 | 960 | then { | |
956 | - | let | |
957 | - | let | |
958 | - | let am = | |
959 | - | let | |
960 | - | let | |
961 | + | let cS = aq | |
962 | + | let eM = az() | |
963 | + | let am = cR(cS) | |
964 | + | let eN = sigVerify(cS.bodyBytes, cS.proofs[0], cS.senderPublicKey) | |
965 | + | let eO = sigVerify(cS.bodyBytes, cS.proofs[1], eM) | |
961 | 966 | if (if (if (am) | |
962 | - | then eM | |
963 | - | else false) | |
964 | 967 | then eN | |
965 | 968 | else false) | |
969 | + | then eO | |
970 | + | else false) | |
966 | 971 | then true | |
967 | - | else al(am, | |
972 | + | else al(am, eN, eO) | |
968 | 973 | } | |
969 | 974 | else { | |
970 | - | let | |
971 | - | let | |
972 | - | if ($isInstanceOf( | |
975 | + | let eP = { | |
976 | + | let eQ = dk() | |
977 | + | if ($isInstanceOf(eQ, "ByteVector")) | |
973 | 978 | then { | |
974 | - | let | |
975 | - | | |
979 | + | let dp = eQ | |
980 | + | dp | |
976 | 981 | } | |
977 | - | else if ($isInstanceOf( | |
978 | - | then | |
982 | + | else if ($isInstanceOf(eQ, "Unit")) | |
983 | + | then eK.senderPublicKey | |
979 | 984 | else throw("Match error") | |
980 | 985 | } | |
981 | - | sigVerify( | |
986 | + | sigVerify(eK.bodyBytes, eK.proofs[0], eP) | |
982 | 987 | } | |
983 | 988 | } | |
984 | 989 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
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(1) | |
13 | 13 | ||
14 | 14 | let f = toBigInt((a - ((a * 1) / a))) | |
15 | 15 | ||
16 | 16 | let g = "100" | |
17 | 17 | ||
18 | 18 | let h = "1" | |
19 | 19 | ||
20 | 20 | let i = "__" | |
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 = 1 | |
51 | 51 | ||
52 | 52 | let y = 7 | |
53 | 53 | ||
54 | 54 | let z = 10 | |
55 | 55 | ||
56 | 56 | let A = "%s__delay" | |
57 | 57 | ||
58 | 58 | func B (C,D) = fraction(toBigInt(C), c, toBigInt(D)) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func E (F,G) = toInt(fraction(F, toBigInt(G), c)) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func H (I,J,K) = fraction(I, J, K) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func L (F) = if ((d > F)) | |
68 | 68 | then -(F) | |
69 | 69 | else F | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func M () = "%s__factoryContract" | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func N () = "%s__managerPublicKey" | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func O () = "%s__pendingManagerPublicKey" | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func P () = "%s%s__price__last" | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func Q (R,S) = makeString(["%s%s%d%d__price__history", toString(R), toString(S)], i) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func T (U,V) = ((("%s%s%s__P__" + U) + "__") + V) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func W (U,V) = ((("%s%s%s__G__" + U) + "__") + V) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func X () = "%s__amountAsset" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func Y () = "%s__priceAsset" | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func Z () = "%s__amp" | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func aa () = "%s__addonAddr" | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func ab (ac) = makeString(["%s%s__lastGetOrPutOneTknCall", ac], i) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func ad () = "%s__factoryConfig" | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func ae () = "%s%s__matcher__publicKey" | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func af (ag,ah) = (((("%d%d%s__" + ag) + "__") + ah) + "__config") | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func ai (aj) = ("%s%s%s__mappings__baseAsset2internalId__" + aj) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func ak () = "%s__shutdown" | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func al (am,an,ao) = throw(((((("Failed: ordValid=" + toString(am)) + " sndrValid=") + toString(an)) + " mtchrValid=") + toString(ao))) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func ap (F) = { | |
127 | 127 | let aq = F | |
128 | 128 | if ($isInstanceOf(aq, "String")) | |
129 | 129 | then { | |
130 | 130 | let ar = aq | |
131 | 131 | ar | |
132 | 132 | } | |
133 | 133 | else throw("fail cast to String") | |
134 | 134 | } | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func as (at,au) = valueOrErrorMessage(getString(at, au), makeString(["mandatory ", toString(at), ".", au, " not defined"], "")) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func av (at,au) = valueOrErrorMessage(getInteger(at, au), makeString(["mandatory ", toString(at), ".", au, " not defined"], "")) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | let aw = addressFromStringValue(as(this, M())) | |
144 | 144 | ||
145 | 145 | let ax = as(this, Z()) | |
146 | 146 | ||
147 | 147 | func ay () = valueOrElse(getBoolean(aw, ak()), false) | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func az () = fromBase58String(as(aw, ae())) | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func aA () = { | |
154 | 154 | let aB = as(this, X()) | |
155 | 155 | let aC = as(this, Y()) | |
156 | 156 | let aD = av(aw, ai(aC)) | |
157 | 157 | let ag = av(aw, ai(aB)) | |
158 | 158 | split(as(aw, af(toString(ag), toString(aD))), i) | |
159 | 159 | } | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func aE () = split(as(aw, ad()), i) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func aF (aG,aH,aI,aJ,aK,aL,aM,aN,aO,aP) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(aG), toString(aH), toString(aI), toString(aJ), toString(aK), toString(aL), toString(aM), toString(aN), toString(aO), toString(aP)], i) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func aQ (aR,aS,aT,aJ,aM,aN) = makeString(["%d%d%d%d%d%d", toString(aR), toString(aS), toString(aT), toString(aJ), toString(aM), toString(aN)], i) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func aU (aV) = if ((aV == "WAVES")) | |
172 | 172 | then wavesBalance(this).available | |
173 | 173 | else assetBalance(this, fromBase58String(aV)) | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func aW (aX,aY) = fraction(aX, c, aY) | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func aZ (ba,bb,bc) = { | |
180 | 180 | let bd = fraction((ba - bb), b, bb) | |
181 | 181 | let be = ((bc - L(bd)) > d) | |
182 | 182 | if (!(be)) | |
183 | 183 | then throw(("Big slpg: " + toString(bd))) | |
184 | 184 | else $Tuple2(be, min([ba, bb])) | |
185 | 185 | } | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func bf (bg,bh,bi) = { | |
189 | 189 | let bj = if ((bg == d)) | |
190 | 190 | then e | |
191 | 191 | else bg | |
192 | - | let bd = fraction(bh, b, bg) | |
193 | - | let bk = (bi > bd) | |
194 | - | if (if (bk) | |
195 | - | then true | |
196 | - | else (bh > bg)) | |
197 | - | then throw(((((((toString(bh) + " ") + toString(bg)) + " ") + toString(bd)) + " ") + toString(bi))) | |
198 | - | else bk | |
192 | + | let bk = ("D1: " + throw(toString(bg))) | |
193 | + | if ((bk == bk)) | |
194 | + | then { | |
195 | + | let bd = fraction(bh, b, bg) | |
196 | + | let bl = (bi > bd) | |
197 | + | if (if (bl) | |
198 | + | then true | |
199 | + | else (bh > bg)) | |
200 | + | then throw(((((((toString(bh) + " ") + toString(bg)) + " ") + toString(bd)) + " ") + toString(bi))) | |
201 | + | else bl | |
202 | + | } | |
203 | + | else throw("Strict value is not equal to itself.") | |
199 | 204 | } | |
200 | 205 | ||
201 | 206 | ||
202 | - | func bl (bm,bn,bo,bp) = { | |
203 | - | let bq = B(bo, bm) | |
207 | + | func bm (bn,bo,bp,bq) = { | |
204 | 208 | let br = B(bp, bn) | |
205 | - | aW(br, bq) | |
209 | + | let bs = B(bq, bo) | |
210 | + | aW(bs, br) | |
206 | 211 | } | |
207 | 212 | ||
208 | 213 | ||
209 | - | func | |
210 | - | let | |
211 | - | let | |
212 | - | let | |
213 | - | let | |
214 | - | let aY = B( | |
215 | - | let aX = B( | |
216 | - | let | |
217 | - | let | |
218 | - | let | |
219 | - | [ | |
214 | + | func bt (bp,bq,bu) = { | |
215 | + | let bv = aA() | |
216 | + | let bw = parseIntValue(bv[t]) | |
217 | + | let bx = parseIntValue(bv[u]) | |
218 | + | let by = bm(bw, bx, bp, bq) | |
219 | + | let aY = B(bp, bw) | |
220 | + | let aX = B(bq, bx) | |
221 | + | let bz = B(bu, a) | |
222 | + | let bA = aW(aY, bz) | |
223 | + | let bB = aW(aX, bz) | |
224 | + | [by, bA, bB] | |
220 | 225 | } | |
221 | 226 | ||
222 | 227 | ||
223 | - | func | |
224 | - | let | |
225 | - | [E( | |
228 | + | func bC (bp,bq,bu) = { | |
229 | + | let bD = bt(bp, bq, bu) | |
230 | + | [E(bD[0], a), E(bD[1], a), E(bD[2], a)] | |
226 | 231 | } | |
227 | 232 | ||
228 | 233 | ||
229 | - | func | |
230 | - | let | |
231 | - | let | |
232 | - | let | |
233 | - | let | |
234 | - | let | |
235 | - | let | |
236 | - | let | |
237 | - | let | |
238 | - | if (( | |
234 | + | func bE (bF,bG,bH,bI) = { | |
235 | + | let bv = aA() | |
236 | + | let bJ = bv[q] | |
237 | + | let bK = bv[r] | |
238 | + | let bL = bv[s] | |
239 | + | let bM = parseIntValue(bv[t]) | |
240 | + | let bN = parseIntValue(bv[u]) | |
241 | + | let bO = bv[p] | |
242 | + | let bP = valueOrErrorMessage(assetInfo(fromBase58String(bJ)), "Wrong LP id").quantity | |
243 | + | if ((bJ != bG)) | |
239 | 244 | then throw("Wrong pmt asset") | |
240 | 245 | else { | |
241 | - | let bP = aU(bJ) | |
242 | - | let bQ = B(bP, bL) | |
243 | - | let bR = aU(bK) | |
244 | - | let bS = B(bR, bM) | |
245 | - | let bT = aW(bS, bQ) | |
246 | - | let bU = E(bT, a) | |
247 | - | let bV = B(bG, a) | |
248 | - | let bW = B(bO, a) | |
249 | - | let bX = fraction(bQ, bV, bW) | |
250 | - | let bY = fraction(bS, bV, bW) | |
251 | - | let bZ = E(bX, bL) | |
246 | + | let bQ = aU(bK) | |
247 | + | let bR = B(bQ, bM) | |
248 | + | let bS = aU(bL) | |
249 | + | let bT = B(bS, bN) | |
250 | + | let bU = aW(bT, bR) | |
251 | + | let bV = E(bU, a) | |
252 | + | let bW = B(bH, a) | |
253 | + | let bX = B(bP, a) | |
254 | + | let bY = fraction(bR, bW, bX) | |
255 | + | let bZ = fraction(bT, bW, bX) | |
252 | 256 | let ca = E(bY, bM) | |
253 | - | let cb = if ((bE == "")) | |
257 | + | let cb = E(bZ, bN) | |
258 | + | let cc = if ((bF == "")) | |
254 | 259 | then nil | |
255 | - | else [ScriptTransfer( | |
260 | + | else [ScriptTransfer(bI, ca, if ((bK == "WAVES")) | |
256 | 261 | then unit | |
257 | - | else fromBase58String( | |
262 | + | else fromBase58String(bK)), ScriptTransfer(bI, cb, if ((bL == "WAVES")) | |
258 | 263 | then unit | |
259 | - | else fromBase58String( | |
260 | - | $Tuple10( | |
264 | + | else fromBase58String(bL)), StringEntry(W(toString(bI), bF), aQ(ca, cb, bH, bV, height, lastBlock.timestamp)), IntegerEntry(P(), bV), IntegerEntry(Q(height, lastBlock.timestamp), bV)] | |
265 | + | $Tuple10(ca, cb, bK, bL, bQ, bS, bP, bU, bO, cc) | |
261 | 266 | } | |
262 | 267 | } | |
263 | 268 | ||
264 | 269 | ||
265 | - | func | |
266 | - | let | |
267 | - | let | |
268 | - | let | |
269 | - | let | |
270 | - | let | |
271 | - | let | |
272 | - | let | |
273 | - | let | |
274 | - | let | |
275 | - | let | |
276 | - | let | |
277 | - | then aU( | |
278 | - | else if (if ( | |
279 | - | then ( | |
270 | + | func cd (bF,bc,ce,cf,cg,ch,bI,ci,cj,ck,cl,cm) = { | |
271 | + | let bv = aA() | |
272 | + | let bJ = fromBase58String(bv[q]) | |
273 | + | let cn = bv[r] | |
274 | + | let co = bv[s] | |
275 | + | let cp = bv[v] | |
276 | + | let cq = bv[w] | |
277 | + | let cr = parseIntValue(bv[t]) | |
278 | + | let cs = parseIntValue(bv[u]) | |
279 | + | let bO = bv[p] | |
280 | + | let ct = valueOrErrorMessage(assetInfo(bJ), "Wr lp as").quantity | |
281 | + | let bQ = if (ci) | |
282 | + | then aU(cn) | |
283 | + | else if (if (ck) | |
284 | + | then (cm == cn) | |
280 | 285 | else false) | |
281 | - | then (aU( | |
282 | - | else if ( | |
283 | - | then aU( | |
284 | - | else (aU( | |
285 | - | let | |
286 | - | then aU( | |
287 | - | else if (if ( | |
288 | - | then ( | |
286 | + | then (aU(cn) - cl) | |
287 | + | else if (ck) | |
288 | + | then aU(cn) | |
289 | + | else (aU(cn) - ce) | |
290 | + | let bS = if (ci) | |
291 | + | then aU(co) | |
292 | + | else if (if (ck) | |
293 | + | then (cm == co) | |
289 | 294 | else false) | |
290 | - | then (aU( | |
291 | - | else if ( | |
292 | - | then aU( | |
293 | - | else (aU( | |
294 | - | let | |
295 | - | let | |
296 | - | let | |
297 | - | let | |
298 | - | let | |
299 | - | let | |
295 | + | then (aU(co) - cl) | |
296 | + | else if (ck) | |
297 | + | then aU(co) | |
298 | + | else (aU(co) - cg) | |
299 | + | let cu = B(ce, cr) | |
300 | + | let cv = B(cg, cs) | |
301 | + | let cw = aW(cv, cu) | |
302 | + | let bR = B(bQ, cr) | |
303 | + | let bT = B(bS, cs) | |
304 | + | let cx = if ((ct == 0)) | |
300 | 305 | then { | |
301 | - | let | |
302 | - | let | |
303 | - | let | |
304 | - | $Tuple5(E( | |
306 | + | let bU = d | |
307 | + | let cy = d | |
308 | + | let bz = pow((cu * cv), 0, toBigInt(5), 1, 0, DOWN) | |
309 | + | $Tuple5(E(bz, a), E(cu, cr), E(cv, cs), aW((bT + cv), (bR + cu)), cy) | |
305 | 310 | } | |
306 | 311 | else { | |
307 | - | let | |
308 | - | let | |
309 | - | let | |
310 | - | if (if (( | |
311 | - | then ( | |
312 | + | let bU = aW(bT, bR) | |
313 | + | let cz = fraction(L((bU - cw)), c, bU) | |
314 | + | let cy = B(bc, a) | |
315 | + | if (if ((bU != d)) | |
316 | + | then (cz > cy) | |
312 | 317 | else false) | |
313 | - | then throw(((("Price slippage " + toString( | |
318 | + | then throw(((("Price slippage " + toString(cz)) + " > ") + toString(cy))) | |
314 | 319 | else { | |
315 | - | let | |
316 | - | let | |
317 | - | let | |
318 | - | let | |
319 | - | then $Tuple2( | |
320 | - | else $Tuple2( | |
321 | - | let | |
322 | - | let | |
323 | - | let | |
324 | - | $Tuple5(E( | |
320 | + | let cA = B(ct, a) | |
321 | + | let cB = fraction(cu, bU, c) | |
322 | + | let cC = fraction(cv, c, bU) | |
323 | + | let cD = if ((cB > cv)) | |
324 | + | then $Tuple2(cC, cv) | |
325 | + | else $Tuple2(cu, cB) | |
326 | + | let cE = cD._1 | |
327 | + | let cF = cD._2 | |
328 | + | let bz = fraction(cA, cF, bT) | |
329 | + | $Tuple5(E(bz, a), E(cE, cr), E(cF, cs), bU, cy) | |
325 | 330 | } | |
326 | 331 | } | |
327 | - | let | |
328 | - | let | |
329 | - | let | |
330 | - | let | |
331 | - | let | |
332 | - | if ((0 >= | |
332 | + | let cG = cx._1 | |
333 | + | let cH = cx._2 | |
334 | + | let cI = cx._3 | |
335 | + | let bV = E(cx._4, a) | |
336 | + | let cJ = E(cx._5, a) | |
337 | + | if ((0 >= cG)) | |
333 | 338 | then throw("LP <= 0") | |
334 | 339 | else { | |
335 | - | let | |
340 | + | let cK = if (!(cj)) | |
336 | 341 | then 0 | |
337 | - | else | |
338 | - | let | |
339 | - | let | |
340 | - | let | |
341 | - | then ( | |
342 | + | else cG | |
343 | + | let cL = (ce - cH) | |
344 | + | let cM = (cg - cI) | |
345 | + | let cN = if (if (ck) | |
346 | + | then (cm == cn) | |
342 | 347 | else false) | |
343 | - | then $Tuple2( | |
344 | - | else if (if ( | |
345 | - | then ( | |
348 | + | then $Tuple2(cl, 0) | |
349 | + | else if (if (ck) | |
350 | + | then (cm == co) | |
346 | 351 | else false) | |
347 | - | then $Tuple2(0, | |
348 | - | else $Tuple2( | |
349 | - | let | |
350 | - | let | |
351 | - | let | |
352 | - | $Tuple13( | |
352 | + | then $Tuple2(0, cl) | |
353 | + | else $Tuple2(cH, cI) | |
354 | + | let cO = cN._1 | |
355 | + | let cP = cN._2 | |
356 | + | let cQ = [IntegerEntry(P(), bV), IntegerEntry(Q(height, lastBlock.timestamp), bV), StringEntry(T(bI, bF), aF(cO, cP, cK, bV, bc, cJ, height, lastBlock.timestamp, cL, cM))] | |
357 | + | $Tuple13(cG, cK, bV, bQ, bS, ct, bJ, bO, cQ, cL, cM, cf, ch) | |
353 | 358 | } | |
354 | 359 | } | |
355 | 360 | ||
356 | 361 | ||
357 | - | func cQ (cR) = { | |
358 | - | let bu = aA() | |
359 | - | let cS = bu[r] | |
360 | - | let cT = bu[s] | |
361 | - | let bN = parseIntValue(bu[p]) | |
362 | - | let bv = parseIntValue(bu[t]) | |
363 | - | let bw = parseIntValue(bu[u]) | |
364 | - | let cU = aU(cS) | |
362 | + | func cR (cS) = { | |
363 | + | let bv = aA() | |
364 | + | let cT = bv[r] | |
365 | + | let cU = bv[s] | |
366 | + | let bO = parseIntValue(bv[p]) | |
367 | + | let bw = parseIntValue(bv[t]) | |
368 | + | let bx = parseIntValue(bv[u]) | |
365 | 369 | let cV = aU(cT) | |
366 | - | let bT = if ((cR.orderType == Buy)) | |
367 | - | then bl(bv, bw, (cU + cR.amount), cV) | |
368 | - | else bl(bv, bw, (cU - cR.amount), cV) | |
369 | - | let bU = E(bT, a) | |
370 | + | let cW = aU(cU) | |
371 | + | let bU = if ((cS.orderType == Buy)) | |
372 | + | then bm(bw, bx, (cV + cS.amount), cW) | |
373 | + | else bm(bw, bx, (cV - cS.amount), cW) | |
374 | + | let bV = E(bU, a) | |
370 | 375 | if (if (if (ay()) | |
371 | 376 | then true | |
372 | - | else ( | |
377 | + | else (bO == m)) | |
373 | 378 | then true | |
374 | - | else ( | |
379 | + | else (bO == n)) | |
375 | 380 | then throw("Admin blocked") | |
376 | 381 | else { | |
377 | - | let | |
378 | - | let | |
382 | + | let cX = cS.assetPair.amountAsset | |
383 | + | let cY = if ((cX == unit)) | |
379 | 384 | then "WAVES" | |
380 | - | else toBase58String(value( | |
381 | - | let | |
382 | - | let | |
385 | + | else toBase58String(value(cX)) | |
386 | + | let cZ = cS.assetPair.priceAsset | |
387 | + | let da = if ((cZ == unit)) | |
383 | 388 | then "WAVES" | |
384 | - | else toBase58String(value( | |
385 | - | if (if (( | |
389 | + | else toBase58String(value(cZ)) | |
390 | + | if (if ((cY != cT)) | |
386 | 391 | then true | |
387 | - | else ( | |
392 | + | else (da != cU)) | |
388 | 393 | then throw("Wr assets") | |
389 | 394 | else { | |
390 | - | let | |
391 | - | let | |
392 | - | let | |
393 | - | let | |
394 | - | then ( | |
395 | - | else ( | |
395 | + | let db = cS.price | |
396 | + | let cs = fraction(a, bx, bw) | |
397 | + | let dc = H(db, a, cs) | |
398 | + | let dd = if ((cS.orderType == Buy)) | |
399 | + | then (bV >= dc) | |
400 | + | else (dc >= bV) | |
396 | 401 | true | |
397 | 402 | } | |
398 | 403 | } | |
399 | 404 | } | |
400 | 405 | ||
401 | 406 | ||
402 | - | func | |
407 | + | func de (df) = if ((size(df.payments) != 1)) | |
403 | 408 | then throw("1 pmnt exp") | |
404 | 409 | else { | |
405 | - | let | |
406 | - | let | |
407 | - | let | |
408 | - | let | |
409 | - | let | |
410 | - | let | |
411 | - | let | |
412 | - | let | |
410 | + | let dg = value(df.payments[0]) | |
411 | + | let bG = value(dg.assetId) | |
412 | + | let cl = dg.amount | |
413 | + | let cx = bE(toBase58String(df.transactionId), toBase58String(bG), cl, df.caller) | |
414 | + | let ca = cx._1 | |
415 | + | let cb = cx._2 | |
416 | + | let bO = parseIntValue(cx._9) | |
417 | + | let cc = cx._10 | |
413 | 418 | if (if (ay()) | |
414 | 419 | then true | |
415 | - | else ( | |
416 | - | then throw(("Admin blocked: " + toString( | |
417 | - | else $Tuple5( | |
420 | + | else (bO == n)) | |
421 | + | then throw(("Admin blocked: " + toString(bO))) | |
422 | + | else $Tuple5(ca, cb, cl, bG, cc) | |
418 | 423 | } | |
419 | 424 | ||
420 | 425 | ||
421 | - | func | |
422 | - | let | |
423 | - | let | |
426 | + | func dh (ac,V,di,dj,bc,cj,ck,cl,cm) = { | |
427 | + | let cx = cd(V, bc, value(di).amount, value(di).assetId, value(dj).amount, value(dj).assetId, ac, false, cj, ck, cl, cm) | |
428 | + | let bO = parseIntValue(cx._8) | |
424 | 429 | if (if (if (ay()) | |
425 | 430 | then true | |
426 | - | else ( | |
431 | + | else (bO == l)) | |
427 | 432 | then true | |
428 | - | else ( | |
429 | - | then throw(("Blocked:" + toString( | |
430 | - | else | |
433 | + | else (bO == n)) | |
434 | + | then throw(("Blocked:" + toString(bO))) | |
435 | + | else cx | |
431 | 436 | } | |
432 | 437 | ||
433 | 438 | ||
434 | - | func | |
439 | + | func dk () = { | |
435 | 440 | let aq = getString(N()) | |
436 | 441 | if ($isInstanceOf(aq, "String")) | |
437 | 442 | then { | |
438 | - | let | |
439 | - | fromBase58String( | |
443 | + | let dl = aq | |
444 | + | fromBase58String(dl) | |
440 | 445 | } | |
441 | 446 | else if ($isInstanceOf(aq, "Unit")) | |
442 | 447 | then unit | |
443 | 448 | else throw("Match error") | |
444 | 449 | } | |
445 | 450 | ||
446 | 451 | ||
447 | - | func | |
452 | + | func dm () = { | |
448 | 453 | let aq = getString(O()) | |
449 | 454 | if ($isInstanceOf(aq, "String")) | |
450 | 455 | then { | |
451 | - | let | |
452 | - | fromBase58String( | |
456 | + | let dl = aq | |
457 | + | fromBase58String(dl) | |
453 | 458 | } | |
454 | 459 | else if ($isInstanceOf(aq, "Unit")) | |
455 | 460 | then unit | |
456 | 461 | else throw("Match error") | |
457 | 462 | } | |
458 | 463 | ||
459 | 464 | ||
460 | - | let | |
465 | + | let dn = throw("Permission denied") | |
461 | 466 | ||
462 | - | func | |
463 | - | let aq = | |
467 | + | func do (df) = { | |
468 | + | let aq = dk() | |
464 | 469 | if ($isInstanceOf(aq, "ByteVector")) | |
465 | 470 | then { | |
466 | - | let | |
467 | - | if (( | |
471 | + | let dp = aq | |
472 | + | if ((df.callerPublicKey == dp)) | |
468 | 473 | then true | |
469 | - | else | |
474 | + | else dn | |
470 | 475 | } | |
471 | 476 | else if ($isInstanceOf(aq, "Unit")) | |
472 | - | then if (( | |
477 | + | then if ((df.caller == this)) | |
473 | 478 | then true | |
474 | - | else | |
479 | + | else dn | |
475 | 480 | else throw("Match error") | |
476 | 481 | } | |
477 | 482 | ||
478 | 483 | ||
479 | - | @Callable( | |
484 | + | @Callable(df) | |
480 | 485 | func constructor (M) = { | |
481 | - | let | |
482 | - | if (( | |
486 | + | let dq = do(df) | |
487 | + | if ((dq == dq)) | |
483 | 488 | then [StringEntry(M(), M)] | |
484 | 489 | else throw("Strict value is not equal to itself.") | |
485 | 490 | } | |
486 | 491 | ||
487 | 492 | ||
488 | 493 | ||
489 | - | @Callable( | |
490 | - | func setManager ( | |
491 | - | let | |
492 | - | if (( | |
494 | + | @Callable(df) | |
495 | + | func setManager (dr) = { | |
496 | + | let dq = do(df) | |
497 | + | if ((dq == dq)) | |
493 | 498 | then { | |
494 | - | let | |
495 | - | if (( | |
496 | - | then [StringEntry(O(), | |
499 | + | let ds = fromBase58String(dr) | |
500 | + | if ((ds == ds)) | |
501 | + | then [StringEntry(O(), dr)] | |
497 | 502 | else throw("Strict value is not equal to itself.") | |
498 | 503 | } | |
499 | 504 | else throw("Strict value is not equal to itself.") | |
500 | 505 | } | |
501 | 506 | ||
502 | 507 | ||
503 | 508 | ||
504 | - | @Callable( | |
509 | + | @Callable(df) | |
505 | 510 | func confirmManager () = { | |
506 | - | let | |
507 | - | let | |
511 | + | let bD = dm() | |
512 | + | let dt = if (isDefined(bD)) | |
508 | 513 | then true | |
509 | 514 | else throw("No pending manager") | |
510 | - | if (( | |
515 | + | if ((dt == dt)) | |
511 | 516 | then { | |
512 | - | let | |
517 | + | let du = if ((df.callerPublicKey == value(bD))) | |
513 | 518 | then true | |
514 | 519 | else throw("You are not pending manager") | |
515 | - | if (( | |
516 | - | then [StringEntry(N(), toBase58String(value( | |
520 | + | if ((du == du)) | |
521 | + | then [StringEntry(N(), toBase58String(value(bD))), DeleteEntry(O())] | |
517 | 522 | else throw("Strict value is not equal to itself.") | |
518 | 523 | } | |
519 | 524 | else throw("Strict value is not equal to itself.") | |
520 | 525 | } | |
521 | 526 | ||
522 | 527 | ||
523 | 528 | ||
524 | - | @Callable( | |
525 | - | func put ( | |
526 | - | let | |
527 | - | let | |
528 | - | let | |
529 | - | if ((0 > | |
529 | + | @Callable(df) | |
530 | + | func put (dv,dw) = { | |
531 | + | let dx = aE() | |
532 | + | let dy = valueOrErrorMessage(addressFromString(dx[x]), "Wr st addr") | |
533 | + | let dz = valueOrErrorMessage(addressFromString(dx[y]), "Wr sl addr") | |
534 | + | if ((0 > dv)) | |
530 | 535 | then throw("Wrong slippage") | |
531 | - | else if ((size( | |
536 | + | else if ((size(df.payments) != 2)) | |
532 | 537 | then throw("2 pmnts expd") | |
533 | 538 | else { | |
534 | - | let | |
535 | - | let | |
536 | - | let | |
537 | - | let | |
538 | - | let | |
539 | - | let | |
540 | - | let | |
541 | - | let | |
542 | - | let | |
543 | - | if (( | |
539 | + | let dA = dh(toString(df.caller), toBase58String(df.transactionId), AttachedPayment(value(df.payments[0]).assetId, value(df.payments[0]).amount), df.payments[1], dv, true, false, 0, "") | |
540 | + | let cK = dA._2 | |
541 | + | let dB = dA._7 | |
542 | + | let cc = dA._9 | |
543 | + | let cL = dA._10 | |
544 | + | let cM = dA._11 | |
545 | + | let bK = dA._12 | |
546 | + | let bL = dA._13 | |
547 | + | let cx = invoke(aw, "emit", [cK], nil) | |
548 | + | if ((cx == cx)) | |
544 | 549 | then { | |
545 | - | let | |
546 | - | let aq = | |
550 | + | let dC = { | |
551 | + | let aq = cx | |
547 | 552 | if ($isInstanceOf(aq, "Address")) | |
548 | 553 | then { | |
549 | - | let | |
550 | - | invoke( | |
554 | + | let dD = aq | |
555 | + | invoke(dD, "emit", [cK], nil) | |
551 | 556 | } | |
552 | 557 | else unit | |
553 | 558 | } | |
554 | - | if (( | |
559 | + | if ((dC == dC)) | |
555 | 560 | then { | |
556 | - | let | |
557 | - | then invoke( | |
561 | + | let dE = if ((cL > 0)) | |
562 | + | then invoke(dz, "put", nil, [AttachedPayment(bK, cL)]) | |
558 | 563 | else nil | |
559 | - | if (( | |
564 | + | if ((dE == dE)) | |
560 | 565 | then { | |
561 | - | let | |
562 | - | then invoke( | |
566 | + | let dF = if ((cM > 0)) | |
567 | + | then invoke(dz, "put", nil, [AttachedPayment(bL, cM)]) | |
563 | 568 | else nil | |
564 | - | if (( | |
569 | + | if ((dF == dF)) | |
565 | 570 | then { | |
566 | - | let | |
571 | + | let dG = if (dw) | |
567 | 572 | then { | |
568 | - | let | |
569 | - | if (( | |
573 | + | let dH = invoke(dy, "stake", nil, [AttachedPayment(dB, cK)]) | |
574 | + | if ((dH == dH)) | |
570 | 575 | then nil | |
571 | 576 | else throw("Strict value is not equal to itself.") | |
572 | 577 | } | |
573 | - | else [ScriptTransfer( | |
574 | - | ( | |
578 | + | else [ScriptTransfer(df.caller, cK, dB)] | |
579 | + | (cc ++ dG) | |
575 | 580 | } | |
576 | 581 | else throw("Strict value is not equal to itself.") | |
577 | 582 | } | |
578 | 583 | else throw("Strict value is not equal to itself.") | |
579 | 584 | } | |
580 | 585 | else throw("Strict value is not equal to itself.") | |
581 | 586 | } | |
582 | 587 | else throw("Strict value is not equal to itself.") | |
583 | 588 | } | |
584 | 589 | } | |
585 | 590 | ||
586 | 591 | ||
587 | 592 | ||
588 | - | @Callable( | |
589 | - | func putOneTkn ( | |
590 | - | let | |
591 | - | let | |
592 | - | let | |
593 | - | let | |
594 | - | let | |
595 | - | let | |
596 | - | let | |
597 | - | let | |
598 | - | let | |
599 | - | let | |
600 | - | let | |
601 | - | then | |
602 | - | else | |
603 | - | let | |
604 | - | let | |
605 | - | if (( | |
593 | + | @Callable(df) | |
594 | + | func putOneTkn (dI,dJ,dK,bc,dw) = { | |
595 | + | let bv = aE() | |
596 | + | let dy = valueOrErrorMessage(addressFromString(bv[x]), "Wr st addr") | |
597 | + | let dz = valueOrErrorMessage(addressFromString(bv[y]), "Wr sl addr") | |
598 | + | let dL = valueOrErrorMessage(addressFromString(bv[z]), "Wr gwx addr") | |
599 | + | let dM = aA() | |
600 | + | let bK = dM[r] | |
601 | + | let bL = dM[s] | |
602 | + | let bM = parseIntValue(dM[t]) | |
603 | + | let bN = parseIntValue(dM[u]) | |
604 | + | let dN = valueOrElse(getString(this, aa()), "") | |
605 | + | let bI = if ((dN == toString(df.caller))) | |
606 | + | then df.originCaller | |
607 | + | else df.caller | |
608 | + | let dO = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(aa()), "no addons")), "addon address in not valid") | |
609 | + | let dP = reentrantInvoke(dO, "ensureCanGetOrPutOneTkn", [toString(bI)], nil) | |
610 | + | if ((dP == dP)) | |
606 | 611 | then if (if (if (if ((0 >= bc)) | |
607 | - | then true | |
608 | - | else (0 >= dH)) | |
609 | 612 | then true | |
610 | 613 | else (0 >= dI)) | |
611 | 614 | then true | |
612 | 615 | else (0 >= dJ)) | |
616 | + | then true | |
617 | + | else (0 >= dK)) | |
613 | 618 | then throw("Wrong params") | |
614 | - | else if ((size( | |
619 | + | else if ((size(df.payments) != 1)) | |
615 | 620 | then throw("1 pmnt expd") | |
616 | 621 | else { | |
617 | - | let | |
618 | - | let | |
619 | - | let | |
620 | - | if (if (if (( | |
622 | + | let dg = value(df.payments[0]) | |
623 | + | let bG = toBase58String(value(dg.assetId)) | |
624 | + | let cl = dg.amount | |
625 | + | if (if (if ((dI > cl)) | |
621 | 626 | then true | |
622 | - | else ( | |
627 | + | else (dJ > cl)) | |
623 | 628 | then true | |
624 | - | else (10000000 > | |
629 | + | else (10000000 > cl)) | |
625 | 630 | then throw("Wrong pmt amt") | |
626 | 631 | else { | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | then $Tuple6(( | |
631 | - | else if (( | |
632 | - | then $Tuple6( | |
632 | + | let bQ = aU(bK) | |
633 | + | let bS = aU(bL) | |
634 | + | let dQ = if ((bG == bK)) | |
635 | + | then $Tuple6((bQ - cl), bS, (cl - dI), dJ, 0, 0) | |
636 | + | else if ((bG == bL)) | |
637 | + | then $Tuple6(bQ, (bS - cl), 0, 0, (cl - dJ), dI) | |
633 | 638 | else throw("wrong pmtAssetId") | |
634 | - | let | |
635 | - | let | |
636 | - | let | |
637 | - | let | |
638 | - | let | |
639 | - | let | |
640 | - | let bh = invoke( | |
641 | - | let bg = invoke( | |
642 | - | let | |
643 | - | if (( | |
639 | + | let dR = dQ._1 | |
640 | + | let dS = dQ._2 | |
641 | + | let dT = dQ._3 | |
642 | + | let dU = dQ._4 | |
643 | + | let dV = dQ._5 | |
644 | + | let dW = dQ._6 | |
645 | + | let bh = invoke(dL, "calcD", [toString(dR), toString(dS), ax, g, h], nil) | |
646 | + | let bg = invoke(dL, "calcD", [toString(toBigInt(((dR + dT) - dW))), toString(toBigInt(((dS + dV) - dU))), ax, g, h], nil) | |
647 | + | let dX = bf(parseBigIntValue(ap(bg)), parseBigIntValue(ap(bh)), f) | |
648 | + | if ((dX == dX)) | |
644 | 649 | then { | |
645 | - | let | |
646 | - | let | |
647 | - | let | |
648 | - | let | |
649 | - | let | |
650 | - | let | |
651 | - | let | |
652 | - | let | |
653 | - | let | |
654 | - | if (( | |
650 | + | let dY = dh(toString(df.caller), toBase58String(df.transactionId), AttachedPayment(fromBase58String(bK), dI), AttachedPayment(fromBase58String(bL), dJ), bc, true, true, cl, bG) | |
651 | + | let dZ = dY._2 | |
652 | + | let dB = dY._7 | |
653 | + | let cc = dY._9 | |
654 | + | let cL = dY._10 | |
655 | + | let cM = dY._11 | |
656 | + | let ea = aZ(toBigInt(dZ), toBigInt(dK), toBigInt(bc)) | |
657 | + | let cK = toInt(ea._2) | |
658 | + | let dA = invoke(aw, "emit", [cK], nil) | |
659 | + | if ((dA == dA)) | |
655 | 660 | then { | |
656 | - | let | |
657 | - | let aq = | |
661 | + | let dC = { | |
662 | + | let aq = dA | |
658 | 663 | if ($isInstanceOf(aq, "Address")) | |
659 | 664 | then { | |
660 | - | let | |
661 | - | invoke( | |
665 | + | let dD = aq | |
666 | + | invoke(dD, "emit", [cK], nil) | |
662 | 667 | } | |
663 | 668 | else unit | |
664 | 669 | } | |
665 | - | if (( | |
670 | + | if ((dC == dC)) | |
666 | 671 | then { | |
667 | - | let | |
668 | - | then invoke( | |
672 | + | let dE = if ((cL > 0)) | |
673 | + | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bK), cL)]) | |
669 | 674 | else nil | |
670 | - | if (( | |
675 | + | if ((dE == dE)) | |
671 | 676 | then { | |
672 | - | let | |
673 | - | then invoke( | |
677 | + | let dF = if ((cM > 0)) | |
678 | + | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bL), cM)]) | |
674 | 679 | else nil | |
675 | - | if (( | |
680 | + | if ((dF == dF)) | |
676 | 681 | then { | |
677 | - | let | |
682 | + | let dG = if (dw) | |
678 | 683 | then { | |
679 | - | let | |
680 | - | if (( | |
684 | + | let dH = invoke(dy, "stake", nil, [AttachedPayment(dB, cK)]) | |
685 | + | if ((dH == dH)) | |
681 | 686 | then nil | |
682 | 687 | else throw("Strict value is not equal to itself.") | |
683 | 688 | } | |
684 | - | else [ScriptTransfer( | |
685 | - | ( | |
689 | + | else [ScriptTransfer(df.caller, cK, dB)] | |
690 | + | (cc ++ dG) | |
686 | 691 | } | |
687 | 692 | else throw("Strict value is not equal to itself.") | |
688 | 693 | } | |
689 | 694 | else throw("Strict value is not equal to itself.") | |
690 | 695 | } | |
691 | 696 | else throw("Strict value is not equal to itself.") | |
692 | 697 | } | |
693 | 698 | else throw("Strict value is not equal to itself.") | |
694 | 699 | } | |
695 | 700 | else throw("Strict value is not equal to itself.") | |
696 | 701 | } | |
697 | 702 | } | |
698 | 703 | else throw("Strict value is not equal to itself.") | |
699 | 704 | } | |
700 | 705 | ||
701 | 706 | ||
702 | 707 | ||
703 | - | @Callable( | |
704 | - | func putForFree ( | |
708 | + | @Callable(df) | |
709 | + | func putForFree (eb) = if ((0 > eb)) | |
705 | 710 | then throw("Wrong slpg") | |
706 | - | else if ((size( | |
711 | + | else if ((size(df.payments) != 2)) | |
707 | 712 | then throw("2 pmnts expd") | |
708 | 713 | else { | |
709 | - | let | |
710 | - | | |
714 | + | let dY = dh(toString(df.caller), toBase58String(df.transactionId), AttachedPayment(value(df.payments[0]).assetId, value(df.payments[0]).amount), df.payments[1], eb, false, false, 0, "") | |
715 | + | dY._9 | |
711 | 716 | } | |
712 | 717 | ||
713 | 718 | ||
714 | 719 | ||
715 | - | @Callable( | |
720 | + | @Callable(df) | |
716 | 721 | func get () = { | |
717 | - | let | |
718 | - | let | |
719 | - | let | |
720 | - | let | |
721 | - | let | |
722 | - | let | |
723 | - | let | |
724 | - | if (( | |
725 | - | then | |
722 | + | let cx = de(df) | |
723 | + | let ec = cx._1 | |
724 | + | let cb = cx._2 | |
725 | + | let cl = cx._3 | |
726 | + | let bG = cx._4 | |
727 | + | let cc = cx._5 | |
728 | + | let ed = invoke(aw, "burn", [cl], [AttachedPayment(bG, cl)]) | |
729 | + | if ((ed == ed)) | |
730 | + | then cc | |
726 | 731 | else throw("Strict value is not equal to itself.") | |
727 | 732 | } | |
728 | 733 | ||
729 | 734 | ||
730 | 735 | ||
731 | - | @Callable( | |
732 | - | func getOneTkn ( | |
736 | + | @Callable(df) | |
737 | + | func getOneTkn (ee,ef,eg,eh,bc) = if ((size(df.payments) != 1)) | |
733 | 738 | then throw("1 pmnt expd") | |
734 | 739 | else { | |
735 | - | let | |
736 | - | let | |
737 | - | let | |
738 | - | let | |
739 | - | let | |
740 | - | let | |
741 | - | let | |
742 | - | let | |
743 | - | let | |
744 | - | let | |
745 | - | let | |
746 | - | let | |
747 | - | then | |
748 | - | else | |
749 | - | let | |
750 | - | let | |
751 | - | let | |
752 | - | let | |
753 | - | let | |
754 | - | if (( | |
755 | - | then if ((1000000000 > | |
740 | + | let bv = aA() | |
741 | + | let bJ = bv[q] | |
742 | + | let bK = bv[r] | |
743 | + | let bL = bv[s] | |
744 | + | let bM = parseIntValue(bv[t]) | |
745 | + | let bN = parseIntValue(bv[u]) | |
746 | + | let bO = bv[p] | |
747 | + | let dx = aE() | |
748 | + | let dL = valueOrErrorMessage(addressFromString(dx[z]), "Wr sl addr") | |
749 | + | let dg = value(df.payments[0]) | |
750 | + | let dN = valueOrElse(getString(this, aa()), "") | |
751 | + | let bI = if ((dN == toString(df.caller))) | |
752 | + | then df.originCaller | |
753 | + | else df.caller | |
754 | + | let bF = toBase58String(df.transactionId) | |
755 | + | let bG = value(dg.assetId) | |
756 | + | let cl = dg.amount | |
757 | + | let dO = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(aa()), "no addons")), "addon address in not valid") | |
758 | + | let dP = reentrantInvoke(dO, "ensureCanGetOrPutOneTkn", [toString(bI)], nil) | |
759 | + | if ((dP == dP)) | |
760 | + | then if ((1000000000 > cl)) | |
756 | 761 | then throw("Min pmt 10 LP") | |
757 | 762 | else if (if (if ((0 > bc)) | |
758 | 763 | then true | |
759 | - | else (0 > | |
764 | + | else (0 > ee)) | |
760 | 765 | then true | |
761 | - | else (0 > | |
766 | + | else (0 > eg)) | |
762 | 767 | then throw("Wrong params") | |
763 | - | else if (( | |
768 | + | else if ((bJ != toBase58String(bG))) | |
764 | 769 | then throw("Wrong LP") | |
765 | 770 | else { | |
766 | - | let | |
767 | - | let | |
768 | - | let | |
769 | - | let | |
770 | - | let | |
771 | - | let | |
772 | - | then $Tuple7(( | |
773 | - | else if (( | |
774 | - | then $Tuple7(( | |
771 | + | let cx = bE(toBase58String(df.transactionId), toBase58String(bG), cl, df.caller) | |
772 | + | let ei = cx._1 | |
773 | + | let ej = cx._2 | |
774 | + | let bQ = aU(bK) | |
775 | + | let bS = aU(bL) | |
776 | + | let ek = if ((eh == bK)) | |
777 | + | then $Tuple7((bQ - ei), (bS - ej), ee, ej, 0, 0, (ei + ee)) | |
778 | + | else if ((eh == bL)) | |
779 | + | then $Tuple7((bQ - ei), (bS - ej), 0, 0, ee, ei, (ej + ee)) | |
775 | 780 | else throw("wrong outAssetId") | |
776 | - | let | |
777 | - | let | |
778 | - | let | |
779 | - | let | |
780 | - | let | |
781 | - | let | |
782 | - | let | |
783 | - | if (if ((0 > | |
781 | + | let dR = ek._1 | |
782 | + | let dS = ek._2 | |
783 | + | let dT = ek._3 | |
784 | + | let dU = ek._4 | |
785 | + | let dV = ek._5 | |
786 | + | let dW = ek._6 | |
787 | + | let el = ek._7 | |
788 | + | if (if ((0 > dT)) | |
784 | 789 | then true | |
785 | - | else (0 > | |
790 | + | else (0 > dV)) | |
786 | 791 | then throw("Wrong calc") | |
787 | 792 | else { | |
788 | - | let bh = invoke( | |
789 | - | let bg = invoke( | |
790 | - | let | |
791 | - | if (( | |
793 | + | let bh = invoke(dL, "calcD", [toString(dR), toString(dS), ax, g, h], nil) | |
794 | + | let bg = invoke(dL, "calcD", [toString(((dR - dT) + dW)), toString(((dS + dU) - dV)), ax, g, h], nil) | |
795 | + | let dX = bf(parseBigIntValue(ap(bg)), parseBigIntValue(ap(bh)), f) | |
796 | + | if ((dX == dX)) | |
792 | 797 | then { | |
793 | - | let | |
794 | - | if (( | |
798 | + | let em = aZ(toBigInt(el), toBigInt(eg), toBigInt(bc)) | |
799 | + | if ((em == em)) | |
795 | 800 | then { | |
796 | - | let | |
797 | - | then $Tuple2(toInt( | |
798 | - | else $Tuple2(0, toInt( | |
799 | - | let | |
800 | - | let | |
801 | - | let | |
802 | - | let | |
803 | - | let | |
801 | + | let en = if ((eh == bK)) | |
802 | + | then $Tuple2(toInt(em._2), 0) | |
803 | + | else $Tuple2(0, toInt(em._2)) | |
804 | + | let eo = en._1 | |
805 | + | let ep = en._2 | |
806 | + | let eq = aW(B(bS, bN), B(bQ, bM)) | |
807 | + | let er = E(eq, a) | |
808 | + | let cc = [ScriptTransfer(bI, (eo + ep), if ((eh == "WAVES")) | |
804 | 809 | then unit | |
805 | - | else fromBase58String( | |
806 | - | if (( | |
810 | + | else fromBase58String(eh)), StringEntry(W(toString(bI), bF), aQ(eo, ep, cl, er, height, lastBlock.timestamp)), IntegerEntry(P(), er), IntegerEntry(Q(height, lastBlock.timestamp), er)] | |
811 | + | if ((cc == cc)) | |
807 | 812 | then { | |
808 | - | let | |
809 | - | if (( | |
810 | - | then | |
813 | + | let es = invoke(aw, "burn", [cl], [AttachedPayment(bG, cl)]) | |
814 | + | if ((es == es)) | |
815 | + | then cc | |
811 | 816 | else throw("Strict value is not equal to itself.") | |
812 | 817 | } | |
813 | 818 | else throw("Strict value is not equal to itself.") | |
814 | 819 | } | |
815 | 820 | else throw("Strict value is not equal to itself.") | |
816 | 821 | } | |
817 | 822 | else throw("Strict value is not equal to itself.") | |
818 | 823 | } | |
819 | 824 | } | |
820 | 825 | else throw("Strict value is not equal to itself.") | |
821 | 826 | } | |
822 | 827 | ||
823 | 828 | ||
824 | 829 | ||
825 | - | @Callable( | |
826 | - | func getNoLess ( | |
827 | - | let | |
828 | - | let | |
829 | - | let | |
830 | - | let | |
831 | - | let | |
832 | - | let | |
833 | - | if (( | |
834 | - | then throw(((("Failed: " + toString( | |
835 | - | else if (( | |
836 | - | then throw(((("Failed: " + toString( | |
830 | + | @Callable(df) | |
831 | + | func getNoLess (et,eu) = { | |
832 | + | let cx = de(df) | |
833 | + | let ca = cx._1 | |
834 | + | let cb = cx._2 | |
835 | + | let cl = cx._3 | |
836 | + | let bG = cx._4 | |
837 | + | let cc = cx._5 | |
838 | + | if ((et > ca)) | |
839 | + | then throw(((("Failed: " + toString(ca)) + " < ") + toString(et))) | |
840 | + | else if ((eu > cb)) | |
841 | + | then throw(((("Failed: " + toString(cb)) + " < ") + toString(eu))) | |
837 | 842 | else { | |
838 | - | let | |
839 | - | if (( | |
840 | - | then | |
843 | + | let ev = invoke(aw, "burn", [cl], [AttachedPayment(bG, cl)]) | |
844 | + | if ((ev == ev)) | |
845 | + | then cc | |
841 | 846 | else throw("Strict value is not equal to itself.") | |
842 | 847 | } | |
843 | 848 | } | |
844 | 849 | ||
845 | 850 | ||
846 | 851 | ||
847 | - | @Callable( | |
848 | - | func unstakeAndGet ( | |
849 | - | let | |
852 | + | @Callable(df) | |
853 | + | func unstakeAndGet (ew) = { | |
854 | + | let ex = if ((size(df.payments) != 0)) | |
850 | 855 | then throw("No pmnts expd") | |
851 | 856 | else true | |
852 | - | if (( | |
857 | + | if ((ex == ex)) | |
853 | 858 | then { | |
854 | - | let | |
855 | - | let | |
856 | - | let | |
857 | - | let | |
858 | - | let | |
859 | - | if (( | |
859 | + | let bv = aA() | |
860 | + | let ey = aE() | |
861 | + | let dB = fromBase58String(bv[q]) | |
862 | + | let ez = valueOrErrorMessage(addressFromString(ey[x]), "Wr st addr") | |
863 | + | let eA = invoke(ez, "unstake", [toBase58String(dB), ew], nil) | |
864 | + | if ((eA == eA)) | |
860 | 865 | then { | |
861 | - | let | |
862 | - | let | |
863 | - | let | |
864 | - | let | |
866 | + | let cx = bE(toBase58String(df.transactionId), toBase58String(dB), ew, df.caller) | |
867 | + | let bO = parseIntValue(cx._9) | |
868 | + | let cc = cx._10 | |
869 | + | let eB = if (if (ay()) | |
865 | 870 | then true | |
866 | - | else ( | |
867 | - | then throw(("Blocked: " + toString( | |
871 | + | else (bO == n)) | |
872 | + | then throw(("Blocked: " + toString(bO))) | |
868 | 873 | else true | |
869 | - | if (( | |
874 | + | if ((eB == eB)) | |
870 | 875 | then { | |
871 | - | let | |
872 | - | if (( | |
873 | - | then | |
876 | + | let eC = invoke(aw, "burn", [ew], [AttachedPayment(dB, ew)]) | |
877 | + | if ((eC == eC)) | |
878 | + | then cc | |
874 | 879 | else throw("Strict value is not equal to itself.") | |
875 | 880 | } | |
876 | 881 | else throw("Strict value is not equal to itself.") | |
877 | 882 | } | |
878 | 883 | else throw("Strict value is not equal to itself.") | |
879 | 884 | } | |
880 | 885 | else throw("Strict value is not equal to itself.") | |
881 | 886 | } | |
882 | 887 | ||
883 | 888 | ||
884 | 889 | ||
885 | - | @Callable( | |
886 | - | func activate ( | |
890 | + | @Callable(df) | |
891 | + | func activate (eD,eE) = if ((toString(df.caller) != toString(aw))) | |
887 | 892 | then throw("denied") | |
888 | - | else $Tuple2([StringEntry(X(), | |
893 | + | else $Tuple2([StringEntry(X(), eD), StringEntry(Y(), eE)], "success") | |
889 | 894 | ||
890 | 895 | ||
891 | 896 | ||
892 | - | @Callable( | |
893 | - | func setS ( | |
894 | - | then | |
895 | - | else [StringEntry( | |
897 | + | @Callable(df) | |
898 | + | func setS (eF,eB) = if ((toString(df.caller) != as(this, aa()))) | |
899 | + | then dn | |
900 | + | else [StringEntry(eF, eB)] | |
896 | 901 | ||
897 | 902 | ||
898 | 903 | ||
899 | - | @Callable( | |
900 | - | func setI ( | |
901 | - | then | |
902 | - | else [IntegerEntry( | |
904 | + | @Callable(df) | |
905 | + | func setI (eF,eB) = if ((toString(df.caller) != as(this, aa()))) | |
906 | + | then dn | |
907 | + | else [IntegerEntry(eF, eB)] | |
903 | 908 | ||
904 | 909 | ||
905 | 910 | ||
906 | - | @Callable( | |
911 | + | @Callable(df) | |
907 | 912 | func getPoolConfigWrapperREADONLY () = $Tuple2(nil, aA()) | |
908 | 913 | ||
909 | 914 | ||
910 | 915 | ||
911 | - | @Callable( | |
916 | + | @Callable(df) | |
912 | 917 | func getAccBalanceWrapperREADONLY (aV) = $Tuple2(nil, aU(aV)) | |
913 | 918 | ||
914 | 919 | ||
915 | 920 | ||
916 | - | @Callable( | |
917 | - | func calcPricesWrapperREADONLY ( | |
918 | - | let | |
919 | - | $Tuple2(nil, [toString( | |
921 | + | @Callable(df) | |
922 | + | func calcPricesWrapperREADONLY (bp,bq,bu) = { | |
923 | + | let eG = bt(bp, bq, bu) | |
924 | + | $Tuple2(nil, [toString(eG[0]), toString(eG[1]), toString(eG[2])]) | |
920 | 925 | } | |
921 | 926 | ||
922 | 927 | ||
923 | 928 | ||
924 | - | @Callable( | |
925 | - | func fromX18WrapperREADONLY (F, | |
929 | + | @Callable(df) | |
930 | + | func fromX18WrapperREADONLY (F,eH) = $Tuple2(nil, E(parseBigIntValue(F), eH)) | |
926 | 931 | ||
927 | 932 | ||
928 | 933 | ||
929 | - | @Callable( | |
934 | + | @Callable(df) | |
930 | 935 | func toX18WrapperREADONLY (C,D) = $Tuple2(nil, toString(B(C, D))) | |
931 | 936 | ||
932 | 937 | ||
933 | 938 | ||
934 | - | @Callable( | |
939 | + | @Callable(df) | |
935 | 940 | func calcPriceBigIntWrapperREADONLY (aX,aY) = $Tuple2(nil, toString(aW(parseBigIntValue(aX), parseBigIntValue(aY)))) | |
936 | 941 | ||
937 | 942 | ||
938 | 943 | ||
939 | - | @Callable( | |
940 | - | func estimatePutOperationWrapperREADONLY ( | |
944 | + | @Callable(df) | |
945 | + | func estimatePutOperationWrapperREADONLY (bF,bc,ce,cf,cg,ch,eI,ci,cj) = $Tuple2(nil, cd(bF, bc, ce, cf, cg, ch, eI, ci, cj, false, 0, "")) | |
941 | 946 | ||
942 | 947 | ||
943 | 948 | ||
944 | - | @Callable( | |
945 | - | func estimateGetOperationWrapperREADONLY ( | |
946 | - | let | |
947 | - | $Tuple2(nil, $Tuple10( | |
949 | + | @Callable(df) | |
950 | + | func estimateGetOperationWrapperREADONLY (bF,eJ,bH,eI) = { | |
951 | + | let cx = bE(bF, eJ, bH, addressFromStringValue(eI)) | |
952 | + | $Tuple2(nil, $Tuple10(cx._1, cx._2, cx._3, cx._4, cx._5, cx._6, cx._7, toString(cx._8), cx._9, cx._10)) | |
948 | 953 | } | |
949 | 954 | ||
950 | 955 | ||
951 | - | @Verifier( | |
952 | - | func | |
953 | - | let aq = | |
956 | + | @Verifier(eK) | |
957 | + | func eL () = { | |
958 | + | let aq = eK | |
954 | 959 | if ($isInstanceOf(aq, "Order")) | |
955 | 960 | then { | |
956 | - | let | |
957 | - | let | |
958 | - | let am = | |
959 | - | let | |
960 | - | let | |
961 | + | let cS = aq | |
962 | + | let eM = az() | |
963 | + | let am = cR(cS) | |
964 | + | let eN = sigVerify(cS.bodyBytes, cS.proofs[0], cS.senderPublicKey) | |
965 | + | let eO = sigVerify(cS.bodyBytes, cS.proofs[1], eM) | |
961 | 966 | if (if (if (am) | |
962 | - | then eM | |
963 | - | else false) | |
964 | 967 | then eN | |
965 | 968 | else false) | |
969 | + | then eO | |
970 | + | else false) | |
966 | 971 | then true | |
967 | - | else al(am, | |
972 | + | else al(am, eN, eO) | |
968 | 973 | } | |
969 | 974 | else { | |
970 | - | let | |
971 | - | let | |
972 | - | if ($isInstanceOf( | |
975 | + | let eP = { | |
976 | + | let eQ = dk() | |
977 | + | if ($isInstanceOf(eQ, "ByteVector")) | |
973 | 978 | then { | |
974 | - | let | |
975 | - | | |
979 | + | let dp = eQ | |
980 | + | dp | |
976 | 981 | } | |
977 | - | else if ($isInstanceOf( | |
978 | - | then | |
982 | + | else if ($isInstanceOf(eQ, "Unit")) | |
983 | + | then eK.senderPublicKey | |
979 | 984 | else throw("Match error") | |
980 | 985 | } | |
981 | - | sigVerify( | |
986 | + | sigVerify(eK.bodyBytes, eK.proofs[0], eP) | |
982 | 987 | } | |
983 | 988 | } | |
984 | 989 |
github/deemru/w8io/026f985 299.82 ms ◑