Fraction ProtocolinternalFacetsreceiveAfterBuybackPhaseFacetsreceiveAfterBuybackEligibilityFacetsroleEligibility

ReceiveAfterBuybackRoleEligibilityFacetStorage

ReceiveAfterBuybackRoleEligibilityFacetStorage

AlreadyInitialized

error AlreadyInitialized()

Thrown when attempting to re-initialize.

UnauthorizedReceiverAfterBuyback

error UnauthorizedReceiverAfterBuyback(address account)

Thrown when attempting to receive after buyback without the authorization to do.

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: 0x98dfc4a906d902fc3f1ef06cb8ed0354895be259151e8e5530f3570823b25000

Layout

struct Layout {
  bool isInitialized;
  bool checkEligibilityPerId;
  bytes32 eligibleRole;
}

layout

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

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

initReceiveAfterBuybackEligibilityFacet

function initReceiveAfterBuybackEligibilityFacet(struct ReceiveAfterBuybackRoleEligibilityFacetStorage.Layout l, bytes initReceiveAfterBuybackEligibilityData) internal returns (bytes32, bool)

checkReceiverAfterBuybackEligibility

function checkReceiverAfterBuybackEligibility(struct ReceiveAfterBuybackRoleEligibilityFacetStorage.Layout l, uint256 campaignId, address account) internal view

On this page