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

GovernorVotesSuperQuorumFractionMock

Inherits: GovernorSettings, GovernorVotesSuperQuorumFraction, GovernorCountingSimple

Functions

proposalThreshold

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

proposalVotes

function proposalVotes(uint256 proposalId)
    public
    view
    virtual
    override(GovernorCountingSimple, GovernorSuperQuorum)
    returns (uint256 againstVotes, uint256 forVotes, uint256 abstainVotes);

state

function state(uint256 proposalId)
    public
    view
    override(Governor, GovernorVotesSuperQuorumFraction)
    returns (ProposalState);