43 min read

In June 2016, a collective of anonymous strangers on the internet pooled $150 million worth of Ether into a smart contract with no CEO, no board of directors, no corporate charter, and no physical address. They believed they had built something...

Learning Objectives

  • Explain DAO governance mechanisms (token-weighted, quadratic, conviction, delegation) and their respective tradeoffs
  • Recount The DAO hack of 2016 at the code level and explain why Ethereum's hard fork was both necessary and controversial
  • Evaluate the voter apathy and plutocracy problems in DAO governance using real participation data
  • Implement a basic DAO governance contract with proposal, voting, and timelock execution
  • Assess the legal status of DAOs across jurisdictions and explain why legal clarity matters for adoption

Chapter 28: DAOs: Decentralized Governance and the Experiment in Digital Democracy

28.1 Opening: Can Code Govern?

In June 2016, a collective of anonymous strangers on the internet pooled $150 million worth of Ether into a smart contract with no CEO, no board of directors, no corporate charter, and no physical address. They believed they had built something unprecedented: an organization governed entirely by code, where every decision — from funding proposals to changing the rules themselves — would be made through transparent, on-chain votes by token holders. They called it "The DAO."

Within weeks, a single attacker drained $60 million from it.

That story, which we will examine in painful detail in this chapter, captures everything essential about Decentralized Autonomous Organizations. The ambition is intoxicating: replace the opacity, bureaucracy, and corruptibility of human institutions with transparent, deterministic, auditable code. The reality is messier: code has bugs, voters do not vote, wealth concentrates power, and the law does not know what to make of any of it.

Yet here we are, a decade later, and DAOs collectively manage over $25 billion in treasury assets. MakerDAO governs one of the most important stablecoins in decentralized finance. Uniswap's governance controls a treasury larger than the endowments of most universities. Gitcoin has distributed over $50 million in public goods funding through novel quadratic mechanisms. Thousands of smaller DAOs manage everything from investment clubs to media collectives to open-source software projects.

DAOs are not the future of all organizations. They are not going to replace corporations, governments, or co-ops. But they represent one of the most ambitious experiments in organizational design in decades, and understanding them — their mechanisms, their failures, their legal ambiguities, and their genuine innovations — is essential for anyone working in the blockchain space.

This chapter will take you from the conceptual foundations of DAO governance through the bloodiest battlefield lessons, the mechanisms that actually work, the problems nobody has solved, and the legal frameworks struggling to keep pace. By the end, you will be able to build a basic governance system yourself. Whether you should deploy one — that is a question this chapter will equip you to answer honestly.

💡 Key Insight: A DAO is not "a smart contract that votes." It is an experiment in whether groups of strangers, coordinated only by code and economic incentives, can make decisions that are both legitimate and effective. The technology is the easy part. The governance is hard.


28.2 What DAOs Actually Are

28.2.1 The Definition, Stripped of Hype

A Decentralized Autonomous Organization (DAO) is an organization where:

  1. Rules are encoded in smart contracts deployed on a blockchain
  2. Decisions are made through a defined governance process (usually voting by token holders)
  3. A shared treasury is controlled by those governance decisions, not by any individual
  4. Execution is (ideally) automatic — approved proposals trigger on-chain actions without trusted intermediaries

That is the definition. Notice what it does not include: there is no requirement that a DAO be fully decentralized (most are not), fully autonomous (almost none are), or even particularly democratic. The name is aspirational, not descriptive.

In practice, most DAOs operate on a spectrum:

Dimension Fully Centralized Typical DAO Fully Decentralized
Proposal creation Core team only Anyone with minimum token threshold Anyone
Voting Board decision Token-weighted voting One-person-one-vote
Execution CEO executes Multisig executes after vote Smart contract auto-executes
Treasury control CFO + bank Multisig (3-of-7 typical) Governance contract directly
Upgrades Unilateral Governance vote + timelock Immutable (no upgrades)

Most real DAOs cluster in the middle columns. A "typical" DAO might have a core team that drafts most proposals, token-weighted voting with delegation, a multisig that executes approved proposals, and a timelock that gives the community a window to object before execution.

28.2.2 The Anatomy of a DAO

Every DAO has three core components, regardless of its specific design:

1. Governance Token (or Membership NFT)

The governance token determines who can participate in decisions and how much weight their participation carries. In a token-weighted system, someone holding 100,000 tokens has 100,000 times the voting power of someone holding 1 token. Some DAOs use non-transferable membership NFTs (soulbound tokens) or reputation scores instead.

The governance token is distinct from a utility token or a currency token, though in practice many tokens serve multiple roles. MKR is both a governance token for MakerDAO and a recapitalization mechanism for the Maker protocol. UNI is both a governance token for Uniswap and a speculative asset.

2. Governance Process (Proposal Lifecycle)

A typical DAO proposal moves through several stages:

Discussion (off-chain, forums)
    → Temperature Check (off-chain vote, Snapshot)
        → Formal Proposal (on-chain submission)
            → Voting Period (1-7 days typical)
                → Timelock (1-2 days typical)
                    → Execution (on-chain)

Each stage serves a purpose. The discussion phase allows ideas to be refined before a vote. The temperature check filters out proposals that lack community support without spending gas. The formal on-chain proposal commits the specifics (target contract, calldata, description). The voting period gives token holders time to review and vote. The timelock gives everyone — including those who missed the vote — a final window to exit the system if they disagree with the outcome.

3. Treasury

The treasury is the shared pool of assets that the DAO controls. It might hold governance tokens, stablecoins, ETH, protocol revenue, or any combination. Treasury management is arguably the most important function of most DAOs — the governance mechanisms exist primarily to make decisions about how to allocate these funds.

Treasury sizes vary enormously. As of late 2025, Uniswap's treasury held over $3 billion in UNI tokens. Lido held over $300 million. Most small DAOs operate with treasuries under $1 million.

28.2.3 On-Chain vs. Off-Chain Governance

A critical distinction in DAO design is between on-chain and off-chain governance.

On-chain governance means that proposals are submitted as transactions, votes are recorded on the blockchain, and approved proposals can be executed directly by the governance contract. This is fully transparent and trustless, but expensive (every vote costs gas) and slow.

