web3wagmi
← All standards

ERC-6170 Cross-Chain Messaging Interface

DraftERCcreated 2022-12-19

A common smart contract interface for interacting with messaging protocols.

Author: Sujith Somraaj (@sujithsomraaj)

ERC-165 interface ids

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

IEIP61700x4f2f360f

Functions this standard introduces (2)

0x46abc6cereceiveMessage(bytes,bytes,bytes,bytes)payable
0x0984f0c1sendMessage(bytes,bytes,bytes,bytes)payable

Events (2)

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

0x33e849cb0fec1c09717acb97b31d5c785c809f0b281858ddae6dcbc17ded5b9dMessageSent(bytes,bytes,bytes,bytes)
0x7d025d5312f6636d841b8f24230d5713a4ca03d4f35b7b351a11251de0b66ee9MessageReceived(bytes,bytes,bytes)

What the specification covers

Compare with

Parsed from the canonical specification · discussion