Raactoken transfers the burn and transfer fee (tax) directly to the feeCollector
without calling its function to collect the fee. As a result, the fee is not allocated to the correct feeType
, and the fee will not be distributed properly.
Here’s the relevant code snippet from the RAACToken
functions:
This directly transfers the tax amount to the feeCollector without calling the collectFee function:
RAACToken burn and transfer tax/fee will not be distributed to intended addresses
vscode
Instead of calling _transfer and _update for transferring tax/fe to feeCollector, trigger a call to the collectFee
function, ensuring the fee is properly allocated to the correct feeType and distributed accordingly.
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.