Skip to content

Solidity API

PropsERC1155BurnToCreateStorage

This library defines the storage structure for the ERC1155 burn-to-create functionality

STORAGE_SLOT

solidity
bytes32 STORAGE_SLOT

Layout

Struct to hold the burn-to-create related data

solidity
struct Layout {
  uint256 numBurnTokensRequired;
  uint256 burnTokenIndex;
}

layout

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

Function to access the storage layout

Return Values

NameTypeDescription
lstruct PropsERC1155BurnToCreateStorage.LayoutStorage pointer to the Layout struct