Off-chain governance means that discussions and votes happen outside the blockchain — on forums, Discord, or platforms like Snapshot (which uses signed messages rather than transactions, making voting gasless). The results are then executed by a trusted party (usually a multisig).

Most DAOs use a hybrid: off-chain discussion and temperature checks, followed by on-chain formal voting for proposals that pass preliminary filters. Snapshot has become the dominant off-chain voting platform, supporting over 30,000 DAOs and processing millions of votes at zero gas cost.

⚠️ Warning: Off-chain governance introduces trust assumptions. When votes happen on Snapshot but execution requires a multisig, the multisig signers could theoretically ignore the vote result. This has happened. The convenience of gasless voting comes at the cost of trustlessness.

28.2.4 DAO Tooling Ecosystem

The modern DAO operates on a stack of specialized tools:

  • Snapshot: Off-chain, gasless voting using signed messages
  • Tally: On-chain governance dashboard and vote aggregation
  • OpenZeppelin Governor: Battle-tested governance smart contract framework
  • Gnosis Safe (Safe): Multisig wallet for treasury management
  • Llama: Access control and treasury management framework
  • Commonwealth: Discussion forums integrated with governance
  • Boardroom: Governance aggregation across multiple DAOs
  • Collab.Land: Token-gated access to Discord/Telegram channels
  • Coordinape: Peer-to-peer compensation within DAOs

This tooling ecosystem means that launching a DAO no longer requires building governance infrastructure from scratch. The OpenZeppelin Governor contract, which we will implement in this chapter's progressive project, provides a production-ready governance framework that handles proposals, voting, timelocks, and execution.


28.3 The DAO Hack of 2016: The Full Story

No chapter on DAOs can avoid this story. It is the founding trauma of the entire concept, and its lessons remain relevant to every governance system built since.

28.3.1 The Vision

In early 2016, a team at a German company called Slock.it proposed "The DAO" — a decentralized venture capital fund. The idea was elegant: anyone could contribute Ether and receive DAO tokens proportional to their contribution. Token holders would then vote on investment proposals. If a proposal passed, the smart contract would automatically transfer funds. Profits from successful investments would flow back to token holders.

The DAO launched in April 2016 and raised 12.7 million ETH in its crowdsale — approximately $150 million at the time, representing roughly 14% of all Ether in existence. It was the largest crowdfunding event in history. The Ethereum community was euphoric. This was the killer app. This was what smart contracts were for.

28.3.2 The Vulnerability: Reentrancy

The DAO's smart contract contained a critical vulnerability in its splitDAO function — the mechanism that allowed members to exit the DAO and withdraw their proportional share of the treasury. The function contained a reentrancy bug, the same class of vulnerability we examined in Chapter 15.

Here is a simplified version of the vulnerable code pattern:

// VULNERABLE — simplified from The DAO's actual code
function splitDAO(uint _proposalID) {
    // Step 1: Calculate the member's share
    uint fundsToBeMoved = (balances[msg.sender] * address(this).balance) / totalSupply;

    // Step 2: Send the funds (THIS IS THE BUG)
    // The external call happens BEFORE the balance update
    msg.sender.call{value: fundsToBeMoved}("");

    // Step 3: Update the balance (TOO LATE)
    balances[msg.sender] = 0;
}

The problem is sequence. The contract sends ETH to the caller (Step 2) before updating the caller's balance to zero (Step 3). If the caller is a malicious contract with a receive() function, that function can call splitDAO again before Step 3 executes. The balance has not been updated yet, so the calculation in Step 1 returns the same amount. The attacker receives funds again. And again. And again, recursively, until the gas runs out or the treasury is empty.

// The attacker's contract (simplified)
contract Attacker {
    TheDAO public dao;

    function attack() external {
        dao.splitDAO(proposalId);
    }

    // This is called when The DAO sends ETH
    receive() external payable {
        if (address(dao).balance > 0) {
            dao.splitDAO(proposalId); // Re-enter!
        }
    }
}

28.3.3 The Attack

On June 17, 2016, an unknown attacker began exploiting this vulnerability. Over the course of several hours, they drained approximately 3.6 million ETH — roughly $60 million — from The DAO into a "child DAO" (a split contract that the attacker controlled).

The Ethereum community watched in real time, helpless. The smart contract was immutable. There was no administrator who could freeze the funds. There was no customer service number to call. The code was doing exactly what it was programmed to do — the bug was not in the execution, but in the logic.

However, The DAO's design included one saving grace: funds moved to a child DAO were subject to a 27-day waiting period before the attacker could actually withdraw them. This created a window for response.

28.3.4 The White Hat Counter-Attack

While the community debated what to do, a group of white hat hackers used the same vulnerability to drain the remaining funds from The DAO into child DAOs that they controlled — not to steal them, but to prevent the attacker from taking more. This "white hat counter-attack" was legally and ethically ambiguous (they exploited the same bug, just with better intentions) but effectively prevented the attacker from getting the entire treasury.

28.3.5 The Fork Debate

With the attacker's funds locked for 27 days, the Ethereum community faced a choice that would define the blockchain's identity:

Option 1: Do Nothing. The code executed as written. "Code is law." The attacker found a vulnerability, and exploiting vulnerabilities is not theft — it is the natural consequence of deploying buggy code. Changing the blockchain to reverse the attack would undermine the foundational principle of immutability. If Ethereum can be changed when powerful people lose money, it is just a bank with extra steps.

Option 2: Soft Fork. Implement a software update that would prevent the attacker from moving the stolen funds, effectively freezing them forever. This does not reverse any transactions — it just censors future ones from specific addresses. However, this was found to be vulnerable to a denial-of-service attack and was abandoned.

Option 3: Hard Fork. Implement a software update that literally rewrites the blockchain's history to move the stolen funds to a recovery contract where DAO token holders can withdraw their original ETH. This reverses the attack entirely but requires changing the immutable ledger.

The debate was fierce, personal, and philosophical. It was not merely a technical decision. It was a question about what Ethereum was supposed to be.

Arguments for the fork: - $60 million stolen from thousands of people who trusted the Ethereum ecosystem - Letting the theft stand would damage confidence in Ethereum beyond repair - "Code is law" is a principle, not a suicide pact — human judgment should prevail over buggy code - The community has the right to define the rules of its own blockchain

