pub struct Interpreter<Cost: CostType> { /* private fields */ }
Expand description

Intepreter EVM implementation

Implementations

Create a new Interpreter instance with shared cache.

Execute a single step on the VM.

Trait Implementations

This function should be used to execute transaction. It returns either an error, a known amount of gas left, or parameters to be used to compute the final gas left. Read more

Resume an execution for call, returns back the Vm interface.

Resume an execution from create, returns back the Vm interface.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.