Is it possible to force a user who has 100 tokens to have the voting power of 50 tokens in Oppenzeppelin Governor

Hi community,

I am building a Token-based DAO using Openzeppelin Governor and I want to force a user who has 100 tokens to have the voting power of 50 tokens in certain proposal scenarios.

Is it possible to customize Openzeppelin Governor that way?

I would imagine that you could do this by inheriting the contract and overriding function _getVotes:

/**
 * @dev Get the voting weight of `account` at a specific `timepoint`, for a vote as described by `params`.
 */
function _getVotes(address account, uint256 timepoint, bytes memory params) internal view virtual returns (uint256);
1 Like

Hi @barakman, thank you for your insights :hugs:

1 Like