DAO House
Voting Architecture & Security

On-chain vs. off-chain governance compared

Choosing between on-chain Governor contracts and off-chain Snapshot voting comes down to who holds final execution authority, what gas cost voters can bear, and how much latency your protocol requires before code or funds move.

Side-by-side architecture comparison

Most mature DAOs do not treat on-chain and off-chain voting as mutually exclusive. Instead, they map each decision class to the execution guarantee it actually needs.

DimensionPure Off-Chain (Snapshot + Safe Multisig)Optimistic Bridge (Snapshot + oSnap / Reality.eth)Full On-Chain (OpenZeppelin Governor + Timelock)
Voter transaction costZero gas (EIP-712 signature).Zero gas for voters; bond posted by proposer/asserter.Network gas per vote (low on L2s, meaningful on Ethereum L1 unless gasless relayers are funded).
Execution authorityHuman multisig signers execute matching transactions manually.Safe module executes transaction bundle automatically after challenge window unless disputed.Smart contract executes exact queued calldata automatically after timelock expires.
Voting power sourceFlexible multi-chain, LP, and staking strategies via archive RPC.Same Snapshot strategies, governed by verifiable rule set.Strictly on-chain checkpointed tokens (ERC20Votes / ERC721Votes) or cross-chain state proofs.
Censorship & capture riskMultisig can refuse to execute (human social veto) or go rogue if signers collude.Relies on active monitors/disputers watching the liveness bond window.Zero human intermediary; entirely bound by quorum, vote duration, timelock, and optional security council veto.
Best fitSignal polls, working-group charters, temperature checks, early DAOs.Recurring treasury grants and routine Safe operations with transparent rules.Protocol upgrades, fee switches, core smart contract parameters, large treasury vaults.

How OpenZeppelin Governor + Timelock works

OpenZeppelin’s Governor contract family (evolving from Compound’s Governor Bravo design) is the dominant standard for binding on-chain governance across Ethereum and EVM rollups, typically accessed via frontends like Tally or custom DAO portals.

Every on-chain proposal embeds immutable executable payload arrays directly inside the proposal itself: targets[] (contract addresses), values[] (ETH amounts), and calldatas[] (ABI-encoded function calls). The lifecycle enforces strict state-machine transitions:

  1. Pending (Voting Delay): Between proposal submission and the proposalSnapshot block, token holders can inspect the calldata, delegate, or move tokens before voting power freezes.
  2. Active (Voting Period): Addresses with checkpointed getPastVotes(account, snapshotBlock) call castVote, castVoteWithReason, or castVoteBySig.
  3. Succeeded → Queued (Timelock): If quorum and approval thresholds are met, anyone queues the payload into TimelockController, triggering a mandatory waiting period (commonly 2 to 7 days) before execution.
  4. Executed: Once the timelock timestamp passes, anyone can trigger execution. No multisig signer can silently alter the calldata between vote and execution because the exact hash was committed at proposal creation.

Bridging off-chain votes to on-chain execution

When a DAO wants zero-gas voting without leaving execution purely at the discretion of a multisig, it attaches a zodiac-compatible Safe Module to its treasury Safe:

Monitoring requirement

Optimistic execution modules are only as secure as the people and bots watching them. Never enable an optimistic bridge without automated transaction-simulation alerts, clear human-readable execution rules, and at least one funded watchdog able to post a dispute bond before the challenge period closes.

The standard two-stage hybrid model

High-signal DAOs pair both systems to maximize voter participation while protecting protocol security:

When to require binding on-chain execution