Skip to content

Solidity API

PropsERC1155CreatorSplitsStorage

This library defines the storage structure for creator splits in an ERC1155 token implementation

STORAGE_SLOT

solidity
bytes32 STORAGE_SLOT

Layout

Struct to hold creator splits related data

solidity
struct Layout {
  uint256 tokenIndex;
  uint256 numBurnTokensRequired;
  uint256 burnTokenIndex;
  uint256 creatorSplitBips;
  uint256 referralSplitBips;
}

layout

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

Function to access the storage layout

Return Values

NameTypeDescription
lstruct PropsERC1155CreatorSplitsStorage.LayoutStorage layout struct