register_arb_precompiles

Function register_arb_precompiles 

Source
pub fn register_arb_precompiles(
    map: &mut PrecompilesMap,
    ctx: Arc<ArbPrecompileCtx>,
)
Expand description

Registers Arbitrum precompiles into map and applies the per-ArbOS-version adjustments to the standard Ethereum precompile set.

ctx is captured into every handler closure so that handlers read the per-block / per-tx context as a typed function parameter rather than via a thread-local.