Decentralized Autonomous Organizations (DAOs) represent the codification of organizational decision-making through smart contracts. By shifting authority from human-controlled multisigs to transparent, executable code, these entities aim to distribute influence according to predefined rules.
What a DAO is, technically
Technically, a DAO is an ensemble of smart contracts that manage a treasury and allow token holders to signal intent through onchain actions. The most common architecture is the OpenZeppelin Governor pattern. This system requires a governance token, a voting contract, and a timelock controller to manage the execution of successful proposals.
The system relies on several parameters that determine the health of the DAO:
votingDelay: Time before voting begins after a proposal is created.votingPeriod: The duration during which users can cast votes.proposalThreshold: The minimum amount of tokens needed to submit a proposal.quorum: The minimum participation required for a proposal to be valid.
Token voting and delegation
In a standard governance token, voting power is often represented by a balance of ERC-20 tokens. To prevent double-voting or the use of flash loans to sway a vote, these tokens implement checkpointing. The contract stores the balance of a user at a specific blockNumber (via getPastVotes), ensuring that an account cannot borrow tokens, vote, and return them in the same transaction block.
Delegation is a critical feature allowing smaller holders to consolidate their weight behind trusted representatives. Users can call delegate(address delegatee) to point their voting power to a specific address without transferring the tokens themselves. This creates a separation between capital ownership and governance influence, facilitating the emergence of professional delegates.
The proposal lifecycle
Proposals go through a strict state machine. A proposer creates a proposal using propose(), which includes the target contract addresses, calldata, and a description. After the votingDelay passes, the votingPeriod opens.
Users vote on the proposal using castVote(uint256 proposalId, uint8 support). If the quorum is met and the "for" votes outweigh the "against" votes, the proposal can be queued in the Timelock controller. The timelock acts as a safety mechanism, ensuring that even if a malicious proposal passes, users have a window of time to withdraw their assets before the changes take effect.
Timelocks and execution
The Timelock controller stores the proposal as a pending operation. After the delay period—usually 48 hours to 7 days—expires, the proposal is marked as ready for execution. The execute() function triggers the low-level calls defined in the proposal, such as transferring treasury funds or upgrading a proxy implementation.
| Mechanism | Function | Purpose |
| :--- | :--- | :--- |
| Governance | propose() | State initiation |
| Voting | castVote() | Signal sentiment |
| Timelock | queue() | Delay execution |
| Execution | execute() | Apply changes |
How governance fails
Governance failure often arises when the incentive structure does not align with the protocol's stability. One common failure is "governance capture," where a large entity, such as a centralized exchange or a whale, accumulates sufficient tokens to pass self-serving proposals.
Another failure is low participation. If quorum is never reached, the DAO effectively stagnates. Worse, some DAOs move sensitive parameter changes (like risk parameters or treasury allocations) to a multisig if they find onchain governance too slow or expensive. This adds a central point of failure, as a small group of multisig signers could theoretically bypass the community's intent, rendering the entire onchain rulebook cosmetic.