Skip to content

Latest commit

 

History

History
76 lines (35 loc) · 1.95 KB

ARCHITECTURE.md

File metadata and controls

76 lines (35 loc) · 1.95 KB

Architecture

This documents presents an overview of the CMTAT architecture.

Introduction

There are three mains contracts for deployment:

Model Contract
Standalone CMTAT_STANDALONE
Transparent or Beacon Proxy CMTAT_PROXY
UUPS Proxy CMTAT_PROXY_UUPS

These contracts inherit from the same base contract CMTAT_BASE.sol, which inherits of the different modules.

The main schema describing the architecture can be found here: architecture.pdf

Schema

This section presents the different schema:

Inheritance

Base

surya_inheritance_CMTAT_BASE.sol

Proxy

surya_inheritance_CMTAT_PROXY.sol

Standalone

surya_inheritance_CMTAT_STANDALONE.sol

UUPS Proxy

surya_inheritance_CMTAT_PROXY_UUPS.sol

UML

See CMTAT_BASE.svg.

CMTAT_PROXY

CMTAT_PROXY_d1

CMTAT_STANDALONE

CMTAT_STANDALONE_d1

Graph

Base

surya_graph_CMTAT_BASE.sol

Proxy

surya_graph_CMTAT_PROXY.sol

Standalone

surya_graph_CMTAT_STANDALONE.sol