The RAACToken contract has three functions—setSwapTaxRate, setBurnTaxRate, and setFeeCollector—that are currently restricted to the owner only. However, the RAACMinter contract, which is designed to call these functions, is not the owner. This mismatch causes all such calls from RAACMinter to fail.
setSwapTaxRate, setBurnTaxRate, and setFeeCollector on the RAACToken use the onlyOwner modifier. The RAACMinter is designed to be able to call these functions but is not the owner.
RAACMinter cannot modify the RAACToken contract as it is designed to do so.
To resolve the issue, modify the access control to allow the RAACMinter to call these functions. This can be done by:
Replacing the onlyOwner modifier with onlyMinter, or
Creating a new modifier that permits both the owner and the minter to execute these functions.
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.