Skip to main content

Module optimism

Module optimism 

Source
Expand description

OP-stack-specific helpers and type aliases used by super::FoundryNetwork and super::FoundryTxReceipt.

Re-exportsยง

use crate::FoundryReceiptEnvelope; ๐Ÿ”’
use alloy_consensus::Receipt; ๐Ÿ”’
use alloy_consensus::ReceiptWithBloom; ๐Ÿ”’
use alloy_consensus::TxReceipt; ๐Ÿ”’
use alloy_primitives::U64; ๐Ÿ”’
use alloy_rpc_types::Log; ๐Ÿ”’
use alloy_serde::OtherFields; ๐Ÿ”’
use op_alloy_consensus::OpDepositReceipt; ๐Ÿ”’
use op_alloy_consensus::OpDepositReceiptWithBloom; ๐Ÿ”’

Functionsยง

build_deposit_receipt_envelope ๐Ÿ”’
Build a FoundryReceiptEnvelope::Deposit from a ReceiptWithBloom<Log> plus the OP deposit-specific fields decoded from the [OtherFields] of an AnyTransactionReceipt.

Type Aliasesยง

FoundryTransactionResponse
JSON-RPC transaction response type used by super::FoundryNetwork.