@tekh
# Order of Layout
## Contract elements
- Pragma statements
- Import statements
- Events
- Errors
- Interfaces
- Libraries
- Contracts
## Inside each contract
- Type declarations
- State variables
- Events
- Errors
- Modifiers
- Functions
https://docs.soliditylang.org/en/latest/style-guide.html#order-of-layout