Crate maili_interop

Source
Expand description

§maili-interop

§Notice

This crate is deprecated.

Please use kona-interop instead.

Structs§

ChainRootInfo
Chain Root Info
DerivedIdPair
A derived ID pair is a pair of block IDs, where Derived (L2) is derived from DerivedFrom (L1).
EnrichedExecutingMessage
A wrapper type for ExecutingMessage containing the chain ID of the chain that the message was executed on.
ExecutingMessage
@notice Emitted when a cross chain message is being executed. @param payloadHash Hash of message payload being executed. @param identifier Encoded Identifier of the message.
MessageGraph
The message graph represents a set of blocks at a given timestamp and the interop dependencies between them.
MessageIdentifier
@notice The struct for a pointer to a message payload in a remote (or local) chain.
OutputRootWithChain
A wrapper around an output root hash with the chain ID it belongs to.
RawMessagePayload
A RawMessagePayload is the raw payload of an initiating message.
SuperRoot
The SuperRoot is the snapshot of the superchain at a given timestamp.
SuperRootResponse
The super root response type.

Enums§

InvalidExecutingMessage
Invalid ExecutingMessage error.
MessageGraphError
An error type for the MessageGraph struct.
SafetyLevel
The safety level of a message.
SuperRootError
An error type for the SuperRoot struct’s serialization and deserialization.

Constants§

CROSS_L2_INBOX_ADDRESS
The address of the L2 cross chain inbox predeploy proxy.
MESSAGE_EXPIRY_WINDOW
The expiry window for relaying an initiating message (in seconds). https://specs.optimism.io/interop/messaging.html#message-expiry-invariant
SUPER_ROOT_VERSION
The current version of the SuperRoot encoding format.

Traits§

InteropProvider
Describes the interface of the interop data provider. This provider is multiplexed over several chains, with each method consuming a chain ID to determine the target chain.

Functions§

extract_executing_messages
Extracts all ExecutingMessage events from list of OpReceiptEnvelopes.
parse_log_to_executing_message
Parse Log to ExecutingMessage, if any.
parse_logs_to_executing_msgs
Parses Logs to ExecutingMessages.

Type Aliases§

MessageGraphResult
A Result alias for the MessageGraphError type.
SuperRootResult
A Result alias for the SuperRootError type.