Fraction ProtocolsubInternalFacetsrecoverFractionsPhaseFacetslostAccountEligibilityFacetsroleEligibility

LostAccountRoleEligibilityFacetStorage

LostAccountRoleEligibilityFacetStorage

AlreadyInitialized

error AlreadyInitialized()

Thrown when attempting to re-initialize.

UnauthorizedRecovery

error UnauthorizedRecovery(address account)

Thrown when attempting to recover funds from a lost account that doesn't have eligibility/hasn't given access to.

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 {
  bool isInitialized;
  bool checkEligibilityPerId;
  bytes32 eligibleRole;
}

layout

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

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

initLostAccountEligibilityFacet

function initLostAccountEligibilityFacet(struct LostAccountRoleEligibilityFacetStorage.Layout l, bytes initLostAccountEligibilityData) internal returns (bytes32, bool)

checkLostAccountEligibility

function checkLostAccountEligibility(struct LostAccountRoleEligibilityFacetStorage.Layout l, uint256 campaignId, address lostAccount) internal view

On this page