ERC-6170 Cross-Chain Messaging Interface
A common smart contract interface for interacting with messaging protocols.
ERC-165 interface ids
Computed here as the XOR of the selectors each interface defines.
| IEIP6170 | 0x4f2f360f |
Functions this standard introduces (2)
0x46abc6ce | receiveMessage(bytes,bytes,bytes,bytes) | payable |
0x0984f0c1 | sendMessage(bytes,bytes,bytes,bytes) | payable |
Events (2)
Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.
0x33e849cb0fec1c09717acb97b31d5c785c809f0b281858ddae6dcbc17ded5b9d | MessageSent(bytes,bytes,bytes,bytes) | |
0x7d025d5312f6636d841b8f24230d5713a4ca03d4f35b7b351a11251de0b66ee9 | MessageReceived(bytes,bytes,bytes) |
What the specification covers
Compare with
Parsed from the canonical specification · discussion