Expand description
Ethereum Virtual Machine implementation in Rust
Re-exports§
pub use evm_gasometer as gasometer;
Modules§
- backend
- EVM backends
- executor
- EVM executors
- maybe_
borrowed - A module containing the
MaybeBorrowed
enum. See its documentation for details.
Structs§
- Config
- Runtime configuration.
- Context
- Context of the runtime.
- 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. - Resolve
Call - Call interrupt resolution.
- Resolve
Create - Create interrupt resolution.
- Runtime
- EVM runtime.
- Stack
- EVM stack.
- Transfer
- Transfer from source to target, with given value.
- Valids
- Mapping of valid jump destination from code.
Enums§
- Call
Scheme - Call scheme.
- Capture
- Capture represents the result of execution.
- Create
Scheme - Create scheme.
- Exit
Error - Exit error reason.
- Exit
Fatal - Exit fatal reason.
- Exit
Reason - Exit reason.
- Exit
Revert - Exit revert reason.
- Exit
Succeed - Exit succeed reason.
- External
Operation - Operations for recording external costs
- Resolve
- Interrupt resolution.
Traits§
- Handler
- EVM context handler.
Type Aliases§
- Trap
- Trap which indicates that an
ExternalOpcode
has to be handled.