4 - Layout
The layout of a Solidity source file can contain an arbitrary number of Pragma directives, import directives and structs/enums/contracts definitions.
The best-practices for layout within a contract is the following order:
- Solidity Source File Layout
- Contract:
- Arbitrary Number
- Layout Best-practices