DebugCallResult (Class)¶
The outcome of a debug_call simulation.
console
property
¶
Output captured from the contract's console.log calls, in execution
order.
failure
property
¶
failure: Optional[FailureReport]
The source-level failure report (failing statement, call stack, and per-frame variables); None on success or when execution failed before the debug session started (e.g. in the signature script).
function_name
property
¶
The entrypoint that was called. When function_name was omitted this
is the contract's first entrypoint in source order, which need not be
abi[0]: the ABI is ordered by name.
trace
property
¶
trace: Optional[list[TraceStep]]
The per-statement execution trace, in execution order; None unless
debug_call was invoked with trace=True. On failure the trace covers
the statements up to and including the failing one: the last entry is
the failing statement, snapshotted when it was reached.
__repr__
¶
The detailed string representation.
| RETURNS | DESCRIPTION |
|---|---|
str
|
The DebugCallResult as a repr string.
TYPE:
|