Overview
Every DAO is made up of three modules:
- A voting power module, which manages the voting power of DAO members.
- Any number of proposal modules, which manage proposals in the DAO.
- A core module, which holds the DAO treasury.
For example, voting power might be based on staked governance tokens, staked NFTs, or membership and proposal modules might implement yes/no, multiple-choice, or ranked-choice voting.
Each module type has a standard interface. As a result, any voting module can be used with any proposal module, and any proposal module with any voting module.
DAO Contracts
xion-dao-core
- the core module for DAOs.external
- contracts used by DAOs that are not part of a DAO module (from other repositories).pre-propose
- pre-propose modules.proposal
- proposal modules.voting
- voting modules.staking
- cw20 staking functionality and a staking rewards system.
Packages
This folder contains various libraries and external packages, adapted (preserving licenses and intellectual property) so that Xion Daos can operate correctly. The owners of these codes include DAO DAO, Cosmos open source, among others.