# Packages

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

# Functions

Disassemble disassembles the byte code and returns the string representation (human readable opcodes).
New returns a new instance of the EVM.
NewContract returns a new contract environment for the execution of EVM.
No description provided by the author
No description provided by the author
PrecompiledContractsPreAtlantis returns the default set of precompiled ethereum contracts defined by the ethereum yellow paper pre-Atlantis.
PrecompiledContractsAtlantis returns the set of precompiled contracts introducted in Atlantis.
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.
Gas needed for an elliptic curve addition.
Base price for an elliptic curve pairing check.
Per-point price for an elliptic curve pairing check.
Gas needed for an elliptic curve scalar multiplication.
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
Elliptic curve sender recovery gas price.
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
Base price for a data copy operation.
Per-work price for a data copy operation.
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
Divisor for the quadratic particle of the big int modular exponentiation.
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
Base price for a RIPEMD160 operation.
Per-word price for a RIPEMD160 operation.
No description provided by the author
No description provided by the author
Base price for a SHA256 operation.
Per-word price for a SHA256 operation.
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
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
Shortcut to common.Big1.
No description provided by the author
Pow256 is 2**256.
No description provided by the author
Precompiled contains the default set of ethereum contracts.
Shortcut to common.S256.
Shortcut to common.U256.

# Structs

Contract represents an ethereum contract in the state database.
EVM is used to run Ethereum based contracts and will utilise the passed environment to query external sources for state information.
No description provided by the author
No description provided by the author
Memory implements a simple memory model for the ethereum virtual machine.
PrecompiledAccount represents a native ethereum contract.

# Interfaces

Account represents a contract or basic ethereum account.
ContractRef is a reference to the contract's backing object.
Database is a EVM database for full state querying.
Environment is an EVM requirement and helper which allows access to outside information such as states.
RuleSet is an interface that defines the current rule set during the execution of the EVM instructions (e.g.
VirtualMachine is an EVM interface.
Vm is the basic interface for an implementation of the EVM.

# Type aliases

LogForStorage is a wrapper around a Log that flattens and parses the entire content of a log, as opposed to only the consensus fields originally (by hiding the rlp interface methods).
No description provided by the author
OpCode is an EVM opcode.
Type is the VM type accepted by **NewVm**.