If a token is used that takes a transfer fee then STADIUM_ADDRESS
will receive less funds than expected
Some ERC20 token implementations have a fee that is charged on each token transfer. This means that the transferred amount isn't exactly what the receiver will get.
When sending prizes to winners via the _distribute
function if such a token is used then in the end STADIUM_ADDRESS
will receive less funds than expected.
STADIUM_ADDRESS
will receive fewer funds than expected
Visual Studio Code
Improve support for a fee on transfer type of ERC20. When transferring funds the usual approach is to compare balances pre/post transfer.
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.