pump-token-incentives
Installation
SKILL.md
Token Incentives — Volume-Based PUMP Token Rewards
Implement and maintain the token incentive system that rewards traders with PUMP governance tokens based on their SOL trading volume, using a day-based epoch system with pro-rata distribution.
Context
The Pump protocol incentivizes trading activity by distributing PUMP tokens to users proportional to their SOL trading volume. The system tracks volume in day-long epochs, with each day having a pre-configured token supply pool.
Day-Based Epoch System
Volume tracking operates in fixed-length epochs defined by the GlobalVolumeAccumulator:
startTime— epoch system start timestampsecondsInADay— epoch length (typically 86,400 seconds)solVolumes[]— array of total SOL volume per daytotalTokenSupply[]— array of PUMP tokens available per day
dayIndex = Math.floor((currentTimestamp - startTime) / secondsInADay)