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

GovernorInternalTest

Inherits: Test, Governor

Functions

constructor

constructor() Governor("");

testValidDescriptionForProposer

function testValidDescriptionForProposer(string memory description, address proposer, bool includeProposer)
    public
    view;

testInvalidDescriptionForProposer

function testInvalidDescriptionForProposer(string memory description, address commitProposer, address actualProposer)
    public
    view;

clock

function clock() public pure override returns (uint48);

CLOCK_MODE

function CLOCK_MODE() public pure override returns (string memory);

COUNTING_MODE

function COUNTING_MODE() public pure virtual override returns (string memory);

votingDelay

function votingDelay() public pure virtual override returns (uint256);

votingPeriod

function votingPeriod() public pure virtual override returns (uint256);

quorum

function quorum(uint256) public pure virtual override returns (uint256);

hasVoted

function hasVoted(uint256, address) public pure virtual override returns (bool);

_quorumReached

function _quorumReached(uint256) internal pure virtual override returns (bool);

_voteSucceeded

function _voteSucceeded(uint256) internal pure virtual override returns (bool);

_getVotes

function _getVotes(address, uint256, bytes memory) internal pure virtual override returns (uint256);

_countVote

function _countVote(uint256, address, uint8, uint256, bytes memory) internal virtual override returns (uint256);