From 840317b086ac3d8f3d15f21fd7f69ebc69c9c3c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Manuel=20Mari=C3=B1as=20Bascoy?= Date: Fri, 31 May 2024 09:54:08 +0200 Subject: [PATCH] chore: add dao creation schema --- docs/advanced/dao/01-creation.md | 6 +- .../dao/aragon-osx-dao-creation.drawio.svg | 289 ++++++++++++++++++ 2 files changed, 294 insertions(+), 1 deletion(-) create mode 100644 static/img/advanced/dao/aragon-osx-dao-creation.drawio.svg diff --git a/docs/advanced/dao/01-creation.md b/docs/advanced/dao/01-creation.md index b128bcad..30b8ae54 100644 --- a/docs/advanced/dao/01-creation.md +++ b/docs/advanced/dao/01-creation.md @@ -8,9 +8,13 @@ sidebar_position: 1 Two framework contracts manage the `DAO` contract creation process: -- The [`DAOFactory`](docs/osx/reference-guide/framework/dao/DAOFactory) +- The [`DAOFactory`](docs/osx/reference-guide/framework/dao/DAOFactory). - The [`DAORegistry`](docs/osx/reference-guide/framework/dao/DAORegistry). +The `DAOFactory` is the contract that creates and sets up a `DAO` for you. The `DAORegistry` is used by the `DAOFactory` to register the DAOs that are created. Plugins are installed in the DAO by the `PluginSetupProcessor`. + +![Creation Schema](/img/advanced/dao/aragon-osx-dao-creation.drawio.svg) + ## `DAOFactory` The `DAOFactory` creates and sets up a `DAO` for you in four steps with the `createDao` function. The function requires the `DAOSettings` including: diff --git a/static/img/advanced/dao/aragon-osx-dao-creation.drawio.svg b/static/img/advanced/dao/aragon-osx-dao-creation.drawio.svg new file mode 100644 index 00000000..5ae666c7 --- /dev/null +++ b/static/img/advanced/dao/aragon-osx-dao-creation.drawio.svg @@ -0,0 +1,289 @@ + + + + + + + +
+
+
+ + Framework + +
+
+
+
+ + Framework + +
+
+ + + + +
+
+
+ + DAO Creation + +
+
+
+
+ + DAO Creation + +
+
+ + + + +
+
+
+ + Core + +
+
+
+
+ + Core + +
+
+ + + + +
+
+
+ + DAO + +
+
+
+
+ + DAO + +
+
+ + + + +
+
+
+ PermissionManager +
+
+
+
+ + PermissionManager + +
+
+ + + + +
+
+
+ CallbackHandler +
+
+
+
+ + CallbackHandler + +
+
+ + + + +
+
+
+ ERC-1271 +
+ SignatureValidator +
+
+
+
+ + ERC-1271... + +
+
+ + + + + +
+
+
+ Registers +
+
+
+
+ + Registers + +
+
+ + + + + +
+
+
+ Creates +
+
+
+
+ + Creates + +
+
+ + + + + +
+
+
+ Selects +
+ Plugins +
+
+
+
+ + Selects... + +
+
+ + + + +
+
+
+ DAOFactory +
+
+
+
+ + DAOFactory + +
+
+ + + + +
+
+
+ DAORegistry +
+
+
+
+ + DAORegistry + +
+
+ + + + +
+
+
+ ERC-4824 +
+ DAO Interface +
+
+
+
+ + ERC-4824... + +
+
+ + + + + +
+
+
+ + Upgradeable + +
+
+
+
+ + Upgradeable + +
+
+ + + + + +
+
+
+ PluginSetupProcessor +
+
+
+
+ + PluginSetupProcessor + +
+
+
+ + + + + Text is not SVG - cannot display + + + +
\ No newline at end of file