periodSecondsInsideX96, which tracks each position’s time-weighted in-range contribution during each weekly period.
Functions
notifyRewardAmount
Parameters:
notifyRewardAmountNextPeriod
Parameters:
notifyRewardAmountForPeriod
Parameters:
getReward
periodSecondsInsideX96 relative to total in-range liquidity during each period. The caller must be the position owner, operator, or approved for all. Only callable by authorized claimers.
Parameters:
getReward (batch)
Parameters:
getRewardForOwner
Parameters:
earned
Parameters:
Return Values:
periodEarned
Parameters:
left
Parameters:
Return Values:
rewardRate
Parameters:
Return Values:
getRewardTokens
positionHash
Parameters:
addRewards
Parameters:
removeRewards
Parameters:
syncCache
Key Concepts
- Rewards are distributed per weekly period (epoch), aligned with the Ramses voting cycle
- A position earns rewards proportional to its
secondsInsideX96during each period relative to the total - Only authorized claimers (registered through the Voter contract) can call reward-claiming functions
- The gauge supports a reward validator for anti-sybil checks; flagged claims are redirected to the R33 address
notifyRewardAmountcollects protocol fees from the pool before processing new rewards
