In RAACToken the setFeeCollector function allows seting feeCollector address as address(0) to turn of the fees. However RAACMinter can set FeeCollector address to zero because there is zero address check in RAACMinter functionn.
RAACToken allows setting FeeCollector address as address(0).
If we look at setFeeCollector function inside RAACMinter we can see that passing address(0) will revert the transaction.
Fees can't be turned of in RAACToken through RAACMinter. RAACToken expects address(0) as a parameter to turn off the fees but RAACMinter can't set it.
Manual Review, Hardhat
Allow address(0) as argument in setFeeCollector in RAACMinter.
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.