Files
sol-trade-sdk/src/constants/trade_platform.rs
T
ysq 21d6714c25 refactor: reorganize code structure and optimize modular design
- Remove src/common/address_lookup.rs and tip_cache.rs to simplify common modules
- Move protocol-specific utility functions from trading/ to instruction/utils/
- Refactor utility functions for PumpFun, PumpSwap, Raydium AMM V4, and Raydium CPMM
- Consolidate constant definitions by inlining seeds and accounts modules into respective utility files
- Update all import paths to ensure code consistency
- Optimize trading parameter construction and executor logic
- Improve address lookup cache and nonce management mechanisms
2025-09-07 19:00:08 +08:00

9 lines
355 B
Rust

pub mod trade_platform {
pub const PUMPFUN: &'static str = "pumpfun";
pub const PUMPFUN_SWAP: &'static str = "pumpswap";
pub const BONK: &'static str = "bonk";
pub const RAYDIUM_CPMM: &'static str = "raydium_cpmm";
pub const RAYDIUM_CLMM: &'static str = "raydium_clmm";
pub const RAYDIUM_AMM_V4: &'static str = "raydium_amm_v4";
}