feat: Add Token 2022 support for Raydium CPMM, update constants to use spl_token::ID

This commit is contained in:
ysq
2025-07-17 13:56:09 +08:00
parent 75a29cd7ee
commit c133287f70
9 changed files with 20 additions and 8 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ pub mod accounts {
pub const SYSTEM_PROGRAM: Pubkey = pubkey!("11111111111111111111111111111111");
/// Token Program ID
pub const TOKEN_PROGRAM: Pubkey = pubkey!("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");
pub const TOKEN_PROGRAM: Pubkey = spl_token::ID;
/// Associated Token Program ID
pub const ASSOCIATED_TOKEN_PROGRAM: Pubkey =