tx · FNuZtVcQfU3qYjpZ1ejvjQesbHXpuyknJ5MhxAM16s7w 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz: -0.02600000 Waves 2023.01.11 17:06 [2400393] smart account 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz > SELF 0.00000000 Waves
{ "type": 13, "id": "FNuZtVcQfU3qYjpZ1ejvjQesbHXpuyknJ5MhxAM16s7w", "fee": 2600000, "feeAssetId": null, "timestamp": 1673445988487, "version": 2, "chainId": 84, "sender": "3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz", "senderPublicKey": "D28XoueZWsMfm8Y5pa6C5ZFuYoWgre2Wm8tzJANJgMnq", "proofs": [ "4rY46U5GdF3jkErfX6yMY8shrdZdC9CaeLLTQFZDWpcC9caM7P6mnrt5a6S8qxsCX29uiZU84Rf48KdWDwPiWHsT" ], "script": "base64:BgJLCAISAwoBCBIDCgEIEgMKAQgSABIAEgQKAggBEgMKAQgSBAoCCAgSBgoEARgIGBIECgIYCBIECgIICBIECgIICBIDCgEIEgQKAggIYQAGU0NBTEU4AAgABU1VTFQ4AIDC1y8AB1NDQUxFMTgAEgAGTVVMVDE4CQC2AgEAgICQu7rWrfANAANTRVACAl9fAA5QT09MV0VJR0hUTVVMVAUFTVVMVDgACnplcm9CaWdJbnQJALYCAQAAAAlvbmVCaWdJbnQJALYCAQABAQd3cmFwRXJyAQNtc2cJAAIBCQC5CQIJAMwIAgINc3Rha2luZy5yaWRlOgkAzAgCCQClCAEFBHRoaXMJAMwIAgUDbXNnBQNuaWwCASABCHRocm93RXJyAQNtc2cJAAIBCQEHd3JhcEVycgEFA21zZwEJYXNBbnlMaXN0AQN2YWwEByRtYXRjaDAFA3ZhbAMJAAECBQckbWF0Y2gwAglMaXN0W0FueV0ECnZhbEFueUx5c3QFByRtYXRjaDAFCnZhbEFueUx5c3QJAAIBAhtmYWlsIHRvIGNhc3QgaW50byBMaXN0W0FueV0BBWFzSW50AQN2YWw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kU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQILTWF0Y2ggZXJyb3IJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BaQEOb25Nb2RpZnlXZWlnaHQCDGxwQXNzZXRJZFN0cg5wb29sQWRkcmVzc1N0cgMJAQIhPQIIBQFpBmNhbGxlcgUPZmFjdG9yeUNvbnRyYWN0CQACAQIScGVybWlzc2lvbnMgZGVuaWVkBA0kdDAyOTY1MjI5NzYyCQEUcmVmcmVzaFBvb2xJTlRFR1JBTFMDBQxscEFzc2V0SWRTdHIFDnBvb2xBZGRyZXNzU3RyAAAEEnd4UGVyTHBJbnRlZ3JhbE5ldwgFDSR0MDI5NjUyMjk3NjICXzEEEXBvb2xJbnRlZ3JhbFNUQVRFCAUNJHQwMjk2NTIyOTc2MgJfMgQJcG9vbERFQlVHCAUNJHQwMjk2NTIyOTc2MgJfMwURcG9vbEludGVncmFsU1RBVEUBAnR4AQZ2ZXJpZnkABA90YXJnZXRQdWJsaWNLZXkEByRtYXRjaDAJARZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAJwawUHJG1hdGNoMAUCcGsDCQABAgUHJG1hdGNoMAIEVW5pdAgFAnR4D3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXnGtz5d", "height": 2400393, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5gDoQabBG3oRZAkDKXQq23Fz3Rq2xVWvQ7sBd1CRqrZA Next: 58LniHVX6FCStpjmcHjGv5WQttBsKwDJvHqDL4TmVuAq Diff:
Old | New | Differences | |
---|---|---|---|
260 | 260 | ||
261 | 261 | let aZ = ai(aj) | |
262 | 262 | ||
263 | - | let ba = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString( | |
263 | + | let ba = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(makeString(["%s", "lpStakingPoolsContract"], e)), i("lp_staking_pools contract address is undefined"))), i("invalid lp_staking_pools contract address")) | |
264 | 264 | ||
265 | 265 | func bb (aB) = makeString(["%s%s", aB, "nextUser"], e) | |
266 | 266 | ||
537 | 537 | let bx = valueOrErrorMessage(getString(aX, Z(at)), ("unsupported lp asset " + at)) | |
538 | 538 | let cC = valueOrElse(getString(addressFromStringValue(bx), Y()), bx) | |
539 | 539 | let cy = toString(cl.caller) | |
540 | - | let as = if (if (if ((cy == bx)) | |
541 | - | then (cl.originCaller != ba) | |
542 | - | else false) | |
543 | - | then true | |
544 | - | else (cy == cC)) | |
545 | - | then toString(cl.originCaller) | |
546 | - | else cy | |
547 | - | if ((as == as)) | |
540 | + | let cD = ba | |
541 | + | if ((cD == cD)) | |
548 | 542 | then { | |
549 | - | let bY = ar(as, at) | |
550 | - | let bz = au(at) | |
551 | - | let bs = az(bY) | |
552 | - | let bA = az(bz) | |
553 | - | let cA = bU(at, as, bx, -(aT))._2 | |
554 | - | let be = bc(at) | |
555 | - | let cB = if (if (bj(be, as)) | |
556 | - | then (aT == bs) | |
543 | + | let as = if (if (if ((cy == bx)) | |
544 | + | then (cl.originCaller != ba) | |
557 | 545 | else false) | |
558 | - | then bq(be, as) | |
559 | - | else nil | |
560 | - | let cD = D(this, av(at, as)) | |
561 | - | let cE = y(aX, ac(at)) | |
562 | - | let ce = bU(at, as, cE, 0)._1 | |
563 | - | let cF = (ce - cD) | |
564 | - | let cG = if ((cF > g)) | |
565 | - | then invoke(this, "claimWxINTERNAL", [at, as], nil) | |
566 | - | else unit | |
567 | - | if ((cG == cG)) | |
568 | - | then if ((aT > bs)) | |
569 | - | then throw(((((((("passed amount=" + toString(aT)) + " is greater than available=") + toString(bs)) + ". lpAssetId=") + at) + ". stakedByUserKEY=") + bY)) | |
570 | - | else (([IntegerEntry(bY, (bs - aT)), IntegerEntry(bz, (bA - aT)), ScriptTransfer(cl.caller, aT, aB), aU("unstake", as, at, aT, cl.transactionId)] ++ cA) ++ cB) | |
546 | + | then true | |
547 | + | else (cy == cC)) | |
548 | + | then toString(cl.originCaller) | |
549 | + | else cy | |
550 | + | if ((as == as)) | |
551 | + | then { | |
552 | + | let bY = ar(as, at) | |
553 | + | let bz = au(at) | |
554 | + | let bs = az(bY) | |
555 | + | let bA = az(bz) | |
556 | + | let cA = bU(at, as, bx, -(aT))._2 | |
557 | + | let be = bc(at) | |
558 | + | let cB = if (if (bj(be, as)) | |
559 | + | then (aT == bs) | |
560 | + | else false) | |
561 | + | then bq(be, as) | |
562 | + | else nil | |
563 | + | let cE = D(this, av(at, as)) | |
564 | + | let cF = y(aX, ac(at)) | |
565 | + | let ce = bU(at, as, cF, 0)._1 | |
566 | + | let cG = (ce - cE) | |
567 | + | let cH = if ((cG > g)) | |
568 | + | then invoke(this, "claimWxINTERNAL", [at, as], nil) | |
569 | + | else unit | |
570 | + | if ((cH == cH)) | |
571 | + | then if ((aT > bs)) | |
572 | + | then throw(((((((("passed amount=" + toString(aT)) + " is greater than available=") + toString(bs)) + ". lpAssetId=") + at) + ". stakedByUserKEY=") + bY)) | |
573 | + | else (([IntegerEntry(bY, (bs - aT)), IntegerEntry(bz, (bA - aT)), ScriptTransfer(cl.caller, aT, aB), aU("unstake", as, at, aT, cl.transactionId)] ++ cA) ++ cB) | |
574 | + | else throw("Strict value is not equal to itself.") | |
575 | + | } | |
571 | 576 | else throw("Strict value is not equal to itself.") | |
572 | 577 | } | |
573 | 578 | else throw("Strict value is not equal to itself.") | |
578 | 583 | @Callable(cl) | |
579 | 584 | func claimWx (at) = { | |
580 | 585 | let as = toString(cl.caller) | |
581 | - | let | |
582 | - | $Tuple2(nil, | |
586 | + | let cI = invoke(this, "claimWxINTERNAL", [at, as], nil) | |
587 | + | $Tuple2(nil, cI) | |
583 | 588 | } | |
584 | 589 | ||
585 | 590 | ||
591 | 596 | then { | |
592 | 597 | let aD = valueOrErrorMessage(addressFromString(as), "claimWxINTERNAL: invalid user address") | |
593 | 598 | let bx = y(aX, ac(at)) | |
594 | - | let cI = av(at, as) | |
595 | - | let cJ = ay(at) | |
596 | - | let cK = aw(at, as) | |
597 | - | let cL = ax(at, as) | |
598 | - | let cD = D(this, cI) | |
599 | - | let cM = D(this, cK) | |
599 | + | let cJ = av(at, as) | |
600 | + | let cK = ay(at) | |
601 | + | let cL = aw(at, as) | |
602 | + | let cM = ax(at, as) | |
603 | + | let cE = D(this, cJ) | |
600 | 604 | let cN = D(this, cL) | |
601 | - | let cO = D(this, cJ) | |
602 | - | let cP = bU(at, as, bx, 0) | |
603 | - | let ce = cP._1 | |
604 | - | let cA = cP._2 | |
605 | - | let bT = cP._3 | |
606 | - | let cF = max([(ce - cD), g]) | |
607 | - | if ((g >= cF)) | |
605 | + | let cO = D(this, cM) | |
606 | + | let cP = D(this, cK) | |
607 | + | let cQ = bU(at, as, bx, 0) | |
608 | + | let ce = cQ._1 | |
609 | + | let cA = cQ._2 | |
610 | + | let bT = cQ._3 | |
611 | + | let cG = max([(ce - cE), g]) | |
612 | + | if ((g >= cG)) | |
608 | 613 | then throw("nothing to claim") | |
609 | 614 | else { | |
610 | - | let | |
611 | - | let | |
612 | - | let | |
613 | - | let | |
614 | - | let | |
615 | - | let | |
616 | - | if (( | |
615 | + | let cR = max([p(l(invoke(aZ, "claimWxBoost", [at, as], nil))[0]), 0]) | |
616 | + | let cS = cG | |
617 | + | let cT = min([(cS * toBigInt(2)), toBigInt(cR)]) | |
618 | + | let cU = (cS + cT) | |
619 | + | let cV = t(l(invoke(aY, "emit", [toInt(cS)], nil))[0]) | |
620 | + | let cW = l(invoke(aY, "emit", [toInt(cT)], nil)) | |
621 | + | if ((cW == cW)) | |
617 | 622 | then { | |
618 | - | let | |
619 | - | let | |
620 | - | let | |
621 | - | let | |
622 | - | $Tuple2([StringEntry( | |
623 | + | let cX = (cE + cG) | |
624 | + | let cY = (cN + cS) | |
625 | + | let cZ = (cN + cS) | |
626 | + | let da = (cN + cS) | |
627 | + | $Tuple2([StringEntry(cJ, toString(cX)), StringEntry(cL, toString(cY)), StringEntry(cM, toString(cZ)), StringEntry(cK, toString(da)), ScriptTransfer(aD, toInt(cS), cV), ScriptTransfer(aD, toInt(cT), cV), aU("claim", as, at, toInt(cG), cl.transactionId)], toInt(cU)) | |
623 | 628 | } | |
624 | 629 | else throw("Strict value is not equal to itself.") | |
625 | 630 | } | |
630 | 635 | ||
631 | 636 | ||
632 | 637 | @Callable(cl) | |
633 | - | func claimWxBulkInternalREADONLY ( | |
634 | - | then $Tuple2(nil, | |
638 | + | func claimWxBulkInternalREADONLY (db,dc,as,dd) = if ((db == size(dc))) | |
639 | + | then $Tuple2(nil, dd) | |
635 | 640 | else { | |
636 | - | let aB = db | |
637 | - | let | |
638 | - | let | |
639 | - | if ($isInstanceOf( | |
640 | - | then | |
641 | - | else throw(($getType( | |
641 | + | let aB = dc[db] | |
642 | + | let de = split({ | |
643 | + | let df = invoke(this, "claimWxREADONLY", [aB, as], nil) | |
644 | + | if ($isInstanceOf(df, "String")) | |
645 | + | then df | |
646 | + | else throw(($getType(df) + " couldn't be cast to String")) | |
642 | 647 | }, e) | |
643 | - | let | |
644 | - | let | |
645 | - | let | |
646 | - | let | |
647 | - | let | |
648 | - | if ($isInstanceOf( | |
649 | - | then | |
650 | - | else throw(($getType( | |
648 | + | let dg = de[3] | |
649 | + | let dh = de[4] | |
650 | + | let di = (dd :+ makeString(["%d%d", dg, dh], e)) | |
651 | + | let dj = { | |
652 | + | let df = invoke(this, "claimWxBulkInternalREADONLY", [(db + 1), dc, as, di], nil) | |
653 | + | if ($isInstanceOf(df, "List[Any]")) | |
654 | + | then df | |
655 | + | else throw(($getType(df) + " couldn't be cast to List[Any]")) | |
651 | 656 | } | |
652 | - | if (( | |
653 | - | then $Tuple2(nil, | |
657 | + | if ((dj == dj)) | |
658 | + | then $Tuple2(nil, dj) | |
654 | 659 | else throw("Strict value is not equal to itself.") | |
655 | 660 | } | |
656 | 661 | ||
657 | 662 | ||
658 | 663 | ||
659 | 664 | @Callable(cl) | |
660 | - | func claimWxBulkREADONLY ( | |
661 | - | let | |
662 | - | $Tuple2(nil, | |
665 | + | func claimWxBulkREADONLY (dc,as) = { | |
666 | + | let di = invoke(this, "claimWxBulkInternalREADONLY", [0, dc, as, nil], nil) | |
667 | + | $Tuple2(nil, di) | |
663 | 668 | } | |
664 | 669 | ||
665 | 670 | ||
668 | 673 | func claimWxREADONLY (at,as) = { | |
669 | 674 | let bY = ar(as, at) | |
670 | 675 | let bz = au(at) | |
671 | - | let | |
676 | + | let cJ = av(at, as) | |
672 | 677 | let bs = az(bY) | |
673 | 678 | let bA = az(bz) | |
674 | - | let | |
679 | + | let cE = D(this, cJ) | |
675 | 680 | let bx = y(aX, ac(at)) | |
676 | 681 | let bC = getIntegerValue(aX, ad(bx)) | |
677 | - | let | |
682 | + | let dk = C(aY, am()) | |
678 | 683 | let bD = C(aY, ao()) | |
679 | - | let | |
684 | + | let dl = if ((bD > height)) | |
680 | 685 | then 0 | |
681 | 686 | else (height - bD) | |
682 | - | let | |
683 | - | let | |
684 | - | let | |
685 | - | let ce = | |
686 | - | let cA = | |
687 | - | let bT = | |
688 | - | let | |
689 | - | let | |
690 | - | let | |
691 | - | let | |
692 | - | let | |
693 | - | let | |
694 | - | let | |
695 | - | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", at, as, toString( | |
687 | + | let dm = fraction((dk * dl), bC, f) | |
688 | + | let dn = fraction(dm, bs, bA) | |
689 | + | let do = bU(at, as, bx, 0) | |
690 | + | let ce = do._1 | |
691 | + | let cA = do._2 | |
692 | + | let bT = do._3 | |
693 | + | let cG = max([(ce - cE), g]) | |
694 | + | let dp = l(invoke(aZ, "claimWxBoostREADONLY", [at, as], nil)) | |
695 | + | let cR = max([p(dp[0]), 0]) | |
696 | + | let dq = r(dp[1]) | |
697 | + | let cS = cG | |
698 | + | let cT = min([(cS * toBigInt(2)), toBigInt(cR)]) | |
699 | + | let cU = (cS + cT) | |
700 | + | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", at, as, toString(cU), toString(cE), toString(cS), toString(cT), "soon"], e)) | |
696 | 701 | } | |
697 | 702 | ||
698 | 703 | ||
713 | 718 | if ((cp == cp)) | |
714 | 719 | then { | |
715 | 720 | let be = bc(aB) | |
716 | - | let | |
721 | + | let dr = getString(bb(aB)) | |
717 | 722 | let bk = getString(bd(be)) | |
718 | - | let n = | |
723 | + | let n = dr | |
719 | 724 | if ($isInstanceOf(n, "Unit")) | |
720 | 725 | then { | |
721 | - | let | |
722 | - | if ($isInstanceOf( | |
726 | + | let ds = bk | |
727 | + | if ($isInstanceOf(ds, "Unit")) | |
723 | 728 | then $Tuple2(nil, false) | |
724 | - | else if ($isInstanceOf( | |
729 | + | else if ($isInstanceOf(ds, "String")) | |
725 | 730 | then { | |
726 | - | let | |
727 | - | $Tuple2([StringEntry(bb(aB), | |
731 | + | let dt = ds | |
732 | + | $Tuple2([StringEntry(bb(aB), dt)], true) | |
728 | 733 | } | |
729 | 734 | else throw("Match error") | |
730 | 735 | } | |
731 | 736 | else if ($isInstanceOf(n, "String")) | |
732 | 737 | then { | |
733 | 738 | let aD = n | |
734 | - | let | |
735 | - | let | |
736 | - | let ce = bU(aB, aD, | |
737 | - | let | |
738 | - | let | |
739 | + | let cE = D(this, av(aB, aD)) | |
740 | + | let cF = y(aX, ac(aB)) | |
741 | + | let ce = bU(aB, aD, cF, 0)._1 | |
742 | + | let cG = (ce - cE) | |
743 | + | let cH = if ((cG > g)) | |
739 | 744 | then invoke(this, "claimWxINTERNAL", [aB, aD], nil) | |
740 | 745 | else unit | |
741 | - | if (( | |
746 | + | if ((cH == cH)) | |
742 | 747 | then { | |
743 | - | let | |
744 | - | let | |
745 | - | if ($isInstanceOf( | |
748 | + | let du = getString(bi(be, aD)) | |
749 | + | let ds = du | |
750 | + | if ($isInstanceOf(ds, "Unit")) | |
746 | 751 | then $Tuple2([DeleteEntry(bb(aB))], false) | |
747 | - | else if ($isInstanceOf( | |
752 | + | else if ($isInstanceOf(ds, "String")) | |
748 | 753 | then { | |
749 | - | let | |
750 | - | $Tuple2([StringEntry(bb(aB), | |
754 | + | let dv = ds | |
755 | + | $Tuple2([StringEntry(bb(aB), dv)], true) | |
751 | 756 | } | |
752 | 757 | else throw("Match error") | |
753 | 758 | } | |
764 | 769 | func onModifyWeight (at,bx) = if ((cl.caller != aX)) | |
765 | 770 | then throw("permissions denied") | |
766 | 771 | else { | |
767 | - | let | |
768 | - | let bu = | |
769 | - | let bW = | |
770 | - | let bX = | |
772 | + | let dw = bw(at, bx, 0) | |
773 | + | let bu = dw._1 | |
774 | + | let bW = dw._2 | |
775 | + | let bX = dw._3 | |
771 | 776 | bW | |
772 | 777 | } | |
773 | 778 | ||
774 | 779 | ||
775 | - | @Verifier( | |
776 | - | func | |
777 | - | let | |
780 | + | @Verifier(dx) | |
781 | + | func dy () = { | |
782 | + | let dz = { | |
778 | 783 | let n = ch() | |
779 | 784 | if ($isInstanceOf(n, "ByteVector")) | |
780 | 785 | then { | |
782 | 787 | cn | |
783 | 788 | } | |
784 | 789 | else if ($isInstanceOf(n, "Unit")) | |
785 | - | then | |
790 | + | then dx.senderPublicKey | |
786 | 791 | else throw("Match error") | |
787 | 792 | } | |
788 | - | sigVerify( | |
793 | + | sigVerify(dx.bodyBytes, dx.proofs[0], dz) | |
789 | 794 | } | |
790 | 795 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 8 | |
5 | 5 | ||
6 | 6 | let b = 100000000 | |
7 | 7 | ||
8 | 8 | let c = 18 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let e = "__" | |
13 | 13 | ||
14 | 14 | let f = b | |
15 | 15 | ||
16 | 16 | let g = toBigInt(0) | |
17 | 17 | ||
18 | 18 | let h = toBigInt(1) | |
19 | 19 | ||
20 | 20 | func i (j) = throw(makeString(["staking.ride:", toString(this), j], " ")) | |
21 | 21 | ||
22 | 22 | ||
23 | 23 | func k (j) = throw(i(j)) | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func l (m) = { | |
27 | 27 | let n = m | |
28 | 28 | if ($isInstanceOf(n, "List[Any]")) | |
29 | 29 | then { | |
30 | 30 | let o = n | |
31 | 31 | o | |
32 | 32 | } | |
33 | 33 | else throw("fail to cast into List[Any]") | |
34 | 34 | } | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func p (m) = { | |
38 | 38 | let n = m | |
39 | 39 | if ($isInstanceOf(n, "Int")) | |
40 | 40 | then { | |
41 | 41 | let q = n | |
42 | 42 | q | |
43 | 43 | } | |
44 | 44 | else throw("fail to cast into Int") | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func r (m) = { | |
49 | 49 | let n = m | |
50 | 50 | if ($isInstanceOf(n, "String")) | |
51 | 51 | then { | |
52 | 52 | let s = n | |
53 | 53 | s | |
54 | 54 | } | |
55 | 55 | else throw("fail to cast into Int") | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func t (m) = { | |
60 | 60 | let n = m | |
61 | 61 | if ($isInstanceOf(n, "ByteVector")) | |
62 | 62 | then { | |
63 | 63 | let u = n | |
64 | 64 | u | |
65 | 65 | } | |
66 | 66 | else throw("fail to cast into Int") | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func v (w,x) = valueOrErrorMessage(getString(w, x), (("mandatory this." + x) + " is not defined")) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func y (w,x) = valueOrErrorMessage(getString(w, x), (((("mandatory " + toString(w)) + ".") + x) + " is not defined")) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func z (w,x) = valueOrElse(getInteger(w, x), 0) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func A (w,x,B) = valueOrElse(getInteger(w, x), B) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func C (w,x) = valueOrErrorMessage(getInteger(w, x), (("mandatory this." + x) + " is not defined")) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func D (w,x) = value(parseBigInt(valueOrElse(getString(w, x), "0"))) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func E (w,x,B) = { | |
89 | 89 | let n = getString(w, x) | |
90 | 90 | if ($isInstanceOf(n, "String")) | |
91 | 91 | then { | |
92 | 92 | let F = n | |
93 | 93 | value(parseBigInt(F)) | |
94 | 94 | } | |
95 | 95 | else if ($isInstanceOf(n, "Unit")) | |
96 | 96 | then B | |
97 | 97 | else throw("Match error") | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func G (H,I) = fraction(toBigInt(H), d, toBigInt(I)) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func J (m,K) = toInt(fraction(m, toBigInt(K), d)) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func L () = "%s%s__config__factoryAddress" | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func M () = "%s__votingEmissionContract" | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | let N = 1 | |
114 | 114 | ||
115 | 115 | let O = 2 | |
116 | 116 | ||
117 | 117 | let P = 3 | |
118 | 118 | ||
119 | 119 | let Q = 4 | |
120 | 120 | ||
121 | 121 | let R = 5 | |
122 | 122 | ||
123 | 123 | let S = 6 | |
124 | 124 | ||
125 | 125 | let T = 7 | |
126 | 126 | ||
127 | 127 | func U () = "%s__factoryConfig" | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func V () = "%s__managerPublicKey" | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func W () = "%s__pendingManagerPublicKey" | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func X () = "%s__stablePoolAddonAddr" | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func Y () = "%s__addonAddr" | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func Z (aa) = makeString(["%s%s%s", aa, "mappings__lpAsset2PoolContract"], e) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func ab () = "%s__lpTokensList" | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func ac (aa) = makeString(["%s%s%s", aa, "mappings__lpAsset2PoolContract"], e) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func ad (ae) = makeString(["%s%s", "poolWeight", ae], e) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func af (ag) = split(valueOrElse(getString(ag, ab()), ""), e) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func ah (ag) = split(y(ag, U()), e) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func ai (aj) = addressFromStringValue(aj[O]) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func ak (aj) = addressFromStringValue(aj[R]) | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func al (aj) = addressFromStringValue(aj[N]) | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func am () = "%s%s__ratePerBlock__current" | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func an () = "%s%s__ratePerBlockMax__current" | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | func ao () = "%s%s__emission__startBlock" | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func ap () = "%s%s__emission__duration" | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | func aq () = "%s%s__emission__endBlock" | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | func ar (as,at) = makeString(["%s%s%s__staked", as, at], e) | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func au (at) = ("%s%s%s__staked__total__" + at) | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func av (at,as) = makeString(["%s%s%s__claimed", as, at], e) | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | func aw (at,as) = makeString(["%s%s%s__claimedMinReward", as, at], e) | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func ax (at,as) = makeString(["%s%s%s__claimedBoostReward", as, at], e) | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func ay (at) = makeString(["%s%s%s__claimed__total", at], e) | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func az (x) = valueOrElse(getInteger(this, x), 0) | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func aA (aB) = makeString(["%s%s%s", aB, "total", "bal"], e) | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func aC (aB,aD) = makeString(["%s%s%s", aB, aD, "bal"], e) | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func aE (aB) = makeString(["%s%s%s", aB, "total", "balINT"], e) | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func aF (aB,aD) = makeString(["%s%s%s", aB, aD, "balINT"], e) | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | func aG (aB) = makeString(["%s%s%s", aB, "total", "lastUpd"], e) | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func aH (aB,aD) = makeString(["%s%s%s", aB, aD, "lastUpd"], e) | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | func aI (aB) = makeString(["%s%s%s%s", aB, "common", "lpInt"], e) | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | func aJ (aB) = makeString(["%s%s%s%s", aB, "common", "lpIntH"], e) | |
227 | 227 | ||
228 | 228 | ||
229 | 229 | func aK (aB,aD) = makeString(["%s%s%s%s", aB, aD, "lpInt"], e) | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func aL (aB,aD) = makeString(["%s%s%s%s", aB, aD, "lpIntH"], e) | |
233 | 233 | ||
234 | 234 | ||
235 | 235 | func aM (aB) = makeString(["%s", aB, "wxPerLp"], e) | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func aN (aB) = makeString(["%s", aB, "wxPerLpX18"], e) | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | func aO (aB,aD) = makeString(["%s%s%s%s", aB, aD, "uIntL"], e) | |
242 | 242 | ||
243 | 243 | ||
244 | 244 | func aP (aQ,aD,aR) = makeString(["%s%s%s%s__history", aQ, aD, aR], e) | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | func aS (aD,aB,aQ,aT) = makeString(["%s%s%s%d%d%d", aD, aB, aQ, toString(height), toString(lastBlock.timestamp), toString(aT)], e) | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | func aU (aQ,aD,aB,aT,aV) = StringEntry(aP(aQ, aD, toBase58String(aV)), aS(aD, aB, aQ, aT)) | |
251 | 251 | ||
252 | 252 | ||
253 | 253 | let aW = v(this, L()) | |
254 | 254 | ||
255 | 255 | let aX = addressFromStringValue(aW) | |
256 | 256 | ||
257 | 257 | let aj = ah(aX) | |
258 | 258 | ||
259 | 259 | let aY = ak(aj) | |
260 | 260 | ||
261 | 261 | let aZ = ai(aj) | |
262 | 262 | ||
263 | - | let ba = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString( | |
263 | + | let ba = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(makeString(["%s", "lpStakingPoolsContract"], e)), i("lp_staking_pools contract address is undefined"))), i("invalid lp_staking_pools contract address")) | |
264 | 264 | ||
265 | 265 | func bb (aB) = makeString(["%s%s", aB, "nextUser"], e) | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | func bc (aB) = makeString(["users", aB], e) | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func bd (be) = makeString(["%s%s%s", be, "head"], e) | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func bf (be) = makeString(["%s%s%s", be, "size"], e) | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | func bg (be,bh) = makeString(["%s%s%s%s", be, bh, "prev"], e) | |
278 | 278 | ||
279 | 279 | ||
280 | 280 | func bi (be,bh) = makeString(["%s%s%s%s", be, bh, "next"], e) | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | func bj (be,bh) = { | |
284 | 284 | let bk = getString(this, bd(be)) | |
285 | 285 | let bl = getString(this, bg(be, bh)) | |
286 | 286 | let bm = getString(this, bi(be, bh)) | |
287 | 287 | if (if ((bh == valueOrElse(bk, ""))) | |
288 | 288 | then true | |
289 | 289 | else (bl != unit)) | |
290 | 290 | then true | |
291 | 291 | else (bm != unit) | |
292 | 292 | } | |
293 | 293 | ||
294 | 294 | ||
295 | 295 | func bn (be,bh) = { | |
296 | 296 | let bk = getString(this, bd(be)) | |
297 | 297 | let bo = valueOrElse(getInteger(this, bf(be)), 0) | |
298 | 298 | let bp = if (!(bj(be, bh))) | |
299 | 299 | then true | |
300 | 300 | else throw("Node exists") | |
301 | 301 | if ((bp == bp)) | |
302 | 302 | then (([IntegerEntry(bf(be), (bo + 1))] ++ (if ((bk != unit)) | |
303 | 303 | then [StringEntry(bi(be, bh), value(bk)), StringEntry(bg(be, value(bk)), bh)] | |
304 | 304 | else nil)) ++ [StringEntry(bd(be), bh)]) | |
305 | 305 | else throw("Strict value is not equal to itself.") | |
306 | 306 | } | |
307 | 307 | ||
308 | 308 | ||
309 | 309 | func bq (be,bh) = { | |
310 | 310 | let bk = getString(this, bd(be)) | |
311 | 311 | let bo = valueOrElse(getInteger(this, bf(be)), 0) | |
312 | 312 | let bl = getString(this, bg(be, bh)) | |
313 | 313 | let bm = getString(this, bi(be, bh)) | |
314 | 314 | ([IntegerEntry(bf(be), (bo - 1))] ++ (if (if ((bl != unit)) | |
315 | 315 | then (bm != unit) | |
316 | 316 | else false) | |
317 | 317 | then [StringEntry(bi(be, value(bl)), value(bm)), StringEntry(bg(be, value(bm)), value(bl)), DeleteEntry(bg(be, bh)), DeleteEntry(bi(be, bh))] | |
318 | 318 | else if ((bm != unit)) | |
319 | 319 | then [StringEntry(bd(be), value(bm)), DeleteEntry(bi(be, bh)), DeleteEntry(bg(be, value(bm)))] | |
320 | 320 | else if ((bl != unit)) | |
321 | 321 | then [DeleteEntry(bg(be, bh)), DeleteEntry(bi(be, value(bl)))] | |
322 | 322 | else if ((bh == valueOrElse(bk, ""))) | |
323 | 323 | then [DeleteEntry(bd(be))] | |
324 | 324 | else throw(((("invalid node: " + be) + ".") + bh)))) | |
325 | 325 | } | |
326 | 326 | ||
327 | 327 | ||
328 | 328 | func br (bs,bt,bu,bv) = if (if ((bt == g)) | |
329 | 329 | then (bs > g) | |
330 | 330 | else false) | |
331 | 331 | then g | |
332 | 332 | else if ((bs == g)) | |
333 | 333 | then bu | |
334 | 334 | else if (if ((bt > g)) | |
335 | 335 | then (bs > g) | |
336 | 336 | else false) | |
337 | 337 | then value(parseBigInt(v(this, bv))) | |
338 | 338 | else throw("calcWxPerLpIntegralUserLast: unexpected state") | |
339 | 339 | ||
340 | 340 | ||
341 | 341 | func bw (at,bx,by) = { | |
342 | 342 | let bz = au(at) | |
343 | 343 | let bA = toBigInt(az(bz)) | |
344 | 344 | let bB = if ((bA == g)) | |
345 | 345 | then h | |
346 | 346 | else bA | |
347 | 347 | let bC = getIntegerValue(aX, ad(bx)) | |
348 | 348 | let bD = C(aY, ao()) | |
349 | 349 | let bE = 1000 | |
350 | 350 | let bF = (C(aY, am()) * bE) | |
351 | 351 | let bG = fraction(bF, bC, (f * 3)) | |
352 | 352 | let bH = aI(at) | |
353 | 353 | let bI = aJ(at) | |
354 | 354 | let bJ = aM(at) | |
355 | 355 | let bK = A(this, bI, bD) | |
356 | 356 | let bL = D(this, bH) | |
357 | 357 | let bM = 0 | |
358 | 358 | let bN = max([(height - bK), 0]) | |
359 | 359 | let bO = if ((bM != 0)) | |
360 | 360 | then toBigInt(bM) | |
361 | 361 | else fraction(toBigInt(bG), toBigInt(b), bB) | |
362 | 362 | let bP = (bA + toBigInt(by)) | |
363 | 363 | let bQ = if ((bP == g)) | |
364 | 364 | then h | |
365 | 365 | else bP | |
366 | 366 | let bu = (bL + (bO * toBigInt(bN))) | |
367 | 367 | let bR = (toBigInt(bG) / bQ) | |
368 | 368 | let bS = height | |
369 | 369 | let bT = makeString([toString(bu), toString(bN), toString(bO), toString(bA), toString(bG), toString(bF), toString(bC)], "::") | |
370 | 370 | $Tuple3(bu, [StringEntry(bH, toString(bu)), IntegerEntry(bI, bS), StringEntry(bJ, toString(bR))], bT) | |
371 | 371 | } | |
372 | 372 | ||
373 | 373 | ||
374 | 374 | func bU (at,as,bx,by) = { | |
375 | 375 | let bV = bw(at, bx, by) | |
376 | 376 | let bu = bV._1 | |
377 | 377 | let bW = bV._2 | |
378 | 378 | let bX = bV._3 | |
379 | 379 | let bE = 1000 | |
380 | 380 | let bY = ar(as, at) | |
381 | 381 | let bs = az(bY) | |
382 | 382 | let bZ = aK(at, as) | |
383 | 383 | let ca = aL(at, as) | |
384 | 384 | let bv = aO(at, as) | |
385 | 385 | let cb = D(this, bZ) | |
386 | 386 | let bt = z(this, ca) | |
387 | 387 | let cc = br(toBigInt(bs), toBigInt(bt), bu, bv) | |
388 | 388 | let cd = (b * bE) | |
389 | 389 | let ce = max([(cb + fraction((bu - cc), toBigInt(bs), toBigInt(cd))), g]) | |
390 | 390 | let cf = bu | |
391 | 391 | let cg = height | |
392 | 392 | let bT = makeString([toString(cb), toString(cc), toString(bs), bX, toString(height)], "::") | |
393 | 393 | $Tuple3(ce, (bW ++ [StringEntry(bZ, toString(ce)), IntegerEntry(ca, cg), StringEntry(bv, toString(cf))]), bT) | |
394 | 394 | } | |
395 | 395 | ||
396 | 396 | ||
397 | 397 | func ch () = { | |
398 | 398 | let n = getString(V()) | |
399 | 399 | if ($isInstanceOf(n, "String")) | |
400 | 400 | then { | |
401 | 401 | let F = n | |
402 | 402 | fromBase58String(F) | |
403 | 403 | } | |
404 | 404 | else if ($isInstanceOf(n, "Unit")) | |
405 | 405 | then unit | |
406 | 406 | else throw("Match error") | |
407 | 407 | } | |
408 | 408 | ||
409 | 409 | ||
410 | 410 | func ci () = { | |
411 | 411 | let n = getString(W()) | |
412 | 412 | if ($isInstanceOf(n, "String")) | |
413 | 413 | then { | |
414 | 414 | let F = n | |
415 | 415 | fromBase58String(F) | |
416 | 416 | } | |
417 | 417 | else if ($isInstanceOf(n, "Unit")) | |
418 | 418 | then unit | |
419 | 419 | else throw("Match error") | |
420 | 420 | } | |
421 | 421 | ||
422 | 422 | ||
423 | 423 | let cj = throw("Permission denied") | |
424 | 424 | ||
425 | 425 | func ck (cl) = if ((cl.caller == this)) | |
426 | 426 | then true | |
427 | 427 | else cj | |
428 | 428 | ||
429 | 429 | ||
430 | 430 | func cm (cl) = { | |
431 | 431 | let n = ch() | |
432 | 432 | if ($isInstanceOf(n, "ByteVector")) | |
433 | 433 | then { | |
434 | 434 | let cn = n | |
435 | 435 | if ((cl.callerPublicKey == cn)) | |
436 | 436 | then true | |
437 | 437 | else cj | |
438 | 438 | } | |
439 | 439 | else if ($isInstanceOf(n, "Unit")) | |
440 | 440 | then if ((cl.caller == this)) | |
441 | 441 | then true | |
442 | 442 | else cj | |
443 | 443 | else throw("Match error") | |
444 | 444 | } | |
445 | 445 | ||
446 | 446 | ||
447 | 447 | @Callable(cl) | |
448 | 448 | func constructor (co) = { | |
449 | 449 | let cp = cm(cl) | |
450 | 450 | if ((cp == cp)) | |
451 | 451 | then [StringEntry(L(), co)] | |
452 | 452 | else throw("Strict value is not equal to itself.") | |
453 | 453 | } | |
454 | 454 | ||
455 | 455 | ||
456 | 456 | ||
457 | 457 | @Callable(cl) | |
458 | 458 | func constructorV2 (cq) = { | |
459 | 459 | let cr = [cm(cl), if ((addressFromString(cq) != unit)) | |
460 | 460 | then true | |
461 | 461 | else "invalid voting emission contract address"] | |
462 | 462 | if ((cr == cr)) | |
463 | 463 | then [StringEntry(M(), cq)] | |
464 | 464 | else throw("Strict value is not equal to itself.") | |
465 | 465 | } | |
466 | 466 | ||
467 | 467 | ||
468 | 468 | ||
469 | 469 | @Callable(cl) | |
470 | 470 | func setManager (cs) = { | |
471 | 471 | let cp = cm(cl) | |
472 | 472 | if ((cp == cp)) | |
473 | 473 | then { | |
474 | 474 | let ct = fromBase58String(cs) | |
475 | 475 | if ((ct == ct)) | |
476 | 476 | then [StringEntry(W(), cs)] | |
477 | 477 | else throw("Strict value is not equal to itself.") | |
478 | 478 | } | |
479 | 479 | else throw("Strict value is not equal to itself.") | |
480 | 480 | } | |
481 | 481 | ||
482 | 482 | ||
483 | 483 | ||
484 | 484 | @Callable(cl) | |
485 | 485 | func confirmManager () = { | |
486 | 486 | let cu = ci() | |
487 | 487 | let cv = if (isDefined(cu)) | |
488 | 488 | then true | |
489 | 489 | else throw("No pending manager") | |
490 | 490 | if ((cv == cv)) | |
491 | 491 | then { | |
492 | 492 | let cw = if ((cl.callerPublicKey == value(cu))) | |
493 | 493 | then true | |
494 | 494 | else throw("You are not pending manager") | |
495 | 495 | if ((cw == cw)) | |
496 | 496 | then [StringEntry(V(), toBase58String(value(cu))), DeleteEntry(W())] | |
497 | 497 | else throw("Strict value is not equal to itself.") | |
498 | 498 | } | |
499 | 499 | else throw("Strict value is not equal to itself.") | |
500 | 500 | } | |
501 | 501 | ||
502 | 502 | ||
503 | 503 | ||
504 | 504 | @Callable(cl) | |
505 | 505 | func stake () = if ((size(cl.payments) != 1)) | |
506 | 506 | then throw("invalid payment - exact one payment must be attached") | |
507 | 507 | else { | |
508 | 508 | let cx = cl.payments[0] | |
509 | 509 | let aB = value(cx.assetId) | |
510 | 510 | let at = toBase58String(aB) | |
511 | 511 | let aT = cx.amount | |
512 | 512 | let bx = valueOrErrorMessage(getString(aX, Z(at)), ("unsupported lp asset " + at)) | |
513 | 513 | let cy = toString(cl.caller) | |
514 | 514 | let as = if ((cy == bx)) | |
515 | 515 | then toString(cl.originCaller) | |
516 | 516 | else cy | |
517 | 517 | let bY = ar(as, at) | |
518 | 518 | let bz = au(at) | |
519 | 519 | let bs = az(bY) | |
520 | 520 | let bA = az(bz) | |
521 | 521 | let cz = bU(at, as, bx, aT) | |
522 | 522 | let ce = cz._1 | |
523 | 523 | let cA = cz._2 | |
524 | 524 | let bT = cz._3 | |
525 | 525 | let be = bc(at) | |
526 | 526 | let cB = if (bj(be, as)) | |
527 | 527 | then nil | |
528 | 528 | else bn(be, as) | |
529 | 529 | (([IntegerEntry(bY, (bs + aT)), IntegerEntry(bz, (bA + aT)), aU("stake", as, at, aT, cl.transactionId)] ++ cA) ++ cB) | |
530 | 530 | } | |
531 | 531 | ||
532 | 532 | ||
533 | 533 | ||
534 | 534 | @Callable(cl) | |
535 | 535 | func unstake (at,aT) = { | |
536 | 536 | let aB = fromBase58String(at) | |
537 | 537 | let bx = valueOrErrorMessage(getString(aX, Z(at)), ("unsupported lp asset " + at)) | |
538 | 538 | let cC = valueOrElse(getString(addressFromStringValue(bx), Y()), bx) | |
539 | 539 | let cy = toString(cl.caller) | |
540 | - | let as = if (if (if ((cy == bx)) | |
541 | - | then (cl.originCaller != ba) | |
542 | - | else false) | |
543 | - | then true | |
544 | - | else (cy == cC)) | |
545 | - | then toString(cl.originCaller) | |
546 | - | else cy | |
547 | - | if ((as == as)) | |
540 | + | let cD = ba | |
541 | + | if ((cD == cD)) | |
548 | 542 | then { | |
549 | - | let bY = ar(as, at) | |
550 | - | let bz = au(at) | |
551 | - | let bs = az(bY) | |
552 | - | let bA = az(bz) | |
553 | - | let cA = bU(at, as, bx, -(aT))._2 | |
554 | - | let be = bc(at) | |
555 | - | let cB = if (if (bj(be, as)) | |
556 | - | then (aT == bs) | |
543 | + | let as = if (if (if ((cy == bx)) | |
544 | + | then (cl.originCaller != ba) | |
557 | 545 | else false) | |
558 | - | then bq(be, as) | |
559 | - | else nil | |
560 | - | let cD = D(this, av(at, as)) | |
561 | - | let cE = y(aX, ac(at)) | |
562 | - | let ce = bU(at, as, cE, 0)._1 | |
563 | - | let cF = (ce - cD) | |
564 | - | let cG = if ((cF > g)) | |
565 | - | then invoke(this, "claimWxINTERNAL", [at, as], nil) | |
566 | - | else unit | |
567 | - | if ((cG == cG)) | |
568 | - | then if ((aT > bs)) | |
569 | - | then throw(((((((("passed amount=" + toString(aT)) + " is greater than available=") + toString(bs)) + ". lpAssetId=") + at) + ". stakedByUserKEY=") + bY)) | |
570 | - | else (([IntegerEntry(bY, (bs - aT)), IntegerEntry(bz, (bA - aT)), ScriptTransfer(cl.caller, aT, aB), aU("unstake", as, at, aT, cl.transactionId)] ++ cA) ++ cB) | |
546 | + | then true | |
547 | + | else (cy == cC)) | |
548 | + | then toString(cl.originCaller) | |
549 | + | else cy | |
550 | + | if ((as == as)) | |
551 | + | then { | |
552 | + | let bY = ar(as, at) | |
553 | + | let bz = au(at) | |
554 | + | let bs = az(bY) | |
555 | + | let bA = az(bz) | |
556 | + | let cA = bU(at, as, bx, -(aT))._2 | |
557 | + | let be = bc(at) | |
558 | + | let cB = if (if (bj(be, as)) | |
559 | + | then (aT == bs) | |
560 | + | else false) | |
561 | + | then bq(be, as) | |
562 | + | else nil | |
563 | + | let cE = D(this, av(at, as)) | |
564 | + | let cF = y(aX, ac(at)) | |
565 | + | let ce = bU(at, as, cF, 0)._1 | |
566 | + | let cG = (ce - cE) | |
567 | + | let cH = if ((cG > g)) | |
568 | + | then invoke(this, "claimWxINTERNAL", [at, as], nil) | |
569 | + | else unit | |
570 | + | if ((cH == cH)) | |
571 | + | then if ((aT > bs)) | |
572 | + | then throw(((((((("passed amount=" + toString(aT)) + " is greater than available=") + toString(bs)) + ". lpAssetId=") + at) + ". stakedByUserKEY=") + bY)) | |
573 | + | else (([IntegerEntry(bY, (bs - aT)), IntegerEntry(bz, (bA - aT)), ScriptTransfer(cl.caller, aT, aB), aU("unstake", as, at, aT, cl.transactionId)] ++ cA) ++ cB) | |
574 | + | else throw("Strict value is not equal to itself.") | |
575 | + | } | |
571 | 576 | else throw("Strict value is not equal to itself.") | |
572 | 577 | } | |
573 | 578 | else throw("Strict value is not equal to itself.") | |
574 | 579 | } | |
575 | 580 | ||
576 | 581 | ||
577 | 582 | ||
578 | 583 | @Callable(cl) | |
579 | 584 | func claimWx (at) = { | |
580 | 585 | let as = toString(cl.caller) | |
581 | - | let | |
582 | - | $Tuple2(nil, | |
586 | + | let cI = invoke(this, "claimWxINTERNAL", [at, as], nil) | |
587 | + | $Tuple2(nil, cI) | |
583 | 588 | } | |
584 | 589 | ||
585 | 590 | ||
586 | 591 | ||
587 | 592 | @Callable(cl) | |
588 | 593 | func claimWxINTERNAL (at,as) = { | |
589 | 594 | let cp = ck(cl) | |
590 | 595 | if ((cp == cp)) | |
591 | 596 | then { | |
592 | 597 | let aD = valueOrErrorMessage(addressFromString(as), "claimWxINTERNAL: invalid user address") | |
593 | 598 | let bx = y(aX, ac(at)) | |
594 | - | let cI = av(at, as) | |
595 | - | let cJ = ay(at) | |
596 | - | let cK = aw(at, as) | |
597 | - | let cL = ax(at, as) | |
598 | - | let cD = D(this, cI) | |
599 | - | let cM = D(this, cK) | |
599 | + | let cJ = av(at, as) | |
600 | + | let cK = ay(at) | |
601 | + | let cL = aw(at, as) | |
602 | + | let cM = ax(at, as) | |
603 | + | let cE = D(this, cJ) | |
600 | 604 | let cN = D(this, cL) | |
601 | - | let cO = D(this, cJ) | |
602 | - | let cP = bU(at, as, bx, 0) | |
603 | - | let ce = cP._1 | |
604 | - | let cA = cP._2 | |
605 | - | let bT = cP._3 | |
606 | - | let cF = max([(ce - cD), g]) | |
607 | - | if ((g >= cF)) | |
605 | + | let cO = D(this, cM) | |
606 | + | let cP = D(this, cK) | |
607 | + | let cQ = bU(at, as, bx, 0) | |
608 | + | let ce = cQ._1 | |
609 | + | let cA = cQ._2 | |
610 | + | let bT = cQ._3 | |
611 | + | let cG = max([(ce - cE), g]) | |
612 | + | if ((g >= cG)) | |
608 | 613 | then throw("nothing to claim") | |
609 | 614 | else { | |
610 | - | let | |
611 | - | let | |
612 | - | let | |
613 | - | let | |
614 | - | let | |
615 | - | let | |
616 | - | if (( | |
615 | + | let cR = max([p(l(invoke(aZ, "claimWxBoost", [at, as], nil))[0]), 0]) | |
616 | + | let cS = cG | |
617 | + | let cT = min([(cS * toBigInt(2)), toBigInt(cR)]) | |
618 | + | let cU = (cS + cT) | |
619 | + | let cV = t(l(invoke(aY, "emit", [toInt(cS)], nil))[0]) | |
620 | + | let cW = l(invoke(aY, "emit", [toInt(cT)], nil)) | |
621 | + | if ((cW == cW)) | |
617 | 622 | then { | |
618 | - | let | |
619 | - | let | |
620 | - | let | |
621 | - | let | |
622 | - | $Tuple2([StringEntry( | |
623 | + | let cX = (cE + cG) | |
624 | + | let cY = (cN + cS) | |
625 | + | let cZ = (cN + cS) | |
626 | + | let da = (cN + cS) | |
627 | + | $Tuple2([StringEntry(cJ, toString(cX)), StringEntry(cL, toString(cY)), StringEntry(cM, toString(cZ)), StringEntry(cK, toString(da)), ScriptTransfer(aD, toInt(cS), cV), ScriptTransfer(aD, toInt(cT), cV), aU("claim", as, at, toInt(cG), cl.transactionId)], toInt(cU)) | |
623 | 628 | } | |
624 | 629 | else throw("Strict value is not equal to itself.") | |
625 | 630 | } | |
626 | 631 | } | |
627 | 632 | else throw("Strict value is not equal to itself.") | |
628 | 633 | } | |
629 | 634 | ||
630 | 635 | ||
631 | 636 | ||
632 | 637 | @Callable(cl) | |
633 | - | func claimWxBulkInternalREADONLY ( | |
634 | - | then $Tuple2(nil, | |
638 | + | func claimWxBulkInternalREADONLY (db,dc,as,dd) = if ((db == size(dc))) | |
639 | + | then $Tuple2(nil, dd) | |
635 | 640 | else { | |
636 | - | let aB = db | |
637 | - | let | |
638 | - | let | |
639 | - | if ($isInstanceOf( | |
640 | - | then | |
641 | - | else throw(($getType( | |
641 | + | let aB = dc[db] | |
642 | + | let de = split({ | |
643 | + | let df = invoke(this, "claimWxREADONLY", [aB, as], nil) | |
644 | + | if ($isInstanceOf(df, "String")) | |
645 | + | then df | |
646 | + | else throw(($getType(df) + " couldn't be cast to String")) | |
642 | 647 | }, e) | |
643 | - | let | |
644 | - | let | |
645 | - | let | |
646 | - | let | |
647 | - | let | |
648 | - | if ($isInstanceOf( | |
649 | - | then | |
650 | - | else throw(($getType( | |
648 | + | let dg = de[3] | |
649 | + | let dh = de[4] | |
650 | + | let di = (dd :+ makeString(["%d%d", dg, dh], e)) | |
651 | + | let dj = { | |
652 | + | let df = invoke(this, "claimWxBulkInternalREADONLY", [(db + 1), dc, as, di], nil) | |
653 | + | if ($isInstanceOf(df, "List[Any]")) | |
654 | + | then df | |
655 | + | else throw(($getType(df) + " couldn't be cast to List[Any]")) | |
651 | 656 | } | |
652 | - | if (( | |
653 | - | then $Tuple2(nil, | |
657 | + | if ((dj == dj)) | |
658 | + | then $Tuple2(nil, dj) | |
654 | 659 | else throw("Strict value is not equal to itself.") | |
655 | 660 | } | |
656 | 661 | ||
657 | 662 | ||
658 | 663 | ||
659 | 664 | @Callable(cl) | |
660 | - | func claimWxBulkREADONLY ( | |
661 | - | let | |
662 | - | $Tuple2(nil, | |
665 | + | func claimWxBulkREADONLY (dc,as) = { | |
666 | + | let di = invoke(this, "claimWxBulkInternalREADONLY", [0, dc, as, nil], nil) | |
667 | + | $Tuple2(nil, di) | |
663 | 668 | } | |
664 | 669 | ||
665 | 670 | ||
666 | 671 | ||
667 | 672 | @Callable(cl) | |
668 | 673 | func claimWxREADONLY (at,as) = { | |
669 | 674 | let bY = ar(as, at) | |
670 | 675 | let bz = au(at) | |
671 | - | let | |
676 | + | let cJ = av(at, as) | |
672 | 677 | let bs = az(bY) | |
673 | 678 | let bA = az(bz) | |
674 | - | let | |
679 | + | let cE = D(this, cJ) | |
675 | 680 | let bx = y(aX, ac(at)) | |
676 | 681 | let bC = getIntegerValue(aX, ad(bx)) | |
677 | - | let | |
682 | + | let dk = C(aY, am()) | |
678 | 683 | let bD = C(aY, ao()) | |
679 | - | let | |
684 | + | let dl = if ((bD > height)) | |
680 | 685 | then 0 | |
681 | 686 | else (height - bD) | |
682 | - | let | |
683 | - | let | |
684 | - | let | |
685 | - | let ce = | |
686 | - | let cA = | |
687 | - | let bT = | |
688 | - | let | |
689 | - | let | |
690 | - | let | |
691 | - | let | |
692 | - | let | |
693 | - | let | |
694 | - | let | |
695 | - | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", at, as, toString( | |
687 | + | let dm = fraction((dk * dl), bC, f) | |
688 | + | let dn = fraction(dm, bs, bA) | |
689 | + | let do = bU(at, as, bx, 0) | |
690 | + | let ce = do._1 | |
691 | + | let cA = do._2 | |
692 | + | let bT = do._3 | |
693 | + | let cG = max([(ce - cE), g]) | |
694 | + | let dp = l(invoke(aZ, "claimWxBoostREADONLY", [at, as], nil)) | |
695 | + | let cR = max([p(dp[0]), 0]) | |
696 | + | let dq = r(dp[1]) | |
697 | + | let cS = cG | |
698 | + | let cT = min([(cS * toBigInt(2)), toBigInt(cR)]) | |
699 | + | let cU = (cS + cT) | |
700 | + | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", at, as, toString(cU), toString(cE), toString(cS), toString(cT), "soon"], e)) | |
696 | 701 | } | |
697 | 702 | ||
698 | 703 | ||
699 | 704 | ||
700 | 705 | @Callable(cl) | |
701 | 706 | func stakedByUserREADONLY (at,as) = { | |
702 | 707 | let bs = valueOrElse(getInteger(ar(as, at)), 0) | |
703 | 708 | $Tuple2(nil, bs) | |
704 | 709 | } | |
705 | 710 | ||
706 | 711 | ||
707 | 712 | ||
708 | 713 | @Callable(cl) | |
709 | 714 | func usersListTraversal (aB) = { | |
710 | 715 | let cp = if ((toBase58String(cl.caller.bytes) == valueOrElse(getString(this, M()), ""))) | |
711 | 716 | then true | |
712 | 717 | else cm(cl) | |
713 | 718 | if ((cp == cp)) | |
714 | 719 | then { | |
715 | 720 | let be = bc(aB) | |
716 | - | let | |
721 | + | let dr = getString(bb(aB)) | |
717 | 722 | let bk = getString(bd(be)) | |
718 | - | let n = | |
723 | + | let n = dr | |
719 | 724 | if ($isInstanceOf(n, "Unit")) | |
720 | 725 | then { | |
721 | - | let | |
722 | - | if ($isInstanceOf( | |
726 | + | let ds = bk | |
727 | + | if ($isInstanceOf(ds, "Unit")) | |
723 | 728 | then $Tuple2(nil, false) | |
724 | - | else if ($isInstanceOf( | |
729 | + | else if ($isInstanceOf(ds, "String")) | |
725 | 730 | then { | |
726 | - | let | |
727 | - | $Tuple2([StringEntry(bb(aB), | |
731 | + | let dt = ds | |
732 | + | $Tuple2([StringEntry(bb(aB), dt)], true) | |
728 | 733 | } | |
729 | 734 | else throw("Match error") | |
730 | 735 | } | |
731 | 736 | else if ($isInstanceOf(n, "String")) | |
732 | 737 | then { | |
733 | 738 | let aD = n | |
734 | - | let | |
735 | - | let | |
736 | - | let ce = bU(aB, aD, | |
737 | - | let | |
738 | - | let | |
739 | + | let cE = D(this, av(aB, aD)) | |
740 | + | let cF = y(aX, ac(aB)) | |
741 | + | let ce = bU(aB, aD, cF, 0)._1 | |
742 | + | let cG = (ce - cE) | |
743 | + | let cH = if ((cG > g)) | |
739 | 744 | then invoke(this, "claimWxINTERNAL", [aB, aD], nil) | |
740 | 745 | else unit | |
741 | - | if (( | |
746 | + | if ((cH == cH)) | |
742 | 747 | then { | |
743 | - | let | |
744 | - | let | |
745 | - | if ($isInstanceOf( | |
748 | + | let du = getString(bi(be, aD)) | |
749 | + | let ds = du | |
750 | + | if ($isInstanceOf(ds, "Unit")) | |
746 | 751 | then $Tuple2([DeleteEntry(bb(aB))], false) | |
747 | - | else if ($isInstanceOf( | |
752 | + | else if ($isInstanceOf(ds, "String")) | |
748 | 753 | then { | |
749 | - | let | |
750 | - | $Tuple2([StringEntry(bb(aB), | |
754 | + | let dv = ds | |
755 | + | $Tuple2([StringEntry(bb(aB), dv)], true) | |
751 | 756 | } | |
752 | 757 | else throw("Match error") | |
753 | 758 | } | |
754 | 759 | else throw("Strict value is not equal to itself.") | |
755 | 760 | } | |
756 | 761 | else throw("Match error") | |
757 | 762 | } | |
758 | 763 | else throw("Strict value is not equal to itself.") | |
759 | 764 | } | |
760 | 765 | ||
761 | 766 | ||
762 | 767 | ||
763 | 768 | @Callable(cl) | |
764 | 769 | func onModifyWeight (at,bx) = if ((cl.caller != aX)) | |
765 | 770 | then throw("permissions denied") | |
766 | 771 | else { | |
767 | - | let | |
768 | - | let bu = | |
769 | - | let bW = | |
770 | - | let bX = | |
772 | + | let dw = bw(at, bx, 0) | |
773 | + | let bu = dw._1 | |
774 | + | let bW = dw._2 | |
775 | + | let bX = dw._3 | |
771 | 776 | bW | |
772 | 777 | } | |
773 | 778 | ||
774 | 779 | ||
775 | - | @Verifier( | |
776 | - | func | |
777 | - | let | |
780 | + | @Verifier(dx) | |
781 | + | func dy () = { | |
782 | + | let dz = { | |
778 | 783 | let n = ch() | |
779 | 784 | if ($isInstanceOf(n, "ByteVector")) | |
780 | 785 | then { | |
781 | 786 | let cn = n | |
782 | 787 | cn | |
783 | 788 | } | |
784 | 789 | else if ($isInstanceOf(n, "Unit")) | |
785 | - | then | |
790 | + | then dx.senderPublicKey | |
786 | 791 | else throw("Match error") | |
787 | 792 | } | |
788 | - | sigVerify( | |
793 | + | sigVerify(dx.bodyBytes, dx.proofs[0], dz) | |
789 | 794 | } | |
790 | 795 |
github/deemru/w8io/fabc49c 118.04 ms ◑