FortaStakingParameters
FortaStakingParameters
_fortaStaking
_stakeSubjectHandlers
FortaStakingChanged
version
maxSlashableStakePercent
constructor
initialize
Initializer method, access point to initialize inheritance tree.
Name | Type | Description |
---|---|---|
__manager | address | address of AccessManager. |
__router | address | address of Router. |
__fortaStaking | address | address of FortaStaking. |
setFortaStaking
Setter for FortaStaking implementation address.
_setFortaStaking
setStakeSubjectHandler
Sets stake subject handler stake for subject type.
maxStakeFor
Get max stake for that subjectType
and subject
. If not set, will return 0.
minStakeFor
Get min stake for that subjectType
and subject
. If not set, will return 0.
isStakeActivatedFor
Get if staking is activated for that subjectType
and subject
. If not set, will return false.
activeStakeFor
Gets active stake (amount of staked tokens) on subject
id for subjectType
totalStakeFor
Gets active and inactive stake (amount of staked tokens) on subject
id for subjectType
isRegistered
Checks if subject, subjectType is registered