AZWorldsGovernor

Git Source

Inherits: Governor, GovernorSettings, GovernorCountingSimple, GovernorVotes, GovernorTimelockControl

Functions

constructor

constructor(IVotes _token, TimelockController _timelock)
    Governor("AZWorldsGovernor")
    GovernorSettings(1, 63, 2)
    GovernorVotes(_token)
    GovernorTimelockControl(_timelock);

quorum

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

votingDelay

function votingDelay() public view override(IGovernor, GovernorSettings) returns (uint256);

votingPeriod

function votingPeriod() public view override(IGovernor, GovernorSettings) returns (uint256);

state

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

propose

function propose(address[] memory targets, uint256[] memory values, bytes[] memory calldatas, string memory description)
    public
    override(Governor, IGovernor)
    returns (uint256);

proposalThreshold

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

_execute

function _execute(
    uint256 proposalId,
    address[] memory targets,
    uint256[] memory values,
    bytes[] memory calldatas,
    bytes32 descriptionHash
) internal override(Governor, GovernorTimelockControl);

_cancel

function _cancel(address[] memory targets, uint256[] memory values, bytes[] memory calldatas, bytes32 descriptionHash)
    internal
    override(Governor, GovernorTimelockControl)
    returns (uint256);

_executor

function _executor() internal view override(Governor, GovernorTimelockControl) returns (address);

supportsInterface

function supportsInterface(bytes4 interfaceId) public view override(Governor, GovernorTimelockControl) returns (bool);