stateOf
Contract: JBReconfigurationBufferBallot
Interface: IJBFundingCycleBallot
- Step by step
- Code
- Bug bounty
The approval state of a particular funding cycle.
Definition
function stateOf(
uint256 _projectId,
uint256 _configured,
uint256 _start
) public view override returns (JBBallotState) { ... }
- Arguments:
_projectId
is the ID of the project to which the funding cycle being checked belongs._configured
is the configuration of the funding cycle to check the state of._start
is the start timestamp of the funding cycle to check the state of.
- The view function can be accessed externally by anyone.
- The view function does not alter state on the blockchain.
- The function overrides a function definition from the
IJBFundingCycleBallot
interface. - The function returns the state of the provided ballot.