Skip to content

x402agent/SolanaOS / skills/pump-admin-ops

pump-admin-ops

Verified

Admin and authority operations for the Pump protocol — set coin creator, update token incentives, set IDL authority, claim cashback, Mayhem mode, and BothPrograms cross-program admin instructions.

Admin Operations — Authority Management & Protocol Administration

Manage Pump protocol authority operations: set coin creator, update token incentives, set IDL authority, claim cashback, and cross-program admin instructions.

Authority Model

AuthorityAccountControls
global.authorityGlobal PDAProtocol parameters
bondingCurve.creatorPer-tokenCreator fee recipient
sharingConfig.adminPer-tokenFee sharing shareholders
global.idlAuthorityGlobal PDAIDL updates
feeConfig.authorityFeeConfig PDAFee tier configuration
backendWalletGlobal PDACashback claims

Admin Operations

Set Coin Creator

const ix = await PUMP_SDK.setCreator({ mint, creator: newCreator, user: admin });
// Cross-program version:
const ixs = await onlineSdk.adminSetCoinCreatorInstructions(newCreator, mint);

Update Token Incentives

const ix = await PUMP_SDK.syncUserVolumeAccumulator({ user, authority });

Set IDL Authority

const ix = await PUMP_SDK.setIdlAuthority({ newAuthority, currentAuthority });

Claim Cashback

const ix = await PUMP_SDK.claimCashback({ user, backendSigner });

BothPrograms Admin Pattern

MethodDescription
adminSetCoinCreatorInstructionsSet creator on Pump + PumpAMM
collectCoinCreatorFeeInstructionsCollect fees from both vaults
syncUserVolumeAccumulatorBothProgramsSync volume on both programs

Mayhem Mode

Tokens with isMayhemMode === true use:

  • MAYHEM_PROGRAM_ID for additional PDAs
  • global.reservedFeeRecipients[] instead of global.feeRecipients[]
  • Different token supply values

Patterns to Follow

  • Only protocol authority can call admin instructions — verify signer
  • Use BothPrograms methods for cross-program admin operations
  • Check bondingCurve.complete before admin operations on bonding curves
  • Extend accounts to BONDING_CURVE_NEW_SIZE before setCreator

Common Pitfalls

  • setCreator requires account extension first — will fail on undersized accounts
  • Admin instructions fail silently if the signer lacks authority
  • Mayhem mode tokens have separate fee recipient lists
  • adminRevoked === true on SharingConfig blocks all shareholder updates
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 192kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 192kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 192kUpdated Claude CodeCodexVerifiedInstall