example_erc20_gas::handlers

Type Alias CustomEvm

Source
pub type CustomEvm<DB> = Evm<Erc20GasError<DB>, Erc20GasContext<DB>, CustomHandler<Erc20GasContext<DB>, Erc20GasError<DB>>>;

Aliased Type§

struct CustomEvm<DB> {
    pub context: Context<BlockEnv, TxEnv, CfgEnv, DB>,
    pub handler: EthHandler<Context<BlockEnv, TxEnv, CfgEnv, DB>, EVMError<<DB as Database>::Error, InvalidTransaction>, Erc20Validation<Context<BlockEnv, TxEnv, CfgEnv, DB>, EVMError<<DB as Database>::Error, InvalidTransaction>>, Erc20PreExecution<Context<BlockEnv, TxEnv, CfgEnv, DB>, EVMError<<DB as Database>::Error, InvalidTransaction>>, EthExecution<Context<BlockEnv, TxEnv, CfgEnv, DB>, EVMError<<DB as Database>::Error, InvalidTransaction>>, Erc20PostExecution<Context<BlockEnv, TxEnv, CfgEnv, DB>, EVMError<<DB as Database>::Error, InvalidTransaction>>>,
    pub _error: PhantomData<fn() -> EVMError<<DB as Database>::Error, InvalidTransaction>>,
}

Fields§

§context: Context<BlockEnv, TxEnv, CfgEnv, DB>§handler: EthHandler<Context<BlockEnv, TxEnv, CfgEnv, DB>, EVMError<<DB as Database>::Error, InvalidTransaction>, Erc20Validation<Context<BlockEnv, TxEnv, CfgEnv, DB>, EVMError<<DB as Database>::Error, InvalidTransaction>>, Erc20PreExecution<Context<BlockEnv, TxEnv, CfgEnv, DB>, EVMError<<DB as Database>::Error, InvalidTransaction>>, EthExecution<Context<BlockEnv, TxEnv, CfgEnv, DB>, EVMError<<DB as Database>::Error, InvalidTransaction>>, Erc20PostExecution<Context<BlockEnv, TxEnv, CfgEnv, DB>, EVMError<<DB as Database>::Error, InvalidTransaction>>>§_error: PhantomData<fn() -> EVMError<<DB as Database>::Error, InvalidTransaction>>