Skip to main content Module tx Copy item path Source use crate::traces::identifier::SignaturesIdentifier ; π use alloy_consensus::SidecarBuilder; π use alloy_consensus::SimpleCoder; π use alloy_dyn_abi::ErrorExt; π use alloy_ens::NameOrAddress; π use alloy_json_abi::Function; π use alloy_network::Network; π use alloy_network::ReceiptResponse; π use alloy_network::TransactionBuilder; π use alloy_primitives::Address ; π use alloy_primitives::B256 ; π use alloy_primitives::Bytes ; π use alloy_primitives::TxHash ; π use alloy_primitives::TxKind ; π use alloy_primitives::U64 ; π use alloy_primitives::U256 ; π use alloy_primitives::hex; π use alloy_primitives::hex ; π use alloy_provider::PendingTransactionBuilder; π use alloy_provider::Provider; π use alloy_rpc_types::AccessList ; π use alloy_rpc_types::Authorization ; π use alloy_rpc_types::TransactionInputKind; π use alloy_signer::Signer; π use alloy_transport::TransportError; π use clap::Args; π use eyre::Result ; π use eyre::WrapErr ; π use foundry_cli::opts::CliAuthorizationList ; π use foundry_cli::opts::EthereumOpts ; π use foundry_cli::opts::TempoOpts ; π use foundry_cli::opts::TransactionOpts ; π use foundry_cli::utils ; π use foundry_cli::utils::apply_gas_estimate_multiplier ; π use foundry_cli::utils::parse_ether_value ; π use foundry_cli::utils::parse_function_args ; π use foundry_common::FoundryTransactionBuilder ; π use foundry_common::TransactionReceiptWithRevertReason ; π use foundry_common::get_pretty_receipt_w_reason_attr ; π use foundry_common::provider::fee::estimate_eip1559_fees ; π use foundry_common::provider::fee::resolve_broadcast_eip1559_fees ; π use foundry_common::shell ; π use foundry_common::tempo::ensure_expiring_nonce_discriminator_active ; π use foundry_config::Chain; π use foundry_config::Config; π use foundry_config::Eip1559FeeEstimatePreset; π use foundry_wallets::BrowserWalletOpts; π use foundry_wallets::TempoAccountsWallet; π use foundry_wallets::WalletOpts; π use foundry_wallets::WalletSigner; π use itertools::Itertools; π use std::fmt::Write ; π use std::marker::PhantomData ; π use std::str::FromStr ; π use std::time::Duration ; π use foundry_common::fmt ::*; π CastTxBuilder Builder type constructing generic TransactionRequest from cast send/mktx inputs. CastTxSender InitState Initial state. InputState State with known input for the transaction. SendTxOpts ToState State with known TxKind . TxBuilderInner π The state-independent part of CastTxBuilder . TxParams Transaction options shared across cast commands that submit on-chain transactions. SenderKind Different sender kinds used by CastTxBuilder . apply_poll_interval π Applies the --poll-interval (in seconds) to a providerβs receipt polling when one was given. decode_custom_error π Tries to decode a custom error name and inputs from revert data. fill_transaction_gas_fees π Fills gas price or EIP-1559 fee fields from the provider and validates the final pair. read_only_sender π Resolves the sender of a read-only request: the browser wallet address when --browser is
set, otherwise the wallet options. Also returns whether the browser wallet was used. resolve_send_signer π Resolves the sending signer, falling back to the wallet options, and validates it against an
explicit --from. validate_authorizations π Validates that sender can resolve every EIP-7702 authorization. validate_from_address Prevents a misconfigured hwlib from sending a transaction that defies user-specified βfrom