20,000 USDC
View results
Submission Details
Severity: gas
Valid

[I-9] Function ordering does not follow the Solidity style guide

Summary

According to the Solidity style guide, functions should be laid out in the following order :constructor(), receive(), fallback(), external, public, internal, private, but the cases below do not follow this pattern

Vulnerability Details

Instances (2):

File: src/Beedle.sol
36: function mint(address to, uint256 amount) external onlyOwner {
File: src/Lender.sol
116: function getLoanDebt(uint256 loanId) external view returns (uint256 debt) {

Impact

Tools Used

Recommendations

Support

FAQs

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