currentFundingCycleOf
Contract: JBController
Interface: IJBController
- Step by step
- Code
- Bug bounty
A project's current funding cycle along with its metadata.
Definition
function currentFundingCycleOf(uint256 _projectId)
external
view
override
returns (JBFundingCycle memory fundingCycle, JBFundingCycleMetadata memory metadata) { ... }
- Arguments:
_projectIdis the ID of the project to which the funding cycle belongs.- 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
IJBControllerinterface. - The function returns:
fundingCycleis the current funding cycle.metadatais the current funding cycle's metadata.