# Packages
Package runtime provides a basic execution model for executing VVM code.
# Functions
NewByzantiumInstructionSet returns the frontier, homestead and byzantium instructions.
NewContract returns a new contract environment for the execution of VVM.
NewFrontierInstructionSet returns the frontier instructions that can be executed during the frontier phase.
NewHomesteadInstructionSet returns the frontier and homestead instructions that can be executed during the homestead phase.
NewInterpreter returns a new instance of the Interpreter.
No description provided by the author
NewStructLogger returns a new logger.
NewVVM retutrns a new VVM .
No description provided by the author
No description provided by the author
RunPrecompiledContract runs and evaluates the output of a precompiled contract.
No description provided by the author
WriteLogs writes vm logs in a readable format to the given writer.
WriteTrace writes a formatted trace to the given writer.
# Constants
No description provided by the author
No description provided by the author
0x30 range - closure state.
No description provided by the author
No description provided by the author
0x40 range - block operations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
0xf0 range - closures.
No description provided by the author
No description provided by the author
No description provided by the author
unofficial opcodes used for parsing.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
0x50 range - 'storage' and execution.
unofficial opcodes used for parsing.
0x60 range.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
0x0 range - arithmetic ops.
No description provided by the author
unofficial opcodes used for parsing.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PrecompiledContractsByzantium contains the default set of pre-compiled Vapory contracts used in the Byzantium release.
PrecompiledContractsHomestead contains the default set of pre-compiled Vapory contracts used in the Frontier and Homestead releases.
# Structs
Config are the configuration options for the Interpreter.
Context provides the VVM with auxiliary information.
Contract represents an vapory contract in the state database.
Interpreter is used to run Vapory based contracts and will utilise the passed environment to query external sources for state information.
LogConfig are the configuration options for structured logger the VVM.
Memory implements a simple memory model for the vapory virtual machine.
No description provided by the author
No description provided by the author
stack is an object for basic stack operations.
StructLog is emitted to the VVM each cycle and lists information about the current internal state prior to the execution of the statement.
StructLogger is an VVM state logger and implements Tracer.
VVM is the Vapory Virtual Machine base object and provides the necessary tools to run a contract on the given state with the provided context.
# Interfaces
CallContext provides a basic interface for the VVM calling conventions.
ContractRef is a reference to the contract's backing object.
PrecompiledContract is the basic interface for native Go contracts.
StateDB is an VVM database for full state querying.
Tracer is used to collect execution traces from an VVM transaction execution.
# Type aliases
AccountRef implements ContractRef.
No description provided by the author
No description provided by the author
OpCode is an VVM opcode.
No description provided by the author
No description provided by the author