Anton Sauchyk
4a48f545c1
feat(pumpfun): update IDLs and add bonding_curve_v2 + cashback support ( #159 )
...
Update all 3 pump.fun IDL files (pump_fun, pump_swap, pump_fees) with
new cashback rewards and fee-sharing features. Fix IDL parser to handle
tuple struct types (OptionBool). Add bonding_curve_v2 remaining account
to all buy/sell instructions as required by the pump.fun program upgrade.
Key changes:
- Fix IDL parser crash on tuple struct fields (string vs dict)
- Add bonding_curve_v2 PDA derivation and append as remaining account
- Add is_cashback_coin field to TokenInfo and BondingCurve decoding
- Propagate is_cashback_enabled from CreateEvent/create_v2 to TokenInfo
- Conditionally include user_volume_accumulator for cashback sell txs
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-27 23:39:52 +01:00
Anton Sauchyk
03a4e7bcbc
Add mayhem mode support and Token2022 integration ( #149 )
...
* feat: mayhem update in idl
* feat(examples): update bonding curve scripts
* feat(example): update listen_blocksubscribe
* feat(examples): update geyser listener
* feat(examples): update all new token listeners
* feat(examples): add comments, fix printing, formatting
* feat(examples): pumpswap buy and sell update with mayhem mode
* fix(examples): sell pump amm fee recipient
* feat(examples): update decode scripts
* feat(examples): update fetch price
* feat(examples): buy and sell bonding curve scripts
* feat(examples): add mint with mayhem mode enabled
* feat(examples): improve listening to wallet txs
* feat(examples): migration listener improvements
* feat(examples): global vol accumulator is not writable
* feat(examples): support token/token2022 programs in buy instructions
* feat(examples): token/token2022 for pumpswap buy
* feat(examples): token/token2022 supprot for sell instructions
* feat(bot): support create_v2 with token2022, mayhem mode, other fixes
* fix(bot): support only token2022 in logs and pumportal listeners
* feat(bot): token2022 support in cleanup flow
* fix(bot): update token program handling and improve price validation in trading logic
* feat(bot): enhance token program handling for LetsBonk integration
2025-11-18 13:09:37 +01:00
Anton Sauchyk
7ae8b560bd
feat(pumpswap): update pool account to writable for buy/sell instructions ( #146 )
2025-11-04 17:06:22 +01:00
Anton
d64b51da44
fix(examples): mint and buy script ( #141 )
...
* fix(examples): remove hardcoded token mints
* feat(core): update pump idls
* feat(examples): add track volume bool to mint script
* feat(examples): add extend acc instr to mint
2025-10-25 15:01:04 +02:00
smypmsa
bdb5da4a1f
feat: update pump idls
2025-08-29 14:50:52 +00:00
smypmsa
f061a75498
feat: updated IDL from pump fun (volume accumulators)
2025-08-14 08:11:24 +00:00
smypmsa
9bfbb7f4eb
chore: update pump idl
2025-08-01 04:47:34 +00:00
smypmsa
e41a5f4f4f
feat(core): add support for creator fee update
2025-05-12 20:07:51 +00:00