tx · HrYmWNzyHft45jNm2oSb2azkTdfvvAQAeqHWKtjwUW8k 3N9be2mwrA52WJho6DiesZkk4351GvpnWuj: -0.01400000 Waves 2022.03.24 09:26 [1977639] smart account 3N9be2mwrA52WJho6DiesZkk4351GvpnWuj > SELF 0.00000000 Waves
{ "type": 13, "id": "HrYmWNzyHft45jNm2oSb2azkTdfvvAQAeqHWKtjwUW8k", "fee": 1400000, "feeAssetId": null, "timestamp": 1648103221142, "version": 1, "sender": "3N9be2mwrA52WJho6DiesZkk4351GvpnWuj", "senderPublicKey": "6mzmbCza9iqbzxMEELcEA4Xc9NeF4CYpbTtz1zMK3C7x", "proofs": [ "4c1qoFtPJDqoCZ49ZVPfg945fmydBLDTVrqhYnwb2PuEjiUDZZwRfAuo6LrdGMKYBoWjiYYkd3fk98yxn2NJKRNn", "5tvonumqXTvB1uMMdM3EeCjLrCe45tSDa58nt5TzRX9WPfJ74MBRSTcAjV9pdKZ9upimd77SNxrNcBfqkCHD4CJm", "4n5saztkTZKo3DSwDN4eBXWHkhchL9RarH8k4m7oWRLBFauQLywYCH2dJTeoQc3XXALXS8kUkHe9tGBuyDGfYai5" ], "script": "base64:AAIFAAAAAAAAADQIAhIOCgwICAgICAgBAQEBAQESBQoDCAgBEgASABIFCgMIAQgSABIECgIBCBIAEgQKAggBAAAAdQEAAAAOZ2V0TnVtYmVyQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkAAAAAAAAAAAABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AgAAAAABAAAADGdldEJvb2xCeUtleQAAAAEAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQcBAAAAGGdldE51bWJlckJ5QWRkcmVzc0FuZEtleQAAA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AAAAAA8kz8tE=", "chainId": 84, "height": 1977639, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GYffL1ZfVL6Lwz5DfunscQ3hkzUvnyFiBCKMMKSYkZD5 Next: FtDNSChYhtAPm16gApha11hdpHjD7oyD4GUyieiUry2c Diff:
Old | New | Differences | |
---|---|---|---|
412 | 412 | } | |
413 | 413 | ||
414 | 414 | ||
415 | - | @Callable(cr) | |
416 | - | func commonWithdraw (cR,X,bZ,bR) = { | |
417 | - | let cS = cq(cr) | |
418 | - | if ((cS == cS)) | |
419 | - | then if ((size(cr.payments) != 0)) | |
420 | - | then throw("no payments allowed") | |
421 | - | else { | |
422 | - | let aw = addressFromStringValue(cR) | |
423 | - | let cT = ay() | |
424 | - | let bX = bY(cR, bZ) | |
425 | - | let bP = parseIntValue(bX[by]) | |
426 | - | let ai = bX[bo] | |
427 | - | let bI = parseIntValue(bX[bq]) | |
428 | - | let cU = bX[bp] | |
429 | - | let bL = parseIntValue(bX[bu]) | |
430 | - | let cV = valueOrElse(getInteger(this, an(ai)), x) | |
431 | - | let cJ = ar(ai) | |
432 | - | let cK = as(ai, cR) | |
433 | - | let aM = (bL + getIntegerValue(this, al(ai))) | |
434 | - | let aL = bm(X) | |
435 | - | let aN = bm((X - 1)) | |
436 | - | let cM = bl(aL) | |
437 | - | let cW = if ((ai == "waves")) | |
438 | - | then $Tuple2(aC(bI, cM), aQ) | |
439 | - | else if ((ai == "neutrino")) | |
440 | - | then $Tuple2(az(bI, cM), unit) | |
441 | - | else throw(("Unsupported swap type " + ai)) | |
442 | - | let cX = cb(cW._1, cV) | |
443 | - | let bJ = cX[y] | |
444 | - | let bK = cX[z] | |
445 | - | if (aV) | |
446 | - | then aI() | |
447 | - | else if ((cU != "PENDING")) | |
448 | - | then throw("swap has been already processed") | |
449 | - | else if ((aM > height)) | |
450 | - | then throw((("please wait for: " + toString(aM)) + " block height to withdraw funds")) | |
451 | - | else if (if (if ((X > aK)) | |
452 | - | then true | |
453 | - | else (aM > aL)) | |
454 | - | then true | |
455 | - | else if ((aN != 0)) | |
456 | - | then (aN >= aM) | |
415 | + | func cR (cS,X,bZ,bR) = { | |
416 | + | let aw = addressFromStringValue(cS) | |
417 | + | let cT = ay() | |
418 | + | let bX = bY(cS, bZ) | |
419 | + | let bP = parseIntValue(bX[by]) | |
420 | + | let ai = bX[bo] | |
421 | + | let bI = parseIntValue(bX[bq]) | |
422 | + | let cU = bX[bp] | |
423 | + | let bL = parseIntValue(bX[bu]) | |
424 | + | let cV = valueOrElse(getInteger(this, an(ai)), x) | |
425 | + | let cJ = ar(ai) | |
426 | + | let cK = as(ai, cS) | |
427 | + | let aM = (bL + getIntegerValue(this, al(ai))) | |
428 | + | let aL = bm(X) | |
429 | + | let aN = bm((X - 1)) | |
430 | + | let cM = bl(aL) | |
431 | + | let cW = if ((ai == "waves")) | |
432 | + | then $Tuple2(aC(bI, cM), aQ) | |
433 | + | else if ((ai == "neutrino")) | |
434 | + | then $Tuple2(az(bI, cM), unit) | |
435 | + | else throw(("Unsupported swap type " + ai)) | |
436 | + | let cX = cb(cW._1, cV) | |
437 | + | let bJ = cX[y] | |
438 | + | let bK = cX[z] | |
439 | + | if (aV) | |
440 | + | then aI() | |
441 | + | else if ((cU != "PENDING")) | |
442 | + | then throw("swap has been already processed") | |
443 | + | else if ((aM > height)) | |
444 | + | then throw((("please wait for: " + toString(aM)) + " block height to withdraw funds")) | |
445 | + | else if (if (if ((X > aK)) | |
446 | + | then true | |
447 | + | else (aM > aL)) | |
448 | + | then true | |
449 | + | else if ((aN != 0)) | |
450 | + | then (aN >= aM) | |
451 | + | else false) | |
452 | + | then aJ(X, aK, aL, aM, aN) | |
453 | + | else if ((0 >= cX[A])) | |
454 | + | then throw("balance equals zero") | |
455 | + | else if (if ((0 > cV)) | |
456 | + | then true | |
457 | + | else (cV >= v)) | |
458 | + | then throw(((("invalid outFeePart config for " + ai) + " swap: outFeePart=") + toString(cV))) | |
459 | + | else { | |
460 | + | let cQ = if (if ((ai == "neutrino")) | |
461 | + | then (cW._1 > 0) | |
457 | 462 | else false) | |
458 | - | then aJ(X, aK, aL, aM, aN) | |
459 | - | else if ((0 >= cX[A])) | |
460 | - | then throw("balance equals zero") | |
461 | - | else if (if ((0 > cV)) | |
462 | - | then true | |
463 | - | else (cV >= v)) | |
464 | - | then throw(((("invalid outFeePart config for " + ai) + " swap: outFeePart=") + toString(cV))) | |
465 | - | else { | |
466 | - | let cQ = if (if ((ai == "neutrino")) | |
467 | - | then (cW._1 > 0) | |
468 | - | else false) | |
469 | - | then cs(cW._1) | |
470 | - | else nil | |
471 | - | let cY = invoke(bb, "deposit", nil, [AttachedPayment(cW._2, bK)]) | |
472 | - | if ((cY == cY)) | |
473 | - | then $Tuple2((cQ ++ [IntegerEntry(ak(ai, cR), (cK - bI)), IntegerEntry(aj(ai), (cJ - bI)), ScriptTransfer(aw, bJ, cW._2), StringEntry(bE(cR, bZ), bW(bX, cM, bJ, bK, aM, X, toBase58String(cr.transactionId)))]), unit) | |
474 | - | else throw("Strict value is not equal to itself.") | |
475 | - | } | |
476 | - | } | |
477 | - | else throw("Strict value is not equal to itself.") | |
463 | + | then cs(cW._1) | |
464 | + | else nil | |
465 | + | let cY = (cQ ++ [IntegerEntry(ak(ai, cS), (cK - bI)), IntegerEntry(aj(ai), (cJ - bI)), ScriptTransfer(aw, bJ, cW._2), StringEntry(bE(cS, bZ), bW(bX, cM, bJ, bK, aM, X, bR))]) | |
466 | + | $Tuple2(cY, AttachedPayment(cW._2, bK)) | |
467 | + | } | |
478 | 468 | } | |
479 | - | ||
480 | 469 | ||
481 | 470 | ||
482 | 471 | @Callable(cr) | |
483 | 472 | func constructor (cZ,da,db,dc,dd,de,df,dg,dh,di,dj,dk) = { | |
484 | - | let | |
485 | - | if (( | |
473 | + | let dl = cq(cr) | |
474 | + | if ((dl == dl)) | |
486 | 475 | then if ((size(cr.payments) != 0)) | |
487 | 476 | then throw("no payments allowed") | |
488 | 477 | else [StringEntry(B, cZ), StringEntry(C, da), StringEntry(D, db), StringEntry(F, dc), StringEntry(G, dd), StringEntry(N, de), IntegerEntry(J, df), IntegerEntry(K, dg), IntegerEntry(L, dh), IntegerEntry(M, di), IntegerEntry(O, dj), IntegerEntry(P, dk)] | |
492 | 481 | ||
493 | 482 | ||
494 | 483 | @Callable(cr) | |
495 | - | func constructorV2 (ba,bb, | |
496 | - | let | |
497 | - | if (( | |
484 | + | func constructorV2 (ba,bb,dm) = { | |
485 | + | let dl = cq(cr) | |
486 | + | if ((dl == dl)) | |
498 | 487 | then if ((size(cr.payments) != 0)) | |
499 | 488 | then throw("no payments allowed") | |
500 | - | else [StringEntry(I, ba), StringEntry(E, bb), IntegerEntry(ao(), | |
489 | + | else [StringEntry(I, ba), StringEntry(E, bb), IntegerEntry(ao(), dm)] | |
501 | 490 | else throw("Strict value is not equal to itself.") | |
502 | 491 | } | |
503 | 492 | ||
504 | 493 | ||
505 | 494 | ||
506 | 495 | @Callable(cr) | |
507 | - | func swapWavesToNeutrino () = | |
508 | - | | |
509 | - | | |
510 | - | | |
511 | - | | |
512 | - | then throw(" | |
496 | + | func swapWavesToNeutrino () = if ((size(cr.payments) != 1)) | |
497 | + | then throw("swapWavesToNeutrino require only one payment") | |
498 | + | else { | |
499 | + | let dn = value(cr.payments[0]) | |
500 | + | if (isDefined(dn.assetId)) | |
501 | + | then throw("Only Waves token is allowed for swapping.") | |
513 | 502 | else { | |
514 | 503 | let aw = toString(cr.caller) | |
515 | 504 | let cD = toBase58String(cr.transactionId) | |
516 | - | let | |
517 | - | let | |
518 | - | | |
505 | + | let do = q(invoke(this, "swapParamsByUserSYSREADONLY", [aw, 0], nil)) | |
506 | + | let dp = cA("waves", dn.amount, aw, cD, do) | |
507 | + | dp | |
519 | 508 | } | |
520 | - | } | |
509 | + | } | |
521 | 510 | ||
522 | 511 | ||
523 | 512 | ||
524 | 513 | @Callable(cr) | |
525 | - | func swapNeutrinoToWaves () = | |
526 | - | | |
527 | - | | |
528 | - | | |
529 | - | | |
530 | - | then throw(" | |
514 | + | func swapNeutrinoToWaves () = if ((size(cr.payments) != 1)) | |
515 | + | then throw("swapNeutrinoToWaves require only one payment") | |
516 | + | else { | |
517 | + | let dn = value(cr.payments[0]) | |
518 | + | if ((dn.assetId != aQ)) | |
519 | + | then throw("Only appropriate Neutrino tokens are allowed for swapping.") | |
531 | 520 | else { | |
532 | 521 | let aw = toString(cr.caller) | |
533 | 522 | let cD = toBase58String(cr.transactionId) | |
534 | - | let | |
535 | - | let | |
536 | - | | |
523 | + | let do = q(invoke(this, "swapParamsByUserSYSREADONLY", [aw, 0], nil)) | |
524 | + | let dp = cA("neutrino", dn.amount, aw, cD, do) | |
525 | + | dp | |
537 | 526 | } | |
538 | - | } | |
527 | + | } | |
539 | 528 | ||
540 | 529 | ||
541 | 530 | ||
542 | 531 | @Callable(cr) | |
543 | - | func withdraw ( | |
532 | + | func withdraw (cS,X,bZ) = if ((size(cr.payments) != 0)) | |
544 | 533 | then throw("no payments allowed") | |
545 | 534 | else { | |
546 | - | let dp = invoke(this, "commonWithdraw", [cR, X, bZ, toBase58String(cr.transactionId)], nil) | |
547 | - | if ((dp == dp)) | |
548 | - | then nil | |
535 | + | let dq = cR(cS, X, bZ, toBase58String(cr.transactionId)) | |
536 | + | let cY = dq._1 | |
537 | + | let dr = dq._2 | |
538 | + | let ds = invoke(bb, "deposit", nil, [dr]) | |
539 | + | if ((ds == ds)) | |
540 | + | then cY | |
549 | 541 | else throw("Strict value is not equal to itself.") | |
550 | 542 | } | |
551 | 543 | ||
555 | 547 | func transferToAuction () = if ((size(cr.payments) != 0)) | |
556 | 548 | then throw("no payments allowed") | |
557 | 549 | else { | |
558 | - | let | |
559 | - | let | |
560 | - | let | |
561 | - | let | |
562 | - | let | |
563 | - | let | |
564 | - | let | |
550 | + | let dt = i(invoke(ba, "calcNeutinoMetricsREADONLY", nil, nil)) | |
551 | + | let du = o(dt[3]) | |
552 | + | let dv = o(dt[5]) | |
553 | + | let dw = o(dt[6]) | |
554 | + | let dx = o(dt[9]) | |
555 | + | let dy = (dv - assetBalance(addressFromStringValue(aR), aX)) | |
556 | + | let dz = (dw - assetBalance(addressFromStringValue(aO), aQ)) | |
565 | 557 | if (aV) | |
566 | 558 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
567 | - | else if (( | |
568 | - | then [ScriptTransfer(addressFromStringValue(aR), | |
569 | - | else if (( | |
570 | - | then [ScriptTransfer(addressFromStringValue(aO), | |
571 | - | else throw(((((((("bond were generated or do not need it. Deficit:" + toString( | |
559 | + | else if ((dy > (1 * v))) | |
560 | + | then [ScriptTransfer(addressFromStringValue(aR), dy, aX)] | |
561 | + | else if ((dz >= (1 * v))) | |
562 | + | then [ScriptTransfer(addressFromStringValue(aO), dz, aQ)] | |
563 | + | else throw(((((((("bond were generated or do not need it. Deficit:" + toString(dy)) + "|") + toString(0)) + ". Surplus:") + toString(dz)) + "|") + toString(dw))) | |
572 | 564 | } | |
573 | 565 | ||
574 | 566 | ||
575 | 567 | ||
576 | 568 | @Callable(cr) | |
577 | - | func transferUsdnToUser (aA, | |
569 | + | func transferUsdnToUser (aA,dA) = if ((cr.caller != addressFromStringValue(aR))) | |
578 | 570 | then throw("Only auction contract is authorized") | |
579 | - | else [ScriptTransfer(addressFromStringValue( | |
571 | + | else [ScriptTransfer(addressFromStringValue(dA), aA, aQ)] | |
580 | 572 | ||
581 | 573 | ||
582 | 574 | ||
588 | 580 | ||
589 | 581 | ||
590 | 582 | @Callable(cr) | |
591 | - | func swapParamsByUserSYSREADONLY (cC, | |
592 | - | let | |
593 | - | if (( | |
583 | + | func swapParamsByUserSYSREADONLY (cC,dB) = { | |
584 | + | let dC = i(invoke(bb, "nsbtStakingSYSREADONLY", [cC], nil)) | |
585 | + | if ((dC == dC)) | |
594 | 586 | then { | |
595 | - | let | |
596 | - | let | |
597 | - | let cG = o(invoke(ba, "calcSwapLimitREADONLY", [ | |
598 | - | let | |
599 | - | let | |
600 | - | let | |
601 | - | let | |
602 | - | let cH = if ( | |
587 | + | let dD = (o(dC[0]) + dB) | |
588 | + | let dE = (o(dC[1]) + dB) | |
589 | + | let cG = o(invoke(ba, "calcSwapLimitREADONLY", [dD], nil)) | |
590 | + | let dF = valueOrElse(getInteger(this, ax(cC)), 0) | |
591 | + | let dG = aq() | |
592 | + | let dH = (height - dF) | |
593 | + | let dI = (dH >= dG) | |
594 | + | let cH = if (dI) | |
603 | 595 | then 0 | |
604 | 596 | else valueOrElse(getInteger(this, av(cC)), 0) | |
605 | - | let cI = if ( | |
597 | + | let cI = if (dI) | |
606 | 598 | then 0 | |
607 | - | else ( | |
608 | - | $Tuple2(nil, $Tuple5(cG, cH, cI, | |
599 | + | else (dG - dH) | |
600 | + | $Tuple2(nil, $Tuple5(cG, cH, cI, dD, dE)) | |
609 | 601 | } | |
610 | 602 | else throw("Strict value is not equal to itself.") | |
611 | 603 | } | |
612 | 604 | ||
613 | 605 | ||
614 | 606 | @Verifier(be) | |
615 | - | func | |
616 | - | let | |
617 | - | let | |
607 | + | func dJ () = { | |
608 | + | let dK = toBase58String(be.id) | |
609 | + | let dL = ((((if (sigVerify(be.bodyBytes, be.proofs[0], fromBase58String(s[0]))) | |
618 | 610 | then 1 | |
619 | 611 | else 0) + (if (sigVerify(be.bodyBytes, be.proofs[1], fromBase58String(s[1]))) | |
620 | 612 | then 1 | |
626 | 618 | let k = be | |
627 | 619 | if ($isInstanceOf(k, "SponsorFeeTransaction")) | |
628 | 620 | then { | |
629 | - | let | |
630 | - | if (bd( | |
631 | - | then ( | |
621 | + | let dM = k | |
622 | + | if (bd(dM)) | |
623 | + | then (dL >= 3) | |
632 | 624 | else false | |
633 | 625 | } | |
634 | - | else ( | |
626 | + | else (dL >= 3) | |
635 | 627 | } | |
636 | 628 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b) = valueOrElse(getInteger(this, b), 0) | |
5 | 5 | ||
6 | 6 | ||
7 | 7 | func c (b) = valueOrElse(getString(this, b), "") | |
8 | 8 | ||
9 | 9 | ||
10 | 10 | func d (b) = valueOrElse(getBoolean(this, b), false) | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | func e (f,b) = valueOrElse(getInteger(addressFromStringValue(f), b), 0) | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func g (f,b) = valueOrElse(getString(addressFromStringValue(f), b), "") | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func h (f,b) = valueOrElse(getBoolean(addressFromStringValue(f), b), false) | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | func i (j) = { | |
23 | 23 | let k = j | |
24 | 24 | if ($isInstanceOf(k, "List[Any]")) | |
25 | 25 | then { | |
26 | 26 | let l = k | |
27 | 27 | l | |
28 | 28 | } | |
29 | 29 | else throw("fail to cast into List[Any]") | |
30 | 30 | } | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func m (j) = { | |
34 | 34 | let k = j | |
35 | 35 | if ($isInstanceOf(k, "String")) | |
36 | 36 | then { | |
37 | 37 | let n = k | |
38 | 38 | n | |
39 | 39 | } | |
40 | 40 | else throw("fail to cast into String") | |
41 | 41 | } | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func o (j) = { | |
45 | 45 | let k = j | |
46 | 46 | if ($isInstanceOf(k, "Int")) | |
47 | 47 | then { | |
48 | 48 | let p = k | |
49 | 49 | p | |
50 | 50 | } | |
51 | 51 | else throw("fail to cast into Int") | |
52 | 52 | } | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func q (j) = { | |
56 | 56 | let k = j | |
57 | 57 | if ($isInstanceOf(k, "(Int, Int, Int, Int, Int)")) | |
58 | 58 | then { | |
59 | 59 | let r = k | |
60 | 60 | r | |
61 | 61 | } | |
62 | 62 | else throw("fail to cast into Int") | |
63 | 63 | } | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | let s = ["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "5WRXFSjwcTbNfKcJs8ZqXmSSWYsSVJUtMvMqZj5hH4Nc"] | |
67 | 67 | ||
68 | 68 | let t = "__" | |
69 | 69 | ||
70 | 70 | let u = 100000000 | |
71 | 71 | ||
72 | 72 | let v = 1000000 | |
73 | 73 | ||
74 | 74 | let w = 1000000 | |
75 | 75 | ||
76 | 76 | let x = 20000 | |
77 | 77 | ||
78 | 78 | let y = 0 | |
79 | 79 | ||
80 | 80 | let z = 1 | |
81 | 81 | ||
82 | 82 | let A = 2 | |
83 | 83 | ||
84 | 84 | let B = "neutrino_asset_id" | |
85 | 85 | ||
86 | 86 | let C = "bond_asset_id" | |
87 | 87 | ||
88 | 88 | let D = "auction_contract" | |
89 | 89 | ||
90 | 90 | let E = "nsbtStakingContract" | |
91 | 91 | ||
92 | 92 | let F = "liquidation_contract" | |
93 | 93 | ||
94 | 94 | let G = "rpd_contract" | |
95 | 95 | ||
96 | 96 | let H = "control_contract" | |
97 | 97 | ||
98 | 98 | let I = "math_contract" | |
99 | 99 | ||
100 | 100 | let J = "balance_waves_lock_interval" | |
101 | 101 | ||
102 | 102 | let K = "balance_neutrino_lock_interval" | |
103 | 103 | ||
104 | 104 | let L = "min_waves_swap_amount" | |
105 | 105 | ||
106 | 106 | let M = "min_neutrino_swap_amount" | |
107 | 107 | ||
108 | 108 | let N = "node_oracle_provider" | |
109 | 109 | ||
110 | 110 | let O = "neutrinoOut_swap_feePart" | |
111 | 111 | ||
112 | 112 | let P = "wavesOut_swap_feePart" | |
113 | 113 | ||
114 | 114 | let Q = "fees_manager_address" | |
115 | 115 | ||
116 | 116 | let R = "price" | |
117 | 117 | ||
118 | 118 | let S = "price_index" | |
119 | 119 | ||
120 | 120 | let T = "is_blocked" | |
121 | 121 | ||
122 | 122 | func U (V) = ((R + "_") + toString(V)) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func W (X) = ((S + "_") + toString(X)) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func Y (Z) = c(makeString(["%s%d%s", "lease", toString(Z), "nodeAddress"], t)) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func aa (Z) = addressFromStringValue(Y(Z)) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func ab () = valueOrElse(getInteger(this, makeString(["%s%s", "lease", "sponsorshipWavesReserve"], t)), (1000 * u)) | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func ac (ad) = ("balance_unlock_block_" + ad) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func ae (af) = makeString(["%s%d%s", "lease", toString(af), "id"], t) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func ag (af) = makeString(["%s%d%s", "lease", toString(af), "amount"], t) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func ah (ai) = (("min_" + ai) + "_swap_amount") | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func aj (ai) = ("balance_lock_" + ai) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func ak (ai,ad) = makeString(["balance_lock", ai, ad], "_") | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func al (ai) = (("balance_" + ai) + "_lock_interval") | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func am () = "balance_node_lock_interval" | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func an (ai) = (ai + "Out_swap_feePart") | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func ao () = "swaps_timeframe" | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func ap (ai) = valueOrElse(getInteger(this, ah(ai)), 0) | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func aq () = valueOrElse(getInteger(this, ao()), 1440) | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func ar (ai) = valueOrElse(getInteger(this, aj(ai)), 0) | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func as (ai,ad) = valueOrElse(getInteger(this, ak(ai, ad)), 0) | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func at (ai) = valueOrElse(getInteger(this, al(ai)), 1440) | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func au () = valueOrElse(getInteger(this, am()), 1) | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func av (aw) = makeString(["%s%s", "swapUserSpentInPeriod", aw], t) | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func ax (aw) = makeString(["%s%s", "userLastSwapHeight", aw], t) | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | func ay () = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(this, Q), (Q + " is not specified"))), (Q + " invalid address format")) | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func az (aA,aB) = fraction(fraction(aA, w, aB), u, v) | |
195 | 195 | ||
196 | 196 | ||
197 | 197 | func aC (aA,aB) = fraction(fraction(aA, aB, w), v, u) | |
198 | 198 | ||
199 | 199 | ||
200 | 200 | func aD (aA,aB) = aC(aA, aB) | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | func aE (aF) = split(aF, ",") | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func aG (ai,aH) = throw(((("The specified amount in " + ai) + " swap is less than the required minimum of ") + toString(aH))) | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | func aI () = throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | func aJ (X,aK,aL,aM,aN) = throw(((((((((("invalid price history index: index=" + toString(X)) + " priceIndex=") + toString(aK)) + " indexHeight=") + toString(aL)) + " unlockHeight=") + toString(aM)) + " prevIndexHeight=") + toString(aN))) | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | let aO = c(F) | |
216 | 216 | ||
217 | 217 | let aP = c(E) | |
218 | 218 | ||
219 | 219 | let aQ = fromBase58String(c(B)) | |
220 | 220 | ||
221 | 221 | let aR = c(D) | |
222 | 222 | ||
223 | 223 | let aS = c(G) | |
224 | 224 | ||
225 | 225 | let aT = c(H) | |
226 | 226 | ||
227 | 227 | let aU = c(I) | |
228 | 228 | ||
229 | 229 | let aK = e(aT, S) | |
230 | 230 | ||
231 | 231 | let aV = h(aT, T) | |
232 | 232 | ||
233 | 233 | let aW = fromBase58String(c(N)) | |
234 | 234 | ||
235 | 235 | let aX = fromBase58String("F3iaxzruFeKujfVfYSZEkejpjh67wmRfPCRHiNmWKp3Z") | |
236 | 236 | ||
237 | 237 | let aY = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF") | |
238 | 238 | ||
239 | 239 | let aZ = this | |
240 | 240 | ||
241 | 241 | let ba = addressFromStringValue(aU) | |
242 | 242 | ||
243 | 243 | let bb = addressFromStringValue(aP) | |
244 | 244 | ||
245 | 245 | let bc = e(aT, R) | |
246 | 246 | ||
247 | 247 | func bd (be) = { | |
248 | 248 | let bf = 100000 | |
249 | 249 | let bg = 1000 | |
250 | 250 | let bh = aC(bf, bc) | |
251 | 251 | let bi = (bh * 2) | |
252 | 252 | let bj = fraction(bh, bg, 100) | |
253 | 253 | let bk = value(be.minSponsoredAssetFee) | |
254 | 254 | if (if ((bk >= bi)) | |
255 | 255 | then (bj >= bk) | |
256 | 256 | else false) | |
257 | 257 | then (be.assetId == aQ) | |
258 | 258 | else false | |
259 | 259 | } | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | func bl (V) = e(aT, U(V)) | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | func bm (X) = e(aT, W(X)) | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | func bn (aw) = makeString(["%s%s%s", "paramByUser", aw, "amount"], t) | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | let bo = 1 | |
272 | 272 | ||
273 | 273 | let bp = 2 | |
274 | 274 | ||
275 | 275 | let bq = 3 | |
276 | 276 | ||
277 | 277 | let br = 4 | |
278 | 278 | ||
279 | 279 | let bs = 5 | |
280 | 280 | ||
281 | 281 | let bt = 6 | |
282 | 282 | ||
283 | 283 | let bu = 7 | |
284 | 284 | ||
285 | 285 | let bv = 8 | |
286 | 286 | ||
287 | 287 | let bw = 9 | |
288 | 288 | ||
289 | 289 | let bx = 10 | |
290 | 290 | ||
291 | 291 | let by = 11 | |
292 | 292 | ||
293 | 293 | let bz = 12 | |
294 | 294 | ||
295 | 295 | let bA = 13 | |
296 | 296 | ||
297 | 297 | let bB = 14 | |
298 | 298 | ||
299 | 299 | let bC = 15 | |
300 | 300 | ||
301 | 301 | let bD = 16 | |
302 | 302 | ||
303 | 303 | func bE (aw,bF) = makeString(["%s%s", aw, bF], t) | |
304 | 304 | ||
305 | 305 | ||
306 | 306 | func bG (ai,bH,bI,aB,bJ,bK,bL,bM,bN,bO,bP,bQ,X,bR,bS,bT) = makeString(["%s%s%d%d%d%d%d%d%d%d%d%d%d%s", ai, bH, bI, aB, bJ, bK, bL, bM, bN, bO, bP, bQ, X, bR, bS, bT], t) | |
307 | 307 | ||
308 | 308 | ||
309 | 309 | func bU (ai,bV,bP) = bG(ai, "PENDING", toString(bV), "0", "0", "0", toString(height), toString(lastBlock.timestamp), "0", "0", toString(bP), "0", "0", "NULL", "0", "0") | |
310 | 310 | ||
311 | 311 | ||
312 | 312 | func bW (bX,aB,bJ,bK,bQ,X,bR) = bG(bX[bo], "FINISHED", bX[bq], toString(aB), toString(bJ), toString(bK), bX[bu], bX[bv], toString(height), toString(lastBlock.timestamp), bX[by], toString(bQ), toString(X), bR, bX[bC], bX[bD]) | |
313 | 313 | ||
314 | 314 | ||
315 | 315 | func bY (aw,bZ) = { | |
316 | 316 | let ca = bE(aw, bZ) | |
317 | 317 | split(valueOrErrorMessage(getString(this, ca), ("no swap data for " + ca)), t) | |
318 | 318 | } | |
319 | 319 | ||
320 | 320 | ||
321 | 321 | func cb (cc,cd) = { | |
322 | 322 | let ce = fraction(cc, cd, v) | |
323 | 323 | [(cc - ce), ce, cc] | |
324 | 324 | } | |
325 | 325 | ||
326 | 326 | ||
327 | 327 | func cf (cg) = if ((0 > cg)) | |
328 | 328 | then -(cg) | |
329 | 329 | else cg | |
330 | 330 | ||
331 | 331 | ||
332 | 332 | func ch (ci) = { | |
333 | 333 | let cj = ((wavesBalance(aZ).available - ci) - ab()) | |
334 | 334 | let ck = a(ag(0)) | |
335 | 335 | let cl = a(ag(1)) | |
336 | 336 | let cm = (cj + ck) | |
337 | 337 | let cn = (cj + cl) | |
338 | 338 | if (if ((cm > 0)) | |
339 | 339 | then true | |
340 | 340 | else (cn > 0)) | |
341 | 341 | then { | |
342 | 342 | let co = cf((cm - cl)) | |
343 | 343 | let cp = cf((cn - ck)) | |
344 | 344 | if ((cp >= co)) | |
345 | 345 | then $Tuple2(0, cm) | |
346 | 346 | else $Tuple2(1, cn) | |
347 | 347 | } | |
348 | 348 | else $Tuple2(-1, 0) | |
349 | 349 | } | |
350 | 350 | ||
351 | 351 | ||
352 | 352 | func cq (cr) = if ((cr.caller != this)) | |
353 | 353 | then throw("Permission denied: this contract only allowed") | |
354 | 354 | else true | |
355 | 355 | ||
356 | 356 | ||
357 | 357 | func cs (ci) = { | |
358 | 358 | let ct = ch(ci) | |
359 | 359 | let af = ct._1 | |
360 | 360 | let cu = ct._2 | |
361 | 361 | if ((cu > 0)) | |
362 | 362 | then { | |
363 | 363 | let cv = ae(af) | |
364 | 364 | let cw = getBinary(this, cv) | |
365 | 365 | let cx = if (isDefined(cw)) | |
366 | 366 | then [LeaseCancel(value(cw))] | |
367 | 367 | else nil | |
368 | 368 | let cy = ag(af) | |
369 | 369 | let cz = Lease(aa(af), cu) | |
370 | 370 | (cx ++ [cz, BinaryEntry(cv, calculateLeaseId(cz)), IntegerEntry(ag(af), cu)]) | |
371 | 371 | } | |
372 | 372 | else nil | |
373 | 373 | } | |
374 | 374 | ||
375 | 375 | ||
376 | 376 | func cA (ai,cB,cC,cD,cE) = { | |
377 | 377 | let cF = cE | |
378 | 378 | let cG = cF._1 | |
379 | 379 | let cH = cF._2 | |
380 | 380 | let cI = cF._3 | |
381 | 381 | let aH = ap(ai) | |
382 | 382 | let cJ = ar(ai) | |
383 | 383 | let cK = as(ai, cC) | |
384 | 384 | let cL = Y(0) | |
385 | 385 | let cM = bl(bm(aK)) | |
386 | 386 | let cN = (cL == cC) | |
387 | 387 | let cO = if (cN) | |
388 | 388 | then au() | |
389 | 389 | else at(ai) | |
390 | 390 | let bP = (height + cO) | |
391 | 391 | let cP = if ((ai == "neutrino")) | |
392 | 392 | then cB | |
393 | 393 | else aC(cB, cM) | |
394 | 394 | if ((aH > cB)) | |
395 | 395 | then aG(ai, aH) | |
396 | 396 | else if (if (!(cN)) | |
397 | 397 | then (cH > 0) | |
398 | 398 | else false) | |
399 | 399 | then throw(("You have exceeded swap limit! Next allowed swap height is " + toString((height + cI)))) | |
400 | 400 | else if (if (!(cN)) | |
401 | 401 | then (cP > cG) | |
402 | 402 | else false) | |
403 | 403 | then throw(((("You have exceeded your swap limit! Requested: " + toString(cP)) + ", available: ") + toString(cG))) | |
404 | 404 | else if (aV) | |
405 | 405 | then aI() | |
406 | 406 | else { | |
407 | 407 | let cQ = if ((ai == "waves")) | |
408 | 408 | then cs(0) | |
409 | 409 | else nil | |
410 | 410 | $Tuple2(([IntegerEntry(av(cC), cP), IntegerEntry(ax(cC), height), IntegerEntry(ak(ai, cC), (cK + cB)), IntegerEntry(ac(cC), bP), IntegerEntry(aj(ai), (cJ + cB)), StringEntry(bE(cC, cD), bU(ai, cB, bP))] ++ cQ), unit) | |
411 | 411 | } | |
412 | 412 | } | |
413 | 413 | ||
414 | 414 | ||
415 | - | @Callable(cr) | |
416 | - | func commonWithdraw (cR,X,bZ,bR) = { | |
417 | - | let cS = cq(cr) | |
418 | - | if ((cS == cS)) | |
419 | - | then if ((size(cr.payments) != 0)) | |
420 | - | then throw("no payments allowed") | |
421 | - | else { | |
422 | - | let aw = addressFromStringValue(cR) | |
423 | - | let cT = ay() | |
424 | - | let bX = bY(cR, bZ) | |
425 | - | let bP = parseIntValue(bX[by]) | |
426 | - | let ai = bX[bo] | |
427 | - | let bI = parseIntValue(bX[bq]) | |
428 | - | let cU = bX[bp] | |
429 | - | let bL = parseIntValue(bX[bu]) | |
430 | - | let cV = valueOrElse(getInteger(this, an(ai)), x) | |
431 | - | let cJ = ar(ai) | |
432 | - | let cK = as(ai, cR) | |
433 | - | let aM = (bL + getIntegerValue(this, al(ai))) | |
434 | - | let aL = bm(X) | |
435 | - | let aN = bm((X - 1)) | |
436 | - | let cM = bl(aL) | |
437 | - | let cW = if ((ai == "waves")) | |
438 | - | then $Tuple2(aC(bI, cM), aQ) | |
439 | - | else if ((ai == "neutrino")) | |
440 | - | then $Tuple2(az(bI, cM), unit) | |
441 | - | else throw(("Unsupported swap type " + ai)) | |
442 | - | let cX = cb(cW._1, cV) | |
443 | - | let bJ = cX[y] | |
444 | - | let bK = cX[z] | |
445 | - | if (aV) | |
446 | - | then aI() | |
447 | - | else if ((cU != "PENDING")) | |
448 | - | then throw("swap has been already processed") | |
449 | - | else if ((aM > height)) | |
450 | - | then throw((("please wait for: " + toString(aM)) + " block height to withdraw funds")) | |
451 | - | else if (if (if ((X > aK)) | |
452 | - | then true | |
453 | - | else (aM > aL)) | |
454 | - | then true | |
455 | - | else if ((aN != 0)) | |
456 | - | then (aN >= aM) | |
415 | + | func cR (cS,X,bZ,bR) = { | |
416 | + | let aw = addressFromStringValue(cS) | |
417 | + | let cT = ay() | |
418 | + | let bX = bY(cS, bZ) | |
419 | + | let bP = parseIntValue(bX[by]) | |
420 | + | let ai = bX[bo] | |
421 | + | let bI = parseIntValue(bX[bq]) | |
422 | + | let cU = bX[bp] | |
423 | + | let bL = parseIntValue(bX[bu]) | |
424 | + | let cV = valueOrElse(getInteger(this, an(ai)), x) | |
425 | + | let cJ = ar(ai) | |
426 | + | let cK = as(ai, cS) | |
427 | + | let aM = (bL + getIntegerValue(this, al(ai))) | |
428 | + | let aL = bm(X) | |
429 | + | let aN = bm((X - 1)) | |
430 | + | let cM = bl(aL) | |
431 | + | let cW = if ((ai == "waves")) | |
432 | + | then $Tuple2(aC(bI, cM), aQ) | |
433 | + | else if ((ai == "neutrino")) | |
434 | + | then $Tuple2(az(bI, cM), unit) | |
435 | + | else throw(("Unsupported swap type " + ai)) | |
436 | + | let cX = cb(cW._1, cV) | |
437 | + | let bJ = cX[y] | |
438 | + | let bK = cX[z] | |
439 | + | if (aV) | |
440 | + | then aI() | |
441 | + | else if ((cU != "PENDING")) | |
442 | + | then throw("swap has been already processed") | |
443 | + | else if ((aM > height)) | |
444 | + | then throw((("please wait for: " + toString(aM)) + " block height to withdraw funds")) | |
445 | + | else if (if (if ((X > aK)) | |
446 | + | then true | |
447 | + | else (aM > aL)) | |
448 | + | then true | |
449 | + | else if ((aN != 0)) | |
450 | + | then (aN >= aM) | |
451 | + | else false) | |
452 | + | then aJ(X, aK, aL, aM, aN) | |
453 | + | else if ((0 >= cX[A])) | |
454 | + | then throw("balance equals zero") | |
455 | + | else if (if ((0 > cV)) | |
456 | + | then true | |
457 | + | else (cV >= v)) | |
458 | + | then throw(((("invalid outFeePart config for " + ai) + " swap: outFeePart=") + toString(cV))) | |
459 | + | else { | |
460 | + | let cQ = if (if ((ai == "neutrino")) | |
461 | + | then (cW._1 > 0) | |
457 | 462 | else false) | |
458 | - | then aJ(X, aK, aL, aM, aN) | |
459 | - | else if ((0 >= cX[A])) | |
460 | - | then throw("balance equals zero") | |
461 | - | else if (if ((0 > cV)) | |
462 | - | then true | |
463 | - | else (cV >= v)) | |
464 | - | then throw(((("invalid outFeePart config for " + ai) + " swap: outFeePart=") + toString(cV))) | |
465 | - | else { | |
466 | - | let cQ = if (if ((ai == "neutrino")) | |
467 | - | then (cW._1 > 0) | |
468 | - | else false) | |
469 | - | then cs(cW._1) | |
470 | - | else nil | |
471 | - | let cY = invoke(bb, "deposit", nil, [AttachedPayment(cW._2, bK)]) | |
472 | - | if ((cY == cY)) | |
473 | - | then $Tuple2((cQ ++ [IntegerEntry(ak(ai, cR), (cK - bI)), IntegerEntry(aj(ai), (cJ - bI)), ScriptTransfer(aw, bJ, cW._2), StringEntry(bE(cR, bZ), bW(bX, cM, bJ, bK, aM, X, toBase58String(cr.transactionId)))]), unit) | |
474 | - | else throw("Strict value is not equal to itself.") | |
475 | - | } | |
476 | - | } | |
477 | - | else throw("Strict value is not equal to itself.") | |
463 | + | then cs(cW._1) | |
464 | + | else nil | |
465 | + | let cY = (cQ ++ [IntegerEntry(ak(ai, cS), (cK - bI)), IntegerEntry(aj(ai), (cJ - bI)), ScriptTransfer(aw, bJ, cW._2), StringEntry(bE(cS, bZ), bW(bX, cM, bJ, bK, aM, X, bR))]) | |
466 | + | $Tuple2(cY, AttachedPayment(cW._2, bK)) | |
467 | + | } | |
478 | 468 | } | |
479 | - | ||
480 | 469 | ||
481 | 470 | ||
482 | 471 | @Callable(cr) | |
483 | 472 | func constructor (cZ,da,db,dc,dd,de,df,dg,dh,di,dj,dk) = { | |
484 | - | let | |
485 | - | if (( | |
473 | + | let dl = cq(cr) | |
474 | + | if ((dl == dl)) | |
486 | 475 | then if ((size(cr.payments) != 0)) | |
487 | 476 | then throw("no payments allowed") | |
488 | 477 | else [StringEntry(B, cZ), StringEntry(C, da), StringEntry(D, db), StringEntry(F, dc), StringEntry(G, dd), StringEntry(N, de), IntegerEntry(J, df), IntegerEntry(K, dg), IntegerEntry(L, dh), IntegerEntry(M, di), IntegerEntry(O, dj), IntegerEntry(P, dk)] | |
489 | 478 | else throw("Strict value is not equal to itself.") | |
490 | 479 | } | |
491 | 480 | ||
492 | 481 | ||
493 | 482 | ||
494 | 483 | @Callable(cr) | |
495 | - | func constructorV2 (ba,bb, | |
496 | - | let | |
497 | - | if (( | |
484 | + | func constructorV2 (ba,bb,dm) = { | |
485 | + | let dl = cq(cr) | |
486 | + | if ((dl == dl)) | |
498 | 487 | then if ((size(cr.payments) != 0)) | |
499 | 488 | then throw("no payments allowed") | |
500 | - | else [StringEntry(I, ba), StringEntry(E, bb), IntegerEntry(ao(), | |
489 | + | else [StringEntry(I, ba), StringEntry(E, bb), IntegerEntry(ao(), dm)] | |
501 | 490 | else throw("Strict value is not equal to itself.") | |
502 | 491 | } | |
503 | 492 | ||
504 | 493 | ||
505 | 494 | ||
506 | 495 | @Callable(cr) | |
507 | - | func swapWavesToNeutrino () = | |
508 | - | | |
509 | - | | |
510 | - | | |
511 | - | | |
512 | - | then throw(" | |
496 | + | func swapWavesToNeutrino () = if ((size(cr.payments) != 1)) | |
497 | + | then throw("swapWavesToNeutrino require only one payment") | |
498 | + | else { | |
499 | + | let dn = value(cr.payments[0]) | |
500 | + | if (isDefined(dn.assetId)) | |
501 | + | then throw("Only Waves token is allowed for swapping.") | |
513 | 502 | else { | |
514 | 503 | let aw = toString(cr.caller) | |
515 | 504 | let cD = toBase58String(cr.transactionId) | |
516 | - | let | |
517 | - | let | |
518 | - | | |
505 | + | let do = q(invoke(this, "swapParamsByUserSYSREADONLY", [aw, 0], nil)) | |
506 | + | let dp = cA("waves", dn.amount, aw, cD, do) | |
507 | + | dp | |
519 | 508 | } | |
520 | - | } | |
509 | + | } | |
521 | 510 | ||
522 | 511 | ||
523 | 512 | ||
524 | 513 | @Callable(cr) | |
525 | - | func swapNeutrinoToWaves () = | |
526 | - | | |
527 | - | | |
528 | - | | |
529 | - | | |
530 | - | then throw(" | |
514 | + | func swapNeutrinoToWaves () = if ((size(cr.payments) != 1)) | |
515 | + | then throw("swapNeutrinoToWaves require only one payment") | |
516 | + | else { | |
517 | + | let dn = value(cr.payments[0]) | |
518 | + | if ((dn.assetId != aQ)) | |
519 | + | then throw("Only appropriate Neutrino tokens are allowed for swapping.") | |
531 | 520 | else { | |
532 | 521 | let aw = toString(cr.caller) | |
533 | 522 | let cD = toBase58String(cr.transactionId) | |
534 | - | let | |
535 | - | let | |
536 | - | | |
523 | + | let do = q(invoke(this, "swapParamsByUserSYSREADONLY", [aw, 0], nil)) | |
524 | + | let dp = cA("neutrino", dn.amount, aw, cD, do) | |
525 | + | dp | |
537 | 526 | } | |
538 | - | } | |
527 | + | } | |
539 | 528 | ||
540 | 529 | ||
541 | 530 | ||
542 | 531 | @Callable(cr) | |
543 | - | func withdraw ( | |
532 | + | func withdraw (cS,X,bZ) = if ((size(cr.payments) != 0)) | |
544 | 533 | then throw("no payments allowed") | |
545 | 534 | else { | |
546 | - | let dp = invoke(this, "commonWithdraw", [cR, X, bZ, toBase58String(cr.transactionId)], nil) | |
547 | - | if ((dp == dp)) | |
548 | - | then nil | |
535 | + | let dq = cR(cS, X, bZ, toBase58String(cr.transactionId)) | |
536 | + | let cY = dq._1 | |
537 | + | let dr = dq._2 | |
538 | + | let ds = invoke(bb, "deposit", nil, [dr]) | |
539 | + | if ((ds == ds)) | |
540 | + | then cY | |
549 | 541 | else throw("Strict value is not equal to itself.") | |
550 | 542 | } | |
551 | 543 | ||
552 | 544 | ||
553 | 545 | ||
554 | 546 | @Callable(cr) | |
555 | 547 | func transferToAuction () = if ((size(cr.payments) != 0)) | |
556 | 548 | then throw("no payments allowed") | |
557 | 549 | else { | |
558 | - | let | |
559 | - | let | |
560 | - | let | |
561 | - | let | |
562 | - | let | |
563 | - | let | |
564 | - | let | |
550 | + | let dt = i(invoke(ba, "calcNeutinoMetricsREADONLY", nil, nil)) | |
551 | + | let du = o(dt[3]) | |
552 | + | let dv = o(dt[5]) | |
553 | + | let dw = o(dt[6]) | |
554 | + | let dx = o(dt[9]) | |
555 | + | let dy = (dv - assetBalance(addressFromStringValue(aR), aX)) | |
556 | + | let dz = (dw - assetBalance(addressFromStringValue(aO), aQ)) | |
565 | 557 | if (aV) | |
566 | 558 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
567 | - | else if (( | |
568 | - | then [ScriptTransfer(addressFromStringValue(aR), | |
569 | - | else if (( | |
570 | - | then [ScriptTransfer(addressFromStringValue(aO), | |
571 | - | else throw(((((((("bond were generated or do not need it. Deficit:" + toString( | |
559 | + | else if ((dy > (1 * v))) | |
560 | + | then [ScriptTransfer(addressFromStringValue(aR), dy, aX)] | |
561 | + | else if ((dz >= (1 * v))) | |
562 | + | then [ScriptTransfer(addressFromStringValue(aO), dz, aQ)] | |
563 | + | else throw(((((((("bond were generated or do not need it. Deficit:" + toString(dy)) + "|") + toString(0)) + ". Surplus:") + toString(dz)) + "|") + toString(dw))) | |
572 | 564 | } | |
573 | 565 | ||
574 | 566 | ||
575 | 567 | ||
576 | 568 | @Callable(cr) | |
577 | - | func transferUsdnToUser (aA, | |
569 | + | func transferUsdnToUser (aA,dA) = if ((cr.caller != addressFromStringValue(aR))) | |
578 | 570 | then throw("Only auction contract is authorized") | |
579 | - | else [ScriptTransfer(addressFromStringValue( | |
571 | + | else [ScriptTransfer(addressFromStringValue(dA), aA, aQ)] | |
580 | 572 | ||
581 | 573 | ||
582 | 574 | ||
583 | 575 | @Callable(cr) | |
584 | 576 | func acceptWaves () = if ((cr.caller != addressFromStringValue(aR))) | |
585 | 577 | then throw("Currently only auction contract is allowed to call") | |
586 | 578 | else $Tuple2(cs(0), "success") | |
587 | 579 | ||
588 | 580 | ||
589 | 581 | ||
590 | 582 | @Callable(cr) | |
591 | - | func swapParamsByUserSYSREADONLY (cC, | |
592 | - | let | |
593 | - | if (( | |
583 | + | func swapParamsByUserSYSREADONLY (cC,dB) = { | |
584 | + | let dC = i(invoke(bb, "nsbtStakingSYSREADONLY", [cC], nil)) | |
585 | + | if ((dC == dC)) | |
594 | 586 | then { | |
595 | - | let | |
596 | - | let | |
597 | - | let cG = o(invoke(ba, "calcSwapLimitREADONLY", [ | |
598 | - | let | |
599 | - | let | |
600 | - | let | |
601 | - | let | |
602 | - | let cH = if ( | |
587 | + | let dD = (o(dC[0]) + dB) | |
588 | + | let dE = (o(dC[1]) + dB) | |
589 | + | let cG = o(invoke(ba, "calcSwapLimitREADONLY", [dD], nil)) | |
590 | + | let dF = valueOrElse(getInteger(this, ax(cC)), 0) | |
591 | + | let dG = aq() | |
592 | + | let dH = (height - dF) | |
593 | + | let dI = (dH >= dG) | |
594 | + | let cH = if (dI) | |
603 | 595 | then 0 | |
604 | 596 | else valueOrElse(getInteger(this, av(cC)), 0) | |
605 | - | let cI = if ( | |
597 | + | let cI = if (dI) | |
606 | 598 | then 0 | |
607 | - | else ( | |
608 | - | $Tuple2(nil, $Tuple5(cG, cH, cI, | |
599 | + | else (dG - dH) | |
600 | + | $Tuple2(nil, $Tuple5(cG, cH, cI, dD, dE)) | |
609 | 601 | } | |
610 | 602 | else throw("Strict value is not equal to itself.") | |
611 | 603 | } | |
612 | 604 | ||
613 | 605 | ||
614 | 606 | @Verifier(be) | |
615 | - | func | |
616 | - | let | |
617 | - | let | |
607 | + | func dJ () = { | |
608 | + | let dK = toBase58String(be.id) | |
609 | + | let dL = ((((if (sigVerify(be.bodyBytes, be.proofs[0], fromBase58String(s[0]))) | |
618 | 610 | then 1 | |
619 | 611 | else 0) + (if (sigVerify(be.bodyBytes, be.proofs[1], fromBase58String(s[1]))) | |
620 | 612 | then 1 | |
621 | 613 | else 0)) + (if (sigVerify(be.bodyBytes, be.proofs[2], fromBase58String(s[2]))) | |
622 | 614 | then 1 | |
623 | 615 | else 0)) + (if (sigVerify(be.bodyBytes, be.proofs[3], fromBase58String(s[3]))) | |
624 | 616 | then 2 | |
625 | 617 | else 0)) | |
626 | 618 | let k = be | |
627 | 619 | if ($isInstanceOf(k, "SponsorFeeTransaction")) | |
628 | 620 | then { | |
629 | - | let | |
630 | - | if (bd( | |
631 | - | then ( | |
621 | + | let dM = k | |
622 | + | if (bd(dM)) | |
623 | + | then (dL >= 3) | |
632 | 624 | else false | |
633 | 625 | } | |
634 | - | else ( | |
626 | + | else (dL >= 3) | |
635 | 627 | } | |
636 | 628 |
github/deemru/w8io/026f985 86.92 ms ◑