👋
Overview Lender V2
  • Overview
  • The Basics
    • Glossary of Key Words
    • Basic lending pool operations
    • Connect and Deposit
    • Reward Manager
    • Verification Manager
    • Strategy Manager
    • Governance: Yet to be built
    • Conclusion
  • LenderPool
    • ILenderPool
  • RedeemPool
    • IRedeemPool
  • Reward
    • IReward
  • RewardManager
    • IRewardManager
  • Token
    • IToken
  • Verification
    • IVerification
Powered by GitBook
On this page
  • Interest and Reward calculation
  • Interest on T-Stable
  • Stable Interest
  • Bonus Interest
  • Claim Rewards
  • Expected Behavior
  • Redeem T-Stable from the Lender Pool
  • Expected Behavior
  1. The Basics

Reward Manager

PreviousConnect and DepositNextVerification Manager

Last updated 2 years ago

The lender reward manager shall be flexible enough to allow Polytrade to change the format of the reward distribution by adding a new reward management system.

This shall also allow the contract owner to add a new coin to the current system as an extra bonus, such change will only impact the user's rewards for the future distribution and will have no impact on rewards that have already been collected by the user.

Interest and Reward calculation

Users will get interest on T-Stable staked on the rewards contract.

Users will also be allowed to unstake the T-stable token and use them for multiple purposes.

This means that while you can withdraw whenever you like if you withdraw you will forfeit your interest from that time on.

Interest on T-Stable

Users will earn interest based on the time T-stable is staked. This will be a linear growth pattern and the longer you stay the better rewards will be released.

Stable Interest

Stable Interest will be given in percentage by the smart contract and distributed based on the time the user stakes T-stable.

Stable interest shall be given in stable coins provided by the Polytrade treasury.

Bonus Interest

Bonus interest will be given in Trade coins by the smart contract and distributed based on the time the user stakes T-Stable.

In other words: Bonus rewards will be given on the basis of Stable coins lent to the pool.

Reward distribution will be calculated per year and the rate will be set in ratio to the stable coin.

1 reward per stable would mean the user will get 1 Trade coin for each stable coin lent on the protocol.

Bonus interest shall be given in TRADE coins provided by the Polytrade treasury.

Claim Rewards

Users shall be allowed to claim rewards directly from the protocol without affecting their principal amount.

Rewards can be claimed by the user at their wish and shall be provided by the Polytrade treasury.

Expected Behavior

  • T-Stable will not be directly sent to the user's wallet but will have to be redeemed from the pool by the user.

  • Once a user lends to the protocol, the user will not need to take any further steps to get the basic rewards offered by Polytrade.

  • Rewards will be distributed in two formats: 1 - Stable Interest 2 - Bonus Interest

  • The lender smart contract will be able to change the percentage at which a stable interest is being offered to a user, such change will only impact the user's rewards for the future distribution and will have no impact on rewards that have already been collected by the user.

  • The lender smart contract will be able to change the Trade reward distributed per Stable coin, such change will only impact the user's rewards for the future distribution and will have no impact on rewards that have already been collected by the user.

  • Function to manage the percentage of stable interest.

  • Function to manage the rate of disbursal for TRADE coins per Stable coin.

Redeem T-Stable from the Lender Pool

  • To redeem the principal amount from the lender pool users will need to redeem their T-Stable.

  • The redeem pool is the total amount available for the users to redeem from the Lender pool.

  • It is possible that when a Liquidity Provider wants to withdraw, the Pool may not have sufficient USDC. In this event, users will need to come back to redeem their principal amount when there is liquidity in the redeem pool.

  • This is a separate pool and will be managed by the Polytrade treasury.

  • The Treasury will have access to directly send funds to the redeem pool.

There are two cases when users can redeem their T-Stable:

  1. Redeem process with T-Stable inside the LenderPool.

2. Redeem process with T-Stable outside the LenderPool.

Requests to pull funds from the smart contract can be given in only two cases:

  1. Request from Lenders to withdraw funds from redeeming pool.

  2. Request from Client SC to fund an Invoice.

Expected Behavior

  • Users should be able to re-stake Tstable coins if they have withdrawn from the pool.

  • Users should be able to redeem T-Stable coins from the redeem pool if there is liquidity available.