The contract uses approve
for ERC20 tokens during collateral registration, which fails for tokens like USDT that require allowances to be reset to zero before approval. This breaks the registration process for critical assets.
In _registerCollateralToken
, the contract calls:
USDT on Ethereum reverts on approve
if the current allowance is non-zero. This causes the entire transaction to fail.
Collateral tokens requiring allowance reset (e.g., USDT) cannot be registered, rendering the protocol unusable for major stablecoins.
Manual review
Use safeIncreaseAllowance
to handle allowance resets:
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.