Skip to main content Module decoder Copy item path Source use crate::CallTrace ; ๐ use crate::CallTraceArena ; ๐ use crate::CallTraceNode ; ๐ use crate::DecodedCallData ; ๐ use crate::DecodedTraceStep ; ๐ use crate::debug::DebugTraceIdentifier ; ๐ use crate::erc8021 ; ๐ use crate::identifier::IdentifiedAddress ; ๐ use crate::identifier::LocalTraceIdentifier ; ๐ use crate::identifier::SignaturesIdentifier ; ๐ use crate::identifier::TraceIdentifier ; ๐ use alloy_dyn_abi::DynSolValue; ๐ use alloy_dyn_abi::EventExt; ๐ use alloy_dyn_abi::FunctionExt; ๐ use alloy_dyn_abi::JsonAbiExt; ๐ use alloy_json_abi::Constructor; ๐ use alloy_json_abi::Error; ๐ use alloy_json_abi::Event; ๐ use alloy_json_abi::Function; ๐ use alloy_json_abi::JsonAbi; ๐ use alloy_primitives::Address; ๐ use alloy_primitives::B256; ๐ use alloy_primitives::LogData; ๐ use alloy_primitives::Selector; ๐ use alloy_primitives::U256; ๐ use alloy_primitives::map::HashMap; ๐ use alloy_primitives::map::HashSet; ๐ use alloy_sol_types::SolValue; ๐ use foundry_common::ContractsByArtifact ; ๐ use foundry_common::SELECTOR_LEN ; ๐ use foundry_common::abi::get_indexed_event ; ๐ use foundry_common::abi::reconstruct_event_params ; ๐ use foundry_common::fmt::format_token ; ๐ use foundry_common::get_contract_name ; ๐ use foundry_common::selectors::SelectorKind ; ๐ use foundry_common::tempo::OUSD_ADDRESS ; ๐ use foundry_config::TracingConfig ; ๐ use foundry_evm_core::abi::console ; ๐ use foundry_evm_core::constants::CALLER ; ๐ use foundry_evm_core::constants::CHEATCODE_ADDRESS ; ๐ use foundry_evm_core::constants::DEFAULT_CREATE2_DEPLOYER ; ๐ use foundry_evm_core::constants::HARDHAT_CONSOLE_ADDRESS ; ๐ use foundry_evm_core::decode::RevertDecoder ; ๐ use foundry_evm_core::precompiles::BLAKE_2F ; ๐ use foundry_evm_core::precompiles::BLS12_G1ADD ; ๐ use foundry_evm_core::precompiles::BLS12_G1MSM ; ๐ use foundry_evm_core::precompiles::BLS12_G2ADD ; ๐ use foundry_evm_core::precompiles::BLS12_G2MSM ; ๐ use foundry_evm_core::precompiles::BLS12_MAP_FP_TO_G1 ; ๐ use foundry_evm_core::precompiles::BLS12_MAP_FP2_TO_G2 ; ๐ use foundry_evm_core::precompiles::BLS12_PAIRING_CHECK ; ๐ use foundry_evm_core::precompiles::CELO_TRANSFER ; ๐ use foundry_evm_core::precompiles::EC_ADD ; ๐ use foundry_evm_core::precompiles::EC_MUL ; ๐ use foundry_evm_core::precompiles::EC_PAIRING ; ๐ use foundry_evm_core::precompiles::EC_RECOVER ; ๐ use foundry_evm_core::precompiles::IDENTITY ; ๐ use foundry_evm_core::precompiles::MOD_EXP ; ๐ use foundry_evm_core::precompiles::POINT_EVALUATION ; ๐ use foundry_evm_core::precompiles::RIPEMD_160 ; ๐ use foundry_evm_core::precompiles::SHA_256 ; ๐ use foundry_evm_hardforks::ExecutionSpec ; ๐ use foundry_evm_hardforks::FoundryHardfork ; ๐ use foundry_evm_hardforks::TempoHardfork; ๐ use foundry_evm_networks::NetworkConfigs ; ๐ use foundry_evm_networks::NetworkVariant ; ๐ use foundry_evm_networks::TEMPO_PRECOMPILES ; ๐ use foundry_evm_networks::celo::transfer::CELO_TRANSFER_LABEL ; ๐ use itertools::Itertools; ๐ use revm::bytecode::opcode::OpCode; ๐ use revm::interpreter::InstructionResult; ๐ use revm_inspectors::tracing::types::DecodedCallLog ; ๐ use revm_inspectors::tracing::types::DecodedCallTrace ; ๐ use std::collections::BTreeMap ; ๐ use std::sync::OnceLock ; ๐ use tempo_contracts::precompiles::CURRENT_COMMITTEE_ADDRESS; ๐ use tempo_contracts::precompiles::IAccountKeychain; ๐ use tempo_contracts::precompiles::IAddressRegistry; ๐ use tempo_contracts::precompiles::ICurrentCommittee; ๐ use tempo_contracts::precompiles::IFeeManager; ๐ use tempo_contracts::precompiles::IReceivePolicyGuard; ๐ use tempo_contracts::precompiles::ISignatureVerifier; ๐ use tempo_contracts::precompiles::IStablecoinDEX; ๐ use tempo_contracts::precompiles::IStorageCredits; ๐ use tempo_contracts::precompiles::ITIP20ChannelReserve; ๐ use tempo_contracts::precompiles::ITIP20Factory; ๐ use tempo_contracts::precompiles::ITIP403Registry; ๐ use tempo_contracts::precompiles::IValidatorConfig; ๐ use tempo_precompiles::PATH_USD_ADDRESS; ๐ use tempo_precompiles::RECEIVE_POLICY_GUARD_ADDRESS; ๐ use tempo_precompiles::TIP403_REGISTRY_ADDRESS; ๐ use tempo_precompiles::nonce::INonce; ๐ use tempo_precompiles::tip20::ITIP20; ๐ use base_common_precompiles::ActivationRegistryStorage; ๐ baseuse base_common_precompiles::B20FactoryStorage; ๐ baseuse base_common_precompiles::NonceManagerStorage; ๐ baseuse base_common_precompiles::PolicyRegistryStorage; ๐ baseuse base_common_precompiles::TxContextStorage; ๐ baseuse foundry_evm_hardforks::BaseSpecId; ๐ baseuse foundry_evm_networks::active_base_precompiles ; ๐ baseuse foundry_evm_networks::is_base_precompile_active_at ; ๐ baseuse foundry_evm_hardforks::MonadHardfork; ๐ monadbase ๐ baseBase precompile ABIs for trace decoding. monad ๐ monadprecompiles ๐ vm ๐ Cheatcode ABIs for trace decoding. CallTraceDecoder The call trace decoder. CallTraceDecoderBuilder Build a new CallTraceDecoder . DecodedEvent A decoded event with both display-formatted parameters and their underlying ABI values. constructor_signature ๐ indexed_event_candidates ๐ indexed_inputs ๐ is_abi_call_data ๐ Returns true if the given function calldata (including function selector) is ABI-encoded. is_abi_data ๐ Returns true if the given data is ABI-encoded. is_abi_encoded_input ๐ Returns true if args is exactly the ABI encoding of the function inputs. suffixed_abi_args ๐ Returns the word-aligned arguments of the given function calldata if they are followed by a
non-zero suffix shorter than a word, such as tracking bytes appended by routers. A trailing
ERC-8021 attribution suffix is removed first. AddressEvents ๐ Address-scoped events keyed by signature and indexed input count; anonymous events have no
signature.