The interpreter
crate is concerned with the execution of the EVM opcodes and serves as the event loop to step through the opcodes. The interpreter is concerned with attributes like gas, contracts, memory, stack, and returning execution results.
gas
: this module deals with handling the gas mechanics in the EVM, such as calculating gas costs for operations.host
: this module defines the evm context Host
trait.inner_models
: this module contains the inner data structures used in the EVM implementation.instruction_result
: this module contains definitions related to the result of instruction execution.instructions
: this module includes the definitions of the EVM opcodes (instructions).