Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 467 Bytes

Styling.md

File metadata and controls

8 lines (6 loc) · 467 Bytes

Styling Guide

  • Comments must have periods after every sentence.
  • $ is reserved for storage variables in contracts. If it a private or internal storage variable, prefix it with $_.
  • Underscore prefix are reserved for private and internal functions and variables in contracts.
  • Underscore suffix are reserved for function params.
  • Constant and Immutable must be in ALL_CAPS. If it is a private or internal constant in a contract, prefix it with an underscore.