Arguments against the fork: - Immutability is not optional — if you fork once, the precedent is set forever - The attacker did not break the rules; the rules were broken - Who decides which thefts deserve forks and which do not? This is exactly the kind of centralized authority blockchains were built to avoid - A fork proves that Ethereum is governed by a small group of influential developers, not by code

28.3.6 The Fork

On July 20, 2016, Ethereum executed the hard fork. The stolen funds were returned to a recovery contract, and DAO token holders could withdraw their ETH. Roughly 85% of the Ethereum network's hash power supported the fork.

But 15% did not. A group of miners, developers, and ideologues continued running the original, unforked chain. They called it Ethereum Classic (ETC) — the version of Ethereum where code truly was law, where The DAO hack stood, where immutability was absolute.

Ethereum Classic still exists today, though it has a fraction of Ethereum's market cap and developer activity. It stands as a permanent monument to the fork debate — a living reminder that a significant minority of the community believed immutability was more important than $60 million.

28.3.7 Lessons That Still Apply

The DAO hack taught the blockchain community lessons that remain relevant to every DAO built since:

  1. Smart contracts are not automatically trustworthy. The DAO's code was public, audited by the community, and still contained a critical bug. Transparency is necessary but not sufficient.

  2. Reentrancy is forever. The checks-effects-interactions pattern exists because of The DAO. Every Solidity developer should be able to explain this vulnerability in their sleep.

  3. "Code is law" has limits. When code produces outcomes that the community unanimously agrees are unjust, the community will intervene. The question is not whether it will happen, but under what conditions and through what process.

  4. Immutability is a spectrum, not a binary. The fork proved that "immutable" blockchains are governed by social consensus. The chain is whatever the majority of validators agree it is.

  5. The waiting period saved everything. The 27-day timelock on child DAO withdrawals gave the community time to respond. Every modern DAO governance system includes timelocks for exactly this reason.

📊 By the Numbers — The DAO: - Raised: 12.7 million ETH (~$150M at the time) - Stolen: 3.6 million ETH (~$60M) - Participants: ~11,000 contributors - Time to exploit: ~3 hours to drain the child DAO - Fork support: ~85% of hash power - Ethereum Classic market cap (2025): ~$3.5 billion - Ethereum market cap (2025): ~$280 billion


28.4 Governance Mechanisms

Every DAO must answer a deceptively simple question: how do we decide things? The answer involves deep tradeoffs between fairness, efficiency, and security. No mechanism is perfect. Each solves some problems while creating others.

28.4.1 Token-Weighted Voting

How it works: Each governance token equals one vote. If you hold 1,000 tokens, you have 1,000 votes. A proposal passes if it meets a quorum (minimum participation threshold) and achieves a majority (usually simple majority or supermajority).

Advantages: - Simple to implement and understand - Aligns voting power with economic stake ("skin in the game") - Resistant to Sybil attacks (splitting tokens across wallets does not increase total voting power) - Well-supported by existing tooling (OpenZeppelin Governor, Snapshot)

Disadvantages: - Plutocratic by design — wealth equals power - Whale domination: a single large holder can outvote thousands of small holders - Encourages vote buying (bribing token holders is straightforward) - Misaligns incentives: short-term speculators and long-term builders have the same weight per token

Who uses it: Almost everyone. Token-weighted voting is the default mechanism in Uniswap, Compound, Aave, and most DeFi governance systems. Its dominance is partly due to simplicity and partly due to the fact that no clearly superior alternative has emerged.

Voting Power Distribution in a Typical DAO:

Top 1% of holders:  ████████████████████████████ 70% of voting power
Next 9% of holders:  ████████ 20% of voting power
Bottom 90%:          ████ 10% of voting power

This is not a bug. This is how token-weighted voting works.

28.4.2 Quadratic Voting

How it works: The cost of votes increases quadratically. One vote costs 1 token. Two votes cost 4 tokens. Three votes cost 9 tokens. Ten votes cost 100 tokens. This means that expressing strong preferences is expensive, while everyone can afford at least a few votes.

Mathematically: the cost of n votes is n^2 tokens.

Advantages: - Dramatically reduces the power of wealthy voters - Allows voters to express intensity of preference, not just direction - Proven theoretical properties (optimal under certain assumptions, per Weyl and Posner) - Successfully used by Gitcoin Grants for quadratic funding

Disadvantages: - Vulnerable to Sybil attacks — splitting 100 tokens across 100 wallets gives 100 votes instead of 10 - Requires identity verification to prevent Sybil attacks, which conflicts with pseudonymous blockchain culture - More complex for voters to understand - Edge cases around fractional votes and rounding

The Sybil Problem: Quadratic voting's fatal weakness is that its anti-plutocratic properties depend entirely on the assumption that each person has one account. In a pseudonymous system where creating new wallets is free, a wealthy voter can split tokens across wallets to get linear voting power at quadratic voting prices. This is not a theoretical concern — it happens.

Solutions to the Sybil problem include proof-of-personhood protocols (like Worldcoin's iris scanning or Gitcoin Passport's credential stacking), but none are fully satisfactory. Biometric identity is a privacy nightmare. Credential stacking is gameable. The tension between Sybil resistance and pseudonymity may be fundamental.

Who uses it: Gitcoin Grants (for funding allocation, not direct governance), some community-focused DAOs. Not widely used for protocol governance due to Sybil vulnerability.

28.4.3 Conviction Voting

How it works: Instead of discrete voting periods, voters allocate tokens to proposals continuously. The longer tokens remain allocated, the more "conviction" they accumulate. Conviction grows over time following a decay curve — recent allocation builds conviction quickly, but sustained allocation builds more. A proposal passes when its accumulated conviction exceeds a threshold that depends on the amount of funding requested relative to the treasury.

Advantages: - No discrete voting periods (proposals can pass anytime) - Rewards sustained conviction over impulse votes - Large funding requests require proportionally more conviction - Resistant to last-minute vote swings and flash loan attacks - Does not require voters to constantly monitor every proposal

Disadvantages: - Complex to understand and implement - Harder to predict when or if a proposal will pass - Slower decision-making (by design) - Novel mechanism with less battle-testing than token-weighted voting

