Expand description
§Standard machines and gasometers
This module implements the standard configurations of the interpreter, like how it works on Ethereum mainnet. Most of them can still be customized to add additional functionality, by wrapping them or replacing the generic parameters.
Modules§
- routines
- Internal routines that can be reused.
Structs§
- Config
- Runtime configuration.
- Etable
Resolver - The standard code resolver where the color is an Etable. This is usually what you need.
- Execution
Etable - Execution etable.
- Gasometer
Etable - Gasometer Etable.
- Gasometer
State - Gasometer state.
- Invoker
- Standard invoker.
- State
- Standard state.
- Transact
Args - Transaction arguments.
- Transact
Invoke - The invoke used in a top-layer transaction stack.
- Transact
Value - Complete return value of a transaction.
Enums§
- Resolver
Origin - Origin of the resolver, either a substack or a transaction.
- Substack
Invoke - The invoke used in a substack.
- Transact
Args Call Create - Call/Create information used by TransactArgs.
- Transact
GasPrice - Transact gas price.
- Transact
Value Call Create - Return value of a transaction. Call and create status.
Traits§
- Invoker
State - Trait to be implemented by any state wishing to use crate::standard::Invoker.
- Precompile
Set - A set of precompiles.
- Resolver
- A code resolver.
Functions§
- eval_
gasometer - The eval function of the entire gasometer.
Type Aliases§
- Dispatch
Etable - Standard Etable.
- Efn
- Standard Etable opcode handle function.
- Machine
- Standard machine.