The Distributor.sol
contract, which oversees the distribution of prizes or rewards to winners, will not be able to distribute rewards to any of the winners if one of them is blacklisted by the stablecoin.
Many of the known stablecoins, such as USDC and USDT have a list of blacklisted addresses. Interactions with these blacklisted addresses are not possible if you are on those lists.
The Distributor.sol
contract has been set up to send proceeds to a list of winners through the distribute
and _distribute
functions to the winners
.
During the distribution process, if any of the winners are found to be on the stablecoin’s blacklist, the entire distribution is halted and doesn’t proceed further since all of the winning addresses are in the for-loop:
This means even a single blacklisted winner can stop the funds from being sent out to all winners, including those not blacklisted.
Distribution Disruption: The core functionality of the Distributor
contract, i.e., distributing rewards, is severely affected. Legitimate winners can miss out on their rewards due to the presence of a blacklisted entity in the list.
Operational Delays: Administrators or operators would need to spend time identifying the blacklisted entities, potentially delaying rewards for all winners.
Loss of Trust: Continuous halting of distributions can result in a loss of trust among participants, harming the reputation of the platform.
Winners will not be able to receive their reward as intended because of the blacklist addresses.
While being blacklisted belong to the exception rather than the rule, it can happen and be unexpected and unintended for all parties involved.
Below are some of the recommended steps to mitigate the blacklisting:
Isolate Blacklisted Entities: Modify the distribution function to skip over blacklisted winners and continue distributing to others. This ensures that legitimate winners are not punished due to the existence of a blacklisted entity.
Change addresses: Introduce a functionality for the winners to be able to change their address.
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.