Reward Distributor
Overview
The Rheofi Reward Distributor enables the configuration and management of incentives for lenders and borrowers based on their activity within associated markets. The addition of one or more reward distributors to a pool is handled through governance configuration, allowing the protocol to customize reward speeds on a per-market basis.
In the current Rheofi architecture, the reward system supports per-market emissions for both supply and borrow activity, along with support for multiple reward tokens. This design provides flexible incentive mechanisms and additional yield opportunities for users participating and Isolated Pools on the XRPL Sidechain.
Reward Distributor Architecture
The reward system is centered around the RewardsDistributor contract. This contract is responsible for configuring, tracking, and distributing rewards to users based on their supply and borrow balances within the protocol. Upon initialization, each RewardsDistributor instance is associated with a specific reward token and a Comptroller contract. From that point forward, the designated reward token can be distributed to users who supply or borrow assets within the corresponding pool.
Multiple reward distributors can be attached to a single pool, enabling multi-token incentive programs and granular reward configuration across markets.
User Interactions
Users can interact with the Reward Distributor system through the following actions:
-
Supply: Users supply assets to a market and accrue rewards based on the configured supply speed for the reward token.
-
Borrow: Users borrow assets and earn rewards according to the defined borrow speed for that market.
-
Claim Rewards: Users may claim their accumulated reward tokens either for specific markets or across multiple markets, reducing unnecessary gas usage and streamlining the claiming process.