Skip to main content

JBFundingCycleStore

Manages funding cycle configurations and scheduling.

Code

https://github.com/jbx-protocol/juice-contracts-v3/blob/main/contracts/JBFundingCycleStore.sol

Addresses

Ethereum mainnet: 0x6f18cF9173136c0B5A6eBF45f19D58d3ff2E17e6

Goerli testnet: 0xB9Ee9d8203467f6EC0eAC81163d210bd1a7d3b55

Interfaces

NameDescription
IJBFundingCycleStoreGeneral interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.

Inheritance

ContractDescription
JBControllerUtilityIncludes convenience functionality for checking if the message sender is the current controller of the project whose data is being manipulated.

Constructor

/**
@param _directory A contract storing directories of terminals and controllers for each project.
*/
constructor(IJBDirectory _directory) JBControllerUtility(_directory) {}
  • _directory is an IJBDirectory contract storing directories of terminals and controllers for each project.

Events

NameData
Configure
  • uint256 indexed configuration
  • uint256 indexed projectId
  • JBFundingCycleData data
  • uint256 metadata
  • uint256 mustStartAtOrAfter
  • address caller
Init
  • uint256 indexed configuration
  • uint256 indexed projectId
  • uint256 indexed basedOn

Properties

FunctionDefinition
latestConfigurationOf

Params

  • uint256 _projectId

Returns

  • uint256

Read

FunctionDefinition
get

Params

  • uint256 _projectId
  • uint256 _configuration

Returns

latestConfiguredOf

Params

  • uint256 _projectId

Returns

queuedOf

Params

  • uint256 _projectId

Returns

currentOf

Params

  • uint256 _projectId

Returns

currentBallotStateOf

Params

  • uint256 _projectId

Returns

Write

FunctionDefinition
configureFor

Traits

Params

Returns