Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 584 Bytes

Constant state variables.md

File metadata and controls

17 lines (16 loc) · 584 Bytes

Constant state variables should be declared constant to save gas. (see here)


Slide Screenshot

065.jpg


Slide Text

  • Constant State Variables
  • Declare Constant -> Save Gas
  • Compile-time Replacement -> No SLOADs
  • Identify & Declare

References


Tags