Fraction ProtocolgeneralStorage

GeneralStorage

Contains all the storage that is always used by tmi tokenizer in all use case scenarios

BASE_100_PERCENT

uint256 BASE_100_PERCENT

Percentages are represented with a base of 1e6 (100% == 1e6), supporting 4 decimal places of precision (1 represents 0.0001%)

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

IdInfo

struct IdInfo {
  uint256 fractionsCreated;
  uint256 nftId;
  address creator;
  address fractionsContract;
  bool isMinting;
  uint256 totalFractionsPurchased;
  uint256 totalPacketsGathered;
}

Layout

struct Layout {
  address wrapper;
  uint256 currentId;
  mapping(uint256 => struct GeneralStorage.IdInfo) infoForId;
}

layout

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

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

On this page