20,000 USDC
View results
Submission Details
Severity: medium

Unchecked Transfer Return Values

Summary

Several instances in the code do not check return values of ERC20 transfer and transferFrom calls. Both the Lender and Staking contracts are concerned.

Vulnerability Detail

Ignoring the return values from these methods can lead to unnoticed failed transfers. Failed transfers could lead to funds being stuck or not properly accounted for.

Impact

Potential loss of funds or belief that a transaction succeeded when it hasn't.

Tools Used

Slither

Recommendation

Implement SafeERC20 or ensure that the transfer/transferFrom return values are checked.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.