pub type Erc20GasContext<DB> = Context<BlockEnv, TxEnv, CfgEnv, DB>;
Aliased Type§
struct Erc20GasContext<DB> {
pub block: BlockEnv,
pub tx: TxEnv,
pub cfg: CfgEnv,
pub journaled_state: JournaledState<DB>,
pub chain: (),
pub error: Result<(), <DB as Database>::Error>,
}
Fields§
§block: BlockEnv
Block information.
tx: TxEnv
Transaction information.
cfg: CfgEnv
Configurations.
journaled_state: JournaledState<DB>
EVM State with journaling support and database.
chain: ()
Inner context.
error: Result<(), <DB as Database>::Error>
Error that happened during execution.