Fraction ProtocolpurchaseStorage

TwoClickPurchaseSkeletonStorage

TwoClickPurchaseSkeletonStorage

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

NftInfo

struct NftInfo {
  uint256 fractionsPurchased;
  uint256 priceOnPurchase;
}

IdInfo

struct IdInfo {
  mapping(uint256 => struct TwoClickPurchaseSkeletonStorage.NftInfo) nftInfo;
  address nftContract;
  uint256 idsCreated;
}

Layout

struct Layout {
  mapping(uint256 => struct TwoClickPurchaseSkeletonStorage.IdInfo) infoForId;
  uint256 noOfNftContractsDeployed;
  string baseName;
  string baseSymbol;
}

layout

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

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

On this page