1
1
// SPDX-License-Identifier: UNLICENSED
2
- pragma solidity ^ 0.8.9 ;
2
+ pragma solidity 0.8.27 ;
3
3
4
+ /**
5
+ * @custom:security-contact [email protected]
6
+ */
4
7
interface ISFC {
5
8
event CreatedValidator (
6
9
uint256 indexed validatorID ,
@@ -32,9 +35,7 @@ interface ISFC {
32
35
uint256 endTime ,
33
36
uint256 endBlock ,
34
37
uint256 epochFee ,
35
- uint256 totalBaseRewardWeight ,
36
- uint256 totalTxRewardWeight ,
37
- uint256 _baseRewardPerSecond ,
38
+ uint256 baseRewardPerSecond ,
38
39
uint256 totalStake ,
39
40
uint256 totalSupply
40
41
);
@@ -138,10 +139,6 @@ interface ISFC {
138
139
139
140
function restakeRewards (uint256 toValidatorID ) external ;
140
141
141
- function updateBaseRewardPerSecond (uint256 value ) external ;
142
-
143
- function updateOfflinePenaltyThreshold (uint256 blocksNum , uint256 time ) external ;
144
-
145
142
function updateSlashingRefundRatio (uint256 validatorID , uint256 refundRatio ) external ;
146
143
147
144
function updateTreasuryAddress (address v ) external ;
@@ -170,11 +167,7 @@ interface ISFC {
170
167
address auth ,
171
168
uint256 validatorID ,
172
169
bytes calldata pubkey ,
173
- uint256 status ,
174
- uint256 createdEpoch ,
175
- uint256 createdTime ,
176
- uint256 deactivatedEpoch ,
177
- uint256 deactivatedTime
170
+ uint256 createdTime
178
171
) external ;
179
172
180
173
function setGenesisDelegation (address delegator , uint256 toValidatorID , uint256 stake ) external ;
@@ -185,8 +178,6 @@ interface ISFC {
185
178
186
179
function updateValidatorPubkey (bytes calldata pubkey ) external ;
187
180
188
- function migrateValidatorPubkeyUniquenessFlag (uint256 start , uint256 end ) external ;
189
-
190
181
function setRedirectionAuthorizer (address v ) external ;
191
182
192
183
function announceRedirection (address to ) external ;
0 commit comments