solana_sdk::precompiles

Function get_precompile

Source
pub fn get_precompile<F>(
    program_id: &Pubkey,
    is_enabled: F,
) -> Option<&Precompile>
where F: Fn(&Pubkey) -> bool,
Expand description

Find an enabled precompiled program