reth_revm

Trait ContextStatefulPrecompile

pub trait ContextStatefulPrecompile<DB>: Sync + Send
where 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.

Required Methods§

fn call( &self, bytes: &Bytes, gas_limit: u64, evmctx: &mut InnerEvmContext<DB>, ) -> Result<PrecompileOutput, PrecompileErrors>

Implementors§