Trait revm::ContextStatefulPrecompileMut
source · pub trait ContextStatefulPrecompileMut<DB: Database>: DynClone + Send + Sync {
// Required method
fn call_mut(
&mut self,
bytes: &Bytes,
gas_price: u64,
evmctx: &mut InnerEvmContext<DB>
) -> PrecompileResult;
}
Expand description
Context aware mutable stateful precompile trait. It is used to create
a boxed precompile in ContextPrecompile
.