feat: Refactor pump.fun buy transaction creation
Removes the `dev_buy_token` and `dev_sol_cost` parameters from the buy process to simplify the interface and reduce redundancy.
This commit is contained in:
@@ -74,8 +74,6 @@ pub struct SellWithTipParams {
|
||||
/// PumpFun协议特定参数
|
||||
#[derive(Clone)]
|
||||
pub struct PumpFunParams {
|
||||
pub dev_buy_token: u64,
|
||||
pub dev_sol_cost: u64,
|
||||
pub trade_type: String,
|
||||
pub bonding_curve: Option<Arc<BondingCurveAccount>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user