Previous Module
Polkadot Parachain Game

🏛️ On-Chain Governance: Protocol Upgrades

Learn how blockchains upgrade through token holder votes

Introduction to On-chain Governance

What is On-chain Governance?

On-chain governance enables decentralized protocols to evolve through token holder voting, with proposals and execution handled entirely on the blockchain. Unlike traditional corporate governance or off-chain signaling, on-chain systems enforce decisions automatically through smart contracts.

🗳️ Governance Protocol Explorer

Explore how major DeFi protocols implement on-chain governance:

Compound Governance

Governance Token
COMP
Proposal Threshold
25,000 COMP
Quorum Required
400,000 COMP
Voting Period
3 days
Execution Delay
2 days

Core Components

🎫 Governance Tokens

Tokens representing voting power in protocol decisions. Holders can create proposals, vote on changes, and delegate their voting power to representatives.

📝 Proposals

On-chain transactions proposing parameter changes, upgrades, or fund allocations. Each proposal contains executable code that runs if the vote passes.

🗳️ Voting Mechanisms

Systems determining how votes are counted: token-weighted, quadratic, conviction voting, or delegated models. Each has tradeoffs between plutocracy and sybil resistance.

⏱️ Timelocks

Mandatory delay between proposal approval and execution, allowing stakeholders to exit if they disagree with changes. Critical security mechanism against governance attacks.

On-chain vs Off-chain Governance

AspectOn-chainOff-chain
ExecutionAutomatic via smart contractsManual by core team
TransparencyFully transparent and verifiableDepends on team disclosure
CostGas fees for votingFree (Snapshot)
SpeedDays to weeksHours to days
FlexibilityLimited to coded optionsHigh flexibility

⚠️ The Governance Trilemma

On-chain governance faces three competing objectives that cannot all be maximized simultaneously:

  • Decentralization: Broad distribution of voting power prevents concentration
  • Efficiency: Fast decisions without excessive overhead or voter apathy
  • Security: Protection against governance attacks, vote buying, and manipulation

Why On-chain Governance Matters

🔓
Credible Neutrality
Rules enforced by code rather than trusted administrators, making protocols truly decentralized
🔄
Protocol Evolution
Enables continuous improvement and adaptation without centralized control or hard forks
🛡️
Stakeholder Alignment
Token holders economically incentivized to make decisions benefiting protocol value
⚖️
Transparent Accountability
All proposals, votes, and executions publicly verifiable on-chain forever