Module handler
Modules§
- execution
- generic
- mainnet
- Mainnet related handlers.
- post_
execution - pre_
execution - register
- validation
Structs§
- Execution
Handler - Handles related to stack frames.
- Handler
- Handler acts as a proxy and allow to define different behavior for different sections of the code. This allows nice integration of different chains or to disable some mainnet behavior.
- Post
Execution Handler - Handles related to post execution after the stack loop is finished.
- PreExecution
Handler - Handles related to pre execution before the stack loop is started.
- Validation
Handler - Handles related to validation.
Type Aliases§
- Deduct
Caller Handle - Deduct the caller to its limit.
- EndHandle
- End handle, takes result and state and returns final result. This will be called after all the other handlers.
- Frame
Call Handle - Handle sub call.
- Frame
Call Return Handle - Handle call return
- Frame
Create Handle - Handle sub create.
- Frame
Create Return Handle - Handle create return
- Generic
Context Handle - Generic Handle that takes a mutable reference to the context and returns a result.
- Generic
Context Handle Ret - Generic handle that takes a mutable reference to the context and returns a result.
- Insert
Call Outcome Handle - Insert call outcome to the parent
- Insert
Create Outcome Handle - Insert call outcome to the parent
- Load
Accounts Handle - Load access list accounts and beneficiary. There is no need to load Caller as it is assumed that it will be loaded in DeductCallerHandle.
- Load
Precompiles Handle - Loads precompiles into Evm
- Output
Handle - Main return handle, takes state from journal and transforms internal result to external.
- Reimburse
Caller Handle - Reimburse the caller with ethereum it didn’t spent.
- Reward
Beneficiary Handle - Reward beneficiary with transaction rewards.
- Validate
EnvHandle - Handle that validates env.
- Validate
Initial TxGas Handle - Initial gas calculation handle
- Validate
TxEnv Against State - Handle that validates transaction environment against the state. Second parametar is initial gas.