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.
- 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
Constants§
- EIP_
7702_ DELEGATION_ PREFIX - EIP-7702 delegation designator prefix
- EIP_
7702_ DELEGATION_ SIZE - EIP-7702 delegation designator full length (prefix + address)
Functions§
- create_
delegation_ designator - Create EIP-7702 delegation designator
- extract_
delegation_ address - Extract the delegated address from EIP-7702 delegation designator
- is_
delegation_ designator - Check if code is an EIP-7702 delegation designator
Type Aliases§
- Trap
- Trap which indicates that an
ExternalOpcode
has to be handled.