Module standard

Module standard 

Source
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.
EtableResolver
The standard code resolver where the color is an Etable. This is usually what you need.
ExecutionEtable
Execution etable.
GasometerEtable
Gasometer Etable.
GasometerState
Gasometer state.
Invoker
Standard invoker.
State
Standard state.
TransactArgs
Transaction arguments.
TransactInvoke
The invoke used in a top-layer transaction stack.
TransactValue
Complete return value of a transaction.

Enums§

ResolverOrigin
Origin of the resolver, either a substack or a transaction.
SubstackInvoke
The invoke used in a substack.
TransactArgsCallCreate
Call/Create information used by TransactArgs.
TransactGasPrice
Transact gas price.
TransactValueCallCreate
Return value of a transaction. Call and create status.

Traits§

InvokerState
Trait to be implemented by any state wishing to use crate::standard::Invoker.
PrecompileSet
A set of precompiles.
Resolver
A code resolver.

Functions§

eval_gasometer
The eval function of the entire gasometer.

Type Aliases§

DispatchEtable
Standard Etable.
Efn
Standard Etable opcode handle function.
Machine
Standard machine.