IL1Messenger
Author: Matter Labs
The interface of the L1 Messenger contract, responsible for sending messages to L1.
Note: security-contact: security@matterlabs.dev
Functions
sendToL1
function sendToL1(bytes calldata _message) external returns (bytes32);
sendL2ToL1Log
function sendL2ToL1Log(bool _isService, bytes32 _key, bytes32 _value)
external
returns (uint256 logIdInMerkleTree);
requestBytecodeL1Publication
function requestBytecodeL1Publication(bytes32 _bytecodeHash) external;
Events
L1MessageSent
event L1MessageSent(
address indexed _sender, bytes32 indexed _hash, bytes _message
);
L2ToL1LogSent
event L2ToL1LogSent(L2ToL1Log _l2log);
BytecodeL1PublicationRequested
event BytecodeL1PublicationRequested(bytes32 _bytecodeHash);