solana_sdk::precompiles

Function is_precompile

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

Check if a program is a precompiled program