AbstractRewards.solis a generic contract for distributing pro-rata rewards amongst an arbitrary number of "shareholders", where the inheriting contract defines what a shareholder is and how many shares they have. This contract is a fork with minor modifications of the Indexed Finance contract.
BasePool.solis a generic ERC20 compatible contract which inherits from the ERC20Votes contract from OpenZeppelin and the
AbstractRewards.solcontract and adds external functions for distributing and claiming rewards. Additionally it hooks into the internal
minthooks to properly track rewards when account balances are changing.
TokenSaver.solis a contract which allows a whitelisted address to transfer out any token out of a contract inheriting from it in case of emergencies or misplaced tokens.
TokenSaver.sol. Adds external functions to deposit tokens and in return receive
TimeLockPoolshares. The bonus for longer locking durations is configurable.
TimeLockPool.soland removes transferability of the pool shares.
LiquidityMiningManager.solmanages the distribution to staking pools. It exposes external functions which allow pools to be added and removed. It also allows the distribution per second to be set and the share each pool will receive of those rewards.