TempleGold

TempleDAO
Foundry
25,000 USDC
View results
Submission Details
Severity: medium
Invalid

TempleGoldStaking.sol no token retrive function for ERC20 or NFTs

Summary

main auction for spice have token retrive it would be good to have such feature in popular contracts.

Vulnerability Details

Lsot funds by individuals trying stack tokens or wrongly sending tokens for stacking.

Impact

Lost fudns by individuals.

Tools Used

slither, foundry

Recommendations

Implement emergency recovery of tokens ERC20 and NFT is recomended similar to that what is already present in :
https://github.com/Cyfrin/2024-07-templegold/blob/57a3e597e9199f9e9e0c26aab2123332eb19cc28/protocol/contracts/templegold/DaiGoldAuction.sol#L260
in contract DaiGoldAuction.sol function recoverToken

just for stacking contract the same + NFTs interface also.

Updates

Lead Judging Commences

inallhonesty Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.