Repository navigation
v4.0.2 — PumpFun create account decoding fixes
PumpFun create and create_v2 now share account mappings generated by name from a pinned official IDL. Quote remaining accounts use the official Pump SDK layout after the 16 fixed create_v2 accounts.
- Keep partial, unresolved and invalid quote tails unknown instead of silently classifying them as SOL; validate SPL Token/Token-2022 quote programs.
- Share quote-tail decoding across instruction, shred and account-filling paths, and preserve unknown quote fields during event merging.
- Correct legacy create argument/account decoding and fill legacy create accounts on the shred path.
- Decode current create creator-fee and holder-reward arguments/events while retaining historical create event support.
- Add IDL layout generation/check tooling, regression documentation, and real mainnet USDC/WSOL transaction fixtures with independent CreateEvent expectations.
- Update English and Chinese README dependency versions to
4.0.2.
Validation: all-targets tests with default and parse-zero-copy features, IDL generation consistency, RPC fixture replay and crates.io package compilation. The RPC replay supplies resolved ALT keys through a test-only adapter before invoking the released shred parser. It does not validate raw shred/FEC reconstruction or cryptographic signatures. A captured failed transaction is retained as evidence and excluded from successful execution assertions.
No runtime network requests, IDL JSON parsing or quote PDA derivation are added to the parsing hot path.
Migration: added creator_fee_bps and is_holder_reward fields have serde defaults. Existing Rust struct literals may need the fields or ..Default::default().
Install: sol-shred-sdk = "4.0.2"