Fraction ProtocolinternalFacetspurchasePhaseFacetspurchaseTimeFacetstwoBorderTime

TwoBorderTimeFacetStorage

TwoBorderTimeFacetStorage

NonPurchaseTimeline

error NonPurchaseTimeline()

Thrown when attempting to purchase outside purchase period.

InvalidTimestamps

error InvalidTimestamps(uint256 startingTimestamp, uint256 endingTimestamp)

Thrown when attempting to pass invalid timestamps.

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

Layout

struct Layout {
  mapping(uint256 => uint256) fundsProvisionStartingTimestamp;
  mapping(uint256 => uint256) fundsProvisionEndingTimestamp;
}

layout

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

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

setAndCheckPurchaseTimes

function setAndCheckPurchaseTimes(struct TwoBorderTimeFacetStorage.Layout l, bytes postFractionTimeData) internal returns (uint256, uint256, uint256)

checkPurchaseTimes

function checkPurchaseTimes(struct TwoBorderTimeFacetStorage.Layout l, uint256 campaignId) internal view

getPurchaseTimes

function getPurchaseTimes(struct TwoBorderTimeFacetStorage.Layout l, uint256 campaignId) internal view returns (uint256, uint256)

On this page