Struct ethcore::trace::NoopTracer
[−]
[src]
pub struct NoopTracer;
Nonoperative tracer. Does not trace anything.
Trait Implementations
impl Tracer for NoopTracer
[src]
fn prepare_trace_call(&self, _: &ActionParams) -> Option<Call>
Prepares call trace for given params. Noop tracer should return None.
fn prepare_trace_create(&self, _: &ActionParams) -> Option<Create>
Prepares create trace for given params. Noop tracer should return None.
fn prepare_trace_output(&self) -> Option<Bytes>
Prepare trace output. Noop tracer should return None.
fn trace_call(&mut self,
call: Option<Call>,
_: U256,
output: Option<Bytes>,
_: Vec<FlatTrace>)
call: Option<Call>,
_: U256,
output: Option<Bytes>,
_: Vec<FlatTrace>)
Stores trace call info.
fn trace_create(&mut self,
create: Option<Create>,
_: U256,
code: Option<Bytes>,
_: Address,
_: Vec<FlatTrace>)
create: Option<Create>,
_: U256,
code: Option<Bytes>,
_: Address,
_: Vec<FlatTrace>)
Stores trace create info.
fn trace_failed_call(&mut self,
call: Option<Call>,
_: Vec<FlatTrace>,
_: TraceError)
call: Option<Call>,
_: Vec<FlatTrace>,
_: TraceError)
Stores failed call trace.
fn trace_failed_create(&mut self,
create: Option<Create>,
_: Vec<FlatTrace>,
_: TraceError)
create: Option<Create>,
_: Vec<FlatTrace>,
_: TraceError)
Stores failed create trace.
fn trace_suicide(&mut self,
_address: Address,
_balance: U256,
_refund_address: Address)
_address: Address,
_balance: U256,
_refund_address: Address)
Stores suicide info.
fn subtracer(&self) -> Self
Spawn subtracer which will be used to trace deeper levels of execution.
fn traces(self) -> Vec<FlatTrace>
Consumes self and returns all traces.