Skip to main content

JBFundingCycleStore

Manages funding cycle configurations and scheduling.

Code

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

Addresses

Ethereum mainnet: 0x6B8e01DAA8A61b544F96d2738893E05D04BF1D12

Ethereum rinkeby: 0x8b3e0af1f7ee6C5a3fab969b5cAdD9347B009F1a

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