As per the documentation, "Whitelisted addresses can perform tax-free transfers, which is useful for protocol operations and intermediate contracts".
The expected behaviour is to allow whitelisted addresses to perform tax-free transfers. But currently, transfers to whitelisted addresses are also tax-free in RAACToken contract, and this is not intended by the protocol documentation.
Only transfers from whitelisted address should be tax-free, not transfers to whitelisted address.
The impact of this issue is medium as it leads to loss of fees for the protocol and less tokens being burned when whitelisted address receive RAAC tokens.
Manual review
Remove whitelisted[to]
in the criteria to allow tax-free transfers in _update
function:
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.