Crate evm_core

Source
Expand description

Core layer for EVM.

Structs§

Machine
Core execution layer for EVM.
Memory
A sequencial 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.
ExitError
Exit error reason.
ExitFatal
Exit fatal reason.
ExitReason
Exit reason.
ExitRevert
Exit revert reason.
ExitSucceed
Exit succeed reason.
ExternalOperation
Operations for recording external costs

Type Aliases§

Trap
Trap which indicates that an ExternalOpcode has to be handled.