Expand description
Explicitly opted-in, offline-validated wrapper rules. No RPC, clocks, or I/O. A rule describes an observed input layout, not proof of future CPI execution.
Structs§
- Wrapped
Pumpfun Rule - Candidate rules must be reviewed and tested on independent transactions before the caller opts in. Never install analyzer output automatically.
Functions§
- parse_
wrapped_ pumpfun_ instruction - Use from a Shred RawInstruction callback with a caller-owned rule registry. Returns PumpFunTrade with input parameters, never fabricated executed amounts. Existing gRPC parsing does not call this function.
- pump_
trade_ name - Narrow initial scope: fixed two-u64 v2 trades. Multi-hop and runtime-derived amounts are deliberately unsupported. Expand only with IDL-backed tests.
- restore_
instruction - Pure reconstruction. Missing ALT accounts, changed bytes or changed account constraints return None; the caller retains the original RawInstruction.
Type Aliases§
- Third
Program - Compatibility name for the raw outer instruction payload. Rule identifiers belong to the caller’s rule registry, not the transaction’s provenance.