package
1.5.99
Repository: https://github.com/elementrem/go-elementrem.git
Documentation: pkg.go.dev

# Packages

Package runtime provides a basic execution model for executing EVM code.

# Functions

No description provided by the author
Disassemble disassembles the byte code and returns the string representation (human readable opcodes).
NewContract returns a new contract environment for the execution of EVM.
NewEVM retutrns a new EVM evmironment.
NewInterpreter returns a new instance of the Interpreter.
No description provided by the author
No description provided by the author
NewLogger returns a new logger.
No description provided by the author
No description provided by the author
RunPrecompile runs and evaluate the output of a precompiled contract defined in contracts.go.
StdErrFormat formats a slice of StructLogs to human readable format.
No description provided by the author

# 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
LLVM JIT VM.
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
Default standard VM.
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
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
Shortcut to common.Big1.
Pow256 is 2**256.
Precompiled contains the default set of elementrem contracts.
Shortcut to common.S256.
Shortcut to common.U256.
Shortcut to common.Big0.

# Structs

Config are the configuration options for the Interpreter.
Context provides the EVM with auxiliary information.
Contract represents an elementrem contract in the state database.
EVM provides information about external sources for the EVM The EVM should never be reused and is not thread safe.
Interpreter is used to run Elementrem based contracts and will utilise the passed environment to query external sources for state information.
LogConfig are the configuration options for structured logger the EVM.
Memory implements a simple memory model for the elementrem 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 EVM each cycle and lists information about the current internal state prior to the execution of the statement.
StructLogger is an EVM state logger and implements Tracer.

# Interfaces

Account represents a contract or basic elementrem account.
CallContext provides a basic interface for the EVM calling conventions.
ContractRef is a reference to the contract's backing object.
Precompiled contract is the basic interface for native Go contracts.
StateDB is an EVM database for full state querying.
Tracer is used to collect execution traces from an EVM transaction execution.
VirtualMachine is an EVM interface.

# Type aliases

No description provided by the author
No description provided by the author
OpCode is an EVM opcode.
No description provided by the author
No description provided by the author
Type is the VM type accepted by **NewVm**.