Appearance
Solidity API
PropsMetadataTokenBasedStorage
Library for managing token-based metadata storage for ERC1155 tokens
STORAGE_SLOT
solidity
bytes32 STORAGE_SLOTThis constant is used to ensure that the storage layout is unique and does not conflict with other storage layouts
Unique storage slot for PropsMetadataTokenBasedStorage
Layout
Struct defining the layout for token-based metadata storage
solidity
struct Layout {
mapping(uint256 => string) tokenMetadata;
}layout
solidity
function layout() internal pure returns (struct PropsMetadataTokenBasedStorage.Layout l)Function to access the storage layout
Return Values
| Name | Type | Description |
|---|---|---|
| l | struct PropsMetadataTokenBasedStorage.Layout | The storage layout struct |