The MolochDAO Framework is a set of audited, minimalist Ethereum smart contracts that enable the creation of decentralized autonomous organizations (DAOs) for pooled funding and grantmaking. Originally built for the MolochDAO—a collective funding Ethereum 2.0 development—the framework codifies a ragequit mechanism, where members can exit with a proportional share of the DAO's assets if they disagree with a proposal. Its core innovation is using tribal coordination and exit rights to solve the "free-rider problem" in public goods funding, making it a foundational primitive for minimal viable DAOs.
MolochDAO Framework
What is the MolochDAO Framework?
The MolochDAO Framework is a minimalist, open-source smart contract system for creating and managing decentralized autonomous organizations (DAOs) focused on collective funding and resource allocation.
The framework operates on a share-based membership model. Members contribute a stake (typically in ETH or a designated token) to join and receive non-transferable shares, which represent both voting power and a claim on the guild bank's treasury. Proposals—such as funding a project or adding a new member—require a deposit and are voted on by share-weighted voting. A key security feature is the grace period, a delay between a proposal's passage and its execution, during which dissenting members can ragequit by burning their shares for a proportional amount of the treasury, protecting minority interests.
Its minimalist design makes the MolochDAO Framework highly gas-efficient and auditable, leading to widespread forks and adaptations. Notable derivatives include MetaCartel Ventures (a for-profit DAO for early-stage web3 investments) and The LAO (a venture DAO structured for legal compliance). The framework's core contracts handle proposal management, voting, and asset safekeeping in a single, integrated system, establishing a standard template for DAOs prioritizing transparent, member-aligned capital allocation over complex governance features.
Etymology and Origin
The MolochDAO framework, a foundational smart contract system for decentralized governance, derives its name and philosophical underpinnings from a provocative thought experiment in game theory.
The name MolochDAO is a direct reference to Moloch, a Canaanite deity associated with child sacrifice, famously invoked in economist Mancur Olson's 1965 book The Logic of Collective Action and later by computer scientist Scott Alexander in his 2014 essay, Meditations on Moloch. In this context, Moloch represents a coordination failure or a multi-agent game where individual rational incentives lead to a collectively disastrous outcome for all participants, a scenario also known as a multi-polar trap. The framework's creators, Ameen Soleimani and the SpankChain team, chose this name to explicitly frame the core problem the DAO aims to solve: overcoming these destructive coordination failures in decentralized ecosystems.
The framework originated in early 2019 as a Minimal Viable DAO (MVD) built specifically to fund Ethereum infrastructure projects, most notably the Eth 2.0 client teams. Its design was a direct, pragmatic response to the perceived inefficiencies and high transaction costs of earlier, more complex DAO models. The primary innovation was the ragequit mechanism, which allows members to exit with a proportional share of the guild bank's assets if they disagree with a funding proposal. This introduced a powerful new exit-based governance primitive, shifting the dynamic from pure voting to a system where capital allocation signals are backed by direct economic consequence.
The philosophical origin of MolochDAO is deeply rooted in crypto-economic game theory and the public goods funding problem. It operationalizes the idea that proper mechanism design can align individual incentives with collective good, effectively "slaying" the Moloch of coordination failure. The framework's stark minimalism—embodying principles like proposal scarcity through a single, non-delegatable share structure—was intended to make coordination failures glaringly obvious and costly, forcing participants to find cooperative equilibria. This design philosophy has made it a template for hundreds of grant-giving DAOs and investment clubs across the Web3 space.
Key Features
The MolochDAO framework is a set of smart contracts that enables the creation of minimalist, gas-efficient DAOs for collective funding and governance. Its core innovation is the ragequit mechanism, which allows members to exit with a proportional share of the treasury.
Ragequit Mechanism
The ragequit function is a foundational feature that allows any member to immediately withdraw their proportional share of the DAO's treasury assets at any time. This creates a powerful alignment mechanism:
- Prevents minority oppression: Members can exit if they disagree with a proposal's outcome.
- Enforces proposal quality: Sponsors risk having the treasury shrink if their proposal is poorly received.
- Operates on vested shares: Members can only withdraw assets corresponding to their fully vested share balance.
Guild Bank & Multi-Asset Treasury
The Guild Bank is the DAO's on-chain treasury contract. It is designed to hold multiple ERC-20 tokens and NFTs (in v2+).
- Collective ownership: All assets are owned by the Guild Bank smart contract, not individual members.
- Proportional claims: A member's claim is defined by their share of the total loot or shares.
- Gas efficiency: Uses internal accounting to minimize transactions when distributing funds for proposals.
Shares vs. Loot (V2)
Moloch V2 introduced a dual-token model to separate governance rights from economic claims.
- Shares: Represent both voting power and a claim on the treasury. Used to sponsor and vote on proposals.
- Loot: Represents a pure economic claim on the treasury with no voting rights. This allows for passive investment and cleaner delegation of governance.
- Ragequit applies to both: Members can exit with assets proportional to their combined shares and loot.
Proposal Flow & Grace Period
The governance process follows a strict, time-based sequence to ensure deliberation.
- Sponsorship: A member deposits a proposal deposit to submit a proposal.
- Voting Period: Members vote YES or NO using their shares.
- Grace Period: A mandatory delay after voting ends before execution, allowing members to ragequit if they oppose the result.
- Execution: If passed, the proposal processor can execute the requested actions (e.g., funding, membership changes).
Minimalist & Forkable Design
The framework is intentionally minimal and unopinionated, providing only the essential primitives for a funding DAO.
- Gas-optimized: Contracts are written for efficiency, a critical consideration during early development on Ethereum.
- Forkable codebase: Served as the template for hundreds of MolochDAO forks like MetaCartel, The LAO, and Venture DAOs.
- Standard reference: Its patterns influenced later DAO standards, establishing conventions for member onboarding, proposal sponsorship, and quorum.
Tributecap & Funding Limits
To manage dilution and concentration risk, the framework includes a tribute system with built-in limits.
- Tribute: The payment (in ETH or tokens) a prospective member offers in exchange for shares or loot.
- Tribute Cap: A DAO-configured maximum amount of tribute that can be accepted in a single proposal, preventing a single entity from gaining excessive control.
- Funding Proposals: Grants to non-members are also processed as proposals where the recipient address is the applicant.
How the MolochDAO Framework Works
The MolochDAO framework is a minimalist, open-source smart contract system designed for coordinating capital and collective action within decentralized autonomous organizations (DAOs).
The MolochDAO framework is a minimalist, open-source smart contract system designed for coordinating capital and collective action within decentralized autonomous organizations (DAOs). Its core innovation is the ragequit mechanism, which allows members to exit the DAO at any time by burning their shares to claim a proportional amount of the treasury's assets. This creates a powerful alignment mechanism, as dissatisfied members can leave with their funds rather than being forced to fight for control, reducing internal conflict and governance attacks. The framework was originally built for the Ethereum blockchain and is defined by its stark simplicity and focus on security.
Governance in a Moloch-style DAO operates on a one-share-one-vote basis, where members hold non-transferable shares representing both voting power and a claim on the treasury. Proposals—such as funding a grant, adding a new member, or swapping treasury assets—are submitted by members and enter a grace period for discussion. A formal voting period follows, requiring a majority of shares to pass. The entire process is trust-minimized and executed on-chain, with proposals automatically enacting if approved. This structure makes it particularly suited for grant-making DAOs and small, focused working groups where clear accountability is required.
The framework's architecture is intentionally minimal to reduce attack surfaces and audit complexity. Key smart contract functions include submitProposal, submitVote, processProposal, and ragequit. This simplicity has made it a foundational DAO primitive, inspiring forks and adaptations across the ecosystem. While later frameworks like Compound's Governor introduced more complex features (e.g., token-weighted voting, delegation, timelocks), Moloch's design philosophy prioritizes security and exit rights above all else, establishing a gold standard for minimal viable DAO infrastructure.
Evolution: Moloch v2
Moloch v2 is a significant upgrade to the original MolochDAO smart contract framework, introducing flexible proposals, multi-token treasuries, and ragequit mechanisms to create a more powerful and adaptable foundation for decentralized autonomous organizations.
Moloch v2 is a modular smart contract framework for decentralized autonomous organizations (DAOs) that evolved from the original MolochDAO to address its limitations in capital efficiency and proposal flexibility. The core innovation is the separation of voting shares from loot, or non-voting economic interest. This allows members to hold economic stake without diluting governance power and enables the DAO to manage a multi-asset treasury, including any ERC-20 token. The framework is defined by its minimalist, battle-tested codebase, which prioritizes security and gas efficiency.
A key mechanism introduced in v2 is ragequit, which allows members to exit the DAO at any time by burning their shares or loot to claim a proportional amount of the treasury's assets. This creates a crucial pressure release valve, aligning incentives and allowing members to dissent by exiting if they disagree with a passed proposal. The proposal system was also overhauled, supporting not just grants but also complex transactions like token swaps, payroll, and contract interactions through its Guild Bank and WrapNZap functionality, making the DAO a more active economic agent.
The framework's design emphasizes exit over voice, reducing governance friction by making it easier for members to leave than to fight contentious proposals. This principle, along with features like tributing (contributing capital for shares) and grace periods for proposal voting, has made Moloch v2 a foundational primitive. It has been forked and adapted to launch numerous notable DAOs, including The LAO, MetaCartel Ventures, and Venture DAO, establishing it as a standard template for investment clubs, grant-making collectives, and project treasuries in the Ethereum ecosystem.
Examples and Use Cases
The MolochDAO framework is a minimal, battle-tested smart contract system for managing shared treasuries and collective governance. Its core innovation is the ragequit mechanism, which allows members to exit with their proportional share of assets at any time. This section explores its primary implementations and adaptations.
Comparison: Moloch v1 vs. Moloch v2
Key technical and functional differences between the original Moloch DAO framework and its major upgrade.
| Feature | Moloch v1 (Classic) | Moloch v2 (Minion) |
|---|---|---|
Core Contract Architecture | Single monolithic contract | Modular, upgradeable contracts |
Proposal Types | Funding proposals only | Funding, trade, minion, and whitelist proposals |
External Asset Management | ||
Guild Bank Token Support | ERC-20 only | ERC-20, ERC-721, ERC-1155 |
Ragequit Mechanism | Immediate, proportional | Immediate, proportional |
Delegate Call Functionality | ||
Typical Use Case | Simple grant funding DAOs | Venture DAOs, investment clubs, project treasuries |
Gas Cost for Proposal Processing | Lower | Higher (increased functionality) |
Security and Design Considerations
The MolochDAO framework is a minimal, battle-tested smart contract system for creating decentralized autonomous organizations (DAOs) focused on collective funding and governance. Its security is derived from its simplicity and the specific trade-offs made for its intended use case.
Ragequit Mechanism
A core security and exit feature that allows members to withdraw their proportional share of the DAO's treasury at any time by burning their shares. This creates a powerful check on governance, as members can exit with their funds if they disagree with a proposal, reducing the risk of hostile takeovers or treasury mismanagement. It enforces continuous alignment between the member's stake and the DAO's asset portfolio.
Minimalist & Audited Codebase
The framework's primary security advantage is its extreme simplicity and small attack surface. The original v2 contract comprises fewer than 400 lines of Solidity, making it easier to formally verify and audit. This reduces the risk of unexpected vulnerabilities compared to more complex DAO frameworks. Its design follows the principle of doing one thing (funding proposals) very well.
Proposal & Voting Security
Governance operates on a single, configurable voting token (shares) and uses a simple majority vote. Key design choices include:
- No delegation: Prevents vote concentration and sybil attack vectors.
- Voting period & grace period: A defined voting window followed by a delay before execution, allowing time for ragequit if a proposal passes.
- Sponsorship requirement: A member must stake a proposal deposit to submit a proposal, which is only returned if the vote passes, preventing spam.
Treasury & Asset Management
The DAO treasury is held directly by the smart contract. Considerations include:
- Native asset focus: Originally designed for ETH, requiring wrappers for ERC-20 tokens, which adds complexity.
- No built-in diversification: The ragequit function means the treasury's asset composition directly impacts member exit value, creating pressure against highly speculative holdings.
- Guild Bank separation: In v2, a separate 'Guild Bank' contract holds non-share capital, providing a layer of separation between member shares and grant assets.
Sybil Resistance & Membership
The framework itself is not natively sybil resistant; it relies on the DAO's membership proposal process to gatekeep entry. Security is delegated to the social layer of existing members who must approve new applicants via proposal. This makes it suitable for smaller, known-entity groups (like a grant committee) rather than permissionless, token-weighted governance. The cost of a share (tribute) is set per proposal.
Known Limitations & Trade-offs
The security model involves explicit trade-offs for simplicity:
- No built-in timelocks: On-chain execution is immediate after the grace period.
- Limited governance flexibility: Complex voting systems (quadratic, conviction) are not supported.
- Gas intensity: Ragequitting and processing proposals can be gas-expensive, a trade-off for on-chain enforceability.
- Upgradeability: Early versions lacked upgrade mechanisms, favoring immutability. Later forks like Moloch V2 introduced limited, governance-controlled upgrade paths.
Common Misconceptions
The MolochDAO framework is a foundational piece of DAO infrastructure, but its specific mechanics and design philosophy are often misunderstood. This section clarifies its core purpose, governance model, and how it differs from other DAO tooling.
MolochDAO is primarily a framework for building DAOs, not just a single organization. The original MolochDAO, launched in 2019, was a specific grant-giving DAO for Ethereum public goods, but its underlying smart contract code has been generalized into a widely adopted framework for creating minimum viable DAOs (MVPs). This framework powers hundreds of DAOs, including many MetaCartel Ventures and The LAO, which are distinct entities using the same core mechanics of ragequit, guild kick, and proposal-based funding.
Frequently Asked Questions (FAQ)
Essential questions and answers about the MolochDAO framework, a foundational smart contract system for decentralized governance and funding.
MolochDAO is a minimal, gas-optimized smart contract framework for creating decentralized autonomous organizations (DAOs) focused on collective funding and resource allocation. It works on a proposal-based governance model where members pool capital (typically ETH or a native tribute token) and vote using their shares to approve or reject funding requests. Approved proposals transfer funds from the DAO's treasury to the applicant, while rejected proposals see the applicant's submitted tribute (a security deposit) forfeited to the treasury. This creates a skin-in-the-game mechanism for both proposers and voters.
Get In Touch
today.
Our experts will offer a free quote and a 30min call to discuss your project.