Crate vm

source · []
Expand description

Virtual machines support library

Re-exports

pub use access_list::AccessList;
pub use schedule::CleanDustMode;
pub use schedule::Schedule;
pub use schedule::WasmCosts;

Modules

Cost schedule and other parameterisations for the EVM.

Structs

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

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

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

Enums

Transaction value

The type of the call-like instruction.

Result of externalities create function.

Specifies how an address is calculated for a new contract.

VM errors.

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

Result of externalities call function.

Type of the way parameters encoded

Traits

Virtual Machine interface

Externalities interface for EVMs

Resume call interface

Resume create interface

Type Definitions

Simple vector of hashes, should be at most 256 items large, can be smaller if being used for a block whose number is less than 257.