Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
network-states-and-pop-up-cities
Blog

The Future of Public Goods Funding Is On-Chain Treasuries

Annual budget cycles are a relic. This analysis argues for continuous, transparent treasury streams managed by smart contracts as the operational backbone for network states and pop-up cities, replacing opaque municipal finance.

introduction
THE PARADIGM SHIFT

Introduction

On-chain treasuries are replacing traditional grant programs as the primary mechanism for funding public goods.

On-chain treasuries are superior because they embed funding logic directly into protocol mechanics, creating a self-sustaining flywheel. This replaces the manual, opaque grant committees of traditional models like Gitcoin Grants with automated, transparent, and continuous capital allocation.

The key is programmable cash flow from protocol revenue or tokenomics, not one-time donations. Protocols like Optimism's RetroPGF and Arbitrum's DAO Treasury demonstrate this by allocating millions from sequencer fees directly to developers and researchers who add measurable value.

This shift creates a new asset class: protocol-owned public goods. A treasury's value is no longer just its token holdings but its ability to fund the ecosystem that sustains it, a concept pioneered by Moloch DAOs and now scaled by L2 ecosystems.

Evidence: The Optimism Collective has distributed over $100M across three RetroPGF rounds, funding core infrastructure like the Ethereum Attestation Service (EAS) and Open Source Observability tools, directly linking protocol success to developer rewards.

thesis-statement
THE PARADIGM SHIFT

The Core Thesis: From Annual Appropriation to Continuous Streams

On-chain treasuries automate public goods funding, replacing inefficient grant cycles with continuous, data-driven capital allocation.

Annual grant cycles are obsolete. They create boom-bust funding cycles, misalign incentives, and fail to reward ongoing maintenance. On-chain treasuries like Optimism's RetroPGF and Gitcoin Grants demonstrate that continuous, retroactive funding is superior.

Funding becomes a protocol parameter. Treasury management shifts from committee votes to automated rules. Projects like Aave's DAO treasury and Uniswap's fee switch debate treat public goods funding as a core protocol lever, not an external charity.

Data replaces politics. On-chain activity generates verifiable metrics for impact. This enables retroactive public goods funding (RPGF), where contributions are rewarded post-hoc based on proven utility, eliminating speculative grant proposals.

Evidence: Optimism has distributed over $100M across four RetroPGF rounds, funding developers, educators, and tooling based on community-nominated impact data, not promises.

PUBLIC GOODS FUNDING

Municipal vs. On-Chain Treasury: A Feature Matrix

A first-principles comparison of legacy municipal finance and on-chain treasury models like Gitcoin Grants, Optimism's RetroPGF, and NounsDAO.

Feature / MetricMunicipal TreasuryOn-Chain Treasury (e.g., Gitcoin, OP Collective)Hybrid Model (e.g., CityCoins, VitaDAO)

Settlement Finality

30-90 days (post-audit)

< 1 hour (Ethereum L1)

1-7 days (varies by chain)

Transaction Cost per Grant

$500-$5,000 (administrative overhead)

$5-$50 (gas fees on L2)

$50-$500 (gas + legal hybrid)

Global Contributor Access

Real-time Fund Transparency

Quarterly PDF reports

Live on-chain dashboard (e.g., Dune Analytics)

Semi-transparent (on-chain funds, off-chain ops)

Mechanism for Allocation

Political committee vote

Quadratic Funding / Retroactive Grants

Token-weighted vote + legal entity

Audit Trail Immutability

Mutable (subject to revision)

Immutable (public blockchain)

Partially mutable (on-chain record exists)

Composability with DeFi

Default Annual ROI on Idle Funds

0.5%-2% (money market funds)

3%-8% (via DeFi protocols like Aave, Compound)

1%-5% (cautious DeFi strategies)

deep-dive
THE INFRASTRUCTURE

The Technical Architecture of an On-Chain City Treasury

A city treasury's technical stack is a composable system of smart contracts, oracles, and governance modules that automates public goods funding.

