20,000 USDC
View results
Submission Details
Severity: gas

Lender.sol need to follow Solidity layout pattern

Summary

Lender.sol doesn't follow official Solidity layout pattern

Impact

Opens the functions for reentrancy and increases code complexity

Tools Used

Manual

Recommendations

As supposed in the official Solidity docs: https://docs.soliditylang.org/en/v0.8.19/style-guide.html#order-of-layout,
try to follow this structure in order to maintain consistency through the codebase and avoid vulnerabilities

Support

FAQs

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