Skip to content
Lattice

ChronicleAdapterLib Constants

Git Source

CHRONICLE_ADAPTER_STORAGE_SLOT

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

bytes32 constant CHRONICLE_ADAPTER_STORAGE_SLOT = 0xfc08f646a4b61c410e914db3efd5dca6935b089749eb55e38d0c450dddbb7600;

ERC165_MAP_ICHRONICLEADAPTER_SLOT

0x278f5b6a is type(IChronicleAdapter).interfaceId. keccak256(abi.encode(bytes4(0x278f5b6a), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).

bytes32 constant ERC165_MAP_ICHRONICLEADAPTER_SLOT = 0xfbb4f19de9230b60c572e8ff078c06c8112306947245c1d5058d08359436c1ca;