Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 412 Bytes

layoutContract.md

File metadata and controls

24 lines (22 loc) · 412 Bytes
// Layout of Contract:
// version
// imports
// errors
// interfaces, libraries, contracts
// Type declarations
// State variables
// Events
// Modifiers
// Functions

// Layout of Functions:
// constructor
// receive function (if exists)
// fallback function (if exists)
// external
// public
// internal
// private
// internal & private view & pure functions
// external & public view & pure functions