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