spherenet_program_whitelist_interface/
ids.rs

1pub(crate) const PROGRAM_WHITELIST_PROGRAM_ID: &str = "PwLzPtX2e5PwNFQTrEY5DkkmRQ1t1x5vWcGzTnMgibR";
2pub(crate) const PROGRAM_WHITELIST_ACCOUNT_ID: &str = "PwLAwRbUAtCwgh8JwwxR6oeMfewxTeVLAG44tUfcXUi";
3pub(crate) const INITIALIZE_WHITELIST_AUTHORITY: &str =
4    "PwLauth111111111111111111111111111111111111";
5
6/// Program ID for the Program Whitelist program
7pub mod program {
8    pinocchio_pubkey::declare_id!(crate::ids::PROGRAM_WHITELIST_PROGRAM_ID);
9}
10/// Program ID for the Validator Whitelist account
11pub mod account {
12    pinocchio_pubkey::declare_id!(crate::ids::PROGRAM_WHITELIST_ACCOUNT_ID);
13}
14
15pub mod initialize_whitelist_authority {
16    pinocchio_pubkey::declare_id!(crate::ids::INITIALIZE_WHITELIST_AUTHORITY);
17}
18
19//////// SOLANA_PROGRAM ////////
20
21/// Program ID for the Validator Whitelist program
22#[cfg(feature = "solana-p")]
23pub mod program_solana {
24    solana_program::declare_id!(crate::ids::PROGRAM_WHITELIST_PROGRAM_ID);
25}
26
27/// Pubkey for the Validator Whitelist account
28#[cfg(feature = "solana-p")]
29pub mod account_solana {
30    solana_program::declare_id!(crate::ids::PROGRAM_WHITELIST_ACCOUNT_ID);
31}
32
33pub mod initialize_whitelist_authority_solana {
34    solana_program::declare_id!(crate::ids::INITIALIZE_WHITELIST_AUTHORITY);
35}