Giter Club home page Giter Club logo

dao-contracts's Introduction

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
dao-core The core module for a DAO DAO DAO.
dao-proposal-single A proposal module for single choice (yes / no) voting.
dao-voting-cw20-staked A voting power module for staked governance tokens.
dao-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
dao-proposal-multiple A proposal module for multiple choice proposals.
dao-voting-cw721-staked A voting module based on staked NFTs
dao-pre-propose-single A pre-propose module for single choice proposals.
dao-voting-native-staked A voting power based on staked native tokens not used to secure the chain e.g. ION.
dao-voting-staking-denom-staked A voting power module based on staked native tokens used to secure the chain e.g. JUNO
dao-pre-propose-multiple A pre-propose module for multiple choice proposals.
dao-pre-propose-approval-single A pre-propose module for implementing an approval flow.
dao-pre-propose-approver A pre-propose module for automatically creating proposals that need to be approved.
cw-token-swap An escrow contract for swapping tokens between DAOs.

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

Packages

Package Description
cw721-controllers Manages claims for the cw721 staking contract
cw-hooks Shared hooks functionality.
dao-interface Provides types and interfaces for interacting with DAO modules.
dao-macros A collection of macros to derive DAO module interfaces on message enums.
dao-pre-propose-base Base package used to implement pre-propose modules.
dao-proposal-hooks Interface for managing and dispatching hooks from a proposal module.
dao-testing Common testing functions and types for DAO modules.
dao-vote-hooks Interface for managing and dispatching vote hooks.
dao-voting Types and associated methods for handling voting in a CosmWasm DAO.
cw-denom Uitilities for working with cw20 and native denoms.
cw-paginate Convienence methods for paginating keys and values in a CosmWasm Map or SnapshotMap.

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

Links and Resources

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.

dao-contracts's People

Contributors

0xekez avatar 0xjame5 avatar bekauz avatar ben2x4 avatar blue-note avatar bmorphism avatar borgbob avatar buckram123 avatar callum-a avatar clhrae avatar cypherape avatar de-husk avatar ebaker avatar elsehow avatar gavindoughtie avatar ismellike avatar jakehartnell avatar lacercat avatar maurolacy avatar nlipartiia-hacken avatar noahsaso avatar onewhiskeypls avatar orkunkl avatar the-frey avatar vernonjohnson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.