Skip to main content

Module constants

Module constants 

Source
Expand description

Program IDs and seed constants for the pump and pump_amm programs.

Standard SPL / Metaplex / wSOL pubkeys are re-bound from the upstream crates via anchor_spl so we never duplicate the byte literals. The pump-specific values that no upstream crate exports (the pump_fees and mayhem program IDs, the reward-token mint, the lookup tables, and the seed strings) are sourced directly from the IDLs in idls/pump.json and idls/pump_amm.json.

Modules§

pump
pump_agent_payments
pump_amm

Constants§

DEVNET_ALT
FEE_PROGRAM_ID
MAINNET_ALT
Address lookup table for pump trades.
MAYHEM_PROGRAM_ID
MPL_TOKEN_METADATA_PROGRAM_ID
NATIVE_MINT
Wrapped-SOL mint, used as the default quote mint.
PUMP_TOKEN_MINT
Pump’s reward-token mint.
SPL_ATA_PROGRAM_ID
SPL_TOKEN_2022_PROGRAM_ID
SPL_TOKEN_PROGRAM_ID