跳到主要内容

JBReconfigurationBufferBallot

Manages approving funding cycle reconfigurations automatically after a buffer period.

Code

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

Interfaces

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

Inheritance

ContractDescription
ERC165Introspection on interface adherance.

Constructor

/**
@param _duration The number of seconds to wait until a reconfiguration can be either `Approved` or `Failed`.
@param _fundingCycleStore A contract storing all funding cycle configurations.
*/
constructor(uint256 _duration, IJBFundingCycleStore _fundingCycleStore) {
duration = _duration;
fundingCycleStore = _fundingCycleStore;
}
  • _duration is the number of seconds to wait until a reconfiguration can be either Approved or Failed.
  • _fundingCycleStore is a contract storing all funding cycle configurations.

Events

NameData
Finalize
  • uint256 indexed projectId
  • uint256 indexed configuration
  • JBBallotState indexed ballotState
  • address caller

Properties

FunctionDefinition
duration

Traits

  • immutable

Returns

  • uint256
fundingCycleStore

Traits

  • immutable

Returns

finalState

Returns

  • uint256

Read

FunctionDefinition
stateOf

Params

  • uint256 _projectId
  • uint256 _configured
  • uint256 _start

Returns

supportsInterface

Params

  • uint256 _interfaceId

Returns

  • bool

Write

FunctionDefinition
finalize

Params

  • uint256 _projectId
  • uint256 _configured

Returns