Architecture

The Extendable pattern architecture follows the high-level diagram below.

The Extendable module contains access to various storage modules for all contract state.

The Extendable module is extended with functional Extensions that may access contract state variables. The Extendable itself contains no functional business logic and defers it to the responsibility of individual Extensions to implement.

Contracts that inherit Extendable gain access to these modular functionalities being able to add or remove specific Extensions after deployment.

Last updated