Skip to main content

Module batch_send

Module batch_send 

Source
Expand description

cast batch-send command implementation.

Sends a batch of calls as a single Tempo transaction using native call batching. Uses a single type 0x76 transaction with multiple calls executed atomically.

Re-exportsΒ§

use crate::call_spec::CallSpec; πŸ”’
use crate::cmd::auth::confirm_and_build; πŸ”’
use crate::cmd::auth::confirm_and_build_with_tempo_wallet; πŸ”’
use crate::cmd::send::SendOptions; πŸ”’
use crate::cmd::send::cast_send; πŸ”’
use crate::cmd::send::cast_send_with_tempo_wallet; πŸ”’
use crate::tempo; πŸ”’
use crate::tx; πŸ”’
use crate::tx::CastTxBuilder; πŸ”’
use crate::tx::InitState; πŸ”’
use crate::tx::InputState; πŸ”’
use crate::tx::SendTxOpts; πŸ”’
use crate::tx::apply_poll_interval; πŸ”’
use alloy_network::EthereumWallet; πŸ”’
use alloy_provider::Provider; πŸ”’
use alloy_provider::ProviderBuilder as AlloyProviderBuilder; πŸ”’
use clap::Parser; πŸ”’
use eyre::Result; πŸ”’
use foundry_cli::opts::TransactionOpts; πŸ”’
use foundry_cli::utils; πŸ”’
use foundry_cli::utils::resolve_lane; πŸ”’
use tempo_alloy::TempoNetwork; πŸ”’

StructsΒ§

BatchSendArgs
CLI arguments for cast batch-send.

FunctionsΒ§

with_batch_calls πŸ”’
Parses the --call specs, resolves them against the builder’s chain and sets them as the batch calls of the transaction.