Struct ethcore::executed::Executed
[−]
[src]
pub struct Executed { pub exception: Option<Error>, pub gas: U256, pub gas_used: U256, pub refunded: U256, pub cumulative_gas_used: U256, pub logs: Vec<LogEntry>, pub contracts_created: Vec<Address>, pub output: Bytes, pub trace: Vec<FlatTrace>, pub vm_trace: Option<VMTrace>, pub state_diff: Option<StateDiff>, }
Transaction execution receipt.
Fields
exception: Option<Error>
True if the outer call/create resulted in an exceptional exit.
gas: U256
Gas paid up front for execution of transaction.
gas_used: U256
Gas used during execution of transaction.
refunded: U256
Gas refunded after the execution of transaction.
To get gas that was required up front, add refunded
and gas_used
.
cumulative_gas_used: U256
Cumulative gas used in current block so far.
cumulative_gas_used = gas_used(t0) + gas_used(t1) + ... gas_used(tn)
where tn
is current transaction.
logs: Vec<LogEntry>
Vector of logs generated by transaction.
contracts_created: Vec<Address>
Addresses of contracts created during execution of transaction. Ordered from earliest creation.
eg. sender creates contract A and A in constructor creates contract B
B creation ends first, and it will be the first element of the vector.
output: Bytes
Transaction output.
trace: Vec<FlatTrace>
The trace of this transaction.
vm_trace: Option<VMTrace>
The VM trace of this transaction.
state_diff: Option<StateDiff>
The state diff, if we traced it.
Trait Implementations
impl Debug for Executed
[src]
impl PartialEq for Executed
[src]
fn eq(&self, __arg_0: &Executed) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Executed) -> bool
This method tests for !=
.
impl Clone for Executed
[src]
fn clone(&self) -> Executed
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more