Skip to content
Lattice

TellorAdapterLib Constants

Git Source

TELLOR_ADAPTER_STORAGE_SLOT

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

bytes32 constant TELLOR_ADAPTER_STORAGE_SLOT = 0xf830cd05b050ba9ecf73559ef9b50793eb6cd90a674e3621847f667a1210d100;

ERC165_MAP_ITELLORADAPTER_SLOT

0xddc762ca is type(ITellorAdapter).interfaceId. keccak256(abi.encode(bytes4(0xddc762ca), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).

bytes32 constant ERC165_MAP_ITELLORADAPTER_SLOT = 0xd0880994b1b91b07c905771aa510c46b61d48fe80d33acc431dc49f1cf7b22c5;