Expand description
Tempo configurable accounts (T14: TIP-1107, TIP-1113) in cast wallet, built on
foundry_common::tempo::configurable_account.
Re-exportsΒ§
use crate::cmd::auth::confirm_and_build;πuse crate::cmd::confirm_continue;πuse crate::cmd::keychain::KeychainRootSigner;πuse crate::cmd::keychain::send_precompile_tx_with_root_signer;πuse crate::cmd::send::SendOptions;πuse crate::cmd::send::cast_send_raw;πuse crate::tempo::apply_fee_payment;πuse crate::tempo::print_expires;πuse crate::tempo::tempo_provider;πuse crate::tx::CastTxBuilder;πuse crate::tx::SendTxOpts;πuse crate::tx::apply_poll_interval;πuse alloy_chains::Chain;πuse alloy_eips::Decodable2718;πuse alloy_eips::Encodable2718;πuse alloy_ens::NameOrAddress;πuse alloy_primitives::Address;πuse alloy_primitives::hex;πuse alloy_primitives::hex;πuse alloy_primitives::keccak256;πuse alloy_provider::Provider;πuse alloy_signer::Signer;πuse alloy_sol_types::SolCall;πuse clap::Parser;πuse eyre::Context;πuse eyre::Result;πuse foundry_cli::json::print_json_success;πuse foundry_cli::opts::RpcOpts;πuse foundry_cli::opts::TransactionOpts;πuse foundry_cli::utils::LoadConfig;πuse foundry_cli::utils::now;πuse foundry_cli::utils::resolve_lane;πuse foundry_common::provider::ProviderBuilder;πuse foundry_common::shell;πuse foundry_common::tempo::active_tempo_hardfork;πuse foundry_common::tempo::configurable_account::abi_owners;πuse foundry_common::tempo::configurable_account::ca_error;πuse foundry_common::tempo::configurable_account::combine_approvals;πuse foundry_common::tempo::configurable_account::current_config;πuse foundry_common::tempo::configurable_account::decode_unsigned_tx;πuse foundry_common::tempo::configurable_account::parse_owner_signature;πuse foundry_common::tempo::configurable_account::simulation_spec;πuse foundry_config::Config;πuse foundry_config::FoundryHardfork;πuse serde_json::Value;πuse serde_json::json;πuse std::str::FromStr;πuse std::time::Duration;πuse tempo_alloy::TempoNetwork;πuse tempo_alloy::chainspec::hardfork::TempoHardfork;πuse tempo_alloy::rpc::ConfigurableAccountSimulationSpec;πuse tempo_alloy::rpc::PrimitiveSignatureType;πuse tempo_contracts::precompiles::CONFIGURABLE_ACCOUNT_ADDRESS;πuse tempo_contracts::precompiles::IConfigurableAccount;πuse tempo_primitives::transaction::CONFIGURABLE_ACCOUNT_UPGRADE_DOMAIN;πuse tempo_primitives::transaction::ConfigurableAccountConfig;πuse tempo_primitives::transaction::ConfigurableAccountOwner;πuse tempo_primitives::transaction::PrimitiveSignature;πuse tempo_primitives::transaction::TempoSignature;πuse tempo_primitives::transaction::TempoTxEnvelope;πuse tempo_primitives::transaction::configurable_account_digest;π
StructsΒ§
- Assemble
Args cast wallet assemble: combines owner approvals with an unsigned transaction.- Owner
Send Args - Transaction options for an owner change.
- Owners
Args cast wallet owners: shows or changes the owners of a configurable account.- Upgrade
Args cast wallet upgrade: converts an EOA into a configurable account in place (TIP-1113).
EnumsΒ§
- Owners
Subcommand - Owner changes, each sent as an
updateConfigtransaction from the account itself.
ConstantsΒ§
- TEMPO_
MAINNET π - Tempo mainnetβs chain ID.
FunctionsΒ§
- config_
json π - digest_
context π - Returns the owner digest and the configuration-change quorum for
account, used bycast mktx --tempo.digest. - new_
wallet_ πis_ configurable - Decides whether
cast wallet newcreates a configurable account. - parse_
owner π - Parses an owner as
ADDRESSorADDRESS:WEIGHT. - print_
config π - Prints a configuration as a table, or as JSON in
--jsonmode. - rpc_
tempo_ πhardfork - Asks the configured RPC for its Tempo hardfork. Returns
Nonefor a non-Tempo chain. - scheduled_
hardfork π - Returns the hardfork that the compiled Tempo schedule activates on
chainnow, if known. - update_
config π - Sends the
updateConfigtransaction thatcommanddescribes.