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

GovernorHandler

Inherits: GovernorVotesSuperQuorumFractionMock

Main responsibility: expose the functions that are relevant to the simulation

Functions

constructor

constructor(
    string memory name_,
    uint48 votingDelay_,
    uint32 votingPeriod_,
    uint256 proposalThreshold_,
    IVotes token_,
    uint256 quorumNumerator_,
    uint256 superQuorumNumerator_
)
    Governor(name_)
    GovernorSettings(votingDelay_, votingPeriod_, proposalThreshold_)
    GovernorVotes(token_)
    GovernorVotesQuorumFraction(quorumNumerator_)
    GovernorVotesSuperQuorumFraction(superQuorumNumerator_);

$_updateSuperQuorumNumerator

function $_updateSuperQuorumNumerator(uint256 newSuperQuorumNumerator) public;

$_updateQuorumNumerator

function $_updateQuorumNumerator(uint256 newQuorumNumerator) public;