Expand description
Helper trait and functions to format Ethereum types.
Re-exportsยง
use alloy_consensus::BlockHeader;๐use alloy_consensus::Eip658Value;๐use alloy_consensus::Signed;๐use alloy_consensus::Transaction as TxTrait;๐use alloy_consensus::TxEip1559;๐use alloy_consensus::TxEip2930;๐use alloy_consensus::TxEip4844Variant;๐use alloy_consensus::TxEip7702;๐use alloy_consensus::TxEnvelope;๐use alloy_consensus::TxLegacy;๐use alloy_consensus::TxReceipt;๐use alloy_consensus::Typed2718;๐use alloy_consensus::transaction::TxHashRef;๐use alloy_network::AnyRpcBlock;๐use alloy_network::AnyRpcHeader;๐use alloy_network::AnyRpcTransaction;๐use alloy_network::AnyTransactionReceipt;๐use alloy_network::AnyTxEnvelope;๐use alloy_network::BlockResponse;๐use alloy_network::Network;๐use alloy_network::ReceiptResponse;๐use alloy_network::primitives::HeaderResponse;๐use alloy_primitives::Address;๐use alloy_primitives::Bloom;๐use alloy_primitives::Bytes;๐use alloy_primitives::FixedBytes;๐use alloy_primitives::I256;๐use alloy_primitives::Signature;๐use alloy_primitives::U8;๐use alloy_primitives::U64;๐use alloy_primitives::U256;๐use alloy_primitives::Uint;๐use alloy_primitives::hex;๐use alloy_primitives::hex;๐use alloy_rpc_types::AccessListItem;๐use alloy_rpc_types::Block;๐use alloy_rpc_types::BlockTransactions;๐use alloy_rpc_types::Header;๐use alloy_rpc_types::Log;๐use alloy_rpc_types::Transaction;๐use alloy_rpc_types::TransactionReceipt;๐use alloy_serde::OtherFields;๐use alloy_serde::WithOtherFields;๐use revm::context_interface::transaction::SignedAuthorization;๐use serde::Deserialize;๐use serde::Deserialize;๐use serde::Serialize;๐use serde::Serialize;๐use std::num::NonZeroU64;๐use tempo_alloy::primitives::AASigned;๐use tempo_alloy::primitives::TempoSignature;๐use tempo_alloy::primitives::TempoTransaction;๐use tempo_alloy::primitives::TempoTxEnvelope;๐use tempo_alloy::primitives::transaction::Call;๐use tempo_alloy::primitives::transaction::PrimitiveSignature;๐use tempo_alloy::rpc::TempoHeaderResponse;๐use tempo_alloy::rpc::TempoTransactionReceipt;๐use base_common_consensus::BaseReceipt;๐use base_common_consensus::BaseTxEnvelope;๐use base_common_consensus::Eip8130Signed;๐use base_common_consensus::TxDeposit as BaseTxDeposit;๐use base_common_rpc_types::BaseTransactionReceipt;๐use base_common_rpc_types::Transaction as BaseRpcTransaction;๐use op_alloy_consensus::OpTxEnvelope;๐use op_alloy_consensus::TxDeposit;๐use op_alloy_consensus::TxPostExec;๐
Enumsยง
- EthValue
- Various numerical ethereum types used for pretty printing
Constantsยง
- NAME_
COLUMN_ ๐LEN - length of the name column for pretty formatting
{:>20}{value}
Traitsยง
- UIfmt
- Helper trait to format Ethereum types.
- UIfmt
Header Ext - UIfmt
Receipt Ext - UIfmt
Signature Ext
Functionsยง
- fmt_
timestamp ๐ - Formats the timestamp to string
- get_
pretty_ block_ attr - get_
pretty_ receipt_ attr - get_
pretty_ tx_ attr - Returns the
UiFmt::pretty()formatted attribute of the transactions - pretty_
generic_ ๐header_ response - pretty_
receipt ๐ - Pretty-prints the common fields of any
TransactionReceipt<T>. - pretty_
signature_ ๐fields - receipt_
logs_ ๐bloom_ pretty - receipt_
logs_ ๐pretty