ChainlinkCREAdapterLib Constants
CHAINLINK_CRE_ADAPTER_STORAGE_SLOT
keccak256(abi.encode(uint256(keccak256("lattice.storage.ChainlinkCREAdapter")) - 1)) & ~bytes32(uint256(0xff)).
bytes32 constant CHAINLINK_CRE_ADAPTER_STORAGE_SLOT =
0x38811f86f85f0447c0970d57466dc7a3c4187640f04a44e7622c183e45f90b00;ERC165_MAP_IRECEIVER_SLOT
0x805f2132 is the canonical type(IReceiver).interfaceId (the XOR of onReport's selector
only; the inherited supportsInterface is excluded). The module registers this canonical CRE
receiver id — rather than the Lattice type(IChainlinkCREAdapter).interfaceId — so CRE tooling
detects the receiver via ERC-165, mirroring the ERC-721/ERC-1155 canonical-id precedent.
keccak256(abi.encode(bytes4(0x805f2132), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).
bytes32 constant ERC165_MAP_IRECEIVER_SLOT = 0x441e497903b68a1fc13e526fe3469e615b027289cdd3d767c8ce4993ccc4bf83;