Core Contracts
These contracts form the foundation of every DAO deployed using CreateDAO.- DAOFactory: The central contract responsible for deploying new DAOs and managing implementation versions.
- DAO: The main governance hub for a deployed DAO, handling proposals and execution logic.
- DAOToken: The implementation contract for the DAO’s governance token (ERC20-based).
- DAOStaking: The implementation contract for staking governance tokens to determine voting power.
- DAOTreasury: The implementation contract for managing the DAO’s funds.
Optional Modules
These contracts can be added to a DAO through governance proposals to extend its functionality.- DAOPresale: An implementation contract for conducting token presales.
Architectural Components
- Proxy Contracts: Explanation of the UUPS proxy pattern used for upgradeability.
- Interfaces: Overview of the Solidity interfaces used for contract interactions.
DAOToken
, DAOStaking
, DAOTreasury
, and DAOPresale
currently contain high-level descriptions based on their roles. Specific function details will be added after analyzing their respective source code.