Skip to main content

Module send

Module send 

Source

Re-exportsΒ§

use crate::cmd::auth::confirm_and_build; πŸ”’
use crate::cmd::auth::confirm_and_build_with_tempo_wallet; πŸ”’
use crate::cmd::confirm_continue; πŸ”’
use crate::cmd::tip20::iso4217_warning_message; πŸ”’
use crate::tempo; πŸ”’
use crate::tx; πŸ”’
use crate::tx::CastTxBuilder; πŸ”’
use crate::tx::CastTxSender; πŸ”’
use crate::tx::SendTxOpts; πŸ”’
use crate::tx::TxParams; πŸ”’
use crate::tx::apply_poll_interval; πŸ”’
use alloy_consensus::SignableTransaction; πŸ”’
use alloy_consensus::Signed; πŸ”’
use alloy_ens::NameOrAddress; πŸ”’
use alloy_network::Ethereum; πŸ”’
use alloy_network::EthereumWallet; πŸ”’
use alloy_network::Network; πŸ”’
use alloy_network::NetworkTransactionBuilder; πŸ”’
use alloy_primitives::Address; πŸ”’
use alloy_primitives::B256; πŸ”’
use alloy_primitives::hex; πŸ”’
use alloy_primitives::hex; πŸ”’
use alloy_provider::Provider; πŸ”’
use alloy_provider::ProviderBuilder as AlloyProviderBuilder; πŸ”’
use alloy_signer::Signature; πŸ”’
use alloy_signer::Signer; πŸ”’
use clap::Parser; πŸ”’
use eyre::Result; πŸ”’
use eyre::eyre; πŸ”’
use foundry_cli::opts::TransactionOpts; πŸ”’
use foundry_cli::utils::LoadConfig; πŸ”’
use foundry_cli::utils::get_chain; πŸ”’
use foundry_cli::utils::resolve_lane; πŸ”’
use foundry_common::FoundryTransactionBuilder; πŸ”’
use foundry_common::fmt::UIfmt; πŸ”’
use foundry_common::fmt::UIfmtReceiptExt; πŸ”’
use foundry_common::provider::ProviderBuilder; πŸ”’
use foundry_common::tempo::configurable_account::ConfigurableAccountSigner; πŸ”’
use foundry_common::tempo::maybe_print_fee_token; πŸ”’
use foundry_config::Config; πŸ”’
use foundry_wallets::WalletSigner; πŸ”’
use foundry_wallets::wallet_browser::signer::BrowserSigner; πŸ”’
use std::path::PathBuf; πŸ”’
use std::str::FromStr; πŸ”’
use tempo_alloy::TempoNetwork; πŸ”’
use tempo_alloy::accounts::TempoAccountsWallet; πŸ”’
use tempo_contracts::precompiles::TIP20_FACTORY_ADDRESS; πŸ”’
use tempo_contracts::precompiles::is_iso4217_currency; πŸ”’
use tempo_primitives::transaction::FEE_PAYER_SIGNATURE_MARKER; πŸ”’
use url::Url; πŸ”’
use base_common_network::Base; πŸ”’ base

StructsΒ§

SendOptions πŸ”’
How a transaction is submitted and its result reported.
SendTxArgs
CLI arguments for cast send.

EnumsΒ§

FeeTokenMode πŸ”’
How cast_send handles the Tempo fee token of a transaction before sending it.
SendTxSubcommands

FunctionsΒ§

cast_send πŸ”’
Sends a transaction through provider, which signs it (a wallet-filled provider or an unlocked RPC account).
cast_send_raw πŸ”’
Sends a raw transaction using the RPC method selected by sync.
cast_send_with_configurable_account πŸ”’
Signs a prepared transaction as a Tempo configurable account with its owners’ approvals and sends it as a raw transaction.
cast_send_with_tempo_wallet πŸ”’
Signs a prepared transaction with a Tempo wallet and sends it as a raw transaction.
cast_send_with_tempo_wallet_via_sponsor πŸ”’
Signs a prepared transaction with a Tempo wallet, obtains a remote fee-payer signature, and broadcasts the sponsored transaction through the original provider transport. The relay selects the fee token, so opts must not resolve one.
validate_sponsor_url πŸ”’
Validates that a sponsor URL uses https:// (localhost/127.0.0.1 may use http://).