dao-contracts
dao-contracts copied to clipboard
CosmWasm smart contracts for Interchain DAOs.
DAO DAO Contracts
This is a collection for smart contracts for building composable, modular, and upgradable DAOs.
For an overview of our contract design, see our wiki.
| Audited contracts | Description |
|---|---|
| cw-core | The core module for a DAO DAO DAO. |
| cw-proposal-single | A proposal module for single choice (yes / no) voting. |
| cw20-staked-balance-voting | A voting power module for staked governance tokens. |
| cw4-voting | A voting power module for multisig-style voting. |
| cw20-stake | A contract for staking cw20 tokens. |
| stake-external-rewards | A contract for providing external stakinig rewards. |
| cw20-stake-reward-distributor | A contract for distributing rewards via stake-cw20. |
| Unaudited contracts | Description |
|---|---|
| cw-named-groups | A contract for managing named groups of addresses. |
| cw-proposal-multiple | A proposal module for multiple choice proposals. |
Audited contracts have completed audits by securityDAO and Oak Security.
Developers
Information about our development workflow and how to contribute can be found in CONTRIBUTING.md.
Testing
Unit tests
Run cargo test or cargo unit-test from the project root to run the unit tests.
Integration tests
./scripts/deploy_local.sh juno10j9gpw9t4jsz47qgnkvl5n3zlm2fz72k67rxsgRUST_LOG=info CONFIG="configs/local.yaml" cargo integration-test
See ci/integration_tests/README.md for more information.
Disclaimer
DAO DAO TOOLING IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND. No developer or entity involved in creating the DAO DAO UI or smart contracts will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of DAO DAO tooling, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.