The contract transfers fees amount of tokens to the 'feeReceiver' address without checking the return value of the transfer function
If the transfer function fails due to reasons like invalid transactions or insufficient balance, it can lead to unintended consequences. For example, the fees amount may not be correctly collected, affecting the revenue for the protocol.
Slither
require(
IERC20(loan.loanToken).transfer(feeReceiver, fees),
"Token transfer to feeReceiver failed"
);
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.