Skip to content

Solidity API

PropsERC1155BaseStorage

Library for managing storage layout for PropsERC1155Base contract

Layout

Struct to hold the storage layout for PropsERC1155Base

solidity
struct Layout {
  string name;
  string symbol;
  string description;
  string contractURI;
  uint256 tokenIndex;
}

STORAGE_SLOT

solidity
bytes32 STORAGE_SLOT

This constant ensures that the storage layout has a unique location in contract storage

Unique storage slot for PropsERC1155Base

layout

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

Function to access the storage layout

Return Values

NameTypeDescription
lstruct PropsERC1155BaseStorage.LayoutThe storage layout struct