Skip to content
Lattice

BridgeFungibleLib Constants

Git Source

ERC165_MAP_IBRIDGEFUNGIBLE_SLOT

0x28dcc8d8 is type(IBridgeFungible).interfaceId. keccak256(abi.encode(bytes4(0x28dcc8d8), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).

bytes32 constant ERC165_MAP_IBRIDGEFUNGIBLE_SLOT = 0xc98ec5eb76ed7701e7884a55fd8dcc6ba54f192d7f68011281537265c16215d4;

FUNGIBLE_BRIDGE_TAG

Handler tag both fungible bridges register/dispatch under: bytes4(keccak256("lattice.crosschain.BridgeFungible")).

bytes4 constant FUNGIBLE_BRIDGE_TAG = 0xde362b7d;