web3wagmi
← All standards

ERC-7786 Cross-Chain Messaging Gateway

FinalERCcreated 2024-10-142 later proposals build on itrequires ERC-7930

An interface for contracts to send and receive cross-chain messages containing arbitrary data.

Authors: Francisco Giordano (@frangio), Hadrien Croubois (@Amxx), Ernesto García (@ernestognw), CJ Cobb (@cjcobb23), Sergey Gorbunov (@sergeynog), joxes (@Joxess)

ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

IERC7786GatewaySource0x11967553

Functions this standard introduces (2)

0xcdfe7f5csendMessage(bytes,bytes,bytes[])payable
0xdc680a0fsupportsAttribute(bytes4)view

Events (1)

Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.

0x7446eaa0a0dda80670b3bfe972bfbefab659bcfb67abad4e0b64dc4630a70481MessageSent(bytes32,bytes,bytes,bytes,uint256,bytes[])

Custom errors (1)

0xe1c9e479UnsupportedAttribute(bytes4)

Depends on (1)

Proposals this one names in its requires field.

Built on by (2)

Later proposals that name this one in their requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion