跳到主要内容

get

Contract: JBFundingCycleStore​‌

Interface: IJBFundingCycleStore

Get the funding cycle with the given configuration for the specified project.

Definition

function get(uint256 _projectId, uint256 _configuration)
external
view
override
returns (JBFundingCycle memory fundingCycle) { ... }
  • Arguments:
    • _projectId is the ID of the project to which the funding cycle belongs.
    • _configuration is the configuration of the funding cycle to get.
  • 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 IJBFundingCycleStore interface.
  • The function returns the JBFundingCycle.

Body

  1. Return the struct for the provided configuration and project.

    return _getStructFor(_projectId, _configuration);

    Internal references: