Fraction ProtocolsubInternalFacetsnonFundedPhaseFacetsnonFundedStateFacets

SingleStateNonFundedFacetStorage

SingleStateNonFundedFacetStorage

AlreadyInitialized

error AlreadyInitialized()

Thrown when attempting to re-initialize.

InvalidNonFundedStateZero

error InvalidNonFundedStateZero()

Thrown when attempting to set non funded state as 0.

NotInNonFundedState

error NotInNonFundedState(uint256 campaignId, uint256 nonFundedState, uint256 currentState)

Thrown when campaign is not in non funded state.

STORAGE_SLOT

bytes32 STORAGE_SLOT

================================================== STORAGE =================================================

Unique identifier for the storage slot where the Layout struct is stored. Derived from the ERC7201 formula. STORAGE_SLOT: 0x608ee60459c820f4eb4ed5cce5c3a1fd4e58eb931e06c7c8414d3aa01e15e800

Layout

struct Layout {
  uint256 nonFundedState;
}

layout

function layout() internal pure returns (struct SingleStateNonFundedFacetStorage.Layout l)

Retrieves a reference to the Layout struct stored at a specified storage slot

initNonFundedStateFacet

function initNonFundedStateFacet(struct SingleStateNonFundedFacetStorage.Layout l, bytes initNonFundedStateData) internal returns (uint256)

checkNonFundedState

function checkNonFundedState(struct SingleStateNonFundedFacetStorage.Layout l, uint256 campaignId) internal view

On this page