Crate context_interface  
Expand description
EVM execution context interface.
Modules§
- block
 - Block related types and functions.
 - cfg
 - Configuration for the EVM. Containing 
SpecId. - context
 - Context trait and related types.
 - local
 - Local context trait 
LocalContextTrand related types. 
Structs§
- Dummy
Host  - Dummy host that implements 
Hosttrait and returns all default values. - Frame
Stack  - Non-empty, item-pooling Vec.
 - Frame
Token  - Used to guarantee that a frame is initialized before use.
 - OutFrame
 - A potentially initialized frame. Used when initializing a new frame in the main loop.
 
Enums§
- Context
Error  - Inner Context error used for Interpreter to set error without returning it from instruction
 - Create
Scheme  - Create scheme
 - Transaction
Type  - Transaction types of all Ethereum transactions
 
Traits§
- Block
 - Trait for retrieving block information required for execution.
 - Cfg
 - Configuration for the EVM.
 - Context
Setters  - Trait for setting the transaction and block in the context.
 - Context
Tr  - Trait that defines the context of the EVM execution.
 - DBError
Marker  - Database error marker is needed to implement From conversion for Error type.
 - Database
 - EVM database interface.
 - Host
 - Host trait with all methods that are needed by the Interpreter.
 - Journal
Tr  - Trait that contains database and journal of all changes that were made to the state.
 - Local
Context Tr  - Local context used for caching initcode from Initcode transactions.
 - Transaction
 - Main Transaction trait that abstracts and specifies all transaction currently supported by Ethereum
 
Type Aliases§
- Transact
To  - Transaction destination