After consulting with sponsors, we conclude that there is an intention to sometimes additionally fund the staking contract with funds (reward token) recovered from - e.g. the DaiGoldAuction contract. Staking contract can not receive additional funds - due to its design. Therefore, reward token funds - intended for distribution - will be lost and stuck on the contract.
The only way the staking contract can properly receive reward token is by distribution from TempleGold contract. Intent to fund it additionally is not possible and notifyDistribution(uint256)
- function which handles reward token distribution amont - is restricted.
Staking contract can not receive additional rewards token - therefore funds send to it will be lost.
Manual review
Add restricted function that allows someone to additionally fund the staking contract with reward tokens and account for it properly in the contract.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.