Skip to main content

Active7DaysFundingCycleBallot

Git Source

Mainnet: 0xEf7480b6E7CEd228fFB0854fe49A428F562a8982

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 = 604800;

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.