Struct ethcore::executed::Executed [] [src]

pub struct Executed<T = FlatTrace, V = VMTrace> {
    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<T>,
    pub vm_trace: Option<V>,
    pub state_diff: Option<StateDiff>,
}

Transaction execution receipt.

Fields

True if the outer call/create resulted in an exceptional exit.

Gas paid up front for execution of transaction.

Gas used during execution of transaction.

Gas refunded after the execution of transaction. To get gas that was required up front, add refunded and gas_used.

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.

Vector of logs generated by transaction.

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.

Transaction output.

The trace of this transaction.

The VM trace of this transaction.

The state diff, if we traced it.

Trait Implementations

impl<T: Debug, V: Debug> Debug for Executed<T, V>
[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq, V: PartialEq> PartialEq for Executed<T, V>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Clone, V: Clone> Clone for Executed<T, V>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T, V> Send for Executed<T, V> where
    T: Send,
    V: Send

impl<T, V> Sync for Executed<T, V> where
    T: Sync,
    V: Sync