Some ERC20 tokens revert for zero-value transfers (e.g. LEND). See Weird ERC20 Tokens - Revert on Zero Value Transfers.
There is 1 instance of this issue.
File Link | Instance Count | Instance Link |
---|---|---|
EscrowFactory.sol | 1 | 39 |
If used as a order.baseAsset
and a small strike price, the fee token transfer will revert. Hence, assets and the strike can not be withdrawn and remain locked in the contract.
baudit: a custom static code analysis tool; manual review
Consider adding explicit amount validation prior to attempting to the transfer.
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.