@@ -20,7 +20,7 @@ import "./IVotesHistory.sol";
20
20
21
21
/// @title TokenholderGovernorVotes
22
22
/// @notice Tokenholder DAO voting power extraction from both liquid and staked
23
- /// T token positions, including legacy stakes (NU/KEEP) .
23
+ /// T token positions.
24
24
abstract contract TokenholderGovernorVotes is GovernorParameters {
25
25
IVotesHistory public immutable token;
26
26
IVotesHistory public immutable staking;
@@ -35,10 +35,6 @@ abstract contract TokenholderGovernorVotes is GovernorParameters {
35
35
/// two voting power sources:
36
36
/// - Liquid T, tracked by the T token contract
37
37
/// - 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}).
42
38
/// @param account Tokenholder account in the T network
43
39
/// @param blockNumber The block number to get the vote balance at
44
40
/// @dev See {IGovernor-getVotes}
@@ -57,10 +53,7 @@ abstract contract TokenholderGovernorVotes is GovernorParameters {
57
53
/// @notice Compute the total voting power for Tokenholder DAO. Note how it
58
54
/// only uses the token total supply as source, as native T tokens
59
55
/// 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.
64
57
/// @param blockNumber The block number to get the vote power at
65
58
function _getPastTotalSupply (uint256 blockNumber )
66
59
internal
0 commit comments