The RAAC
token contract allows the fee collector to be set to the zero address, effectively disabling fee collection. However, the RAACMinter
contract enforces a check that prevents setting the fee collector to the zero address. This inconsistency between the two contracts restricts a key feature of the RAAC
token, as owner cannot disable fee collection through the RAACMinter
contract.
The RAAC
token contract allows the fee collector to be set to the zero address, enabling or disabling fee collection. Which is also mentionet in the docs.
Setting the fee collector to the zero address disables fee collection, allowing all transfers to be tax-free
RaacMinter controls RAAC token parameters such as tax rates and fee collector. And when it is set as owner ,contract prevents setting the fee collector to the zero address, reverting with FeeCollectorCannotBeZeroAddress
.
The RAACMinter
contract enforces a stricter validation rule, preventing the use of a feature (disabling fee collection) that is explicitly supported by the RAAC
token.
Manual
Remove the zero-address check in the RAACMinter
contract to allow disabling fee collection.
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.