Implement a rewards program for bootstrapping liquidity.
Under the liquidity mining rewards program, rewards are distributed to LP (liquidity provider) token holders proportional to the number of tokens they hold. Rewards are distributed according to a halvening release schedule consisting of 26-week cycles running indefinitely. The reward distribution of the first cycle is half of the lifetime distribution, and the distribution of each subsequent cycle is reduced by half. A halvening release schedule is used, as opposed to a linear release schedule, to ensure the program runs indefinitely while limiting inflation.
These smart contracts have not been audited or deployed yet.
- HalveningReleaseSchedule - Stores the release schedule for a reward token.
- ReleaseEscrow - Stores reward tokens to be released according to the HalveningReleaseSchedule.
- StakingRewards - Handles entering/exiting a liquidity mining position and claiming rewards.
.
├── abi ## Generated ABIs that developers can use to interact with the system.
├── contracts ## All source code.
│ ├── interfaces ## Interfaces used for defining/calling contracts.
│ ├── openzeppelin-solidity ## Helper contracts provided by OpenZeppelin.
│ ├── test ## Mock contracts used for testing main contracts.
├── test ## Source code for testing code in //contracts.
To learn more about the Tradegen project, visit the docs at https://docs.tradegen.io.
This project is launched on the Celo blockchain. To learn more about Celo, visit their home page: https://celo.org/.
Source code for the Tradegen token (TGEN): https://github.com/Tradegen/tradegen-token.
MIT