Struct parables_testing::evm::Evm[][src]

pub struct Evm { /* fields omitted */ }

Methods

impl Evm
[src]

Create a new ethereum virtual machine abstraction.

Create a new account.

Get the current block number.

Set the current block number.

Create a static info structure of the environment.

Deploy the contract with the given code.

Deploy the contract with the given code.

Perform a call against the given address' fallback function.

This is the same as a straight up transfer.

Setup a log drainer that drains the specified logs.

Access raw underlying logs.

Note: it is important that the Ref is released as soon as possible since this would otherwise cause borrowing issues for other operations.

Check if we still have unclaimed logs.

Query the balance of the given account.

Add the given number of wei to the provided account.

Trait Implementations

impl Clone for Evm
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Evm
[src]

Formats the value using the given formatter. Read more

impl Vm for Evm
[src]

Perform a call against the given contract function.

Auto Trait Implementations

impl Send for Evm

impl !Sync for Evm