pub trait InstructionProvider {
type Context;
type InterpreterTypes: InterpreterTypes;
// Required methods
fn instruction_table(
&self,
) -> &InstructionTable<Self::InterpreterTypes, Self::Context>;
fn gas_table(&self) -> &GasTable;
}Expand description
Stores instructions for EVM.
Required Associated Types§
Sourcetype InterpreterTypes: InterpreterTypes
type InterpreterTypes: InterpreterTypes
Interpreter types.
Required Methods§
Sourcefn instruction_table(
&self,
) -> &InstructionTable<Self::InterpreterTypes, Self::Context>
fn instruction_table( &self, ) -> &InstructionTable<Self::InterpreterTypes, Self::Context>
Returns the instruction table that is used by EvmTr to execute instructions.