@@ -20,7 +20,7 @@ import "./IVotesHistory.sol";
2020
2121/// @title TokenholderGovernorVotes
2222/// @notice Tokenholder DAO voting power extraction from both liquid and staked
23- /// T token positions, including legacy stakes (NU/KEEP) .
23+ /// T token positions.
2424abstract contract TokenholderGovernorVotes is GovernorParameters {
2525 IVotesHistory public immutable token;
2626 IVotesHistory public immutable staking;
@@ -35,10 +35,6 @@ abstract contract TokenholderGovernorVotes is GovernorParameters {
3535 /// two voting power sources:
3636 /// - Liquid T, tracked by the T token contract
3737 /// - Stakes in the T network, tracked by the T staking contract.
38- /// Note that this also tracks legacy stakes (NU/KEEP); legacy
39- /// stakes count for tokenholders' voting power, but not for the
40- /// total voting power of the Tokenholder DAO
41- /// (see {_getPastTotalSupply}).
4238 /// @param account Tokenholder account in the T network
4339 /// @param blockNumber The block number to get the vote balance at
4440 /// @dev See {IGovernor-getVotes}
@@ -57,10 +53,7 @@ abstract contract TokenholderGovernorVotes is GovernorParameters {
5753 /// @notice Compute the total voting power for Tokenholder DAO. Note how it
5854 /// only uses the token total supply as source, as native T tokens
5955 /// that are staked continue existing, but as deposits in the
60- /// staking contract. However, legacy stakes can't contribute to the
61- /// total voting power as they're already implicitly counted as part
62- /// of Vending Machines' liquid balance; hence, we only need to read
63- /// total voting power from the token.
56+ /// staking contract.
6457 /// @param blockNumber The block number to get the vote power at
6558 function _getPastTotalSupply (uint256 blockNumber )
6659 internal
0 commit comments