[][src]Trait blockchain_traits::Receipt

pub trait Receipt {
    fn caller(&self) -> &Address;
fn callee(&self) -> &Address;
fn gas_used(&self) -> u64;
fn events(&self) -> Vec<&Event>;
fn outcome(&self) -> TransactionOutcome;
fn output(&self) -> &[u8]; fn reverted(&self) -> bool { ... } }

Required methods

fn caller(&self) -> &Address

fn callee(&self) -> &Address

fn gas_used(&self) -> u64

Returns the total gas used during the execution of the transaction.

fn events(&self) -> Vec<&Event>

Returns the events emitted during the transaction.

fn outcome(&self) -> TransactionOutcome

Returns the outcome of this transaction.

fn output(&self) -> &[u8]

Returns the output of the transaction.

Loading content...

Provided methods

fn reverted(&self) -> bool

Returns whether the transaction that produced this receipt was reverted.

Loading content...

Implementors

Loading content...