Search…
Governance Methods

updateNetworkFee

Call params
Parameter
Type
Description
networkFee
uint256 (casted to uint64)
The fee charged by the network per validator (denominated as $SSV tokens per block).

getNetworkFee

Return params
Parameter
Type
Description
fee
uint256
The fee charged by the network(denominated as $SSV tokens per block)

withdrawNetworkEarnings

Call params
Parameter
Type
Description
amount
uint256 (casted to uint64)
Amount to be withdrawn

getNetworkEarnings

Return values
Parameter
Type
Description
amount
uint256
Amount of fees accumulated in the network treasury

updateLiquidationThresholdPeriod

Call params
Parameter
Type
Description
blocks
uint64
Duration in blocks to have sufficient balance

getLiquidationThresholdPeriod

Return values
Parameter
Type
Description
blocks
uint256
The minimum duration (blocks) which a user has to have sufficient balance (liquidation collateral) to not be liquidated.

updateOperatorFeeIncreaseLimit

Call params
Parameter
Type
Description
percentage
uint64
Maximum increase percentage

getOperatorFeeIncreaseLimit

Return values
Parameter
Type
Description
amount
uint256
The maximum increase in percentage the operator can update his fee to.

updateDeclareOperatorFeePeriod

Call params
Parameter
Type
Description
seconds
uint64
Period in seconds until you can execute fee after setting it

getDeclaredOperatorFeePeriod

Return values
Parameter
Type
Description
seconds
uint256
The duration (seconds) until an operator can execute a fee after declaring it.

updateExecuteOperatorFeePeriod

Call params
Parameter
Type
Description
seconds
uint64
Period in seconds that you can execute a execute fee until it expires

getExecuteOperatorFeePeriod

Return values
Parameter
Type
Description
seconds
uint256
The duration (seconds) in which an operator can execute a declared fee until it expires

updateOperatorScore

Call params
Parameter
Type
Description
operatorId
uint32
The operator id
operatorScore
uint32
The operator score