-
AmmRewards (ReentrancyGuard, Ownable)
- D: Fork of MasterChef.sol
- [x][Pub] #
- [x][Pub] poolLength
- [ ][Pub] add #
- modifiers: onlyOwner
- D: Not sure if they should globally update something when they add a new LP (related to totalAllocPoint).
- [ ][Pub] set #
- modifiers: onlyOwner
- [ ][Ext] setRewardTokenPerSecond #
- modifiers: onlyOwnerOrRewardsManager
- [ ][Ext] pendingRewardToken
- D: What happens when a pool is updated? Do you need to run a mass update pool?
- [ ][Ext] massUpdatePools #
- [ ][Pub] updatePool #
- [ ][Pub] deposit #
- [ ][Pub] withdraw #
- [ ][Pub] harvest #
- [ ][Pub] withdrawAndHarvest #
- [ ][Pub] emergencyWithdraw #
- [ ][Pub] setRewardsManager #
- modifiers: onlyOwner
-
HaloHalo (ERC20)
- [x][Pub] #
- [x][Pub] enter #
- D: a user can manipulate how much
halo
token exists in the contract. what next? - D: the comment says the ratio will change overtime as halo is burned/minted, but doesn't seem so.
- D: a user can manipulate how much
- [x][Pub] leave #
- [x][Pub] getCurrentHaloHaloPrice
-
HaloToken (ERC20, ERC20Burnable, Ownable)
- [x][Pub] #
- modifiers: ERC20
- [x][Ext] setCapped #
- modifiers: onlyOwner
- [x][Ext] mint #
- modifiers: onlyOwner
- [x][Pub] #
-
RewardsManager (Ownable)
- [x][Pub] #
- [x][Ext] releaseEpochRewards #
- modifiers: onlyOwner
- [x][Ext] setVestingRatio #
- modifiers: onlyOwner
- [x][Ext] setRewardsContract #
- modifiers: onlyOwner
- [x][Ext] setHaloHaloContract #
- modifiers: onlyOwner
- [x][Ext] getVestingRatio
- [x][Ext] getRewardsContract
- [x][Ext] getHaloHaloContract
- [x][Int] transferToHaloHaloContract #
- [x][Int] convertAndTransferToRewardsContract #