Smart contracts form the core of treasury operations. These are immutable programs that execute funding decisions, manage multi-signature wallets, and automate grant distributions. This eliminates manual payment processing and creates a transparent, auditable ledger of all fiscal activity.

Oracles bridge off-chain data to trigger on-chain payments. A service like Chainlink feeds verified metrics—like a park's foot traffic from IoT sensors—into the treasury's contracts. This enables programmatic funding based on real-world outcomes, not just committee votes.

Governance modules dictate fund allocation. Frameworks like OpenZeppelin Governor or AragonOS manage proposal submission and token-weighted voting. The key architectural choice is gasless voting via Snapshot, which separates vote signaling from on-chain execution to reduce voter cost and friction.

Evidence: Gitcoin Grants' Quadratic Funding rounds, powered by smart contracts on Ethereum and Optimism, have distributed over $50M to public goods, demonstrating the model's scalability and resilience.

protocol-spotlight
ON-CHAIN TREASURIES

Protocol Spotlight: The Building Blocks

Public goods funding is moving from opaque grants to transparent, programmable capital allocation.

01

The Problem: Opaque Grant Committees

Traditional funding is slow, political, and lacks accountability. Decisions are made behind closed doors with no on-chain record of impact or capital flow.\n- Decision Lag: Months-long review cycles.\n- Impact Opaqueness: No verifiable ROI tracking.\n- Centralized Control: Vulnerable to capture and bias.

3-6mo
Decision Lag
0%
On-Chain Proof
02

The Solution: Programmable Treasury DAOs

Smart contract treasuries like Optimism's Citizen House or Arbitrum's DAO enable transparent, rules-based funding. Capital allocation is a public ledger event.\n- Transparent Voting: Every grant proposal and vote is on-chain.\n- Automated Payouts: Stream funds via Sablier or Superfluid.\n- Retroactive Funding: Protocols like Optimism pioneer paying for proven outcomes.

$100M+
Deployed
100%
Auditable
03

The Mechanism: Retroactive Public Goods Funding (RPGF)

Pioneered by Optimism, RPGF flips the model: fund what already demonstrated value. This aligns incentives and reduces speculative grant proposals.\n- Outcome-Based: Pay for shipped code, not promises.\n- Community Curation: Round participants collectively map and reward impact.\n- Scalable Model: A template adopted by Polygon, Arbitrum, and others.

3 Rounds
Optimism
$50M+
Distributed
04

The Infrastructure: On-Chain Identity & Reputation

Sybil-resistant identity is the bedrock. Systems like Gitcoin Passport, ENS, and Proof of Personhood (Worldcoin) ensure one-human-one-vote in funding decisions.\n- Sybil Resistance: Stamps from BrightID, Idena.\n- Reputation Graphs: Build persistent contribution history.\n- Delegation: Tools like Boardroom enable expert-driven capital allocation.

500K+
Passports
>10
Attestations
05

The Innovation: Continuous & Modular Funding

Moving beyond quarterly rounds. Platforms like Clr.fund (quadratic funding) and Juicebox enable perpetual funding streams and modular treasury tooling.\n- Quadratic Funding: Matches community donations (see Gitcoin).\n- Treasury Management: Syndicate and Llama for multisig ops.\n- Composable Stacks: Mix funding rounds, streams, and vesting.

$40M+
Matched
24/7
Funding
06

The Future: Autonomous & Algorithmic Allocation

The endgame: treasury AIs that allocate capital based on verifiable KPIs. Think Yearn strategies, but for grants. Hints exist in Ocean Protocol's data-driven predictions.\n- KPI Options: Fund based on measurable milestones.\n- On-Chain Analytics: Use Dune, Flipside for decision data.\n- Auto-Compounding: Reinvest returns from funded projects.

0
Human Committees
100%
Code-Law
counter-argument
THE INCENTIVE MISMATCH

The Steelman: Why This Will Fail

On-chain treasuries create a direct, transparent funding mechanism, but they fail to solve the core incentive problems that plague public goods.

Voter apathy is terminal. Direct treasury governance requires constant, informed participation, which is a public good itself. Most token holders lack the time or expertise to evaluate funding proposals, leading to low turnout and capture by small, motivated groups. This replicates the failures of off-chain grant committees like Gitcoin's, just with a different interface.

