pub trait ContextStatefulPrecompile<DB: Database>: Sync + Send {
// Required method
fn call(
&self,
bytes: &Bytes,
gas_limit: u64,
evmctx: &mut InnerEvmContext<DB>,
) -> PrecompileResult;
}
Expand description
Context aware stateful precompile trait. It is used to create
a arc precompile in ContextPrecompile
.