Skip to main content

Active14DaysFundingCycleBallot

Git Source

Inherits: IFundingCycleBallot

Manages votes towards approving funding cycle reconfigurations.

State Variables

reconfigurationDelay

The number of seconds that must pass for a funding cycle reconfiguration to become active.

uint256 public constant reconfigurationDelay = 1209600;

Functions

duration

The time that this ballot is active for.

A ballot should not be considered final until the duration has passed.

function duration() external pure override returns (uint256);

Returns

NameTypeDescription
<none>uint256The durection in seconds.

state

The approval state of a particular funding cycle.

function state(uint256, uint256 _configured) external view override returns (BallotState);

Parameters

NameTypeDescription
<none>uint256
_configureduint256The configuration of the funding cycle to check the state of.

Returns

NameTypeDescription
<none>BallotStateThe state of the provided ballot.