|
60 | 60 | "name": "Initialized",
|
61 | 61 | "type": "event"
|
62 | 62 | },
|
63 |
| - { |
64 |
| - "anonymous": false, |
65 |
| - "inputs": [ |
66 |
| - { |
67 |
| - "indexed": false, |
68 |
| - "internalType": "enum ISortitionModule.Phase", |
69 |
| - "name": "_phase", |
70 |
| - "type": "uint8" |
71 |
| - } |
72 |
| - ], |
73 |
| - "name": "NewPhase", |
74 |
| - "type": "event" |
75 |
| - }, |
76 | 63 | {
|
77 | 64 | "anonymous": false,
|
78 | 65 | "inputs": [
|
79 | 66 | {
|
80 | 67 | "indexed": true,
|
81 | 68 | "internalType": "address",
|
82 |
| - "name": "_address", |
| 69 | + "name": "_account", |
83 | 70 | "type": "address"
|
84 | 71 | },
|
85 |
| - { |
86 |
| - "indexed": false, |
87 |
| - "internalType": "uint256", |
88 |
| - "name": "_courtID", |
89 |
| - "type": "uint256" |
90 |
| - }, |
91 | 72 | {
|
92 | 73 | "indexed": false,
|
93 | 74 | "internalType": "uint256",
|
94 | 75 | "name": "_amount",
|
95 | 76 | "type": "uint256"
|
96 | 77 | }
|
97 | 78 | ],
|
98 |
| - "name": "StakeDelayedAlreadyTransferredDeposited", |
| 79 | + "name": "LeftoverPNKWithdrawn", |
99 | 80 | "type": "event"
|
100 | 81 | },
|
101 | 82 | {
|
102 | 83 | "anonymous": false,
|
103 | 84 | "inputs": [
|
104 |
| - { |
105 |
| - "indexed": true, |
106 |
| - "internalType": "address", |
107 |
| - "name": "_address", |
108 |
| - "type": "address" |
109 |
| - }, |
110 | 85 | {
|
111 | 86 | "indexed": false,
|
112 |
| - "internalType": "uint256", |
113 |
| - "name": "_courtID", |
114 |
| - "type": "uint256" |
115 |
| - }, |
116 |
| - { |
117 |
| - "indexed": false, |
118 |
| - "internalType": "uint256", |
119 |
| - "name": "_amount", |
120 |
| - "type": "uint256" |
| 87 | + "internalType": "enum ISortitionModule.Phase", |
| 88 | + "name": "_phase", |
| 89 | + "type": "uint8" |
121 | 90 | }
|
122 | 91 | ],
|
123 |
| - "name": "StakeDelayedAlreadyTransferred", |
| 92 | + "name": "NewPhase", |
124 | 93 | "type": "event"
|
125 | 94 | },
|
126 | 95 | {
|
|
145 | 114 | "type": "uint256"
|
146 | 115 | }
|
147 | 116 | ],
|
148 |
| - "name": "StakeDelayedAlreadyTransferredWithdrawn", |
149 |
| - "type": "event" |
150 |
| - }, |
151 |
| - { |
152 |
| - "anonymous": false, |
153 |
| - "inputs": [ |
154 |
| - { |
155 |
| - "indexed": true, |
156 |
| - "internalType": "address", |
157 |
| - "name": "_address", |
158 |
| - "type": "address" |
159 |
| - }, |
160 |
| - { |
161 |
| - "indexed": false, |
162 |
| - "internalType": "uint256", |
163 |
| - "name": "_courtID", |
164 |
| - "type": "uint256" |
165 |
| - }, |
166 |
| - { |
167 |
| - "indexed": false, |
168 |
| - "internalType": "uint256", |
169 |
| - "name": "_amount", |
170 |
| - "type": "uint256" |
171 |
| - } |
172 |
| - ], |
173 |
| - "name": "StakeDelayedNotTransferred", |
| 117 | + "name": "StakeDelayed", |
174 | 118 | "type": "event"
|
175 | 119 | },
|
176 | 120 | {
|
|
449 | 393 | "internalType": "uint256",
|
450 | 394 | "name": "stake",
|
451 | 395 | "type": "uint256"
|
452 |
| - }, |
453 |
| - { |
454 |
| - "internalType": "bool", |
455 |
| - "name": "alreadyTransferred", |
456 |
| - "type": "bool" |
457 | 396 | }
|
458 | 397 | ],
|
459 | 398 | "stateMutability": "view",
|
|
696 | 635 | "stateMutability": "view",
|
697 | 636 | "type": "function"
|
698 | 637 | },
|
699 |
| - { |
700 |
| - "inputs": [ |
701 |
| - { |
702 |
| - "internalType": "address", |
703 |
| - "name": "jurorAccount", |
704 |
| - "type": "address" |
705 |
| - }, |
706 |
| - { |
707 |
| - "internalType": "uint96", |
708 |
| - "name": "courtId", |
709 |
| - "type": "uint96" |
710 |
| - } |
711 |
| - ], |
712 |
| - "name": "latestDelayedStakeIndex", |
713 |
| - "outputs": [ |
714 |
| - { |
715 |
| - "internalType": "uint256", |
716 |
| - "name": "", |
717 |
| - "type": "uint256" |
718 |
| - } |
719 |
| - ], |
720 |
| - "stateMutability": "view", |
721 |
| - "type": "function" |
722 |
| - }, |
723 | 638 | {
|
724 | 639 | "inputs": [
|
725 | 640 | {
|
|
824 | 739 | }
|
825 | 740 | ],
|
826 | 741 | "name": "penalizeStake",
|
827 |
| - "outputs": [], |
| 742 | + "outputs": [ |
| 743 | + { |
| 744 | + "internalType": "uint256", |
| 745 | + "name": "pnkBalance", |
| 746 | + "type": "uint256" |
| 747 | + }, |
| 748 | + { |
| 749 | + "internalType": "uint256", |
| 750 | + "name": "availablePenalty", |
| 751 | + "type": "uint256" |
| 752 | + } |
| 753 | + ], |
828 | 754 | "stateMutability": "nonpayable",
|
829 | 755 | "type": "function"
|
830 | 756 | },
|
|
956 | 882 | },
|
957 | 883 | {
|
958 | 884 | "internalType": "bool",
|
959 |
| - "name": "_alreadyTransferred", |
| 885 | + "name": "", |
960 | 886 | "type": "bool"
|
961 | 887 | }
|
962 | 888 | ],
|
|
972 | 898 | "name": "pnkWithdrawal",
|
973 | 899 | "type": "uint256"
|
974 | 900 | },
|
| 901 | + { |
| 902 | + "internalType": "uint256", |
| 903 | + "name": "oldStake", |
| 904 | + "type": "uint256" |
| 905 | + }, |
975 | 906 | {
|
976 | 907 | "internalType": "enum StakingResult",
|
977 | 908 | "name": "stakingResult",
|
|
1090 | 1021 | ],
|
1091 | 1022 | "stateMutability": "view",
|
1092 | 1023 | "type": "function"
|
| 1024 | + }, |
| 1025 | + { |
| 1026 | + "inputs": [ |
| 1027 | + { |
| 1028 | + "internalType": "address", |
| 1029 | + "name": "_account", |
| 1030 | + "type": "address" |
| 1031 | + } |
| 1032 | + ], |
| 1033 | + "name": "withdrawLeftoverPNK", |
| 1034 | + "outputs": [], |
| 1035 | + "stateMutability": "nonpayable", |
| 1036 | + "type": "function" |
1093 | 1037 | }
|
1094 | 1038 | ]
|
1095 | 1039 | }
|
0 commit comments