Skip to content
Lattice

ERC1155URIStorageLib Constants

Git Source

ERC1155URISTORAGE_STORAGE_SLOT

keccak256(abi.encode(uint256(keccak256("lattice.storage.ERC1155URIStorage")) - 1)) & ~bytes32(uint256(0xff)).

bytes32 constant ERC1155URISTORAGE_STORAGE_SLOT = 0x410b28ad7d410d71a721debe93a5796847f0aba6b82f9b5e65108eff17bfbc00;

ERC165_MAP_IERC1155URISTORAGE_SLOT

0xd3dc4451 is type(IERC1155URIStorage).interfaceId. keccak256(abi.encode(bytes4(0xd3dc4451), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).

bytes32 constant ERC165_MAP_IERC1155URISTORAGE_SLOT =
    0xd822e48b513c28ab47f256a8e46baad1ce902e38e6cae6a58b04347a1a191de1;