Active3DaysFundingCycleBallot
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 = 259200;
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
Name | Type | Description |
---|---|---|
<none> | uint256 | The durection in seconds. |
state
The approval state of a particular funding cycle.
function state(uint256, uint256 _configured) external view override returns (BallotState);
Parameters
Name | Type | Description |
---|---|---|
<none> | uint256 | |
_configured | uint256 | The configuration of the funding cycle to check the state of. |
Returns
Name | Type | Description |
---|---|---|
<none> | BallotState | The state of the provided ballot. |