This commit is contained in:
wei
2025-06-18 18:17:28 +08:00
parent bc05fdc7cb
commit 02ab5f5314
2 changed files with 9 additions and 1 deletions
+3
View File
@@ -470,6 +470,7 @@ impl PumpFun {
) -> Result<(), anyhow::Error> {
if trade_platform == PUMPFUN {
pumpfun::sell::sell_by_percent_with_tip(
self.rpc.clone(),
self.fee_clients.clone(),
self.payer.clone(),
mint,
@@ -513,6 +514,7 @@ impl PumpFun {
) -> Result<(), anyhow::Error> {
if trade_platform == PUMPFUN {
pumpfun::sell::sell_by_amount_with_tip(
self.rpc.clone(),
self.fee_clients.clone(),
self.payer.clone(),
mint,
@@ -554,6 +556,7 @@ impl PumpFun {
recent_blockhash: Hash,
) -> Result<(), anyhow::Error> {
pumpfun::sell::sell_with_tip(
self.rpc.clone(),
self.fee_clients.clone(),
self.payer.clone(),
mint,