Search…
⌃K

General Methods

Methods anyone can call, to get status or information on network variables.
public getNetworkFee ()
Description: returns current network fee.
Parameter
Type
Description
Return values
Parameter
Type
Description
fee
uint256
The fee charged by the network(denominated as $SSV tokens per block)
public getNetworkEarnings ()
Description: returns accumulated network fees not yet withdrawn.
Parameter
Type
Description
Return values
Parameter
Type
Description
amount
uint256
Amount of fees accumulated in the network treasury
public getLiquidationThresholdPeriod ()
Description: returns the minimum duration (in blocks) which a user has to have sufficient balance (liquidation collateral) to not be liquidated.
Parameter
Type
Description
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.
public getDeclaredOperatorFeePeriod ()
Description: returns the time window (in seconds) between the declaration and activation of a new operator fee.
Parameter
Type
Description
Return values
Parameter
Type
Description
seconds
uint256
The duration (seconds) until an operator can execute a fee after declaring it.
public getOperatorFeeIncreaseLimit ()
Description: returns the max amount by which operators can increase fees in each fee update cycle. This does not limit max operator fee, only the rate (%) by which it can be increased.
Parameter
Type
Description
Return values
Parameter
Type
Description
amount
uint256
The maximum increase in percentage the operator can update his fee to.
public getExecuteOperatorFeePeriod ()
Description: returns the time window (in seconds) in which an operator can activate a new fee. It starts after the fee declaration window ends.
Parameter
Type
Description
Return values
Parameter
Type
Description
seconds
uint256
The duration (seconds) in which an operator can execute a declared fee until it expires