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

GovernorSequentialProposalIdMock

Inherits: GovernorSettings, GovernorVotesQuorumFraction, GovernorCountingSimple, GovernorSequentialProposalId

Functions

proposalThreshold

function proposalThreshold() public view override(Governor, GovernorSettings) returns (uint256);

getProposalId

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

_propose

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