In case the tokens with fee on the transfer are used for the distribution, the calculations will be incorrect and the tokens will be locked in the contract.
The calculation of amounts for the winners in performed using the totalAmount amount value. In case the fee on transfer token is used, it is impossible to calculate the amounts correctly.
Due to incorrect calculations, the transaction for distribution will always revert and all the tokens will be locked in the contract.
VS Code
Verify if token has fee on transfer and calculate the amounts taking into account the fees.
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.