The protocol currently uses whitelisted tokens which the admin adds. Some tokens (e.g. USDC, USDT) have a contract level admin controlled address blacklist. If an address is blocked, then transfers to and from that address are forbidden.
In Distributor.sol
we have _distribute()
function:
This is the main function from which prizes are sent to winners. But imagine the situation if the erc20 token (for example USDC) is blacklisted. Then sending a transfer is impossible.
It is impossible for the winners to get their prizes
Visual Studio Code
Try to implement a try-catch solution where you skip certain funds whenever they cause the USDC transfer to revert or use pull
over push
model to transfer tokens.
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.