Recovered from pump.fun codebase · MetaDAO futarchy stack

Governance by markets,
not votes

PumpFut is Solana's futarchy monorepo — three on-chain programs that replace DAO voting with prediction markets. People trade on whether proposals pass. The market decides.

Trade Proposals View Source
3
On-chain programs
~3 days
Trading window per proposal
+3%
Pass TWAP threshold

Robin Hanson's futarchy, on Solana

Traditional DAOs vote with tokens. PumpFut asks a different question: would this token go up if the proposal passed? Traders bet yes or no. No ballots. No rubber stamps. Skin in the game.

🗳️ Traditional DAO

  • Token-weighted voting — whales win
  • Low turnout, uninformed voters
  • People vote with their heart
  • Decisions detached from price impact

📈 Futarchy (PumpFut)

  • Conditional pass/fail markets
  • Incentivized price discovery
  • People bet with their head
  • TWAP oracle resists manipulation

From proposal to execution

Every governance decision follows the same on-chain lifecycle. Here's the ELI5 version from the repo docs.

1

Someone raises a proposal

A proposer submits an SVM instruction (e.g. treasury spend, fee switch) plus a description. Conditional vaults and AMM accounts are initialized via script.

2

Stake accumulates

Token holders stake 200K–1.5M tokens to activate the proposal. Anti-spam filter — stake is returned, never slashed.

3

Markets open (~3 days)

Half of spot liquidity migrates into conditional markets. Traders speculate on pass-META vs fail-META prices.

4

TWAP finalization

After a 24h delay, a lagging TWAP oracle records prices. Pass TWAP must beat fail TWAP by +3% (default) to pass.

5

Execute or reject

If passed, the on-chain instruction runs automatically. Conditional vaults settle — pass-token holders redeem. If failed, fail-token holders win.

Three programs, one system

PumpFut is an Anchor monorepo. These immutable, OtterSec-verified programs work together — autocrat orchestrates, vaults mint conditional tokens, AMM runs the markets.

⚖️

Autocrat

DAO + proposal orchestrator. Initializes DAOs, creates proposals, compares TWAPs, executes passed instructions.

5scUH1qY87Awh5D8bQkbP2uv9BaXJXiMgrqRBw1K2vVv
🔐

Conditional Vault

Mints pass/fail conditional tokens from underlying assets. Settles or reverts vaults based on proposal outcome.

F3RzPAtBQvUAAdDHD8AsPKFhDB1H38SULNKTW39dYrw8
💱

AMM

Constant-product AMM for pass/fail markets. Swap, LP, and crank the lagging TWAP oracle.

CsN1N8qaMJUwoGFWt3xV4u246n2cuZy9AWLws78e3a1K

Two markets, one decision

Solana can't revert finalized transactions — so futarchy simulates "what if" trades using conditional tokens. Deposit USDC, get pass-USDC + fail-USDC. Only one side pays out.

Pass market
$1.42
META price if proposal passes
vs
Fail market
$1.31
META price if proposal fails

Conditional token flow

Deposit 10 USDC 10 pass-USDC + 10 fail-USDC Trade on AMM Winner redeems

Key terms

Futarchy
Governance via prediction markets instead of voting. Coined by economist Robin Hanson.
Conditional market
A trade that only "counts" if a condition is met. Economically reverts if it isn't.
TWAP
Time-weighted average price. Lagging observations move max $5/min to resist manipulation.
Pass threshold
Pass TWAP must exceed fail TWAP by 3% (300 bps) for a proposal to pass.
pTOKEN / fTOKEN
Conditional-on-pass and conditional-on-fail tokens minted by the vault program.
META token
MetaDAO governance token. Mint: METADDFL6wWMWEoKTFJwcThTbUmtarRJZjRpzUvkxhr