1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Centralized Program ID Constants
//!
//! This module contains optimized Pubkey constants for all DEX protocols.
//! Using Pubkey constants instead of string constants allows for direct
//! comparison without expensive string conversion operations.
use pubkey;
use Pubkey;
/// PumpFun program ID as Pubkey constant
pub const PUMPFUN_PROGRAM_ID: Pubkey = pubkey!;
/// Bonk program ID as Pubkey constant
pub const BONK_PROGRAM_ID: Pubkey = pubkey!;
/// PumpSwap program ID as Pubkey constant
pub const PUMPSWAP_PROGRAM_ID: Pubkey = pubkey!;
/// Raydium CLMM program ID as Pubkey constant
/// Note: Original string was too long, using corrected version
pub const RAYDIUM_CLMM_PROGRAM_ID: Pubkey = pubkey!;
/// Raydium CPMM program ID as Pubkey constant
pub const RAYDIUM_CPMM_PROGRAM_ID: Pubkey = pubkey!;
/// Raydium AMM V4 program ID as Pubkey constant
pub const RAYDIUM_AMM_V4_PROGRAM_ID: Pubkey =
pubkey!;
/// Orca Whirlpool program ID as Pubkey constant
pub const ORCA_WHIRLPOOL_PROGRAM_ID: Pubkey =
pubkey!;
/// Meteora Pools program ID as Pubkey constant
pub const METEORA_POOLS_PROGRAM_ID: Pubkey =
pubkey!;
/// Meteora DAMM V2 program ID as Pubkey constant
pub const METEORA_DAMM_V2_PROGRAM_ID: Pubkey =
pubkey!;
/// Meteora DLMM program ID as Pubkey constant
pub const METEORA_DLMM_PROGRAM_ID: Pubkey = pubkey!;