pub trait StatefulPrecompileMut:
DynClone
+ Send
+ Sync {
// Required method
fn call_mut(
&mut self,
bytes: &Bytes,
gas_limit: u64,
env: &CfgEnv,
) -> PrecompileResult;
}
Expand description
Mutable stateful precompile trait. It is used to create a boxed precompile in Precompile::StatefulMut.