Skip to content
Lattice

PausableLib Constants

Git Source

PAUSABLE_STORAGE_SLOT

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

bytes32 constant PAUSABLE_STORAGE_SLOT = 0x1484a55ae2f6de193138ed7f3a9f9b3307c3701783002d2a375beb8271f96200;

ERC165_MAP_IPAUSABLE_SLOT

0xe78a39d8 is type(IPausable).interfaceId. keccak256(abi.encode(bytes4(0xe78a39d8), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).

bytes32 constant ERC165_MAP_IPAUSABLE_SLOT = 0xad8c21edea54b0e7ec01d18544e806e752f64eb497d475cd8353c0c8726b4d3d;