Fraction ProtocolsubInternalFacetswithdrawalRequestPhaseFacetswithdrawalRequestStateFacetssingleState

SingleStateWithdrawalRequestFacetStorage

SingleStateWithdrawalRequestFacetStorage

AlreadyInitialized

error AlreadyInitialized()

Thrown when attempting to re-initialize.

InvalidZeroWithdrawalRequestState

error InvalidZeroWithdrawalRequestState()

Thrown when attempting to pass zero withdrawalRequest state.

NonWithdrawalRequestState

error NonWithdrawalRequestState(uint256 withdrawalRequestState, uint256 currentState)

Thrown when trying to withdrawalRequest in non withdrawalRequest 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: TO-DO

Layout

struct Layout {
  uint256 withdrawalRequestState;
}

layout

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

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

initWithdrawalRequestStateFacet

function initWithdrawalRequestStateFacet(struct SingleStateWithdrawalRequestFacetStorage.Layout l, bytes initWithdrawalRequestStateData) internal returns (uint256)

checkWithdrawalRequestState

function checkWithdrawalRequestState(struct SingleStateWithdrawalRequestFacetStorage.Layout l, uint256 campaignId) internal view

On this page