Crate evm_interpreter

Source
Expand description

Core layer for EVM.

Modules§

etable
Generic etable, used for opcode execution.
eval
Actual opcode evaluation implementations.
runtime
Runtime state and related traits.
trap
Call and create trap handler.
utils
Small utilities.

Structs§

EtableInterpreter
Interpreter that uses Etable.
Machine
Core execution layer for EVM.
Memory
A sequential memory. It uses Rust’s Vec for internal representation.
Opcode
Opcode enum. One-to-one corresponding to an u8 value.
Stack
EVM stack.
Valids
Mapping of valid jump destination from code.

Enums§

Capture
Capture represents the result of execution.
Control
Control state.
ExitError
Exit reason.
ExitException
Exit error reason.
ExitFatal
Exit fatal reason.
ExitSucceed
Exit succeed reason.

Traits§

FeedbackInterpreter
Trap feedback for an interpreter.
Interpreter
An interpreter.
StepInterpreter
An interpreter that allows single stepping.

Type Aliases§

ExitResult
Exit result.