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

GovernorNoncesKeyedMockUpgradeable

Inherits: Initializable, GovernorSettingsUpgradeable, GovernorVotesQuorumFractionUpgradeable, GovernorCountingSimpleUpgradeable, GovernorNoncesKeyedUpgradeable

Functions

__GovernorNoncesKeyedMock_init

function __GovernorNoncesKeyedMock_init() internal onlyInitializing;

__GovernorNoncesKeyedMock_init_unchained

function __GovernorNoncesKeyedMock_init_unchained() internal onlyInitializing;

proposalThreshold

function proposalThreshold() public view override(GovernorUpgradeable, GovernorSettingsUpgradeable) returns (uint256);

_validateVoteSig

function _validateVoteSig(uint256 proposalId, uint8 support, address voter, bytes memory signature)
    internal
    virtual
    override(GovernorUpgradeable, GovernorNoncesKeyedUpgradeable)
    returns (bool);

_validateExtendedVoteSig

function _validateExtendedVoteSig(
    uint256 proposalId,
    uint8 support,
    address voter,
    string memory reason,
    bytes memory params,
    bytes memory signature
) internal virtual override(GovernorUpgradeable, GovernorNoncesKeyedUpgradeable) returns (bool);

_useCheckedNonce

function _useCheckedNonce(address owner, uint256 nonce)
    internal
    virtual
    override(NoncesUpgradeable, GovernorNoncesKeyedUpgradeable);