Some ERC20 tokens include pausable functionality or blacklist capabilities, allowing certain addresses to be frozen or all transfers to be halted by an authorized party. If the asset
or underlying
tokens implement such features, the strategy might be unable to transfer tokens, leading to funds being locked within the contract.
Given that the strategy depends on transferring tokens to and from the transmuter
and during swaps, any pausing or blacklisting could severely impede its operation.
Funds Lockup: Assets could become irretrievable if the contract address is blacklisted.
Operational Failure: The strategy might fail to execute critical functions, affecting deposits, withdrawals, and swaps.
User Funds at Risk: Users may be unable to access their funds or experience significant delays.
Scenario:
The asset
token implements a blacklist feature.
The token's owner blacklists the strategy contract's address.
Outcome:
Any attempt to transfer asset
tokens fails, reverting transactions.
Users cannot withdraw their funds from the strategy.
Due Diligence on Tokens:
Before interacting with a token, ensure it does not have blacklisting or pausing features, or that such features are appropriately managed.
Implement Fallback Mechanisms:
Prepare for scenarios where tokens become non-transferable by implementing emergency withdrawal functions that handle such cases.
Check for Paused State Before Transfers:
If possible, integrate checks to determine if a token is paused before attempting transfers.
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.