Skip to content
Lattice

ChainlinkAutomationAdapterLib Constants

Git Source

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

bytes32 constant CHAINLINK_AUTOMATION_ADAPTER_STORAGE_SLOT =
    0x79ff96d501e28b99bca4f72c19ec619bce29c1cac16a5bcab62634e5e94dcb00;

ERC165_MAP_ICHAINLINKAUTOMATIONADAPTER_SLOT

0x97290114 is type(IChainlinkAutomationAdapter).interfaceId. keccak256(abi.encode(bytes4(0x97290114), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).

bytes32 constant ERC165_MAP_ICHAINLINKAUTOMATIONADAPTER_SLOT =
    0xda518c4395658f1bda3e69bd76a71c3cebddb4103a2ca4f795abdfcb18525c7c;