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

GovernorSequentialProposalIdMockUpgradeable

Inherits: Initializable, GovernorSettingsUpgradeable, GovernorVotesQuorumFractionUpgradeable, GovernorCountingSimpleUpgradeable, GovernorSequentialProposalIdUpgradeable

Functions

__GovernorSequentialProposalIdMock_init

function __GovernorSequentialProposalIdMock_init() internal onlyInitializing;

__GovernorSequentialProposalIdMock_init_unchained

function __GovernorSequentialProposalIdMock_init_unchained() internal onlyInitializing;

proposalThreshold

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

getProposalId

function getProposalId(
    address[] memory targets,
    uint256[] memory values,
    bytes[] memory calldatas,
    bytes32 descriptionHash
) public view virtual override(GovernorUpgradeable, GovernorSequentialProposalIdUpgradeable) returns (uint256);

_propose

function _propose(
    address[] memory targets,
    uint256[] memory values,
    bytes[] memory calldatas,
    string memory description,
    address proposer
)
    internal
    virtual
    override(GovernorUpgradeable, GovernorSequentialProposalIdUpgradeable)
    returns (uint256 proposalId);