chore(idl): refresh pump.fun IDLs from upstream

Replace idl/pump_fun_idl.json and idl/pump_fees.json with the latest from
pump-fun/pump-public-docs @ 7de0b95 (2026-04-23). pump_swap_idl.json was
already up to date.

Drops the idl/upstream/ vendor copy added in 7864504 in favor of
overwriting in place — the diff lives in git history. README updated to
point at pump-public-docs as the source of truth.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Anton Sauchyk
2026-04-27 16:14:46 +02:00
parent 7864504c84
commit 156cf508a0
10 changed files with 8562 additions and 40624 deletions
+2 -2
View File
@@ -120,9 +120,9 @@ The bot now includes built-in RPC rate limiting to prevent hitting provider limi
This helps ensure reliable operation within your node provider's rate limits without manual throttling.
## Reference IDLs
## IDLs
Latest pump.fun program IDLs (bonding curve, PumpAMM, fees) are vendored under [`idl/upstream/`](idl/upstream/) for reference and easier local diffing. Source: [pump-fun/pump-public-docs](https://github.com/pump-fun/pump-public-docs). Refresh instructions are in [`idl/upstream/SOURCE.md`](idl/upstream/SOURCE.md).
The IDLs under [`idl/`](idl/) are vendored from [pump-fun/pump-public-docs](https://github.com/pump-fun/pump-public-docs). To refresh, copy `pump.json`, `pump_amm.json`, `pump_fees.json` from that repo into `pump_fun_idl.json`, `pump_swap_idl.json`, `pump_fees.json` respectively, and reference the upstream commit hash in your commit message.
## Changelog
+1463 -242
View File
File diff suppressed because it is too large Load Diff
+7097 -7097
View File
File diff suppressed because it is too large Load Diff
-20
View File
@@ -1,20 +0,0 @@
# Upstream pump.fun IDLs
Source: https://github.com/pump-fun/pump-public-docs
Snapshot commit: `7de0b959fa2bdab379a2f75f5433d3de1e35d229` (2026-04-23)
Files:
- `pump.json` / `pump.ts` — pump.fun bonding curve program
- `pump_amm.json` / `pump_amm.ts` — pump-swap (PumpAMM) program
- `pump_fees.json` / `pump_fees.ts` — pump fees program
Kept here verbatim for reference and diffing against the IDLs the bot actually loads from `idl/`. Do not import these directly from runtime code.
To refresh:
```bash
git clone --depth 1 https://github.com/pump-fun/pump-public-docs.git /tmp/pump-public-docs
cp /tmp/pump-public-docs/idl/{pump,pump_amm,pump_fees}.{json,ts} idl/upstream/
# update commit hash above
```
File diff suppressed because it is too large Load Diff
-6298
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff