This is the Transfer
and TransferFrom
problem when using IERC20(). And some ERC20 token such USDT does not return the true/false.So please use SafeTransfer
and SafeTransferFrom
https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol#L157
https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol#L287
And some ERC20 token such USDT does not return the true/false.
vs code
Using SafeTransfer
and SafeTransferFrom
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.