Unchecked External Call to mint Function + we need access controll
The call to templeGold.mint() in the _distributeGold function is not checked. If templeGold.mint() fails or reverts, the transaction will silently fail, which could lead to unexpected behavior.
Anyone can call the distributeGold()
Fix: Ensure to handle the success or failure of the mint function call properly.
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.