- Consolidate separate buy/sell modules into unified trading interface - Remove protocol-specific buy/sell files (bonk, pumpfun, pumpswap) - Add new trading constants and utility functions - Simplify API with unified buy/sell methods supporting multiple protocols - Enhance documentation with comprehensive examples and usage guides - Add balance checking and token account management utilities - Improve code organization and maintainability
12 lines
254 B
Rust
Executable File
12 lines
254 B
Rust
Executable File
pub mod bonk;
|
|
pub mod pumpfun;
|
|
pub mod pumpswap;
|
|
pub mod swqos;
|
|
pub mod trade;
|
|
|
|
pub mod trade_platform {
|
|
pub const PUMPFUN: &'static str = "pumpfun";
|
|
pub const PUMPFUN_SWAP: &'static str = "pumpswap";
|
|
pub const BONK: &'static str = "bonk";
|
|
}
|