The profit motive is absent. Public goods funding lacks a direct ROI, which is the primary driver of capital allocation in crypto. Protocols like Optimism's RetroPGF attempt to retroactively reward builders, but this creates a speculative 'retro-farming' market rather than solving upfront capital allocation. Capital flows to where it compounds, not where it decays.

Transparency creates perverse incentives. While Ethereum's protocol treasury or Uniswap's DAO provide full audit trails, this visibility makes every grant a political target. Projects spend more resources on marketing and community pandering than on building, optimizing for narrative over impact. The system selects for lobbyists, not innovators.

Evidence: Look at Compound Grants, which distributed $13M but saw minimal ecosystem impact, or the stagnation in Aave's treasury deployment. The median DAO voter participation rate is below 5%, rendering 'decentralized' governance a fiction for all but the most contentious votes.

risk-analysis
ON-CHAIN TREASURY PITFALLS

Risk Analysis: What Could Go Wrong?

Decentralized treasuries trade bureaucratic inertia for a new set of technical and game-theoretic attack vectors.

01

Governance Capture & Low-Quality Spending

Token-weighted voting is vulnerable to whale manipulation and low-information voters, turning treasuries into yield farms for proposals. The result is funding dilution and mission drift.

  • Sybil-resistant models like Gitcoin Grants and Optimism's Citizen House are partial fixes.
  • Without curation, >30% of funds can be siphoned by mercenary capital.
>30%
Funds at Risk
Sybil
Primary Attack
02

The Oracle Problem for Real-World Impact

On-chain treasuries struggle to verify off-chain work completion or impact, creating a verifiability gap. This leads to fraud or funds locked until manual verification.

  • Projects like Kleros and UMA's oSnap offer optimistic or dispute-resolution oracles.
  • Without robust attestation, multi-sig committees become a re-centralized bottleneck.
Off-Chain
Verification Gap
Kleros/UMA
Solutions
03

Treasury Dilution & Protocol Death Spiral

Continuous native token emissions to fund grants creates sell-side pressure, devaluing the treasury itself. This can trigger a reflexive death spiral if funding outpaces ecosystem growth.

  • DAOs like Uniswap use fee-switch revenue, not inflation, for sustainable funding.
  • Diversification into stablecoins (e.g., ETH, USDC) is a critical hedge.
Sell-Side
Pressure
Fee Switch
Sustainable Model
04

Smart Contract & Custodial Risk

$2B+ has been stolen from DAO treasuries. Complex multi-sigs, vesting contracts, and cross-chain asset bridges are high-value targets.

  • Audits and formal verification (e.g., Certora) are non-negotiable.
  • Fragmentation across chains (Ethereum L2s, Solana) increases the attack surface for bridges like LayerZero and Wormhole.
$2B+
Historical Losses
Multi-Chain
Attack Surface
05

Regulatory Ambiguity as a Systemic Risk

