Skip to content

Solidity API

PropsERC1155SignatureToCreateStorage

This library defines the storage structure for the PropsERC1155SignatureToCreate functionality

Layout

Struct to hold the storage layout for PropsERC1155SignatureToCreate

solidity
struct Layout {
  mapping(address => bool) approvedSigners;
  mapping(bytes => bool) usedSignatures;
}

STORAGE_SLOT

solidity
bytes32 STORAGE_SLOT

This constant is used to ensure that the storage layout is placed in a deterministic location in contract storage

Unique storage slot for PropsERC1155SignatureToCreate

layout

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

This function uses assembly to access the specific storage slot

Function to access the storage layout

Return Values

NameTypeDescription
lstruct PropsERC1155SignatureToCreateStorage.LayoutThe storage layout struct