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

GovernorWithParamsMockUpgradeable

Inherits: Initializable, GovernorVotesUpgradeable, GovernorCountingSimpleUpgradeable

Functions

__GovernorWithParamsMock_init

function __GovernorWithParamsMock_init() internal onlyInitializing;

__GovernorWithParamsMock_init_unchained

function __GovernorWithParamsMock_init_unchained() internal onlyInitializing;

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(GovernorUpgradeable, GovernorVotesUpgradeable)
    returns (uint256);

_countVote

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

Events

CountParams

event CountParams(uint256 uintParam, string strParam);