tuweni / org.apache.tuweni.evm

Package org.apache.tuweni.evm

Types

CallKind

Types of EVM calls

enum class CallKind

EthereumVirtualMachine

An Ethereum Virtual Machine.

class EthereumVirtualMachine

EVMExecutionStatusCode

EVM execution status codes

enum class EVMExecutionStatusCode

EVMMessage

Message sent to the EVM for execution

data class EVMMessage

EVMResult

Result of EVM execution

data class EVMResult

EvmVm

interface EvmVm

HardFork

Known hard fork revisions to execute against.

enum class HardFork

HostContext

This interface represents the callback functions must be implemented in order to interface with the EVM.

interface HostContext

TransactionalEVMHostContext

EVM context that records changes to the world state, so they can be applied atomically.

class TransactionalEVMHostContext : HostContext

Properties

latestHardFork

val latestHardFork: HardFork

opcodes

val opcodes: Map<Byte, String>

Functions

fromCode

Finds a code matching a number, or throw an exception if no matching code exists.

fun fromCode(code: Int): EVMExecutionStatusCode