Periodized fee and incentive distributor for a single pool’s voting market. Each active gauge has an associatedDocumentation Index
Fetch the complete documentation index at: https://tech.ramses.xyz/llms.txt
Use this file to discover all available pages before exploring further.
FeeDistributor. Rewards are tracked by owner address, not by veNFT token ID.
Core Functions
getReward
owner across the provided token list. The caller must be owner or an approved admin in VoteModule.
getPeriodReward
notifyRewardAmount
feeRecipient address, which is the fee-routing source for that market.
incentivize
getRewardForOwner
owner, sending them to the owner address. Only callable by the Voter contract.
Parameters:
| Name | Type | Description |
|---|---|---|
owner | address | The owner address to claim rewards for |
tokens | address[] | The reward token addresses to claim |
getRewardForOwnerTo
owner, sending them to a specified destination address. Only callable by the Voter contract.
Parameters:
| Name | Type | Description |
|---|---|---|
owner | address | The owner address to claim rewards for |
tokens | address[] | The reward token addresses to claim |
destination | address | The address to send claimed rewards to |
earned
owner across finalized periods, net of prior claims.
Key Concepts
- Rewards are period-based and typically queued into
getPeriod() + 1. Voterupdates each user’s balance in the fee distributor when votes are cast, reset, or recalculated.- A distributor can hold multiple reward tokens at once.
notifyRewardAmount()is used for fee routing, whileincentivize()is used for vote incentives and bribes.- Claims are permissioned through
VoteModule.isAdminFor(), which is why admin relationships matter even outside direct voting.
