Expand description
Formatting of Tempo configurable account (T14: TIP-1107) configurations and 0x05 signatures.
Re-exportsΒ§
use crate::UIfmt;πuse alloy_primitives::Address;πuse alloy_primitives::B256;πuse serde::Deserialize;πuse serde::Deserialize;πuse serde::Serialize;πuse serde::Serialize;πuse tempo_alloy::primitives::SignatureType;πuse tempo_alloy::primitives::TempoSignature;πuse tempo_alloy::primitives::TempoTransaction;πuse tempo_alloy::primitives::transaction::ConfigurableAccountConfig;πuse tempo_alloy::primitives::transaction::ConfigurableAccountOwner;πuse tempo_alloy::primitives::transaction::ConfigurableAccountSignature;πuse tempo_alloy::primitives::transaction::KeychainSignature;π
StructsΒ§
- Approval
Details π - An owner approval, with the owner recovered from the configurable account digest.
- Config
Json - A configuration as
cast wallet owners --jsonprints it, and asforge scriptsaves it for owners on other machines. - Configurable
Account πSignature Details - The decoded contents of a configurable account signature.
- Owner
Json π
FunctionsΒ§
- add_
configurable_ account_ details - Adds the details of a Tempo configurable account (
0x05) signature to a transactionβs JSON asconfigurableAccountSignature: the account, its configuration, and the owner and weight of each approval. The rawsignaturestays as the RPC returns it, so the JSON still decodes as a transaction.