refactor: rename protocol from RaydiumLaunchpad to Bonk

Comprehensive renaming of RaydiumLaunchpad-related modules, structs, event types and constants to Bonk while maintaining functional logic
This commit is contained in:
ysq
2025-07-10 00:23:29 +08:00
parent c0e02381f8
commit 756ec6e263
25 changed files with 188 additions and 189 deletions
+3 -3
View File
@@ -122,9 +122,9 @@ impl ProtocolParams for PumpSwapParams {
}
}
/// RaydiumLaunchpad协议特定参数
/// Bonk协议特定参数
#[derive(Clone)]
pub struct RaydiumLaunchpadParams {
pub struct BonkParams {
pub virtual_base: Option<u128>,
pub virtual_quote: Option<u128>,
pub real_base_before: Option<u128>,
@@ -132,7 +132,7 @@ pub struct RaydiumLaunchpadParams {
pub auto_handle_wsol: bool,
}
impl ProtocolParams for RaydiumLaunchpadParams {
impl ProtocolParams for BonkParams {
fn as_any(&self) -> &dyn std::any::Any {
self
}