Expand description
Core interpreter implementation for EVM bytecode execution. Core interpreter implementation and components.
Re-exports§
pub use ext_bytecode::ExtBytecode;
Modules§
- ext_
bytecode - Extended bytecode functionality.
Structs§
- EthInterpreter
- Default types for Ethereum interpreter.
- Inputs
Impl - Inputs for the interpreter that are used for execution of the call.
- Interpreter
- Main interpreter structure that contains all components defined in
InterpreterTypes
. - Interpreter
Result - The result of an interpreter operation.
- Return
Data Impl - Default implementation of return data storage for the interpreter.
- Runtime
Flags - Runtime flags that control interpreter execution behavior.
- Shared
Memory - A sequential memory shared between calls, which uses
a
Vec
for internal representation. A SharedMemory instance should always be obtained using thenew
static method to ensure memory safety. - Stack
- EVM stack with STACK_LIMIT capacity of words.
Constants§
- STACK_
LIMIT - EVM interpreter stack limit.
Functions§
- num_
words - Returns number of words what would fit to provided number of bytes, i.e. it rounds up the number bytes to number of words.