spherenet-program-whitelist-interface 0.1.4

Interface of SphereNet's Program Whitelist Program
Documentation
pub(crate) const PROGRAM_WHITELIST_PROGRAM_ID: &str = "PwLzPtX2e5PwNFQTrEY5DkkmRQ1t1x5vWcGzTnMgibR";
pub(crate) const PROGRAM_WHITELIST_ACCOUNT_ID: &str = "PwLAwRbUAtCwgh8JwwxR6oeMfewxTeVLAG44tUfcXUi";
pub(crate) const INITIALIZE_WHITELIST_AUTHORITY: &str =
    "PwLauth111111111111111111111111111111111111";

/// Program ID for the Program Whitelist program
pub mod program {
    pinocchio_pubkey::declare_id!(crate::ids::PROGRAM_WHITELIST_PROGRAM_ID);
}
/// Program ID for the Validator Whitelist account
pub mod account {
    pinocchio_pubkey::declare_id!(crate::ids::PROGRAM_WHITELIST_ACCOUNT_ID);
}

pub mod initialize_whitelist_authority {
    pinocchio_pubkey::declare_id!(crate::ids::INITIALIZE_WHITELIST_AUTHORITY);
}

//////// SOLANA_PROGRAM ////////

/// Program ID for the Validator Whitelist program
#[cfg(feature = "solana-p")]
pub mod program_solana {
    solana_program::declare_id!(crate::ids::PROGRAM_WHITELIST_PROGRAM_ID);
}

/// Pubkey for the Validator Whitelist account
#[cfg(feature = "solana-p")]
pub mod account_solana {
    solana_program::declare_id!(crate::ids::PROGRAM_WHITELIST_ACCOUNT_ID);
}

pub mod initialize_whitelist_authority_solana {
    solana_program::declare_id!(crate::ids::INITIALIZE_WHITELIST_AUTHORITY);
}