Skip to content
Lattice

ChainlinkVRFLib Constants

Git Source

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

bytes32 constant CHAINLINK_VRF_STORAGE_SLOT = 0x296a09c3f1dda7c7057a0d3e9cfd88b1666f0f2ebdcbdc2f576bbcf22db0d200;

ERC165_MAP_ICHAINLINKVRF_SLOT

0xed74ccf3 is type(IChainlinkVRF).interfaceId. keccak256(abi.encode(bytes4(0xed74ccf3), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).

bytes32 constant ERC165_MAP_ICHAINLINKVRF_SLOT = 0x5e805972aa7ebffe06f2b61cc9d80c103d549fa32d030cc2918893026547c07e;