Expand description
Structs§
- Block
Replacement - Represents a
BlockReplacementevent where one block replaces another. - Chain
Dependency - Configuration for a dependency of a chain
- Chain
Root Info - Chain Root Info
- Dependency
Set - Configuration for the dependency set
- Derived
IdPair - A pair of
BlockNumHashs representing a derivation relationship between two blocks. - Derived
RefPair - A pair of
BlockInfos representing a derivation relationship between two blocks. - Enriched
Executing Message - A wrapper type for ExecutingMessage containing the chain ID of the chain that the message was executed on.
- Executing
Descriptor - An
ExecutingDescriptoris a part of the payload tosupervisor_checkAccessListSpec: https://github.com/ethereum-optimism/specs/blob/main/specs/interop/supervisor.md#executingdescriptor - 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.
- Managed
Event - Event sent by the node to the supervisor to share updates.
- Message
Graph - The
MessageGraphrepresents 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.
- Safety
Level Parse Error - Error when parsing SafetyLevel from string.
- Super
Root - The SuperRoot is the snapshot of the superchain at a given timestamp.
- Super
Root Output - The super root response type.
Enums§
- Control
Event - Control Event
- Interop
Validation Error - Errors that can occur during interop validation.
- 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§
- 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.
- Interop
Validator - Trait for validating interop-related timestamps and blocks.
Functions§
- extract_
executing_ messages - Extracts all ExecutingMessage events from list of OpReceiptEnvelopes.
- parse_
access_ list_ item_ to_ inbox_ entries - Parse
AccessListItemto inbox entries, if any. Max 3 inbox entries can exist perAccessListItemthat points toPredeploys::CROSS_L2_INBOX. - parse_
access_ list_ items_ to_ inbox_ entries - Parses
AccessListItems to inbox entries. - 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.