Skip to content
Lattice

BandAdapterLib Constants

Git Source

BAND_ADAPTER_STORAGE_SLOT

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

bytes32 constant BAND_ADAPTER_STORAGE_SLOT = 0xf5012e750700459bfafa131fc1c12ce6e9c0f0209cb29cbc1f960c4760a00a00;

ERC165_MAP_IBANDADAPTER_SLOT

0xebdf87c5 is type(IBandAdapter).interfaceId. keccak256(abi.encode(bytes4(0xebdf87c5), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).

bytes32 constant ERC165_MAP_IBANDADAPTER_SLOT = 0xc004cf02eead1d879bc806deefbe1f4228491d4cea98d16c38bf22274d73f5ac;