0PricingLogin
Web3 & DApp Development Fundamentals · Lesson

Proposals and Voting

Governor contracts.

The Governance Lifecycle

On-chain governance follows a clear lifecycle: propose, vote, queue, execute.

Each stage is handled by a Governor smart contract that enforces the rules automatically.

The Governor Contract

OpenZeppelin's Governor is the standard framework for DAO voting. It manages proposals, tallies votes, and triggers execution.

It is modular: you plug in a vote-counting strategy, a token, and timing parameters.

contract MyGovernor is
    Governor,
    GovernorVotes,
    GovernorVotesQuorumFraction,
    GovernorTimelockControl
{ /* ... */ }

All lessons in this course

  1. What Is a DAO
  2. Governance Tokens
  3. Proposals and Voting
  4. Timelocks and Execution
← Back to Web3 & DApp Development Fundamentals