The TempleGoldAdmin
contract is intended to be the owner of the TempleGold
contract once it’s deployed and ownership is transferred. Therefore, the TempleGoldAdmin
contract implements all onlyOwner
functionalities from the TempleGold
contract to make changes as needed.
However, the transferOwnership
function is not implemented by TempleGoldAdmin
, meaning if the ownership needs to be transferred, it currently cannot be done.
Ownership of the TempleGold
contract cannot be transferred at all because the TempleGoldAdmin
contract, which is the owner, does not implement the transferOwnership
function.
Manual analysis
Implement the transferOwnership
function in the TempleGoldAdmin
contract to ensure that ownership can be transferred if needed.
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.