Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.37 KB

DesignPatterns.md

File metadata and controls

47 lines (36 loc) · 1.37 KB

Design Patterns

This is a curated list of common design patterns

Upgradability Patterns

1. Monolithic

2. Proxy

3. ICS (Storage-Logic)

4. Factory

5. Eternal Storage

6. Unstructured Storage

7. Transparent Storage

Behavioral Patterns

1. Checks-Effects-Interactions Pattern

2. Randomness

3. Oracle

4. State Machine

Security Patterns

1. Access Control

2. Secure Transfer

3. Push over Pull

4. Emergency Stop

Economic Patterns

1. Memory Array Building

2. String Equality Comparison

3. Tight Variable Packing

Template pattern

<<Back