Who uses it: 1Hive (Gardens framework), some Aragon-based DAOs, various community governance experiments.

28.4.4 Delegation (Liquid Democracy)

How it works: Token holders can delegate their voting power to representatives (delegates) who vote on their behalf. Delegation is revocable at any time — if your delegate votes in a way you disagree with, you can redelegate or vote directly to override them.

This is sometimes called "liquid democracy" because representation is fluid: you can delegate to different people for different topics, redelegate at any time, and always override your delegate by voting directly.

Advantages: - Addresses voter apathy — passive holders can delegate to informed, active participants - Creates a class of informed, accountable delegates who specialize in governance - Delegates who vote poorly lose delegations (market discipline) - Compatible with token-weighted voting (delegation does not change the underlying mechanism)

Disadvantages: - Power concentrates in popular delegates (potentially more concentrated than direct token distribution) - Delegates may face conflicts of interest (many are VC funds, protocol insiders, or governance professionals) - Most delegation is sticky — people delegate once and forget, reducing the "liquid" in liquid democracy - Creating a delegate system adds complexity and social overhead

Who uses it: Compound, Uniswap, ENS, Optimism, Arbitrum, and most major DeFi protocols. Delegation has become the standard approach to dealing with voter apathy.

🔗 Cross-Reference: The tension between these mechanisms mirrors debates in political science that are centuries old. Token-weighted voting is like shareholder voting. Quadratic voting draws from Vickrey auction theory. Conviction voting resembles approval voting with temporal weighting. Delegation is representative democracy with instant recall. DAOs are reinventing political theory from first principles — sometimes brilliantly, sometimes naively.

28.4.5 Comparing Mechanisms

Property Token-Weighted Quadratic Conviction Delegation
Plutocracy resistance None High (if Sybil-resistant) Moderate None (can concentrate)
Sybil resistance High Low Moderate High
Implementation complexity Low Medium High Medium
Voter comprehension High Medium Low High
Speed of decisions Medium Medium Slow Medium
Flash loan resistance Low* Low* High Low*
Battle-tested Yes Partially No Yes

*Snapshot voting at a specific block number mitigates flash loan attacks for all mechanisms.


28.5 Successful DAOs

28.5.1 MakerDAO: Governing a Central Bank

MakerDAO is arguably the most important DAO in existence. It governs the Maker Protocol, which issues DAI — a decentralized stablecoin pegged to the US dollar. As of late 2025, DAI's market cap exceeds $5 billion, and the Maker Protocol manages billions in collateral.

MKR token holders vote on critical monetary policy decisions: - Stability fees (interest rates for borrowing DAI) - Collateral types (which assets can back DAI) - Risk parameters (liquidation ratios, debt ceilings) - Protocol upgrades (smart contract changes)

MakerDAO's governance has made hundreds of significant decisions over its lifetime. It successfully navigated the March 2020 market crash ("Black Thursday"), when ETH's price dropped 50% in hours and the protocol faced a liquidity crisis. It approved the controversial addition of real-world assets (US Treasury bonds) as collateral. It managed the transition from single-collateral DAI (backed only by ETH) to multi-collateral DAI (backed by dozens of assets).

The governance has not always been smooth. Voter apathy is persistent — most MKR votes see participation from less than 10% of the total supply. A single delegate, frequently a16z (Andreessen Horowitz), has at times held enough delegated voting power to unilaterally determine outcomes. The transition to "Endgame" — a massive restructuring plan proposed by co-founder Rune Christensen — has been contentious, with some participants calling it a power grab and others defending it as necessary for long-term sustainability.

Despite these tensions, MakerDAO has operated continuously since 2017, managing billions in assets without a catastrophic governance failure. That track record alone makes it one of the most significant experiments in decentralized governance ever conducted.

28.5.2 Uniswap Governance: The Sleeping Giant

