Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

GovernorWithParamsMock

Inherits: GovernorVotes, GovernorCountingSimple

Functions

quorum

function quorum(uint256) public pure override returns (uint256);

votingDelay

function votingDelay() public pure override returns (uint256);

votingPeriod

function votingPeriod() public pure override returns (uint256);

_getVotes

function _getVotes(address account, uint256 blockNumber, bytes memory params)
    internal
    view
    override(Governor, GovernorVotes)
    returns (uint256);

_countVote

function _countVote(uint256 proposalId, address account, uint8 support, uint256 weight, bytes memory params)
    internal
    override(Governor, GovernorCountingSimple)
    returns (uint256);

Events

CountParams

event CountParams(uint256 uintParam, string strParam);