Crate evm

source · []
Expand description

Ethereum virtual machine.

Re-exports

pub use self::evm::CostType;
pub use self::evm::FinalizationResult;
pub use self::evm::Finalize;
pub use self::factory::Factory;

Modules

Evm interface.

Evm factory.

Rust VM implementation

Macros

Create tests by injecting different VM factories

Create ignored tests by injecting different VM factories

Structs

Action (call/create) input params. Everything else should be specified in Externalities.

Information concerning the execution environment for a message-call/contract-creation.

EVM instruction information.

Return data buffer. Holds memory from a previous call and a slice into that memory.

Definition of the cost schedule and other parameterisations for the EVM.

Enums

The type of the call-like instruction.

Dust accounts cleanup mode.

Result of externalities create function.

Specifies how an address is calculated for a new contract.

Gas Left: either it is a known value, or it needs to be computed by processing a return instruction.

Virtual machine bytecode instruction.

Result of externalities call function.

Type of EVM to use.

Traits

Externalities interface for EVMs