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