Expand description
Virtual machines support library
Modules§
Structs§
- Action
Params - Action (call/create) input params. Everything else should be specified in Externalities.
- EnvInfo
- Information concerning the execution environment for a message-call/contract-creation.
- Return
Data - Return data buffer. Holds memory from a previous call and a slice into that memory.
- Schedule
- Definition of the cost schedule and other parameterisations for the EVM.
- Wasm
Costs - Wasm cost table
Enums§
- Action
Type - The type of the instruction.
- Action
Value - Transaction value
- Clean
Dust Mode - Dust accounts cleanup mode.
- Contract
Create Result - Result of externalities create function.
- Create
Contract Address - Specifies how an address is calculated for a new contract.
- Error
- VM errors.
- GasLeft
- Gas Left: either it is a known value, or it needs to be computed by processing a return instruction.
- Message
Call Result - Result of externalities call function.
- Params
Type - Type of the way parameters encoded
- Trap
Error - Trap
Kind - Versioned
Schedule - Definition of schedules that can be applied to a version.
Traits§
- Exec
- Virtual Machine interface
- Ext
- Externalities interface for EVMs
- Resume
Call - Resume call interface
- Resume
Create - Resume create interface
Type Aliases§
- Exec
Trap Error - Exec
Trap Result - Last
Hashes - 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.
- Result
- Trap
Result