For the complete documentation index, see llms.txt. This page is also available as Markdown.

Diamond Core Facets

Diamond Core Facets

Facets are a core component of the Diamond architecture. They let functions execute logic against the Diamond's storage. Each facet contract is paired with an implementation contract that holds the facet's logic.


Overview

Facets are modular units within the Diamond architecture. They allow isolated updates to specific parts of the system without redeploying the entire contract.


Functionality and Implementation

Each facet manages a distinct segment of the system's functionality. The implementation contract handles the logic, so that:

  • Facets can modify the Diamond's storage in a targeted way.

  • Updates stay isolated, reducing the risk of system-wide impact during changes.

  • Separating logic from storage simplifies development and troubleshooting.

The following sections cover SYMM's facet contracts, the functions within each, and how they interact with the Diamond's core architecture.

Last updated