Skip to main content

bsc_p256_precompile

Function bsc_p256_precompile 

Source
pub(crate) const fn bsc_p256_precompile(
    chain_id: ChainId,
    timestamp: u64,
) -> Option<Option<Precompile>>
Expand description

Returns the BSC P256 precompile for the given timestamp. The outer option distinguishes BSC chains from unrelated chains, while the inner option disables P256 before Haber.