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::maybe_print_fee_token; ๐Ÿ”’
use foundry_config::Config; ๐Ÿ”’
use foundry_wallets::TempoAccountsWallet; ๐Ÿ”’
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_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ยง

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_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://).