It is stated that any Fee-on-transfer token is not supported. However, it should also be noted that rebase tokens like wstETH
are also not supported since they would cause issues in balance-accounting.
Currently, fee-on-transfer tokens are not supported because they will be accounted for in depositors[msg.sender][epochId]
and info.totalBidTokenAmount += amount
.
However, rebase tokens like wstETH
could also pass the test as their balances only increase over time. Using rebase tokens will cause balance-accounting issues and result in some extra funds being stuck in the contract.
Using rebase tokens will cause balance-accounting issues and lead to some extra funds being stuck in the contract.
Manual
To mitigate:
Consider recording shares for users instead of absolute token amounts.
Explicitly state that rebase tokens are also unsupported in the contract documentation.
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.