The documentation says that
But the implementation of the staking feature implicitely forces the staker to set the delegate to himself when he doesn't stake for another address. If the staker doesn't want to participate in governance, his has to deliberately delegate to address(0).
Which goes against the protocol behavior according to the documentation.
When a user stake for himself by calling TempleGoldStaking::stake
function, delegate his vote to address(0).
When calculating the amount of TGLD that can be claimed by a depositor, the DaiGoldAuction::claim()
function rounds down to save shares in the protocol.
This can lead to a tiny amount of TGLD being locked into this contract at any one time, meaning losses that the contract was intended to protect. This amount can be significant as the auction progresses.
Add a function for recovering remaining TGLD after depositors have been claimed their shares. This function should be decorated by the onlyElevatedAccess
modifier.
In the SpiceAuction
contract, there is no check to ensure that spiceToken is different from templeGold.
Add a check for _spiceToken != _templeGold
and revert if they are the same.
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.