40,000 USDC
View results
Submission Details
Severity: gas

[I-4] Contract does not follow the Solidity style guide's suggested layout ordering

Summary

The style guide says that, within a contract, the ordering should be 1) Type declarations, 2) State variables, 3) Events, 4) Modifiers, and 5) Functions, but the contract(s) below do not follow this ordering

Vulnerability Details

Instances (2):

File: src/Escrow.sol
58: modifier onlyBuyer() {
File: src/IEscrow.sol
24: enum State {

Impact

Tools Used

Recommendations

Support

FAQs

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