Secured by Hashlock

MarketDAO

Bringing Market Forces to Group Decisions

View on GitHub

Core Concept

MarketDAO is a governance framework that brings market forces to bear on group decisions. Unlike traditional DAOs where voting power is static, MarketDAO introduces tradable voting tokens for each election.

This creates a dynamic governance system where voters can:

The result is a governance framework that more accurately captures the true strength of preferences and creates efficient markets around governance decisions.

Key Features

Saleable Voting Rights

Voting tokens are freely transferable during elections, allowing market forces to influence governance outcomes.

Multiple Proposal Types

Create resolutions, treasury transfers, governance token minting, parameter changes, and distribution proposals.

Flexible Support Thresholds

Customizable support thresholds and quorum percentages for different governance needs.

Treasury Management

Support for ETH, ERC20, ERC721, and ERC1155 assets in the DAO treasury.

Early Termination

Elections can end early when a clear majority is reached, improving efficiency.

ERC1155 Foundation

Built on the ERC1155 standard for flexible token management, with token ID 0 reserved for governance tokens.

How It Works

  1. Create a Proposal

    Governance token holders can submit various types of proposals.

  2. Support Phase

    Proposals need to reach a support threshold to trigger an election. Tokens used for support are locked to prevent double-counting.

  3. Election Period

    Once triggered, an election begins. Each governance token holder can claim voting tokens equal to their vested balance.

  4. Vote or Trade

    Voting tokens can be used to vote (transfer to YES/NO addresses) or traded with others who feel more strongly.

  5. Resolution

    After the election period (or early if a clear majority is reached), the proposal is executed or rejected based on results.

  6. Unlock Tokens

    After resolution, users can release their locked governance tokens for future proposals.

Implementation

MarketDAO is built on Solidity ^0.8.20 with OpenZeppelin libraries, using the ERC1155 multi-token standard for both governance and voting tokens.

Security Audit

MarketDAO has been audited by Hashlock Pty Ltd (January 2026). All identified issues have been resolved.

Audited by Hashlock

View Full Audit Report

Security Features

Governance Token Locking

Tokens are locked when used for proposal support or voting claims, preventing double-counting attacks.

Distribution Token Locking

Tokens are locked when registering for distributions, preventing double-claim attacks.

Operator Voting Restrictions

Election-ended checks apply to all transfers, not just direct transfers.

Pro-Rata Distributions

Distribution claims use proportional calculations to prevent pool exhaustion.

Reentrancy Protection

ReentrancyGuard on transfer functions prevents reentrancy during vote transfers.

O(1) Scalability

Snapshot-based voting enables 10,000+ participants with constant gas costs.

See the Technical Reference for full security details.

Configuration

When creating a new DAO, you can configure:

Note on Basis Points: All percentage parameters use basis points for precision (10000 = 100%, 5100 = 51%, 2000 = 20%, 250 = 2.5%), allowing for 0.01% precision.

Try It

MarketDAO is open source and ready for deployment:

Clone the repository and follow the deployment instructions in the Technical Reference to deploy your own instance on any EVM-compatible network.

Future Possibilities

MarketDAO is just getting started, with plans for: