StakerGovernorVotes
StakerGovernorVotes
Staker DAO voting power extraction from staked T positions,
staking
constructor
getVotes
Read the voting weight from the snapshot mechanism in the T staking contracts. Note that this also tracks legacy stakes (NU/KEEP).
See {IGovernor-getVotes}
Parameters
Name
Type
Description
account
address
Delegate account with T staking voting power
blockNumber
uint256
The block number to get the vote balance at
_getPastTotalSupply
Compute the total voting power for the Staker DAO.
Parameters
Name
Type
Description
blockNumber
uint256
The block number to get the voting power at
Last updated