Treasuries distributing funds globally operate in a legal gray zone. They risk being classified as unlicensed money transmitters or securities issuers.

  • Retroactive enforcement (like the SEC's actions) can freeze assets or impose crippling fines.
  • Legal wrapper entities (e.g., Foundation) add cost but are often the only mitigation.
Global
Jurisdictional Risk
SEC
Enforcement Risk
06

Liquidity Fragmentation & Capital Inefficiency

Treasury assets sit idle in multi-sigs, earning 0% yield while the protocol pays >5% to borrow. This is a massive opportunity cost.

  • DeFi Yield Strategies (via Aave, Compound) are risky but necessary.
  • On-chain RBF tools like Llama and Sablier enable streaming payments to improve capital flow.
0% Yield
Idle Capital
Sablier/Llama
Efficiency Tools
future-outlook
THE TREASURY SHIFT

Future Outlook: The 24-Month Horizon

On-chain treasuries will become the primary vehicle for public goods funding, replacing fragmented grant programs.

On-chain treasuries are inevitable. They provide transparent, programmable, and composable capital that grant councils cannot match. This shift is driven by the success of models like Optimism's RetroPGF and Arbitrum's DAO treasury, which automate value distribution based on measurable impact.

Retroactive funding dominates. The future is not speculative grants but verified impact rewards. Protocols will use attestation standards like EAS and oracles like HyperOracle to automate treasury payouts to developers and researchers who demonstrably improve the ecosystem.

Treasuries become yield-generating assets. Idle protocol capital in Compound or Aave is inefficient. Future treasuries will deploy capital through on-chain strategies via Enzyme or Sommelier, turning public goods funds into self-sustaining entities.

Evidence: The Optimism Collective has allocated over $100M through RetroPGF rounds, creating a verifiable on-chain track record for funding efficacy that traditional grant programs lack.

takeaways
ON-CHAIN TREASURY PRIMER

TL;DR: Key Takeaways for Builders

The next generation of public goods will be funded by autonomous, transparent, and programmable on-chain treasuries. Here's what you need to build.

01

The Problem: Opaque, Slow Grant Committees

Traditional grant-making is a black box with high overhead and slow disbursement, creating a capital formation bottleneck for builders.

  • Decision Lag: Months-long review cycles stifle innovation.
  • Administrative Bloat: ~30% of funds often consumed by operational overhead.
  • Lack of Accountability: Difficult to track impact and enforce milestones post-funding.
3-6 months
Decision Lag
~30%
Admin Overhead
02

The Solution: Programmable Treasury Primitives

Smart contracts enable continuous, automated funding via mechanisms like streaming and milestone-based vesting.

  • Real-Time Disbursement: Use Sablier or Superfluid to stream funds, aligning incentives.
  • Conditional Logic: Automate payments upon verified deliverables using Oracle-verified data.
  • Composable Stacks: Integrate with Gitcoin Grants, Optimism's RetroPGF, or Aave Grants DAO for community curation.
24/7
Funding Stream
-90%
Admin Cost
03

The Problem: Fragmented Contributor Identity & Reputation

Proving consistent contribution history across ecosystems is impossible, forcing builders to re-establish credibility from zero.

  • Siloed Reputation: Your work on Optimism is invisible to Arbitrum or Ethereum.
  • Sybil Vulnerability: Simple token voting is easily gamed without proof-of-personhood or work.
  • No Portable History: Inability to leverage past grants for future funding.
0
Portable Score
High
Sybil Risk
04

The Solution: On-Chain Contribution Graphs

Build verifiable, portable reputation by anchoring all work—code commits, governance, documentation—on-chain.

  • Soulbound Tokens (SBTs): Use Ethereum Attestation Service (EAS) or Gitcoin Passport for non-transferable credentials.
  • Cross-Chain Attestations: Leverage Hyperlane or LayerZero for universal reputation portability.
  • Algorithmic Scoring: Protocols like SourceCred or Wonderverse can auto-generate contribution scores for retroactive funding rounds.
Universal
Reputation Port
Immutable
Proof of Work
05

The Problem: Static Capital & Yield Leakage

Idle treasury assets lose value to inflation, and managing DeFi strategies introduces custodial risk and complexity.

  • Negative Real Yield: Flat fiat reserves depreciate ~5-10% annually.
  • Operational Risk: Manual DeFi management requires multisig signers to act as active fund managers.
  • Capital Inefficiency: Funds allocated for 12-month grants sit idle for the entire period.
5-10%
Annual Drag
Idle
Capital State
06

The Solution: Autonomous Treasury Management

Deploy treasury assets into automated, yield-generating strategies with built-in safeguards for continuous funding.

  • DeFi Vaults: Use Balancer Managed Pools or Yearn vaults for passive, diversified yield.
  • Streaming-While-Staking: Protocols like Superfluid enable streaming directly from staked or LP positions.
  • Risk-Engineered: Integrate with Gauntlet or Chaos Labs for simulation and parameter optimization to protect principal.
+5-15% APY
Yield Earned
Auto-Compounding
Capital State
ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
On-Chain Treasuries: The End of Municipal Budget Cycles | ChainScore Blog