Common Design Patterns

Note

This documentation is a work in progress, so please exercise appropriate caution. It a personal effort and has no formal connection with the Ethereum Foundation.

[Some overlap here with the ABI section, but no harm.]

Memory Layout

Constructor/Code

Functions

Input arguments

Function Guards

[Compare Solidity modifiers]

Storage

Arrays

[Enumerable permanent storage]

Mappings

[Non-enumerable permanent storage]