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

GovernorVotesSuperQuorumFractionMockUpgradeable

Inherits: Initializable, GovernorSettingsUpgradeable, GovernorVotesSuperQuorumFractionUpgradeable, GovernorCountingSimpleUpgradeable

Functions

__GovernorVotesSuperQuorumFractionMock_init

function __GovernorVotesSuperQuorumFractionMock_init() internal onlyInitializing;

__GovernorVotesSuperQuorumFractionMock_init_unchained

function __GovernorVotesSuperQuorumFractionMock_init_unchained() internal onlyInitializing;

proposalThreshold

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

proposalVotes

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

state

function state(uint256 proposalId)
    public
    view
    override(GovernorUpgradeable, GovernorVotesSuperQuorumFractionUpgradeable)
    returns (ProposalState);