GovStaking
Functions:
Events:
Modifiers:
Graphs:
Function Definitions:
constructor()
getVoiceCredits()
todo - check if multiplier is needed for calculating square root of smaller balances
Parameter Name | Type | Description |
---|---|---|
| address | address to get voice credits for |
getWithdrawableBalance()
balanceOf()
lastTimeRewardApplicable()
rewardPerToken()
earned()
getRewardForDuration()
stake()
increaseLock()
increaseStake()
withdraw()
getReward()
exit()
recalculateVoiceCredits()
setEscrowDuration()
notifyRewardAmount()
updatePeriodFinish()
Events
StakingDeposited
StakingWithdrawn
RewardPaid
RewardAdded
EscrowDurationUpdated
Modifiers
updateReward()
updateReward()
Graphs
Dependency Graph
Inheritance Graph
Last updated