Re-exportsยง
use crate::CallTraceNode;๐use alloy_dyn_abi::DynSolType;๐use alloy_dyn_abi::DynSolValue;๐use alloy_dyn_abi::Specifier;๐use alloy_dyn_abi::parser::Parameters;๐use alloy_dyn_abi::parser::Storage;๐use alloy_primitives::U256;๐use foundry_common::fmt::format_token;๐use foundry_compilers::artifacts::sourcemap::Jump;๐use foundry_compilers::artifacts::sourcemap::SourceElement;๐use revm::bytecode::opcode::OpCode;๐use revm_inspectors::tracing::types::CallTraceStep;๐use revm_inspectors::tracing::types::DecodedInternalCall;๐use revm_inspectors::tracing::types::DecodedTraceStep;๐
Modulesยง
Structsยง
- Artifact
Data - Contract
Sources - Container with artifacts data useful for identifying individual execution steps.
- Debug
Recording - The steps that one inspector stack recorded for its call trace arena.
- Debug
Step Sink - The step table that the debug recorders of one session append to, in execution order.
- Debug
Steps ๐Walker - Walks through the CallTraceSteps attempting to match JUMPs to internal functions.
- Debug
Trace Identifier - Recorded
Frame - The steps that one call or creation spans, its subcalls included.
- Source
Data - Step
Converter - Converts the state of each step into SolDBโs form, sharing the buffers of unchanged steps.
- Step
Storage - The storage slots that one step touches, in SolDBโs form.
Functionsยง
- canonical_
function_ ๐signature - decode_
from_ ๐calldata - decode_
from_ ๐memory - Decodes given [DynSolType] from memory.
- decode_
parameter ๐ - decode_
step_ parameters - Given [Parameters] and CallTraceStep, tries to decode parameters by using stack, memory, and call data.
- function_
signature - Formats an ABI-style function signature from a name and canonical parameter types.
- internal_
function_ ๐identifier - memory_
range ๐ - parse_
function_ ๐from_ loc - Tries to parse the function name from the source code and detect the contract name which contains the given function.
- parse_
types ๐ - Parses function input and output types into [Parameters].
- quantity
- Formats
valueas a JSON-RPC quantity. - source_
span ๐ - stack_
slots ๐