Skip to content

IStakeController

IStakeController

StakeSubjectHandlerChanged

event StakeSubjectHandlerChanged(address newHandler, address oldHandler)

setStakeSubjectHandler

function setStakeSubjectHandler(uint8 subjectType, contract IStakeSubject subjectHandler) external

activeStakeFor

function activeStakeFor(uint8 subjectType, uint256 subject) external view returns (uint256)

maxStakeFor

function maxStakeFor(uint8 subjectType, uint256 subject) external view returns (uint256)

minStakeFor

function minStakeFor(uint8 subjectType, uint256 subject) external view returns (uint256)

totalStakeFor

function totalStakeFor(uint8 subjectType, uint256 subject) external view returns (uint256)

maxSlashableStakePercent

function maxSlashableStakePercent() external view returns (uint256)

isStakeActivatedFor

function isStakeActivatedFor(uint8 subjectType, uint256 subject) external view returns (bool)