Skip to content
Lattice

ERC721WrapperLib Constants

Git Source

ERC721WRAPPER_STORAGE_SLOT

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

bytes32 constant ERC721WRAPPER_STORAGE_SLOT = 0x434ed71ac956f35c738c07eaadcb4935b3686524cef619db6f8caec66db4f500;

ERC165_MAP_IERC721WRAPPER_SLOT

0xd9e5011d is type(IERC721Wrapper).interfaceId. keccak256(abi.encode(bytes4(0xd9e5011d), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).

bytes32 constant ERC165_MAP_IERC721WRAPPER_SLOT = 0x77282127b26cc01e57f32ac10fe9c172e5d41d192d3e6e87d2e5c74c35c6f9e8;