Struct ethcore::trace::ExecutiveTracer
[−]
[src]
pub struct ExecutiveTracer { /* fields omitted */ }
Simple executive tracer. Traces all calls and creates. Ignores delegatecalls.
Trait Implementations
impl Default for ExecutiveTracer
[src]
impl Default for ExecutiveTracer
fn default() -> ExecutiveTracer
[src]
fn default() -> ExecutiveTracer
Returns the "default value" for a type. Read more
impl Tracer for ExecutiveTracer
[src]
impl Tracer for ExecutiveTracer
type Output = FlatTrace
Data returned when draining the Tracer.
fn prepare_trace_call(&self, params: &ActionParams) -> Option<Call>
[src]
fn prepare_trace_call(&self, params: &ActionParams) -> Option<Call>
Prepares call trace for given params. Noop tracer should return None.
fn prepare_trace_create(&self, params: &ActionParams) -> Option<Create>
[src]
fn prepare_trace_create(&self, params: &ActionParams) -> Option<Create>
Prepares create trace for given params. Noop tracer should return None.
fn prepare_trace_output(&self) -> Option<Bytes>
[src]
fn prepare_trace_output(&self) -> Option<Bytes>
Prepare trace output. Noop tracer should return None.
fn trace_call(
&mut self,
call: Option<Call>,
gas_used: U256,
output: Option<Bytes>,
subs: Vec<FlatTrace>
)
[src]
fn trace_call(
&mut self,
call: Option<Call>,
gas_used: U256,
output: Option<Bytes>,
subs: Vec<FlatTrace>
)
Stores trace call info.
fn trace_create(
&mut self,
create: Option<Create>,
gas_used: U256,
code: Option<Bytes>,
address: Address,
subs: Vec<FlatTrace>
)
[src]
fn trace_create(
&mut self,
create: Option<Create>,
gas_used: U256,
code: Option<Bytes>,
address: Address,
subs: Vec<FlatTrace>
)
Stores trace create info.
fn trace_failed_call(
&mut self,
call: Option<Call>,
subs: Vec<FlatTrace>,
error: TraceError
)
[src]
fn trace_failed_call(
&mut self,
call: Option<Call>,
subs: Vec<FlatTrace>,
error: TraceError
)
Stores failed call trace.
fn trace_failed_create(
&mut self,
create: Option<Create>,
subs: Vec<FlatTrace>,
error: TraceError
)
[src]
fn trace_failed_create(
&mut self,
create: Option<Create>,
subs: Vec<FlatTrace>,
error: TraceError
)
Stores failed create trace.
fn trace_suicide(
&mut self,
address: Address,
balance: U256,
refund_address: Address
)
[src]
fn trace_suicide(
&mut self,
address: Address,
balance: U256,
refund_address: Address
)
Stores suicide info.
fn trace_reward(
&mut self,
author: Address,
value: U256,
reward_type: RewardType
)
[src]
fn trace_reward(
&mut self,
author: Address,
value: U256,
reward_type: RewardType
)
Stores reward info.
fn subtracer(&self) -> Self
[src]
fn subtracer(&self) -> Self
Spawn subtracer which will be used to trace deeper levels of execution.
fn drain(self) -> Vec<FlatTrace>
[src]
fn drain(self) -> Vec<FlatTrace>
Consumes self and returns all traces.
Auto Trait Implementations
impl Send for ExecutiveTracer
impl Send for ExecutiveTracer
impl Sync for ExecutiveTracer
impl Sync for ExecutiveTracer