/dao-contracts

CosmWasm smart contracts for InterChain DAOs.

Primary LanguageRustApache License 2.0Apache-2.0

DAO DAO Contracts

codecov

This is a collection of smart contracts for building composable, modular, and upgradable DAOs.

For an overview of our contract design, see our wiki.

Audited contracts (tag: v1.0.0) Description
cwd-core The core module for a DAO DAO DAO.
cwd-proposal-single A proposal module for single choice (yes / no) voting.
cwd-voting-cw20-staked A voting power module for staked governance tokens.
cwd-voting-cw4 A voting power module for multisig-style voting.
cw20-stake A contract for staking cw20 tokens.
cw20-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
:------------------------------------------------------------------------------- :-------------------------------------------------------
cwd-proposal-multiple A proposal module for multiple choice proposals.
cwd-pre-propose-single A pre-propose module for single choice proposals.
cwd-pre-propose-multiple A pre-propose module for multiple choice proposals.

Audited contracts have completed audits by securityDAO and Oak Security on the v1.0.0 tag. An audit for the v2 contracts is forthcoming.

Developers

Information about our development workflow and how to contribute can be found in CONTRIBUTING.md.

Testing

Unit tests

Run cargo test, or just test from the project root to run the unit tests.

Integration tests

Run just bootstrap-dev to spin up a local environment and just integration-test-dev to run tests against it.

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.