StakerGovernorVotes

StakerGovernorVotes

Staker DAO voting power extraction from staked T positions,

staking

contract IVotesHistory staking

constructor

constructor(contract IVotesHistory tStakingAddress) internal

getVotes

function getVotes(address account, uint256 blockNumber) public view virtual returns (uint256)

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

_getPastTotalSupply

function _getPastTotalSupply(uint256 blockNumber) internal view virtual returns (uint256)

Compute the total voting power for the Staker DAO.

Parameters

Last updated