pub trait InstructionProvider {
type Context;
type InterpreterTypes: InterpreterTypes;
// Required method
fn instruction_table(
&self,
) -> &InstructionTable<Self::InterpreterTypes, Self::Context>;
}
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.