The RAACToken
has provision for a configurable tax rates on token transfers and burns. The veRAACToken::lock
however records the amount that was transfered by the sender without making provisions for whether or not there is an existing tax rate on th token. The effect of this is that the amount actually received in the contract will be lesser than what is recorded. The amount also stored in users lock position does not also include this tax.
The possible impact of this is that the protocol ends up at a loss/possible denial in service.
Manual Review
Implement before and after checks in veRAACToken::lock
on the amount received upon lockinging tokens to capture the actual amount that was received.
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.