Skip to content

Commit

Permalink
chore: add dao creation schema
Browse files Browse the repository at this point in the history
  • Loading branch information
josemarinas committed May 31, 2024
1 parent 80207f3 commit 840317b
Show file tree
Hide file tree
Showing 2 changed files with 294 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/advanced/dao/01-creation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading

0 comments on commit 840317b

Please sign in to comment.