Skip to content

Solidity API

PropsAccessScheduleStorage

This library provides a structured way to store and access minting schedule information

Library for managing storage of Props Access Schedule data

STORAGE_SLOT

solidity
bytes32 STORAGE_SLOT

Uses keccak256 hash to generate a unique slot, preventing storage collision

Unique storage slot for PropsAccessScheduleStorage

Layout

Contains arrays and mappings to store stage names, start times, and end times

Struct to hold the minting schedule data

solidity
struct Layout {
  string[] stageNames;
  mapping(string => uint256) stageStartTimes;
  mapping(string => uint256) stageEndTimes;
}

layout

solidity
function layout() internal pure returns (struct PropsAccessScheduleStorage.Layout l)

Uses assembly to access the specific storage slot

Function to access the storage layout

Return Values

NameTypeDescription
lstruct PropsAccessScheduleStorage.LayoutThe storage layout struct