20,000 USDC
View results
Submission Details
Severity: medium

Return values of transfer and transferFrom are unchecked

Summary

Return values of transfer and transferFrom are unchecked

Vulnerability Details

In the contracts Fees.sol, Lender.sol and Staking.sol mentioned above in github links return values of transfer/transferFrom is not checked.

Impact

Not checking return values of transfer/transferfrom can cause transfer fails without being noticed by calling contract and can affect accounting of tokens in contract

Tools Used

Manually done

Recommendations

Use safeTransfer()/safeTransferFrom() instead of transfer()/transferFrom()

Support

FAQs

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

Give us feedback!