Expand description
Structs§
- Chain
Root Info - Chain Root Info
- Derived
IdPair - A derived ID pair is a pair of block IDs, where Derived (L2) is derived from DerivedFrom (L1).
- Enriched
Executing Message - A wrapper type for ExecutingMessage containing the chain ID of the chain that the message was executed on.
- Executing
Message - @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.
- Message
Graph - The message graph represents a set of blocks at a given timestamp and the interop dependencies between them.
- Message
Identifier - @notice The struct for a pointer to a message payload in a remote (or local) chain.
- Output
Root With Chain - A wrapper around an output root hash with the chain ID it belongs to.
- RawMessage
Payload - A RawMessagePayload is the raw payload of an initiating message.
- Super
Root - The SuperRoot is the snapshot of the superchain at a given timestamp.
- Super
Root Response - The super root response type.
Enums§
- Invalid
Executing Message - Invalid
ExecutingMessageerror. - Message
Graph Error - An error type for the MessageGraph struct.
- Safety
Level - The safety level of a message.
- Super
Root Error - 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§
- Interop
Provider - 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
LogtoExecutingMessage, if any. - parse_
logs_ to_ executing_ msgs - Parses
Logs toExecutingMessages.
Type Aliases§
- Message
Graph Result - A Result alias for the MessageGraphError type.
- Super
Root Result - A Result alias for the SuperRootError type.