Uniswap is the largest decentralized exchange by volume. Its governance token, UNI, was airdropped to 250,000 historical users in September 2020 — each receiving 400 UNI tokens (worth approximately $1,200 at the time, eventually worth over $17,000 at UNI's peak).

Uniswap's governance controls a treasury of over $3 billion in UNI tokens. And yet, the governance has been remarkably inactive. In its first four years, Uniswap governance passed only a handful of significant proposals. The most notable was the deployment of Uniswap v3 on additional chains and the creation of the Uniswap Foundation.

The reason is structural: Uniswap's governance requires a quorum of 40 million UNI (approximately 4% of total supply), and proposals need to be submitted by an address holding at least 2.5 million UNI (approximately $20 million worth). These high thresholds were deliberately designed to prevent governance spam, but they also prevent most community members from meaningfully participating.

Uniswap governance is a cautionary tale about the difference between "governance token" and "governance." Holding UNI gives you the theoretical right to influence a multi-billion dollar protocol. In practice, the governance is dominated by a small group of delegates (venture capital firms, protocol politicians, and governance professionals) who hold enough delegated power to determine outcomes. The average UNI holder has never voted.

28.5.3 Gitcoin: Public Goods Funding

Gitcoin occupies a unique position in the DAO ecosystem. Rather than governing a DeFi protocol, Gitcoin's DAO manages a public goods funding mechanism based on quadratic funding — a mechanism where individual contributions to projects are matched by a central pool, with the matching formula weighted to amplify projects with many small donors over those with few large donors.

The math is simple but powerful: the matching amount for a project is proportional to the square of the sum of the square roots of individual contributions. This means a project with 100 donors giving $1 each receives far more matching funds than a project with 1 donor giving $100, even though the direct contributions are equal. The mechanism mathematically encodes the democratic principle that broad support matters more than deep pockets.

Gitcoin has distributed over $50 million in grants across its funding rounds, supporting open-source software, Ethereum infrastructure, privacy tools, education projects, and community initiatives. Its governance token, GTC, is used to manage the grants program, allocate matching pool funds, and steward the protocol's development.

Gitcoin's model has been replicated by other ecosystems (Optimism's RetroPGF, Arbitrum's STIP grants) and represents one of the genuinely novel organizational designs to emerge from the DAO movement.

28.5.4 Lido: Staking Governance at Scale

Lido is the largest liquid staking protocol, managing over $15 billion in staked ETH. Its governance token, LDO, is used to make decisions about node operator selection, fee structures, and protocol upgrades.

Lido's governance is notable for its high stakes (literally — decisions affect the security of 30%+ of all staked ETH) and for the controversy surrounding its market dominance. The Ethereum community has debated whether Lido's concentration of staking power represents a systemic risk, and Lido governance has had to navigate proposals to self-limit its market share — proposals where the DAO's economic incentive (grow as large as possible) conflicts directly with the broader ecosystem's health.

This tension — between a DAO's fiduciary duty to its token holders and its responsibility to the ecosystem it operates within — is one of the most interesting unsolved problems in DAO governance.


28.6 Failed DAOs: Lessons in What Goes Wrong

28.6.1 ConstitutionDAO: The Beautiful Failure

In November 2021, a group of strangers on the internet decided to buy a first-edition copy of the US Constitution at a Sotheby's auction. Within a week, ConstitutionDAO raised $47 million in ETH from over 17,000 contributors. It was a viral moment — the convergence of meme culture, crypto enthusiasm, and genuine idealism.

They lost the auction. A hedge fund billionaire, Kenneth Griffin, outbid them at $43.2 million.

The aftermath was instructive. The refund process was complicated by gas fees — many small contributors would have paid more in gas to claim their refund than their original contribution was worth. The governance token (PEOPLE) continued trading on secondary markets and briefly became a meme coin divorced from any organizational purpose.

ConstitutionDAO failed at its stated goal but succeeded as a proof of concept. It demonstrated that DAOs could coordinate large-scale fundraising among strangers in days, not months. The problems it encountered — gas costs for refunds, lack of legal standing to hold physical assets, coordination overhead — were engineering challenges, not fundamental impossibilities.

The deeper lesson was about expectations. ConstitutionDAO attracted contributors who had never used a DAO before, many of whom expected the experience to be as smooth as using a crowdfunding platform. They were surprised by gas fees, confused by the refund process, and frustrated by the governance token's post-failure speculation. The gap between what DAOs promise (democratic coordination) and what they deliver (a set of smart contracts with significant friction) was starkly visible.

28.6.2 Wonderland and the Sifu Scandal

Wonderland was a DeFi protocol on the Avalanche blockchain, governed by a DAO. In early 2022, it was revealed that the protocol's treasury manager, known as "Sifu," was actually Michael Patryn (also known as Omar Dhanani) — a convicted fraudster and co-founder of the collapsed QuadrigaCX exchange, where $190 million in customer funds was lost.

The revelation triggered a crisis of confidence. The DAO voted to shut down and return treasury funds to token holders. The episode demonstrated a fundamental vulnerability: DAOs operate pseudonymously, and a governance token cannot verify the character or criminal history of the people managing the treasury. The "trustless" system had placed enormous trust in an individual who had not earned it.

28.6.3 Governance Attacks

Unlike hacks that exploit code vulnerabilities, governance attacks exploit the governance mechanism itself — using it as designed, but for malicious purposes.

Beanstalk (April 2022): An attacker used a flash loan to borrow enough governance tokens to pass a malicious proposal that drained $182 million from the protocol. The entire attack — borrowing tokens, voting, executing the proposal — happened in a single transaction. The governance mechanism worked exactly as designed; it just was not designed to withstand flash loan manipulation.

This attack led to widespread adoption of snapshot voting (measuring voting power at a specific block before the proposal was created) and timelocks (mandatory delays between proposal approval and execution) as defenses against governance attacks.

Build Finance DAO (February 2022): An attacker accumulated enough governance tokens (at a cost of approximately $50,000) to take over the DAO's governance entirely, passing proposals that gave the attacker control of the treasury and the governance contract itself. The attacker then minted new tokens and sold them, effectively stealing the DAO's remaining value.

Tornado Cash Governance (May 2023): An attacker exploited Tornado Cash's governance by deploying a malicious proposal contract that appeared harmless but, once passed, granted the attacker 1.2 million votes — enough to control governance entirely. The attacker used this control to drain locked TORN tokens from the governance contract. This attack was especially notable because the proposal's malicious nature was hidden behind a contract that appeared identical to a previous legitimate proposal, demonstrating that governance participants often vote without auditing the proposal's code.

⚠️ Warning: Governance attacks are particularly insidious because they are technically "legitimate" — the attacker follows the governance process. This makes them harder to prevent than code exploits and raises uncomfortable questions about what "decentralized governance" actually means when it can be purchased. The Tornado Cash attack added another dimension: even when voters participate, they may approve proposals they do not fully understand.


28.7 The Voter Apathy Problem

28.7.1 The Numbers Are Bad

If you define the health of a democracy by its participation rates, most DAOs are failed states. Here are real participation numbers:

DAO Typical Vote Participation (% of supply)
Uniswap 2-5%
Compound 3-7%
Aave 1-4%
ENS 5-12%
MakerDAO 5-10%
Optimism 10-20%
Arbitrum 3-8%

For context, the lowest voter turnout in a US presidential election since 1900 was approximately 49% (in 1996). Most DAO governance would make that look like a democratic triumph.

28.7.2 Why Don't People Vote?

The reasons for low participation in DAO governance are well-documented:

1. Rational Ignorance. Understanding a governance proposal requires reading technical documentation, assessing economic implications, and often understanding smart contract code. For a token holder with $1,000 worth of governance tokens, the time cost of doing this due diligence far exceeds the impact their vote could have on the outcome. It is rationally optimal to not vote.

2. Gas Costs. On-chain voting on Ethereum can cost $5-50 in gas per vote. For small holders, this is a meaningful cost for a negligible impact. (Snapshot's gasless voting has partially addressed this, but many final votes still happen on-chain.)

3. Proposal Volume. Active DAOs may have multiple proposals per week. Keeping up with all of them is a part-time job. Most token holders bought tokens as investments, not to become governance professionals.

4. Whale Dominance. When the top five delegates control enough votes to determine any outcome, small holders correctly perceive that their vote is irrelevant. This creates a self-reinforcing cycle: low participation concentrates power, which discourages participation, which concentrates power further.

5. Complexity. Many governance proposals are highly technical. A proposal to "adjust the stability fee for ETH-A vaults from 0.5% to 1.0%" requires understanding collateralization ratios, risk models, and monetary policy. Most token holders cannot evaluate this meaningfully.

28.7.3 Attempted Solutions

Delegation is the most widely adopted solution. By allowing passive holders to delegate to informed representatives, delegation channels voting power to people who actually engage with governance. Compound, Uniswap, ENS, and Optimism all use delegation extensively.

Governance incentives — paying people to vote — have been tried but are controversial. They risk rewarding uninformed voting and creating a class of professional voters who optimize for participation rewards rather than governance quality.

Governance mining (distributing additional tokens to active governance participants) aligns incentives somewhat but risks Sybil attacks and creates inflationary pressure.

Optimistic governance (proposals pass unless someone objects within a challenge period) reduces the burden on voters by requiring action only when there is a dispute, rather than for every proposal. This is the model used by Optimism's governance for certain proposal types.

Sub-DAOs and committees reduce the scope of decisions that require full DAO votes. Instead of every token holder voting on every parameter change, specialized committees handle routine decisions, with the full DAO voting only on committee composition and major strategic decisions.

💡 Key Insight: Voter apathy is not a bug unique to DAOs. It is a fundamental challenge of democratic governance in any context. National elections, corporate shareholder votes, homeowners' association meetings — all face the same dynamic. DAOs have not solved this problem, but they have made it visible and measurable in ways that traditional organizations do not.


28.8 The Plutocracy Problem

28.8.1 One Token, One Vote, One Problem

Token-weighted voting is, by definition, plutocratic. Wealth equals political power, without even the pretense of separation that exists in traditional democracies (where, in theory, a vote is a vote regardless of net worth).

Consider a concrete example: In Uniswap's governance, a16z (Andreessen Horowitz) holds approximately 55 million UNI tokens. The 250,000 addresses that received the original airdrop of 400 tokens each collectively hold 100 million tokens. A single venture capital firm has over half the voting power of a quarter million individuals.

This is not a failure of the system. This is the system. Token-weighted voting was designed to align voting power with economic stake, on the theory that large stakeholders have the most to lose from bad decisions. Whether that theory justifies the resulting power concentration is a philosophical question, not a technical one.

28.8.2 The Sybil Resistance Tradeoff

The fundamental reason token-weighted voting dominates is Sybil resistance. In a pseudonymous system, one-person-one-vote is impossible without some form of identity verification. Anyone can create unlimited Ethereum addresses for free. Without a way to verify that each address belongs to a unique human, any voting system that gives equal weight to each address can be trivially gamed by creating more addresses.

Token-weighted voting is Sybil-resistant because splitting tokens across wallets does not increase total voting power. Quadratic voting, which does resist plutocracy, is Sybil-vulnerable because splitting tokens across wallets increases effective voting power.

This is the fundamental tradeoff:

Sybil-Resistant + Fair  →  Requires identity verification (privacy concerns)
Sybil-Resistant + No ID →  Plutocratic (token-weighted)
Fair + No ID            →  Gameable (quadratic without Sybil protection)

There is no mechanism that is simultaneously Sybil-resistant, fair, and privacy-preserving. Every DAO governance design must choose which property to sacrifice.

28.8.3 Potential Mitigations

Vote-escrowed tokens (veTokens): Introduced by Curve Finance, this mechanism requires voters to lock their tokens for a period (up to four years) to receive voting power. Longer lockups receive more voting power. This does not eliminate plutocracy, but it ensures that voting power is held by committed long-term participants rather than short-term speculators.

Reputation systems: Some DAOs assign voting power based on contributions (code commits, governance participation, community engagement) rather than token holdings. SourceCred and Coordinape are tools that attempt to quantify contribution. These systems resist plutocracy but are subjective and gameable.

Dual-chamber governance: Optimism uses a bicameral system with a Token House (token-weighted voting by OP holders) and a Citizens' House (one-person-one-vote by holders of non-transferable citizenship NFTs). Proposals must pass both chambers. This balances plutocratic efficiency with democratic legitimacy, though the Citizens' House is still small and experimental.

Futarchy: Proposed by economist Robin Hanson, futarchy uses prediction markets to make governance decisions. Instead of voting on policies, participants bet on which policy will produce better outcomes. The policy with the higher predicted outcome is automatically adopted. No major DAO has fully implemented futarchy, but Gnosis has experimented with futarchy-adjacent mechanisms through conditional tokens and prediction market frameworks.

Time-weighted voting: Some protocols weight votes by how long the voter has held their tokens. A token held for one year carries more weight than a token purchased yesterday. This penalizes short-term speculation and flash loan attacks without requiring explicit lockups, but it adds complexity to the voting power calculation and may disadvantage legitimate new participants.

Rage quit mechanisms: Popularized by Moloch DAO, "rage quit" allows any member to exit the DAO and withdraw their proportional share of the treasury before a proposal they disagree with takes effect. This gives dissenting minorities a meaningful recourse beyond simply being outvoted. The combination of rage quit with timelocks creates a governance system where the majority can make decisions but the minority can exit rather than be forced to participate in outcomes they find unacceptable.


Traditional legal systems recognize specific organizational forms: corporations, partnerships, LLCs, trusts, cooperatives, nonprofits. Each form carries defined rights, obligations, and liability structures. DAOs fit none of them.

By default, a DAO with no legal wrapper is treated as a general partnership in most jurisdictions. This means that every token holder is potentially personally liable for the DAO's debts and legal obligations — unlimited personal liability, shared jointly and severally among all members. For a DAO with 50,000 token holders, this is both absurd and terrifying.

This legal ambiguity creates real problems: - DAOs cannot sign contracts, lease office space, or open bank accounts - DAOs cannot sue or be sued (or rather, suing a DAO means suing its individual members) - DAO contributors may face personal tax liability with no organizational structure to manage it - Regulatory compliance (KYC/AML, securities law) is unclear - Intellectual property ownership is undefined

28.9.2 Wyoming: The DAO LLC

In 2021, Wyoming became the first US state to recognize DAOs as a legal entity, with the Wyoming DAO LLC Act (originally passed as a supplement to existing LLC law and later expanded). A Wyoming DAO LLC provides:

  • Limited liability for members (token holders are not personally liable for the DAO's obligations)
  • Legal personhood (the DAO can sign contracts, hold property, and interact with the legal system)
  • Smart contract governance (the DAO's operating agreement can reference smart contracts as the governance mechanism)
  • Flexibility in structure (member-managed or algorithmically managed)

The catch: Wyoming's law requires the DAO to have a registered agent in Wyoming, file annual reports, and comply with state regulations. Some argue this defeats the purpose of decentralization. Others argue that legal recognition is a prerequisite for mainstream adoption.

As of 2025, several hundred DAOs have registered as Wyoming DAO LLCs, though the legal framework is still being tested in courts and the practical implications are not fully resolved.

28.9.3 Marshall Islands: Sovereign Recognition

In February 2022, the Republic of the Marshall Islands amended its Nonprofit Entities Act to recognize DAOs as legal entities. The law was specifically designed to accommodate decentralized governance structures and does not require a physical presence in the Marshall Islands.

The Marshall Islands' approach is more permissive than Wyoming's, allowing DAOs to register as nonprofit LLCs with governance defined entirely by smart contracts. However, the practical enforceability of Marshall Islands law in other jurisdictions is uncertain, and some critics view it as regulatory arbitrage rather than genuine legal innovation.

28.9.4 Switzerland: Foundation Model

Switzerland has become a popular jurisdiction for DAO legal structures, primarily through the Swiss Foundation model. A Swiss Foundation can serve as the legal wrapper for a DAO, holding assets, entering contracts, and providing the legal interface between the DAO's on-chain governance and the off-chain legal system.

Major DAOs using Swiss Foundations include the Ethereum Foundation itself, the Solana Foundation, and several DeFi protocols. The advantages include Switzerland's regulatory clarity, political stability, and favorable tax treatment for foundations. The disadvantage is cost — establishing and maintaining a Swiss Foundation is significantly more expensive than a Wyoming LLC.

28.9.5 The Liability Question

The most pressing legal issue for DAOs is liability. In 2023, the CFTC (Commodity Futures Trading Commission) brought an enforcement action against Ooki DAO, arguing that the DAO's token holders were collectively liable for operating an unregistered trading platform. A federal court agreed, holding that the DAO could be served notice through its governance forum and that token holders who voted on governance proposals were members of an unincorporated association liable for its actions.

This ruling sent shockwaves through the DAO ecosystem. If voting in a DAO's governance makes you personally liable for the DAO's legal violations, the risk calculus for governance participation changes dramatically. Some commentators argued this would kill DAO governance. Others argued it would force DAOs to adopt proper legal structures — which, they contended, was long overdue.

The legal status of DAOs is not merely an academic concern. It has practical consequences for every participant:

  • Tax obligations: DAO treasury distributions, staking rewards, and governance compensation all have tax implications. Without a legal entity, there is no structure to issue tax documents (1099s, K-1s) or manage withholding.
  • Employment law: Many DAOs compensate contributors. Without a legal entity, these relationships exist in a legal gray area — contributors may be classified as employees of an unincorporated association, with all the labor law implications that entails.
  • Regulatory compliance: DeFi protocols that are governed by DAOs may face securities law, money transmission, and KYC/AML requirements. A DAO without a legal wrapper has no mechanism to comply, which puts individual governance participants at risk.
  • Insurance and indemnification: Traditional organizations carry liability insurance and can indemnify their officers. A DAO without a legal structure cannot purchase insurance or contractually protect its contributors.

The most pragmatic approach, adopted by an increasing number of serious DAOs, is to create a legal entity (typically a foundation or LLC) that serves as the DAO's interface with the legal system, while preserving on-chain governance for protocol-level decisions. This "legal wrapper" approach is imperfect — it reintroduces centralized elements — but it addresses the most pressing liability and compliance concerns.

⚖️ Legal Reality: The legal landscape for DAOs is evolving rapidly and varies dramatically by jurisdiction. Any DAO managing significant assets should obtain qualified legal counsel. This textbook provides educational context, not legal advice.


28.10 Progressive Project: Adding Governance to Our Voting dApp

In this section, we implement the governance layer for our progressive project. We will build two contracts: a GovernorContract that handles proposal creation, voting, and execution, and a Timelock contract that enforces a delay between proposal approval and execution.

28.10.1 Architecture Overview

Our governance system follows the OpenZeppelin Governor pattern, one of the most battle-tested governance frameworks in production:

Token Holders
    │
    ├── propose()  →  Create a new proposal
    ├── castVote() →  Vote on an active proposal
    │
    ▼
GovernorContract
    │
    ├── Proposal passes (quorum + majority)
    │
    ▼
Timelock (minimum delay before execution)
    │
    ├── execute() → Calls target contract
    │
    ▼
Target Contract (any on-chain action)

The Timelock is the critical safety mechanism. After a proposal passes, there is a mandatory waiting period before execution. During this window, anyone who disagrees with the outcome can exit the system (sell tokens, withdraw funds, etc.) before the proposal takes effect. This prevents governance attacks where a malicious proposal passes and executes before anyone can react.

28.10.2 The Timelock Contract

The Timelock contract is the executor of all governance decisions. The GovernorContract does not directly execute proposals — it queues them in the Timelock, which enforces a minimum delay.

// See code/Timelock.sol for the full implementation

Key design decisions in our Timelock:

  1. Minimum delay of 1 day: Proposals cannot execute sooner than 24 hours after approval. This gives the community time to review and react.
  2. Role-based access: Only the Governor can schedule operations. Only the Governor or authorized executors can execute them. An admin role exists for initial setup but should be renounced after deployment.
  3. Cancellation capability: The Governor can cancel scheduled operations if circumstances change.

28.10.3 The Governor Contract

The GovernorContract is the heart of our DAO governance. It manages the entire proposal lifecycle: creation, voting, counting, and queuing for execution.

// See code/GovernorContract.sol for the full implementation

Key parameters in our Governor:

  • Voting delay: 1 block (the time between proposal creation and the start of voting). In production, this might be longer (e.g., 1 day) to give people time to acquire tokens and delegate.
  • Voting period: 50,400 blocks (~1 week on Ethereum). This gives token holders adequate time to review proposals and vote.
  • Proposal threshold: 0 tokens (anyone can propose). In production, this should be higher to prevent spam.
  • Quorum: 4% of total supply must participate for a vote to be valid.

28.10.4 How Voting Works

When a token holder casts a vote, the Governor records their voting power as of the proposal snapshot block — the block at which the proposal was created. This prevents flash loan attacks: an attacker cannot borrow tokens, vote, and return them in a single transaction because their balance at the snapshot block is zero.

The voting process supports three options: For, Against, and Abstain. Abstain votes count toward quorum but not toward the majority calculation. This allows token holders to signal engagement without taking a position — useful when a proposal is complex and a holder wants to ensure quorum is met without endorsing or opposing the specific action.

28.10.5 Integration with the Progressive Project

Our governance contracts integrate with the VotingToken from Chapter 26. The VotingToken serves dual purpose: it is both the governance token (determining voting power) and the token that the DAO's treasury holds.

To deploy the full governance stack:

  1. Deploy the VotingToken (from Chapter 26)
  2. Deploy the Timelock with a 1-day minimum delay
  3. Deploy the GovernorContract, pointing it at the VotingToken and Timelock
  4. Grant the GovernorContract the PROPOSER_ROLE on the Timelock
  5. Grant the Timelock the EXECUTOR_ROLE (so anyone can trigger execution after the delay)
  6. Renounce the admin role on the Timelock (removing centralized control)

After setup, the only way to execute actions through the Timelock is via proposals that pass the GovernorContract's voting process. This is the foundation of trustless governance.

28.10.6 Testing the Governance Flow

A complete governance test would proceed as follows:

  1. Propose: A token holder calls propose() with a description and the on-chain actions to execute (target address, calldata, value).
  2. Vote: After the voting delay, token holders call castVote() or castVoteWithReason() to vote For, Against, or Abstain.
  3. Queue: After the voting period ends and the proposal has passed (quorum met, majority achieved), anyone calls queue() to schedule the proposal in the Timelock.
  4. Execute: After the Timelock delay expires, anyone calls execute() to trigger the on-chain actions.

Each of these steps can be tested using Hardhat or Foundry by manipulating block numbers (to advance through voting periods) and calling the appropriate functions. In Hardhat, use mine() to advance blocks and increaseTime() to advance the clock past the timelock delay. In Foundry, use vm.roll() and vm.warp() for the same purpose.

28.10.7 Common Pitfalls in Governance Implementation

Several mistakes are common when implementing DAO governance for the first time:

1. Forgetting to renounce the admin role. If the deployer retains the DEFAULT_ADMIN_ROLE on the Timelock, they can grant themselves any role — including the ability to bypass governance entirely. This is the most common centralization backdoor in DAO deployments. Always verify that the admin role has been renounced after setup.

2. Setting the proposal threshold too low (or too high). A threshold of zero means anyone can create proposals, including spam proposals and governance attacks. A threshold that is too high means only whales can propose, defeating the purpose of decentralized governance. Start with a reasonable threshold (0.1-1% of supply) and adjust through governance.

3. Ignoring the quorum-participation relationship. If your quorum is set at 4% but typical participation is 3%, no proposal will ever pass. Monitor participation rates and adjust quorum accordingly — but never set it so low that a tiny minority can pass proposals without broader awareness.

4. Not testing the timelock cancellation path. What happens if a proposal passes but circumstances change before execution? The Governor must be able to cancel queued operations. Test this path explicitly, because the first time you need it will be an emergency.

Best Practice: Always test the full governance lifecycle — propose, vote, queue, execute — in your test suite. Test edge cases: proposals that fail quorum, proposals that are defeated, proposals that are cancelled during the timelock, and multiple simultaneous proposals.


28.11 Summary and Bridge to Part VII

DAOs represent one of the most ambitious experiments in human coordination. They are trying to answer the question: can groups of strangers, connected only by code and economic incentives, make collective decisions that are both legitimate and effective?

The evidence so far is mixed but fascinating. DAOs have successfully governed billions of dollars in protocol treasuries. They have funded public goods through novel mechanisms. They have made hundreds of important decisions about monetary policy, risk management, and protocol development. But they have also been hacked, manipulated, and dominated by wealthy insiders. They suffer from voter apathy, plutocratic power concentration, and legal ambiguity.

The governance mechanisms — token-weighted voting, quadratic voting, conviction voting, delegation — each represent a different theory about how collective decisions should work. None is perfect. Each trades off between fairness, efficiency, security, and simplicity. The most successful DAOs use hybrid approaches: delegation to address apathy, timelocks to address attacks, committees to address complexity, and off-chain discussion to address the limitations of on-chain governance.

The legal landscape is evolving, with Wyoming, the Marshall Islands, and Switzerland offering frameworks for legal recognition. But the fundamental tension between decentralized governance and legal systems built for identifiable entities remains unresolved. The CFTC's action against Ooki DAO suggests that regulators will not wait for DAOs to figure out their legal status.

Key takeaways from this chapter:

  1. A DAO is a smart-contract-governed organization with a shared treasury and defined governance process — not an autonomous entity that runs itself
  2. The DAO hack of 2016 demonstrated that "code is law" has limits, and the resulting fork proved that even "immutable" blockchains are governed by social consensus
  3. Token-weighted voting is plutocratic by design; alternatives like quadratic and conviction voting have their own tradeoffs
  4. Voter apathy affects virtually every DAO, with typical participation rates below 10%
  5. The legal status of DAOs is unsettled, and operating without a legal wrapper creates real liability risks
  6. Timelocks, snapshot voting, and delegation are essential safety and usability mechanisms for any production governance system

Looking ahead to Part VII, we will shift from governance to the broader blockchain ecosystem — scalability solutions, interoperability between chains, and the infrastructure that makes the applications we have been building actually usable at scale. The governance mechanisms from this chapter will remain relevant: many scaling solutions (Layer 2 rollups, bridges) are themselves governed by DAOs, and the challenges of decentralized governance extend to every layer of the blockchain stack.

🔗 Cross-Reference: The GovernorContract and Timelock from this chapter's progressive project will be used again in Chapter 35 (Full dApp Development), where we integrate governance into a complete decentralized application with a frontend interface.