The mint function in zeno.sol is restricted to be called only by the owner, which is set during zeno.sol’s constructor. However, the calling contract (likely another smart contract) is not the owner of zeno.sol, causing the function to revert whenever it is called.
The mint function in zeno.sol is restricted to be called only by the owner, which is set during zeno.sol’s constructor. However, the calling contract (likely another smart contract) is not the owner of zeno.sol, causing the function to revert whenever it is called.
Minting will always fail, preventing token issuance.
• The contract cannot function as intended, leading to a loss of expected behavior.
• Users may experience transaction failures, breaking expected workflows.
Ensure the correct ownership setup by making the calling contract the owner of zeno.sol during deployment.
2. Modify the mint function to allow an approved contract (instead of only the owner) to execute minting:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
View preliminary resultsAppeals are being carefully reviewed by our judges.
The contest is complete and the rewards are being distributed.