Expand description
Vapory virtual machine.
Re-exports§
pub use self::vvm::Finalize;
pub use self::vvm::FinalizationResult;
pub use self::vvm::CostType;
pub use self::factory::Factory;
Modules§
- factory
- Vvm factory.
- interpreter
- Rust VM implementation
- vvm
- Vvm interface.
Macros§
- vvm_
test - Create tests by injecting different VM factories
- vvm_
test_ ignore - Create ignored tests by injecting different VM factories
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.
- Instruction
Info - VVM instruction information.
- 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 VVM.
Enums§
- Action
Type - The type of the instruction.
- 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.
- GasLeft
- Gas Left: either it is a known value, or it needs to be computed by processing a return instruction.
- Instruction
- Virtual machine bytecode instruction.
- Message
Call Result - Result of externalities call function.
Traits§
- Ext
- Externalities interface for VVMs