feat: track_volume only when cashback; PumpSwap sell cashback use quote_mint ATA; sync IDL
- Pump/PumpSwap buy: track_volume OptionBool = Some(true) only when is_cashback_coin, else Some(false) - PumpSwap sell cashback: use get_user_volume_accumulator_quote_ata(quote_mint) instead of WSOL-only ATA - Sync idl/pump_amm.json, idl/pump_fees.json from pump-public-docs Made-with: Cursor
This commit is contained in:
+1
-1
@@ -4835,7 +4835,7 @@
|
||||
},
|
||||
{
|
||||
"code": 6052,
|
||||
"name": "CashbackEarnedDoesNotMatchTokenInVault"
|
||||
"name": "TokensInVaultLessThanCashbackEarned"
|
||||
}
|
||||
],
|
||||
"types": [
|
||||
|
||||
-1157
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user