tx · AV9cwwPTu77YCvGsy8F1tpDhsgUJqzGJ7YTdqUT21x2M 3N9Zi6AcWcGbM23jQJ4fnzFsoHoTsxYDznr: -0.02300000 Waves 2023.12.29 10:31 [2907751] smart account 3N9Zi6AcWcGbM23jQJ4fnzFsoHoTsxYDznr > SELF 0.00000000 Waves
{ "type": 13, "id": "AV9cwwPTu77YCvGsy8F1tpDhsgUJqzGJ7YTdqUT21x2M", "fee": 2300000, "feeAssetId": null, "timestamp": 1703835131768, "version": 2, "chainId": 84, "sender": "3N9Zi6AcWcGbM23jQJ4fnzFsoHoTsxYDznr", "senderPublicKey": "GFbasS3jufhZkK4xR7tdTjjnP8K33KvJFEDHRtxXDkaJ", "proofs": [ "fs6Xyeu4oGtaS8183gAvZ8xfeeU8GNsuHchuQm3hcEixvDxFzTJpzaT11fRZh4C7y451w7Ed8GQnbRtjHVjDK7g" ], "script": "base64:BgKrFwgCEgQKAggBEgcKBQgICAgBEgQKAggIEgUKAwgIARIECgIICBIDCgEBEgMKAQESBAoCCAgSBAoCCAQSABIDCgEBEgASBAoCCAgSBAoCCAgSBAoCCAgSABIECgIICCIJc2VwYXJhdG9yIg5wb29sV2VpZ2h0TXVsdCIPbWF4RGVwdGhEZWZhdWx0IhZmaW5hbGl6YXRpb25TdGFnZVRvdGFsIhdmaW5hbGl6YXRpb25TdGFnZVNoYXJlcyIOa2V5RXBvY2hMZW5ndGgiEWtleUVwb2NoTGVuZ3RoTmV3IhVrZXlFcG9jaExlbmd0aEJ5RXBvY2giBWVwb2NoIg9rZXlDdXJyZW50RXBvY2giC2tleU1heERlcHRoIiJrZXlWb3RpbmdFbWlzc2lvbkNhbmRpZGF0ZUNvbnRyYWN0Ih1rZXlWb3RpbmdFbWlzc2lvblJhdGVDb250cmFjdCISa2V5RmFjdG9yeUNvbnRyYWN0IhNrZXlCb29zdGluZ0NvbnRyYWN0IhJrZXlTdGFraW5nQ29udHJhY3QiFGtleUZpbmFsaXphdGlvblN0YWdlIgtrZXlOZXh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JALkJAgkAzAgCBQFDCQDMCAIFAUQFA25pbAUBYQQCYlcDCQECYU4CBQJhSAUCYUwJAQJhVQIFAmFIBQJhTAUDbmlsCQDOCAIJAMwIAgkBC0RlbGV0ZUVudHJ5AQkBAXoBBQFBBQNuaWwFAmJXCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJjRAECY0UABAJjRgQBWQkBAmFaAAMJAAECBQFZAgpCeXRlVmVjdG9yBAJiZAUBWQUCYmQDCQABAgUBWQIEVW5pdAgFAmNED3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJjRAlib2R5Qnl0ZXMJAJEDAggFAmNEBnByb29mcwAABQJjRgYM0go=", "height": 2907751, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: yyaXcB1XHk2swAX1QzUfRGaA8d58qSffdFTNaxHFrW3 Next: 6FY627hQpwQbpuxPkTSiSRNDTg45vxDnJ46axyrwscfb Diff:
Old | New | Differences | |
---|---|---|---|
602 | 602 | then if (cb) | |
603 | 603 | then $Tuple2(nil, true) | |
604 | 604 | else { | |
605 | - | let bC = az(A) | |
606 | 605 | let bV = { | |
607 | 606 | let ac = invoke(ah, "checkBalance", [ay], nil) | |
608 | 607 | if ($isInstanceOf(ac, "Boolean")) | |
609 | 608 | then ac | |
610 | 609 | else throw(($getType(ac) + " couldn't be cast to Boolean")) | |
611 | 610 | } | |
612 | - | let by = valueOrElse(getInteger(this, O(bY)), 0) | |
613 | - | let bQ = valueOrElse(getInteger(this, I(A, bY)), 0) | |
614 | - | let cc = if (if (if ((by == 0)) | |
615 | - | then true | |
616 | - | else !(bC)) | |
617 | - | then true | |
618 | - | else !(bV)) | |
619 | - | then 0 | |
620 | - | else fraction(bQ, b, by) | |
621 | - | let cd = invoke(ah, "modifyWeight", [ay, cc], nil) | |
622 | - | if ((cd == cd)) | |
611 | + | let cc = if (bV) | |
612 | + | then unit | |
613 | + | else invoke(ah, "deleteWxEmissionPoolLabel", [C, D], nil) | |
614 | + | if ((cc == cc)) | |
623 | 615 | then { | |
624 | - | let ce = if (if (bC) | |
616 | + | let bC = az(A) | |
617 | + | let by = valueOrElse(getInteger(this, O(bY)), 0) | |
618 | + | let bQ = valueOrElse(getInteger(this, I(A, bY)), 0) | |
619 | + | let cd = if (if ((by == 0)) | |
625 | 620 | then true | |
626 | - | else bX) | |
627 | - | then nil | |
628 | - | else ([DeleteEntry(z(A))] ++ aU(aD, bH)) | |
629 | - | $Tuple2(([IntegerEntry(M(A, bY), cc)] ++ ce), false) | |
621 | + | else !(bC)) | |
622 | + | then 0 | |
623 | + | else fraction(bQ, b, by) | |
624 | + | let ce = invoke(ah, "modifyWeight", [ay, cd], nil) | |
625 | + | if ((ce == ce)) | |
626 | + | then { | |
627 | + | let cf = if (if (bC) | |
628 | + | then true | |
629 | + | else bX) | |
630 | + | then nil | |
631 | + | else ([DeleteEntry(z(A))] ++ aU(aD, bH)) | |
632 | + | $Tuple2(([IntegerEntry(M(A, bY), cd)] ++ cf), false) | |
633 | + | } | |
634 | + | else throw("Strict value is not equal to itself.") | |
630 | 635 | } | |
631 | 636 | else throw("Strict value is not equal to itself.") | |
632 | 637 | } | |
643 | 648 | func finalizeHelper () = { | |
644 | 649 | let bX = valueOrElse(getBoolean(w), false) | |
645 | 650 | let i = valueOrElse(getInteger(this, j), 0) | |
646 | - | let | |
651 | + | let cg = (i - 1) | |
647 | 652 | let bs = ad(this, x(i)) | |
648 | 653 | let bm = ad(this, f) | |
649 | 654 | let bt = (bs + bm) | |
654 | 659 | then !(bX) | |
655 | 660 | else false) | |
656 | 661 | then { | |
657 | - | let | |
658 | - | let | |
659 | - | let | |
660 | - | let Y = | |
662 | + | let ch = (i + 1) | |
663 | + | let ci = getInteger(this, g) | |
664 | + | let cj = { | |
665 | + | let Y = ci | |
661 | 666 | if ($isInstanceOf(Y, "Int")) | |
662 | 667 | then { | |
663 | 668 | let bF = Y | |
667 | 672 | then nil | |
668 | 673 | else throw("Match error") | |
669 | 674 | } | |
670 | - | $Tuple2(([IntegerEntry(x( | |
675 | + | $Tuple2(([IntegerEntry(x(ch), height), IntegerEntry(t, height), IntegerEntry(j, ch), IntegerEntry(q, d), IntegerEntry(h(i), bm)] ++ cj), true) | |
671 | 676 | } | |
672 | 677 | else if (if (bX) | |
673 | 678 | then (bu == unit) | |
677 | 682 | then $Tuple2(nil, false) | |
678 | 683 | else if ((bu == d)) | |
679 | 684 | then { | |
680 | - | let | |
681 | - | let | |
682 | - | let Y = | |
685 | + | let ck = getString(r) | |
686 | + | let cl = getString(s) | |
687 | + | let Y = ck | |
683 | 688 | if ($isInstanceOf(Y, "Unit")) | |
684 | 689 | then { | |
685 | - | let | |
686 | - | if ($isInstanceOf( | |
690 | + | let cm = getString(aG(aD)) | |
691 | + | if ($isInstanceOf(cm, "Unit")) | |
687 | 692 | then $Tuple2([IntegerEntry(q, e), DeleteEntry(r), DeleteEntry(s)], true) | |
688 | - | else if ($isInstanceOf( | |
693 | + | else if ($isInstanceOf(cm, "String")) | |
689 | 694 | then { | |
690 | - | let | |
691 | - | $Tuple2([StringEntry(r, | |
695 | + | let cn = cm | |
696 | + | $Tuple2([StringEntry(r, cn)], true) | |
692 | 697 | } | |
693 | 698 | else throw("Match error") | |
694 | 699 | } | |
696 | 701 | then { | |
697 | 702 | let bH = Y | |
698 | 703 | let A = af(bH) | |
699 | - | let | |
700 | - | let | |
701 | - | if ($isInstanceOf( | |
704 | + | let co = { | |
705 | + | let cm = cl | |
706 | + | if ($isInstanceOf(cm, "Unit")) | |
702 | 707 | then getString(aG(aE(A))) | |
703 | - | else if ($isInstanceOf( | |
708 | + | else if ($isInstanceOf(cm, "String")) | |
704 | 709 | then { | |
705 | - | let | |
706 | - | let | |
707 | - | if (( | |
710 | + | let cp = cm | |
711 | + | let cq = getString(aM(aE(A), cp)) | |
712 | + | if ((cq == cq)) | |
708 | 713 | then { | |
709 | - | let | |
710 | - | if (( | |
711 | - | then | |
714 | + | let cr = invoke(this, "processVoteINTERNAL", [bH, cp], nil) | |
715 | + | if ((cr == cr)) | |
716 | + | then cq | |
712 | 717 | else throw("Strict value is not equal to itself.") | |
713 | 718 | } | |
714 | 719 | else throw("Strict value is not equal to itself.") | |
715 | 720 | } | |
716 | 721 | else throw("Match error") | |
717 | 722 | } | |
718 | - | let | |
719 | - | if ($isInstanceOf( | |
723 | + | let cm = co | |
724 | + | if ($isInstanceOf(cm, "Unit")) | |
720 | 725 | then { | |
721 | - | let | |
722 | - | let | |
723 | - | if ($isInstanceOf( | |
726 | + | let cs = getString(aM(aD, bH)) | |
727 | + | let ct = cs | |
728 | + | if ($isInstanceOf(ct, "Unit")) | |
724 | 729 | then $Tuple2([IntegerEntry(q, e), DeleteEntry(r), DeleteEntry(s)], true) | |
725 | - | else if ($isInstanceOf( | |
730 | + | else if ($isInstanceOf(ct, "String")) | |
726 | 731 | then { | |
727 | - | let aY = | |
732 | + | let aY = ct | |
728 | 733 | $Tuple2([StringEntry(r, aY), DeleteEntry(s)], true) | |
729 | 734 | } | |
730 | 735 | else throw("Match error") | |
731 | 736 | } | |
732 | - | else if ($isInstanceOf( | |
737 | + | else if ($isInstanceOf(cm, "String")) | |
733 | 738 | then { | |
734 | - | let | |
735 | - | $Tuple2([StringEntry(s, | |
739 | + | let cu = cm | |
740 | + | $Tuple2([StringEntry(s, cu)], true) | |
736 | 741 | } | |
737 | 742 | else throw("Match error") | |
738 | 743 | } | |
740 | 745 | } | |
741 | 746 | else if ((bu == e)) | |
742 | 747 | then { | |
743 | - | let | |
744 | - | let Y = | |
748 | + | let ck = getString(r) | |
749 | + | let Y = ck | |
745 | 750 | if ($isInstanceOf(Y, "Unit")) | |
746 | 751 | then { | |
747 | - | let | |
748 | - | if ($isInstanceOf( | |
752 | + | let cm = getString(aG(aD)) | |
753 | + | if ($isInstanceOf(cm, "Unit")) | |
749 | 754 | then { | |
750 | 755 | let bW = if (bX) | |
751 | 756 | then [DeleteEntry(q), DeleteEntry(w)] | |
752 | - | else [DeleteEntry(q), BooleanEntry(y( | |
753 | - | let | |
754 | - | if (( | |
757 | + | else [DeleteEntry(q), BooleanEntry(y(cg), true), IntegerEntry(u, i), IntegerEntry(v, bs)] | |
758 | + | let cv = aB() | |
759 | + | if ((cv == cv)) | |
755 | 760 | then $Tuple2(bW, true) | |
756 | 761 | else throw("Strict value is not equal to itself.") | |
757 | 762 | } | |
758 | - | else if ($isInstanceOf( | |
763 | + | else if ($isInstanceOf(cm, "String")) | |
759 | 764 | then { | |
760 | - | let | |
761 | - | $Tuple2([StringEntry(r, | |
765 | + | let cw = cm | |
766 | + | $Tuple2([StringEntry(r, cw)], true) | |
762 | 767 | } | |
763 | 768 | else throw("Match error") | |
764 | 769 | } | |
765 | 770 | else if ($isInstanceOf(Y, "String")) | |
766 | 771 | then { | |
767 | 772 | let bH = Y | |
768 | - | let | |
769 | - | if (( | |
773 | + | let cs = getString(aM(aD, bH)) | |
774 | + | if ((cs == cs)) | |
770 | 775 | then { | |
771 | 776 | let cb = { | |
772 | 777 | let ac = invoke(this, "processPoolINTERNAL", [bH, bX], nil) | |
778 | 783 | then if (cb) | |
779 | 784 | then $Tuple2(nil, true) | |
780 | 785 | else { | |
781 | - | let | |
782 | - | if ($isInstanceOf( | |
786 | + | let cm = cs | |
787 | + | if ($isInstanceOf(cm, "Unit")) | |
783 | 788 | then { | |
784 | 789 | let bW = if (bX) | |
785 | 790 | then [DeleteEntry(q), DeleteEntry(w), DeleteEntry(r)] | |
786 | - | else [DeleteEntry(q), BooleanEntry(y( | |
787 | - | let | |
788 | - | if (( | |
791 | + | else [DeleteEntry(q), BooleanEntry(y(cg), true), IntegerEntry(u, i), IntegerEntry(v, bs), DeleteEntry(r)] | |
792 | + | let cv = aB() | |
793 | + | if ((cv == cv)) | |
789 | 794 | then $Tuple2(bW, true) | |
790 | 795 | else throw("Strict value is not equal to itself.") | |
791 | 796 | } | |
792 | - | else if ($isInstanceOf( | |
797 | + | else if ($isInstanceOf(cm, "String")) | |
793 | 798 | then { | |
794 | - | let | |
795 | - | $Tuple2([StringEntry(r, | |
799 | + | let cw = cm | |
800 | + | $Tuple2([StringEntry(r, cw)], true) | |
796 | 801 | } | |
797 | 802 | else throw("Match error") | |
798 | 803 | } | |
808 | 813 | ||
809 | 814 | ||
810 | 815 | @Callable(bc) | |
811 | - | func finalizeWrapper ( | |
812 | - | let | |
813 | - | let | |
816 | + | func finalizeWrapper (cx) = { | |
817 | + | let cy = addressFromStringValue(getStringValue(this, m)) | |
818 | + | let cz = { | |
814 | 819 | let ac = invoke(this, "finalizeHelper", nil, nil) | |
815 | 820 | if ($isInstanceOf(ac, "Boolean")) | |
816 | 821 | then ac | |
817 | 822 | else throw(($getType(ac) + " couldn't be cast to Boolean")) | |
818 | 823 | } | |
819 | - | if (( | |
820 | - | then if (!( | |
821 | - | then if (( | |
824 | + | if ((cz == cz)) | |
825 | + | then if (!(cz)) | |
826 | + | then if ((cx == 0)) | |
822 | 827 | then T("Current voting is not over yet") | |
823 | 828 | else { | |
824 | - | let | |
825 | - | if (( | |
829 | + | let cA = invoke(cy, "finalize", nil, nil) | |
830 | + | if ((cA == cA)) | |
826 | 831 | then $Tuple2(nil, unit) | |
827 | 832 | else throw("Strict value is not equal to itself.") | |
828 | 833 | } | |
829 | 834 | else { | |
830 | - | let | |
831 | - | if (( | |
835 | + | let cB = valueOrElse(getInteger(this, k), c) | |
836 | + | if ((cB > cx)) | |
832 | 837 | then { | |
833 | - | let | |
834 | - | if (( | |
838 | + | let cA = invoke(this, "finalizeWrapper", [(cx + 1)], nil) | |
839 | + | if ((cA == cA)) | |
835 | 840 | then $Tuple2(nil, unit) | |
836 | 841 | else throw("Strict value is not equal to itself.") | |
837 | 842 | } | |
844 | 849 | ||
845 | 850 | @Callable(bc) | |
846 | 851 | func finalize () = { | |
847 | - | let | |
848 | - | if (( | |
852 | + | let cA = invoke(this, "finalizeWrapper", [0], nil) | |
853 | + | if ((cA == cA)) | |
849 | 854 | then $Tuple2(nil, unit) | |
850 | 855 | else throw("Strict value is not equal to itself.") | |
851 | 856 | } | |
880 | 885 | @Callable(bc) | |
881 | 886 | func isFinalizationInProgress () = { | |
882 | 887 | let bu = getInteger(this, q) | |
883 | - | let | |
884 | - | $Tuple2(nil, | |
888 | + | let cC = (bu != unit) | |
889 | + | $Tuple2(nil, cC) | |
885 | 890 | } | |
886 | 891 | ||
887 | 892 | ||
907 | 912 | } | |
908 | 913 | ||
909 | 914 | ||
910 | - | @Verifier( | |
911 | - | func | |
912 | - | let | |
915 | + | @Verifier(cD) | |
916 | + | func cE () = { | |
917 | + | let cF = { | |
913 | 918 | let Y = aZ() | |
914 | 919 | if ($isInstanceOf(Y, "ByteVector")) | |
915 | 920 | then { | |
917 | 922 | bd | |
918 | 923 | } | |
919 | 924 | else if ($isInstanceOf(Y, "Unit")) | |
920 | - | then | |
925 | + | then cD.senderPublicKey | |
921 | 926 | else throw("Match error") | |
922 | 927 | } | |
923 | - | sigVerify( | |
928 | + | sigVerify(cD.bodyBytes, cD.proofs[0], cF) | |
924 | 929 | } | |
925 | 930 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = 100000000 | |
7 | 7 | ||
8 | 8 | let c = 10 | |
9 | 9 | ||
10 | 10 | let d = 0 | |
11 | 11 | ||
12 | 12 | let e = 1 | |
13 | 13 | ||
14 | 14 | let f = makeString(["%s", "epochLength"], a) | |
15 | 15 | ||
16 | 16 | let g = makeString(["%s%s", "epochLength__new"], a) | |
17 | 17 | ||
18 | 18 | func h (i) = makeString(["%s%d", "epochLength", toString(i)], a) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | let j = makeString(["%s", "currentEpoch"], a) | |
22 | 22 | ||
23 | 23 | let k = makeString(["%s", "maxDepth"], a) | |
24 | 24 | ||
25 | 25 | let l = makeString(["%s", "votingEmissionCandidateContract"], a) | |
26 | 26 | ||
27 | 27 | let m = makeString(["%s", "votingEmissionRateContract"], a) | |
28 | 28 | ||
29 | 29 | let n = makeString(["%s", "factoryContract"], a) | |
30 | 30 | ||
31 | 31 | let o = makeString(["%s", "boostingContract"], a) | |
32 | 32 | ||
33 | 33 | let p = makeString(["%s", "stakingContract"], a) | |
34 | 34 | ||
35 | 35 | let q = makeString(["%s", "finalizationStage"], a) | |
36 | 36 | ||
37 | 37 | let r = makeString(["%s", "nextPool"], a) | |
38 | 38 | ||
39 | 39 | let s = makeString(["%s", "nextUser"], a) | |
40 | 40 | ||
41 | 41 | let t = makeString(["%s", "startHeight"], a) | |
42 | 42 | ||
43 | 43 | let u = makeString(["%s", "currentEpochUi"], a) | |
44 | 44 | ||
45 | 45 | let v = makeString(["%s", "startHeightUi"], a) | |
46 | 46 | ||
47 | 47 | let w = makeString(["%s", "force"], a) | |
48 | 48 | ||
49 | 49 | func x (i) = makeString(["%s%d", "startHeight", toString(i)], a) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func y (i) = makeString(["%s%d", "finalized", toString(i)], a) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func z (A) = { | |
56 | 56 | let B = A | |
57 | 57 | let C = B._1 | |
58 | 58 | let D = B._2 | |
59 | 59 | makeString(["%s%s%s", "inList", C, D], a) | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func E (F,i) = makeString(["%s%s%d", "used", toString(F), toString(i)], a) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func G (A,F,i) = { | |
67 | 67 | let H = A | |
68 | 68 | let C = H._1 | |
69 | 69 | let D = H._2 | |
70 | 70 | makeString(["%s%s%s%s%d", "vote", C, D, toString(F), toString(i)], a) | |
71 | 71 | } | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func I (A,i) = { | |
75 | 75 | let J = A | |
76 | 76 | let C = J._1 | |
77 | 77 | let D = J._2 | |
78 | 78 | makeString(["%s%s%s%d", "votingResult", C, D, toString(i)], a) | |
79 | 79 | } | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func K (L,i) = makeString(["%s%s%d", "votingResultStaked", L, toString(i)], a) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func M (A,i) = { | |
86 | 86 | let N = A | |
87 | 87 | let C = N._1 | |
88 | 88 | let D = N._2 | |
89 | 89 | makeString(["%s%s%s%d", "poolShare", C, D, toString(i)], a) | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func O (i) = makeString(["%s%d", "totalVotes", toString(i)], a) | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func P (L,Q) = makeString(["%s%s%s", "staked", Q, L], a) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func R (S) = makeString(["voting_emission.ride:", S], " ") | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func T (S) = throw(R(S)) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func U (F,V,W) = { | |
106 | 106 | let X = R(makeString(["mandatory ", toString(F), ".", V, " is not defined"], "")) | |
107 | 107 | valueOrErrorMessage({ | |
108 | 108 | let Y = W | |
109 | 109 | if ($isInstanceOf(Y, "String")) | |
110 | 110 | then { | |
111 | 111 | let Z = Y | |
112 | 112 | getString(F, V) | |
113 | 113 | } | |
114 | 114 | else if ($isInstanceOf(Y, "Int")) | |
115 | 115 | then { | |
116 | 116 | let aa = Y | |
117 | 117 | getInteger(F, V) | |
118 | 118 | } | |
119 | 119 | else T("invalid entry type") | |
120 | 120 | }, X) | |
121 | 121 | } | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func ab (F,V) = { | |
125 | 125 | let ac = U(F, V, "") | |
126 | 126 | if ($isInstanceOf(ac, "String")) | |
127 | 127 | then ac | |
128 | 128 | else throw(($getType(ac) + " couldn't be cast to String")) | |
129 | 129 | } | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func ad (F,V) = { | |
133 | 133 | let ac = U(F, V, 0) | |
134 | 134 | if ($isInstanceOf(ac, "Int")) | |
135 | 135 | then ac | |
136 | 136 | else throw(($getType(ac) + " couldn't be cast to Int")) | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func ae (A) = ((A._1 + a) + A._2) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func af (Z) = { | |
144 | 144 | let ag = split(Z, a) | |
145 | 145 | if ((size(ag) == 2)) | |
146 | 146 | then $Tuple2(ag[0], ag[1]) | |
147 | 147 | else T("invalid pool string") | |
148 | 148 | } | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | let ah = addressFromStringValue(ab(this, n)) | |
152 | 152 | ||
153 | 153 | let ai = 10 | |
154 | 154 | ||
155 | 155 | func aj () = "%s__factoryConfig" | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func ak (al) = split(ab(al, aj()), a) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func am (an) = addressFromStringValue(an[ai]) | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func ao (C,D) = { | |
165 | 165 | func ap (aq) = ("%s%s%s__mappings__baseAsset2internalId__" + aq) | |
166 | 166 | ||
167 | 167 | func ar (as,at) = (((("%d%d%s%s__" + toString(as)) + "__") + toString(at)) + "__mappings__poolAssets2PoolContract") | |
168 | 168 | ||
169 | 169 | func au (av) = (("%s%s%s__" + av) + "__mappings__poolContract2LpAsset") | |
170 | 170 | ||
171 | 171 | let aw = ad(ah, ap(C)) | |
172 | 172 | let ax = ad(ah, ap(D)) | |
173 | 173 | let av = ab(ah, ar(aw, ax)) | |
174 | 174 | let ay = ab(ah, au(av)) | |
175 | 175 | ay | |
176 | 176 | } | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func az (A) = { | |
180 | 180 | let aA = A | |
181 | 181 | let C = aA._1 | |
182 | 182 | let D = aA._2 | |
183 | 183 | let ac = invoke(ah, "checkWxEmissionPoolLabel", [C, D], nil) | |
184 | 184 | if ($isInstanceOf(ac, "Boolean")) | |
185 | 185 | then ac | |
186 | 186 | else throw(($getType(ac) + " couldn't be cast to Boolean")) | |
187 | 187 | } | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func aB () = { | |
191 | 191 | let an = ak(ah) | |
192 | 192 | let aC = am(an) | |
193 | 193 | invoke(aC, "deposit", nil, nil) | |
194 | 194 | } | |
195 | 195 | ||
196 | 196 | ||
197 | 197 | let aD = "pools" | |
198 | 198 | ||
199 | 199 | func aE (A) = { | |
200 | 200 | let aF = A | |
201 | 201 | let C = aF._1 | |
202 | 202 | let D = aF._2 | |
203 | 203 | makeString(["votes", C, D], a) | |
204 | 204 | } | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func aG (aH) = { | |
208 | 208 | let aI = if ((aH == aD)) | |
209 | 209 | then "%s%s" | |
210 | 210 | else "%s%s%s%s" | |
211 | 211 | makeString([aI, aH, "head"], a) | |
212 | 212 | } | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | func aJ (aH) = { | |
216 | 216 | let aI = if ((aH == aD)) | |
217 | 217 | then "%s%s" | |
218 | 218 | else "%s%s%s%s" | |
219 | 219 | makeString([aI, aH, "size"], a) | |
220 | 220 | } | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | func aK (aH,aL) = { | |
224 | 224 | let aI = if ((aH == aD)) | |
225 | 225 | then "%s%s%s%s" | |
226 | 226 | else "%s%s%s%s%s" | |
227 | 227 | makeString([aI, aH, aL, "prev"], a) | |
228 | 228 | } | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func aM (aH,aL) = { | |
232 | 232 | let aI = if ((aH == aD)) | |
233 | 233 | then "%s%s%s%s" | |
234 | 234 | else "%s%s%s%s%s" | |
235 | 235 | makeString([aI, aH, aL, "next"], a) | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | func aN (aH,aL) = { | |
240 | 240 | let aO = getString(this, aG(aH)) | |
241 | 241 | let aP = getString(this, aK(aH, aL)) | |
242 | 242 | let aQ = getString(this, aM(aH, aL)) | |
243 | 243 | if (if ((aL == valueOrElse(aO, ""))) | |
244 | 244 | then true | |
245 | 245 | else (aP != unit)) | |
246 | 246 | then true | |
247 | 247 | else (aQ != unit) | |
248 | 248 | } | |
249 | 249 | ||
250 | 250 | ||
251 | 251 | func aR (aH,aL) = { | |
252 | 252 | let aO = getString(this, aG(aH)) | |
253 | 253 | let aS = valueOrElse(getInteger(this, aJ(aH)), 0) | |
254 | 254 | let aT = if (!(aN(aH, aL))) | |
255 | 255 | then true | |
256 | 256 | else T("Node exists") | |
257 | 257 | if ((aT == aT)) | |
258 | 258 | then (([IntegerEntry(aJ(aH), (aS + 1))] ++ (if ((aO != unit)) | |
259 | 259 | then [StringEntry(aM(aH, aL), value(aO)), StringEntry(aK(aH, value(aO)), aL)] | |
260 | 260 | else nil)) ++ [StringEntry(aG(aH), aL)]) | |
261 | 261 | else throw("Strict value is not equal to itself.") | |
262 | 262 | } | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | func aU (aH,aL) = { | |
266 | 266 | let aO = getString(this, aG(aH)) | |
267 | 267 | let aS = valueOrElse(getInteger(this, aJ(aH)), 0) | |
268 | 268 | let aP = getString(this, aK(aH, aL)) | |
269 | 269 | let aQ = getString(this, aM(aH, aL)) | |
270 | 270 | ([IntegerEntry(aJ(aH), (aS - 1))] ++ (if (if ((aP != unit)) | |
271 | 271 | then (aQ != unit) | |
272 | 272 | else false) | |
273 | 273 | then [StringEntry(aM(aH, value(aP)), value(aQ)), StringEntry(aK(aH, value(aQ)), value(aP)), DeleteEntry(aK(aH, aL)), DeleteEntry(aM(aH, aL))] | |
274 | 274 | else if ((aQ != unit)) | |
275 | 275 | then [StringEntry(aG(aH), value(aQ)), DeleteEntry(aM(aH, aL)), DeleteEntry(aK(aH, value(aQ)))] | |
276 | 276 | else if ((aP != unit)) | |
277 | 277 | then [DeleteEntry(aK(aH, aL)), DeleteEntry(aM(aH, value(aP)))] | |
278 | 278 | else if ((aL == valueOrElse(aO, ""))) | |
279 | 279 | then [DeleteEntry(aG(aH))] | |
280 | 280 | else T(((("invalid node: " + aH) + ".") + aL)))) | |
281 | 281 | } | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | func aV () = "%s__managerVaultAddress" | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | func aW () = "%s__managerPublicKey" | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func aX () = { | |
291 | 291 | let Y = getString(aV()) | |
292 | 292 | if ($isInstanceOf(Y, "String")) | |
293 | 293 | then { | |
294 | 294 | let aY = Y | |
295 | 295 | addressFromStringValue(aY) | |
296 | 296 | } | |
297 | 297 | else this | |
298 | 298 | } | |
299 | 299 | ||
300 | 300 | ||
301 | 301 | func aZ () = { | |
302 | 302 | let ba = aX() | |
303 | 303 | let Y = getString(ba, aW()) | |
304 | 304 | if ($isInstanceOf(Y, "String")) | |
305 | 305 | then { | |
306 | 306 | let aY = Y | |
307 | 307 | fromBase58String(aY) | |
308 | 308 | } | |
309 | 309 | else if ($isInstanceOf(Y, "Unit")) | |
310 | 310 | then unit | |
311 | 311 | else throw("Match error") | |
312 | 312 | } | |
313 | 313 | ||
314 | 314 | ||
315 | 315 | func bb (bc) = { | |
316 | 316 | let Y = aZ() | |
317 | 317 | if ($isInstanceOf(Y, "ByteVector")) | |
318 | 318 | then { | |
319 | 319 | let bd = Y | |
320 | 320 | (bc.callerPublicKey == bd) | |
321 | 321 | } | |
322 | 322 | else if ($isInstanceOf(Y, "Unit")) | |
323 | 323 | then (bc.caller == this) | |
324 | 324 | else throw("Match error") | |
325 | 325 | } | |
326 | 326 | ||
327 | 327 | ||
328 | 328 | func be (bc) = if (bb(bc)) | |
329 | 329 | then true | |
330 | 330 | else throw("permission denied") | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | func bf (bc) = if ((bc.caller == this)) | |
334 | 334 | then true | |
335 | 335 | else throw("permission denied") | |
336 | 336 | ||
337 | 337 | ||
338 | 338 | @Callable(bc) | |
339 | 339 | func getUserGwxAmountAtHeight (bg,bh) = { | |
340 | 340 | let bi = valueOrErrorMessage(addressFromString(ab(this, o)), R("invalid boosting contract address")) | |
341 | 341 | $Tuple2(nil, { | |
342 | 342 | let ac = invoke(bi, "getUserGwxAmountAtHeightREADONLY", [bg, bh], nil) | |
343 | 343 | if ($isInstanceOf(ac, "Int")) | |
344 | 344 | then ac | |
345 | 345 | else throw(($getType(ac) + " couldn't be cast to Int")) | |
346 | 346 | }) | |
347 | 347 | } | |
348 | 348 | ||
349 | 349 | ||
350 | 350 | ||
351 | 351 | @Callable(bc) | |
352 | 352 | func constructor (ah,bj,bk,bl,bm) = { | |
353 | 353 | let bn = [be(bc), if ((addressFromString(ah) != unit)) | |
354 | 354 | then true | |
355 | 355 | else "invalid factory contract address", if ((addressFromString(bj) != unit)) | |
356 | 356 | then true | |
357 | 357 | else "invalid voting emission candidate contract address", if ((addressFromString(bk) != unit)) | |
358 | 358 | then true | |
359 | 359 | else "invalid boosting contract address", if ((addressFromString(bl) != unit)) | |
360 | 360 | then true | |
361 | 361 | else "invalid staking contract address", if ((bm > 0)) | |
362 | 362 | then true | |
363 | 363 | else T("invalid epoch length")] | |
364 | 364 | if ((bn == bn)) | |
365 | 365 | then $Tuple2([StringEntry(n, ah), StringEntry(l, bj), StringEntry(o, bk), StringEntry(p, bl), IntegerEntry(f, bm)], unit) | |
366 | 366 | else throw("Strict value is not equal to itself.") | |
367 | 367 | } | |
368 | 368 | ||
369 | 369 | ||
370 | 370 | ||
371 | 371 | @Callable(bc) | |
372 | 372 | func create (C,D) = { | |
373 | 373 | let bn = [if ((toBase58String(bc.caller.bytes) == valueOrElse(getString(this, l), ""))) | |
374 | 374 | then true | |
375 | 375 | else be(bc)] | |
376 | 376 | if ((bn == bn)) | |
377 | 377 | then { | |
378 | 378 | let A = $Tuple2(C, D) | |
379 | 379 | let bo = ([BooleanEntry(z(A), true)] ++ aR(aD, ae(A))) | |
380 | 380 | let bp = (getInteger(this, j) == unit) | |
381 | 381 | let bq = if (bp) | |
382 | 382 | then { | |
383 | 383 | let i = 0 | |
384 | 384 | [IntegerEntry(j, i), IntegerEntry(x(i), height), IntegerEntry(t, height), IntegerEntry(u, i), IntegerEntry(v, height)] | |
385 | 385 | } | |
386 | 386 | else nil | |
387 | 387 | $Tuple2((bo ++ bq), unit) | |
388 | 388 | } | |
389 | 389 | else throw("Strict value is not equal to itself.") | |
390 | 390 | } | |
391 | 391 | ||
392 | 392 | ||
393 | 393 | ||
394 | 394 | @Callable(bc) | |
395 | 395 | func vote (C,D,br) = { | |
396 | 396 | let A = $Tuple2(C, D) | |
397 | 397 | let i = valueOrElse(getInteger(this, j), 0) | |
398 | 398 | let bs = ad(this, x(i)) | |
399 | 399 | let bm = ad(this, f) | |
400 | 400 | let bt = (bs + bm) | |
401 | 401 | let bu = getInteger(this, q) | |
402 | 402 | let bv = valueOrElse(getInteger(this, E(bc.caller, i)), 0) | |
403 | 403 | let bw = valueOrElse(getInteger(this, G(A, bc.caller, i)), 0) | |
404 | 404 | let bx = valueOrElse(getInteger(this, I(A, i)), 0) | |
405 | 405 | let by = valueOrElse(getInteger(this, O(i)), 0) | |
406 | 406 | let bz = { | |
407 | 407 | let ac = invoke(this, "getUserGwxAmountAtHeight", [toBase58String(bc.caller.bytes), bt], nil) | |
408 | 408 | if ($isInstanceOf(ac, "Int")) | |
409 | 409 | then ac | |
410 | 410 | else throw(($getType(ac) + " couldn't be cast to Int")) | |
411 | 411 | } | |
412 | 412 | let bA = (bz - bv) | |
413 | 413 | let bB = (bw + br) | |
414 | 414 | let bC = az(A) | |
415 | 415 | let bn = [if ((getBoolean(z(A)) != unit)) | |
416 | 416 | then true | |
417 | 417 | else T("invalid assets"), if ((bt > height)) | |
418 | 418 | then true | |
419 | 419 | else T("invalid height"), if ((bu == unit)) | |
420 | 420 | then true | |
421 | 421 | else T("finalization in progress"), if ((bz > 0)) | |
422 | 422 | then true | |
423 | 423 | else T("you do not have gWX"), if (if ((br > 0)) | |
424 | 424 | then (bA >= br) | |
425 | 425 | else false) | |
426 | 426 | then true | |
427 | 427 | else T("invalid amount"), if (bC) | |
428 | 428 | then true | |
429 | 429 | else T("pool hasn't WX_EMISSION label")] | |
430 | 430 | if ((bn == bn)) | |
431 | 431 | then { | |
432 | 432 | let bD = aE(A) | |
433 | 433 | let Q = toString(bc.caller) | |
434 | 434 | let bE = if (aN(bD, Q)) | |
435 | 435 | then nil | |
436 | 436 | else aR(bD, Q) | |
437 | 437 | $Tuple2(([IntegerEntry(E(bc.caller, i), (bv + br)), IntegerEntry(G(A, bc.caller, i), bB), IntegerEntry(I(A, i), (bx + br)), IntegerEntry(O(i), (by + br))] ++ bE), unit) | |
438 | 438 | } | |
439 | 439 | else throw("Strict value is not equal to itself.") | |
440 | 440 | } | |
441 | 441 | ||
442 | 442 | ||
443 | 443 | ||
444 | 444 | @Callable(bc) | |
445 | 445 | func cancelVote (C,D) = { | |
446 | 446 | let A = $Tuple2(C, D) | |
447 | 447 | let i = valueOrElse(getInteger(this, j), 0) | |
448 | 448 | let bs = ad(this, x(i)) | |
449 | 449 | let bm = ad(this, f) | |
450 | 450 | let bt = (bs + bm) | |
451 | 451 | let bu = getInteger(this, q) | |
452 | 452 | let bv = valueOrElse(getInteger(this, E(bc.caller, i)), 0) | |
453 | 453 | let bw = valueOrElse(getInteger(this, G(A, bc.caller, i)), 0) | |
454 | 454 | let bx = valueOrElse(getInteger(this, I(A, i)), 0) | |
455 | 455 | let by = valueOrElse(getInteger(this, O(i)), 0) | |
456 | 456 | let bn = [if ((getBoolean(z(A)) != unit)) | |
457 | 457 | then true | |
458 | 458 | else T("invalid assets"), if ((bt > height)) | |
459 | 459 | then true | |
460 | 460 | else T("invalid height"), if ((bu == unit)) | |
461 | 461 | then true | |
462 | 462 | else T("finalization in progress"), if ((bw > 0)) | |
463 | 463 | then true | |
464 | 464 | else T("no vote")] | |
465 | 465 | if ((bn == bn)) | |
466 | 466 | then { | |
467 | 467 | let bD = aE(A) | |
468 | 468 | let Q = toString(bc.caller) | |
469 | 469 | $Tuple2(([IntegerEntry(E(bc.caller, i), max([(bv - bw), 0])), DeleteEntry(G(A, bc.caller, i)), IntegerEntry(I(A, i), (bx - bw)), IntegerEntry(O(i), (by - bw))] ++ aU(bD, Q)), unit) | |
470 | 470 | } | |
471 | 471 | else throw("Strict value is not equal to itself.") | |
472 | 472 | } | |
473 | 473 | ||
474 | 474 | ||
475 | 475 | ||
476 | 476 | @Callable(bc) | |
477 | 477 | func setEpochLength (bF) = { | |
478 | 478 | let bn = [be(bc), if ((bF > 0)) | |
479 | 479 | then true | |
480 | 480 | else T("invalid epoch length")] | |
481 | 481 | if ((bn == bn)) | |
482 | 482 | then $Tuple2([IntegerEntry(g, bF)], unit) | |
483 | 483 | else throw("Strict value is not equal to itself.") | |
484 | 484 | } | |
485 | 485 | ||
486 | 486 | ||
487 | 487 | ||
488 | 488 | @Callable(bc) | |
489 | 489 | func setMaxDepth (bG) = { | |
490 | 490 | let bn = [be(bc), if ((bG > 0)) | |
491 | 491 | then true | |
492 | 492 | else T("invalid max depth")] | |
493 | 493 | if ((bn == bn)) | |
494 | 494 | then $Tuple2([IntegerEntry(k, bG)], unit) | |
495 | 495 | else throw("Strict value is not equal to itself.") | |
496 | 496 | } | |
497 | 497 | ||
498 | 498 | ||
499 | 499 | ||
500 | 500 | @Callable(bc) | |
501 | 501 | func processVoteINTERNAL (bH,Q) = { | |
502 | 502 | let bI = bf(bc) | |
503 | 503 | if ((bI == bI)) | |
504 | 504 | then { | |
505 | 505 | let bg = valueOrErrorMessage(addressFromString(Q), R(("processVoteINTERNAL: invalid user address " + Q))) | |
506 | 506 | let i = ad(this, j) | |
507 | 507 | let bJ = (i - 1) | |
508 | 508 | let bm = ad(this, f) | |
509 | 509 | let bs = ad(this, x(i)) | |
510 | 510 | let bt = (bs + bm) | |
511 | 511 | let bK = ad(this, x(bJ)) | |
512 | 512 | let bL = ad(this, h(bJ)) | |
513 | 513 | let bM = (bK + bL) | |
514 | 514 | let bN = if ((bJ >= 0)) | |
515 | 515 | then true | |
516 | 516 | else T("processVoteINTERNAL: invalid previous epoch") | |
517 | 517 | if ((bN == bN)) | |
518 | 518 | then { | |
519 | 519 | let A = af(bH) | |
520 | 520 | let bO = A | |
521 | 521 | let C = bO._1 | |
522 | 522 | let D = bO._2 | |
523 | 523 | let bC = az(A) | |
524 | 524 | let bz = { | |
525 | 525 | let ac = invoke(this, "getUserGwxAmountAtHeight", [Q, bt], nil) | |
526 | 526 | if ($isInstanceOf(ac, "Int")) | |
527 | 527 | then ac | |
528 | 528 | else throw(($getType(ac) + " couldn't be cast to Int")) | |
529 | 529 | } | |
530 | 530 | let bP = { | |
531 | 531 | let ac = invoke(this, "getUserGwxAmountAtHeight", [Q, bM], nil) | |
532 | 532 | if ($isInstanceOf(ac, "Int")) | |
533 | 533 | then ac | |
534 | 534 | else throw(($getType(ac) + " couldn't be cast to Int")) | |
535 | 535 | } | |
536 | 536 | let by = valueOrElse(getInteger(O(i)), 0) | |
537 | 537 | let bQ = valueOrElse(getInteger(I(A, i)), 0) | |
538 | 538 | let bR = valueOrErrorMessage(getInteger(G(A, bg, bJ)), R((((("processVoteINTERNAL " + bH) + " ") + Q) + ": no previous vote"))) | |
539 | 539 | let bv = valueOrElse(getInteger(this, E(bg, i)), 0) | |
540 | 540 | let L = ao(C, D) | |
541 | 541 | let bS = valueOrElse(getInteger(K(L, bJ)), 0) | |
542 | 542 | let bl = addressFromStringValue(ab(this, p)) | |
543 | 543 | let bT = valueOrElse(getInteger(bl, P(L, Q)), 0) | |
544 | 544 | let bU = if ((bT == 0)) | |
545 | 545 | then nil | |
546 | 546 | else [IntegerEntry(K(L, bJ), (bS + bR))] | |
547 | 547 | let ay = ao(C, D) | |
548 | 548 | let bV = { | |
549 | 549 | let ac = invoke(ah, "checkBalance", [ay], nil) | |
550 | 550 | if ($isInstanceOf(ac, "Boolean")) | |
551 | 551 | then ac | |
552 | 552 | else throw(($getType(ac) + " couldn't be cast to Boolean")) | |
553 | 553 | } | |
554 | 554 | let bB = if ((bP > 0)) | |
555 | 555 | then fraction(bR, bz, bP) | |
556 | 556 | else 0 | |
557 | 557 | let bW = if (if (if ((bB > 0)) | |
558 | 558 | then bC | |
559 | 559 | else false) | |
560 | 560 | then bV | |
561 | 561 | else false) | |
562 | 562 | then [IntegerEntry(G(A, bg, i), bB), IntegerEntry(O(i), (by + bB)), IntegerEntry(I(A, i), (bQ + bB)), IntegerEntry(E(bg, i), (bv + bB))] | |
563 | 563 | else aU(aE(A), Q) | |
564 | 564 | $Tuple2((bW ++ bU), unit) | |
565 | 565 | } | |
566 | 566 | else throw("Strict value is not equal to itself.") | |
567 | 567 | } | |
568 | 568 | else throw("Strict value is not equal to itself.") | |
569 | 569 | } | |
570 | 570 | ||
571 | 571 | ||
572 | 572 | ||
573 | 573 | @Callable(bc) | |
574 | 574 | func processPoolINTERNAL (bH,bX) = { | |
575 | 575 | let bI = bf(bc) | |
576 | 576 | if ((bI == bI)) | |
577 | 577 | then { | |
578 | 578 | let bY = { | |
579 | 579 | let bZ = ad(this, j) | |
580 | 580 | if (bX) | |
581 | 581 | then bZ | |
582 | 582 | else (bZ - 1) | |
583 | 583 | } | |
584 | 584 | let bN = if ((bY >= 0)) | |
585 | 585 | then true | |
586 | 586 | else T("processPoolINTERNAL: invalid target epoch") | |
587 | 587 | if ((bN == bN)) | |
588 | 588 | then { | |
589 | 589 | let A = af(bH) | |
590 | 590 | let ca = A | |
591 | 591 | let C = ca._1 | |
592 | 592 | let D = ca._2 | |
593 | 593 | let bl = addressFromStringValue(ab(this, p)) | |
594 | 594 | let ay = ao(C, D) | |
595 | 595 | let cb = { | |
596 | 596 | let ac = invoke(bl, "usersListTraversal", [ay], nil) | |
597 | 597 | if ($isInstanceOf(ac, "Boolean")) | |
598 | 598 | then ac | |
599 | 599 | else throw(($getType(ac) + " couldn't be cast to Boolean")) | |
600 | 600 | } | |
601 | 601 | if ((cb == cb)) | |
602 | 602 | then if (cb) | |
603 | 603 | then $Tuple2(nil, true) | |
604 | 604 | else { | |
605 | - | let bC = az(A) | |
606 | 605 | let bV = { | |
607 | 606 | let ac = invoke(ah, "checkBalance", [ay], nil) | |
608 | 607 | if ($isInstanceOf(ac, "Boolean")) | |
609 | 608 | then ac | |
610 | 609 | else throw(($getType(ac) + " couldn't be cast to Boolean")) | |
611 | 610 | } | |
612 | - | let by = valueOrElse(getInteger(this, O(bY)), 0) | |
613 | - | let bQ = valueOrElse(getInteger(this, I(A, bY)), 0) | |
614 | - | let cc = if (if (if ((by == 0)) | |
615 | - | then true | |
616 | - | else !(bC)) | |
617 | - | then true | |
618 | - | else !(bV)) | |
619 | - | then 0 | |
620 | - | else fraction(bQ, b, by) | |
621 | - | let cd = invoke(ah, "modifyWeight", [ay, cc], nil) | |
622 | - | if ((cd == cd)) | |
611 | + | let cc = if (bV) | |
612 | + | then unit | |
613 | + | else invoke(ah, "deleteWxEmissionPoolLabel", [C, D], nil) | |
614 | + | if ((cc == cc)) | |
623 | 615 | then { | |
624 | - | let ce = if (if (bC) | |
616 | + | let bC = az(A) | |
617 | + | let by = valueOrElse(getInteger(this, O(bY)), 0) | |
618 | + | let bQ = valueOrElse(getInteger(this, I(A, bY)), 0) | |
619 | + | let cd = if (if ((by == 0)) | |
625 | 620 | then true | |
626 | - | else bX) | |
627 | - | then nil | |
628 | - | else ([DeleteEntry(z(A))] ++ aU(aD, bH)) | |
629 | - | $Tuple2(([IntegerEntry(M(A, bY), cc)] ++ ce), false) | |
621 | + | else !(bC)) | |
622 | + | then 0 | |
623 | + | else fraction(bQ, b, by) | |
624 | + | let ce = invoke(ah, "modifyWeight", [ay, cd], nil) | |
625 | + | if ((ce == ce)) | |
626 | + | then { | |
627 | + | let cf = if (if (bC) | |
628 | + | then true | |
629 | + | else bX) | |
630 | + | then nil | |
631 | + | else ([DeleteEntry(z(A))] ++ aU(aD, bH)) | |
632 | + | $Tuple2(([IntegerEntry(M(A, bY), cd)] ++ cf), false) | |
633 | + | } | |
634 | + | else throw("Strict value is not equal to itself.") | |
630 | 635 | } | |
631 | 636 | else throw("Strict value is not equal to itself.") | |
632 | 637 | } | |
633 | 638 | else throw("Strict value is not equal to itself.") | |
634 | 639 | } | |
635 | 640 | else throw("Strict value is not equal to itself.") | |
636 | 641 | } | |
637 | 642 | else throw("Strict value is not equal to itself.") | |
638 | 643 | } | |
639 | 644 | ||
640 | 645 | ||
641 | 646 | ||
642 | 647 | @Callable(bc) | |
643 | 648 | func finalizeHelper () = { | |
644 | 649 | let bX = valueOrElse(getBoolean(w), false) | |
645 | 650 | let i = valueOrElse(getInteger(this, j), 0) | |
646 | - | let | |
651 | + | let cg = (i - 1) | |
647 | 652 | let bs = ad(this, x(i)) | |
648 | 653 | let bm = ad(this, f) | |
649 | 654 | let bt = (bs + bm) | |
650 | 655 | let bu = getInteger(this, q) | |
651 | 656 | if (if (if ((height >= bt)) | |
652 | 657 | then (bu == unit) | |
653 | 658 | else false) | |
654 | 659 | then !(bX) | |
655 | 660 | else false) | |
656 | 661 | then { | |
657 | - | let | |
658 | - | let | |
659 | - | let | |
660 | - | let Y = | |
662 | + | let ch = (i + 1) | |
663 | + | let ci = getInteger(this, g) | |
664 | + | let cj = { | |
665 | + | let Y = ci | |
661 | 666 | if ($isInstanceOf(Y, "Int")) | |
662 | 667 | then { | |
663 | 668 | let bF = Y | |
664 | 669 | [IntegerEntry(f, bF), DeleteEntry(g)] | |
665 | 670 | } | |
666 | 671 | else if ($isInstanceOf(Y, "Unit")) | |
667 | 672 | then nil | |
668 | 673 | else throw("Match error") | |
669 | 674 | } | |
670 | - | $Tuple2(([IntegerEntry(x( | |
675 | + | $Tuple2(([IntegerEntry(x(ch), height), IntegerEntry(t, height), IntegerEntry(j, ch), IntegerEntry(q, d), IntegerEntry(h(i), bm)] ++ cj), true) | |
671 | 676 | } | |
672 | 677 | else if (if (bX) | |
673 | 678 | then (bu == unit) | |
674 | 679 | else false) | |
675 | 680 | then $Tuple2([IntegerEntry(q, e)], true) | |
676 | 681 | else if ((bu == unit)) | |
677 | 682 | then $Tuple2(nil, false) | |
678 | 683 | else if ((bu == d)) | |
679 | 684 | then { | |
680 | - | let | |
681 | - | let | |
682 | - | let Y = | |
685 | + | let ck = getString(r) | |
686 | + | let cl = getString(s) | |
687 | + | let Y = ck | |
683 | 688 | if ($isInstanceOf(Y, "Unit")) | |
684 | 689 | then { | |
685 | - | let | |
686 | - | if ($isInstanceOf( | |
690 | + | let cm = getString(aG(aD)) | |
691 | + | if ($isInstanceOf(cm, "Unit")) | |
687 | 692 | then $Tuple2([IntegerEntry(q, e), DeleteEntry(r), DeleteEntry(s)], true) | |
688 | - | else if ($isInstanceOf( | |
693 | + | else if ($isInstanceOf(cm, "String")) | |
689 | 694 | then { | |
690 | - | let | |
691 | - | $Tuple2([StringEntry(r, | |
695 | + | let cn = cm | |
696 | + | $Tuple2([StringEntry(r, cn)], true) | |
692 | 697 | } | |
693 | 698 | else throw("Match error") | |
694 | 699 | } | |
695 | 700 | else if ($isInstanceOf(Y, "String")) | |
696 | 701 | then { | |
697 | 702 | let bH = Y | |
698 | 703 | let A = af(bH) | |
699 | - | let | |
700 | - | let | |
701 | - | if ($isInstanceOf( | |
704 | + | let co = { | |
705 | + | let cm = cl | |
706 | + | if ($isInstanceOf(cm, "Unit")) | |
702 | 707 | then getString(aG(aE(A))) | |
703 | - | else if ($isInstanceOf( | |
708 | + | else if ($isInstanceOf(cm, "String")) | |
704 | 709 | then { | |
705 | - | let | |
706 | - | let | |
707 | - | if (( | |
710 | + | let cp = cm | |
711 | + | let cq = getString(aM(aE(A), cp)) | |
712 | + | if ((cq == cq)) | |
708 | 713 | then { | |
709 | - | let | |
710 | - | if (( | |
711 | - | then | |
714 | + | let cr = invoke(this, "processVoteINTERNAL", [bH, cp], nil) | |
715 | + | if ((cr == cr)) | |
716 | + | then cq | |
712 | 717 | else throw("Strict value is not equal to itself.") | |
713 | 718 | } | |
714 | 719 | else throw("Strict value is not equal to itself.") | |
715 | 720 | } | |
716 | 721 | else throw("Match error") | |
717 | 722 | } | |
718 | - | let | |
719 | - | if ($isInstanceOf( | |
723 | + | let cm = co | |
724 | + | if ($isInstanceOf(cm, "Unit")) | |
720 | 725 | then { | |
721 | - | let | |
722 | - | let | |
723 | - | if ($isInstanceOf( | |
726 | + | let cs = getString(aM(aD, bH)) | |
727 | + | let ct = cs | |
728 | + | if ($isInstanceOf(ct, "Unit")) | |
724 | 729 | then $Tuple2([IntegerEntry(q, e), DeleteEntry(r), DeleteEntry(s)], true) | |
725 | - | else if ($isInstanceOf( | |
730 | + | else if ($isInstanceOf(ct, "String")) | |
726 | 731 | then { | |
727 | - | let aY = | |
732 | + | let aY = ct | |
728 | 733 | $Tuple2([StringEntry(r, aY), DeleteEntry(s)], true) | |
729 | 734 | } | |
730 | 735 | else throw("Match error") | |
731 | 736 | } | |
732 | - | else if ($isInstanceOf( | |
737 | + | else if ($isInstanceOf(cm, "String")) | |
733 | 738 | then { | |
734 | - | let | |
735 | - | $Tuple2([StringEntry(s, | |
739 | + | let cu = cm | |
740 | + | $Tuple2([StringEntry(s, cu)], true) | |
736 | 741 | } | |
737 | 742 | else throw("Match error") | |
738 | 743 | } | |
739 | 744 | else throw("Match error") | |
740 | 745 | } | |
741 | 746 | else if ((bu == e)) | |
742 | 747 | then { | |
743 | - | let | |
744 | - | let Y = | |
748 | + | let ck = getString(r) | |
749 | + | let Y = ck | |
745 | 750 | if ($isInstanceOf(Y, "Unit")) | |
746 | 751 | then { | |
747 | - | let | |
748 | - | if ($isInstanceOf( | |
752 | + | let cm = getString(aG(aD)) | |
753 | + | if ($isInstanceOf(cm, "Unit")) | |
749 | 754 | then { | |
750 | 755 | let bW = if (bX) | |
751 | 756 | then [DeleteEntry(q), DeleteEntry(w)] | |
752 | - | else [DeleteEntry(q), BooleanEntry(y( | |
753 | - | let | |
754 | - | if (( | |
757 | + | else [DeleteEntry(q), BooleanEntry(y(cg), true), IntegerEntry(u, i), IntegerEntry(v, bs)] | |
758 | + | let cv = aB() | |
759 | + | if ((cv == cv)) | |
755 | 760 | then $Tuple2(bW, true) | |
756 | 761 | else throw("Strict value is not equal to itself.") | |
757 | 762 | } | |
758 | - | else if ($isInstanceOf( | |
763 | + | else if ($isInstanceOf(cm, "String")) | |
759 | 764 | then { | |
760 | - | let | |
761 | - | $Tuple2([StringEntry(r, | |
765 | + | let cw = cm | |
766 | + | $Tuple2([StringEntry(r, cw)], true) | |
762 | 767 | } | |
763 | 768 | else throw("Match error") | |
764 | 769 | } | |
765 | 770 | else if ($isInstanceOf(Y, "String")) | |
766 | 771 | then { | |
767 | 772 | let bH = Y | |
768 | - | let | |
769 | - | if (( | |
773 | + | let cs = getString(aM(aD, bH)) | |
774 | + | if ((cs == cs)) | |
770 | 775 | then { | |
771 | 776 | let cb = { | |
772 | 777 | let ac = invoke(this, "processPoolINTERNAL", [bH, bX], nil) | |
773 | 778 | if ($isInstanceOf(ac, "Boolean")) | |
774 | 779 | then ac | |
775 | 780 | else throw(($getType(ac) + " couldn't be cast to Boolean")) | |
776 | 781 | } | |
777 | 782 | if ((cb == cb)) | |
778 | 783 | then if (cb) | |
779 | 784 | then $Tuple2(nil, true) | |
780 | 785 | else { | |
781 | - | let | |
782 | - | if ($isInstanceOf( | |
786 | + | let cm = cs | |
787 | + | if ($isInstanceOf(cm, "Unit")) | |
783 | 788 | then { | |
784 | 789 | let bW = if (bX) | |
785 | 790 | then [DeleteEntry(q), DeleteEntry(w), DeleteEntry(r)] | |
786 | - | else [DeleteEntry(q), BooleanEntry(y( | |
787 | - | let | |
788 | - | if (( | |
791 | + | else [DeleteEntry(q), BooleanEntry(y(cg), true), IntegerEntry(u, i), IntegerEntry(v, bs), DeleteEntry(r)] | |
792 | + | let cv = aB() | |
793 | + | if ((cv == cv)) | |
789 | 794 | then $Tuple2(bW, true) | |
790 | 795 | else throw("Strict value is not equal to itself.") | |
791 | 796 | } | |
792 | - | else if ($isInstanceOf( | |
797 | + | else if ($isInstanceOf(cm, "String")) | |
793 | 798 | then { | |
794 | - | let | |
795 | - | $Tuple2([StringEntry(r, | |
799 | + | let cw = cm | |
800 | + | $Tuple2([StringEntry(r, cw)], true) | |
796 | 801 | } | |
797 | 802 | else throw("Match error") | |
798 | 803 | } | |
799 | 804 | else throw("Strict value is not equal to itself.") | |
800 | 805 | } | |
801 | 806 | else throw("Strict value is not equal to itself.") | |
802 | 807 | } | |
803 | 808 | else throw("Match error") | |
804 | 809 | } | |
805 | 810 | else T("finalization is broken") | |
806 | 811 | } | |
807 | 812 | ||
808 | 813 | ||
809 | 814 | ||
810 | 815 | @Callable(bc) | |
811 | - | func finalizeWrapper ( | |
812 | - | let | |
813 | - | let | |
816 | + | func finalizeWrapper (cx) = { | |
817 | + | let cy = addressFromStringValue(getStringValue(this, m)) | |
818 | + | let cz = { | |
814 | 819 | let ac = invoke(this, "finalizeHelper", nil, nil) | |
815 | 820 | if ($isInstanceOf(ac, "Boolean")) | |
816 | 821 | then ac | |
817 | 822 | else throw(($getType(ac) + " couldn't be cast to Boolean")) | |
818 | 823 | } | |
819 | - | if (( | |
820 | - | then if (!( | |
821 | - | then if (( | |
824 | + | if ((cz == cz)) | |
825 | + | then if (!(cz)) | |
826 | + | then if ((cx == 0)) | |
822 | 827 | then T("Current voting is not over yet") | |
823 | 828 | else { | |
824 | - | let | |
825 | - | if (( | |
829 | + | let cA = invoke(cy, "finalize", nil, nil) | |
830 | + | if ((cA == cA)) | |
826 | 831 | then $Tuple2(nil, unit) | |
827 | 832 | else throw("Strict value is not equal to itself.") | |
828 | 833 | } | |
829 | 834 | else { | |
830 | - | let | |
831 | - | if (( | |
835 | + | let cB = valueOrElse(getInteger(this, k), c) | |
836 | + | if ((cB > cx)) | |
832 | 837 | then { | |
833 | - | let | |
834 | - | if (( | |
838 | + | let cA = invoke(this, "finalizeWrapper", [(cx + 1)], nil) | |
839 | + | if ((cA == cA)) | |
835 | 840 | then $Tuple2(nil, unit) | |
836 | 841 | else throw("Strict value is not equal to itself.") | |
837 | 842 | } | |
838 | 843 | else $Tuple2(nil, unit) | |
839 | 844 | } | |
840 | 845 | else throw("Strict value is not equal to itself.") | |
841 | 846 | } | |
842 | 847 | ||
843 | 848 | ||
844 | 849 | ||
845 | 850 | @Callable(bc) | |
846 | 851 | func finalize () = { | |
847 | - | let | |
848 | - | if (( | |
852 | + | let cA = invoke(this, "finalizeWrapper", [0], nil) | |
853 | + | if ((cA == cA)) | |
849 | 854 | then $Tuple2(nil, unit) | |
850 | 855 | else throw("Strict value is not equal to itself.") | |
851 | 856 | } | |
852 | 857 | ||
853 | 858 | ||
854 | 859 | ||
855 | 860 | @Callable(bc) | |
856 | 861 | func containsNodeREADONLY (aH,aL) = $Tuple2(nil, aN(aH, aL)) | |
857 | 862 | ||
858 | 863 | ||
859 | 864 | ||
860 | 865 | @Callable(bc) | |
861 | 866 | func insertNode (aH,aL) = { | |
862 | 867 | let bI = be(bc) | |
863 | 868 | if ((bI == bI)) | |
864 | 869 | then $Tuple2(aR(aH, aL), unit) | |
865 | 870 | else throw("Strict value is not equal to itself.") | |
866 | 871 | } | |
867 | 872 | ||
868 | 873 | ||
869 | 874 | ||
870 | 875 | @Callable(bc) | |
871 | 876 | func deleteNode (aH,aL) = { | |
872 | 877 | let bI = be(bc) | |
873 | 878 | if ((bI == bI)) | |
874 | 879 | then $Tuple2(aU(aH, aL), unit) | |
875 | 880 | else throw("Strict value is not equal to itself.") | |
876 | 881 | } | |
877 | 882 | ||
878 | 883 | ||
879 | 884 | ||
880 | 885 | @Callable(bc) | |
881 | 886 | func isFinalizationInProgress () = { | |
882 | 887 | let bu = getInteger(this, q) | |
883 | - | let | |
884 | - | $Tuple2(nil, | |
888 | + | let cC = (bu != unit) | |
889 | + | $Tuple2(nil, cC) | |
885 | 890 | } | |
886 | 891 | ||
887 | 892 | ||
888 | 893 | ||
889 | 894 | @Callable(bc) | |
890 | 895 | func deletePool (C,D) = { | |
891 | 896 | let bI = if (if ((bc.caller == ah)) | |
892 | 897 | then true | |
893 | 898 | else be(bc)) | |
894 | 899 | then true | |
895 | 900 | else T("Permission denied") | |
896 | 901 | if ((bI == bI)) | |
897 | 902 | then { | |
898 | 903 | let aH = "pools" | |
899 | 904 | let A = $Tuple2(C, D) | |
900 | 905 | let aL = makeString([C, D], a) | |
901 | 906 | let bW = if (aN(aH, aL)) | |
902 | 907 | then aU(aH, aL) | |
903 | 908 | else nil | |
904 | 909 | ([DeleteEntry(z(A))] ++ bW) | |
905 | 910 | } | |
906 | 911 | else throw("Strict value is not equal to itself.") | |
907 | 912 | } | |
908 | 913 | ||
909 | 914 | ||
910 | - | @Verifier( | |
911 | - | func | |
912 | - | let | |
915 | + | @Verifier(cD) | |
916 | + | func cE () = { | |
917 | + | let cF = { | |
913 | 918 | let Y = aZ() | |
914 | 919 | if ($isInstanceOf(Y, "ByteVector")) | |
915 | 920 | then { | |
916 | 921 | let bd = Y | |
917 | 922 | bd | |
918 | 923 | } | |
919 | 924 | else if ($isInstanceOf(Y, "Unit")) | |
920 | - | then | |
925 | + | then cD.senderPublicKey | |
921 | 926 | else throw("Match error") | |
922 | 927 | } | |
923 | - | sigVerify( | |
928 | + | sigVerify(cD.bodyBytes, cD.proofs[0], cF) | |
924 | 929 | } | |
925 | 930 |
github/deemru/w8io/169f3d6 136.81 ms ◑