Expand description
Tempo access keys authorized by a configurable accountโs owners (T14, TIP-1111).
cast keychain authorize sends authorizeKey from the account in a 0x05 transaction.
cast key-authorization sign signs an inline key authorization: the owners approve
configurable_account_digest(authorization.signature_hash(), account, version), and their
approvals form its 0x05 signature. The accountโs configuration is read from the chain, as
cast wallet does.
Re-exportsยง
use crate::cmd::auth::confirm_and_build;๐use crate::cmd::send::SendOptions;๐use crate::cmd::send::cast_send_with_configurable_account;๐use crate::tempo::apply_fee_payment;๐use crate::tempo::print_expires;๐use crate::tempo::resolve_configurable_account;๐use crate::tempo::tempo_provider;๐use crate::tx::CastTxBuilder;๐use crate::tx::SendTxOpts;๐use crate::tx::apply_poll_interval;๐use alloy_ens::NameOrAddress;๐use alloy_primitives::Address;๐use alloy_primitives::hex;๐use alloy_primitives::hex;๐use alloy_provider::Provider;๐use alloy_signer::Signer;๐use clap::Args;๐use eyre::Result;๐use eyre::WrapErr;๐use foundry_cli::opts::TransactionOpts;๐use foundry_cli::utils::LoadConfig;๐use foundry_cli::utils::resolve_lane;๐use foundry_common::tempo::configurable_account::combine_approvals;๐use foundry_common::tempo::configurable_account::current_config;๐use foundry_common::tempo::configurable_account::parse_owner_signature;๐use foundry_wallets::WalletSigner;๐use tempo_alloy::TempoNetwork;๐use tempo_contracts::precompiles::ACCOUNT_KEYCHAIN_ADDRESS;๐use tempo_primitives::transaction::KeyAuthorization;๐use tempo_primitives::transaction::PrimitiveSignature;๐use tempo_primitives::transaction::SignedKeyAuthorization;๐use tempo_primitives::transaction::configurable_account_digest;๐
Structsยง
- Configurable
Account Args - Sign a key authorization as a Tempo configurable accountโs owners (T14, TIP-1111).
Functionsยง
- send_
keychain_ ๐tx_ as_ configurable_ account - Sends
calldatato the AccountKeychain precompile from the configurable account that--tempo.configurable-accountnames, in a0x05transaction that its local owners approve (T14): the wallet signer,--tempo.ownerand the Tempo Accounts store, ascast senddoes.