The Reward Pool section describes the core structure and processes within the Reward Module of FRAG-22. This section explains how rewards are accumulated, tracked, managed, and ultimately distributed to both individual users. The reward pool logic ensures accurate, transparent, and fair distribution aligned with each user’s and DeFi protocol’s respective asset holdings.
The Reward Module is built upon two primary reward pool accounts:
Fund Reward Account
User Reward Account
These pools maintain accurate and real-time reward state information, enabling precise distribution of rewards across different participants in the FRAG-22 ecosystem.
The Fund Reward Account acts as the central repository for tracking and managing all rewards accrued at the fund-wide level.Managed Data:
Total accumulated rewards per reward token.
Global reward state, tracking the overall distribution status across the Fund.
The Fund Reward Account accumulates rewards from various yield sources and periodically updates its state through a mechanism called Reward Settlement, ensuring accurate allocation of rewards based on each user’s relative contributions.
Each user possesses an individual User Reward Account, precisely tracking user-specific reward balances and contributions. The user account is updated whenever there is a change in the user’s holdings of receipt tokens (e.g., through deposits, withdrawals, or transfers).Managed Data:
User-specific accumulated rewards per reward token.
User’s contribution (holding-based) records.
Reward claimable status (whether rewards are available to claim).
These individual accounts ensure users have accurate visibility into their accrued rewards and clearly manage their eligibility to claim rewards directly.
The following step-by-step procedures detail reward management within the Reward Module, clearly outlining the logic for reward accumulation, tracking, updating, and distribution:
Every reward-related operation (contribution updates, settlements, and reward claims) updates the following reward accounts to maintain precise records:
Fund Reward Account (Global reward tracking)
User Reward Account (User-specific reward tracking)