Develop AMM Program for Futarchy?
MetaDAO, MetaDAO on Solana. Opened 2024-01-24, closed —.
What it was for #
The market chose among 2 options, judged on time-weighted conditional token price over the window:
- Pass — selected
- Fail (no change)
Develop AMM Program for Futarchy?
Overview
In the context of Futarchy, CLOBs have a couple of drawbacks:
Lack of liquidity
Somewhat susceptible to manipulation
Pass/fail market pairs cost 3.75 SOL in state rent, which cannot currently be recouped
Lack of liquidity
Estimating a fair price for the future value of MetaDao under pass/fail conditions is difficult, and most reasonable estimates will have a wide range. This uncertainty discourages people from risking their funds with limit orders near the midpoint price, and has the effect of reducing liquidity (and trading). This is the main reason for switching to AMMs.
Somewhat susceptible to manipulation
With CLOBs there is always a bid/ask spread, and someone with 1 $META can push the midpoint towards the current best bid/ask. Though this could be countered with a defensive for-profit bot, and as Proph3t puts it: this is a 1/n problem.
Still, users can selectively crank the market of their choosing. Defending against this (cranking markets all the time) would be a bit costly.
Similarly, VWAP can be manipulated by wash trading. An exponential moving average has the same drawbacks in this context as the existing linear-time system.
State rent costs
If we average 3-5 proposals per month, then annual costs for market creation is 135-225 SOL, or $11475-$19125 at current prices. AMMs cost almost nothing in state rent.
Solution
An AMM would solve all of the above problems and is a move towards simplicity. We can use the metric: liquidity-weighted price over time. The more liquidity that is on the books, the more weight the current price of the pass or fail market is given. Every time there is a swap, these metrics are updated/aggregated. By setting a high fee (3-5%) we can both: encourage LPs, and aggressively discourage wash-trading and manipulation.
These types of proposals would also require that the proposer lock-up some initial liquidity, and set the starting price for the pass/fail markets.
With this setup, liquidity would start low when the proposal is launched, someone would swap and move the AMM price to their preferred price, and then provide liquidity at that price since the fee incentives are high. Liquidity would increase over the duration of the proposal.
The current CLOB setup requires a minimum order size of 1 META, which is effectively a spam filter against manipulating the midpoint within a wide bid/ask spread. AMMs would not have this restriction, and META could be traded at any desired granularity.
Additional considerations
What if a user wants to provide one-sided liquidity?
The most recent passing proposal will create spot markets outside of the pass/fail markets. There will be an AMM, and there is no reason not to create a CLOB as well. Most motivations for providing one-sided liquidity can be satisfied by regular spot-markets, or by arbitraging between spot markets and pass/fail markets. In the future, it may be possible to setup limit orders similarly to how Jupiter limit orders work with triggers and keepers.
Switching to AMMs is not a perfect solution, but I do believe it is a major improvement over the current low-liquidity and somewhat noisy system that we have now.
Implementation
Program + Review
Frontend
Program + Review
Program changes:
Write a basic AMM, which tracks liquidity-weighted average price over its lifetime
Incorporate the AMM into autocrat + conditional vault
Get feedback to decide if the autocrat and conditional vault should be merged
Feature to permissionlessly pause AMM swaps and send back positions once there is a verdict (and the instructions have been run, in the case of the pass market)
Feature to permissionlessly close the AMMs and return the state rent SOL, once there are no positions
Additional quality-of-life changes:
Loosen time restrictions on when a proposal can be created after the markets are created (currently set to 50 slots, which is very restrictive and has led to extra SOL costs to create redundant markets). Alternatively, bundle these commands in the same function call.
If a proposal instruction does not work, then revert to fail after X number of days (so that funds dont get stuck forever).
Ownership:
joebuild will write the program changes
A review will be done by an expert in MetaDAO with availability
Frontend
The majority of the frontend integration changes will be completed by 0xNalloK.
Timeline
Estimate is 3 weeks from passing proposal, with an additional week of review and minor changes.
Budget and Roles
400 META on passing proposal, with an additional 800 META on completed migration.
program changes (joebuild)
program review (tbd)
frontend work (0xNalloK)
Rollout & Risks
The main program will be deployed before migration of assets. This should allow for some testing of the frontend and the contract on mainnet. We can use a temporary test subdomain.
The risks here include:
Standard smart contract risk
Adoption/available liquidity: similar to an orderbook, available liquidity will be decided by LPs. AMMs will incentivize LP'ing, though adoption within the DAO is not a certainty.
Section for feedback changes
Any important changes or feedback brought up during the proposal vote will be reflected here, while the text above will remain unchanged.
It was pointed out that there are ways to recoup openbook state rent costs, though it would require a migration of the current autocrat program.
Where the proposer published it
From /data/proposal-captures.json.
What was known #
What the evidence shows
2 of 11 readings available; withheld: Trading participation, Market reading, Closing stretch, Recycled-stake treasury extraction, Late-window TWAP outcome steering, Wash-volume alignment inflation, Coordinated multi-wallet stake assembly, Earlier decisions, Published cases.
Disclosed terms Available, partial evidence
Proposal account: present · Options: present · Selection rule: missing · Window timing: missing · Question: present · Proposer: present · Stored action: present
Method and evidence
Presence of a disclosed term does not verify its truth or execution.
Instrument disclosures v1.0.1 · evidence cb7a5e37d292d348f6d04cfa625c626b6eb3677ef6c20d64cdb3edcde7913fc6
Selection rule Available, partial evidence
No special selection terms identified
Method and evidence
Semantic observations describe disclosed terms only — never an attack finding, an indicator, or a classification. Monitored playbooks stay withheld without indexed forensics.
Instrument selection-rule v1.0.0 · evidence cb7a5e37d292d348f6d04cfa625c626b6eb3677ef6c20d64cdb3edcde7913fc6
Trading participation Withheld
No swap record is available.
Method and evidence
No swap record is available.
Instrument participation v2.0.0 · evidence cb7a5e37d292d348f6d04cfa625c626b6eb3677ef6c20d64cdb3edcde7913fc6
Market reading Withheld
No time-weighted price observation is available.
Method and evidence
No time-weighted price observation is available.
Instrument market-selection v1.0.0 · evidence cb7a5e37d292d348f6d04cfa625c626b6eb3677ef6c20d64cdb3edcde7913fc6
Closing stretch Withheld
The closing stretch requires the threshold and both window bounds.
Method and evidence
The closing stretch requires the threshold and both window bounds.
Instrument closing-window v1.0.0 · evidence cb7a5e37d292d348f6d04cfa625c626b6eb3677ef6c20d64cdb3edcde7913fc6
Recycled-stake treasury extraction Withheld
the trade ledger does not read Autocrat v0.1's markets, so this decision's trades and prices are not held
Method and evidence
the trade ledger does not read Autocrat v0.1's markets, so this decision's trades and prices are not held
Instrument recycled-stake-treasury-extraction v1.0.3 · evidence cb7a5e37d292d348f6d04cfa625c626b6eb3677ef6c20d64cdb3edcde7913fc6
Late-window TWAP outcome steering Withheld
the trade ledger does not read Autocrat v0.1's markets, so this decision's trades and prices are not held
Method and evidence
the trade ledger does not read Autocrat v0.1's markets, so this decision's trades and prices are not held
Instrument late-window-outcome-steering v3.0.0 · evidence cb7a5e37d292d348f6d04cfa625c626b6eb3677ef6c20d64cdb3edcde7913fc6
Wash-volume alignment inflation Withheld
the trade ledger does not read Autocrat v0.1's markets, so this decision's trades and prices are not held
Method and evidence
the trade ledger does not read Autocrat v0.1's markets, so this decision's trades and prices are not held
Instrument wash-volume-alignment-inflation v4.0.0 · evidence cb7a5e37d292d348f6d04cfa625c626b6eb3677ef6c20d64cdb3edcde7913fc6
Coordinated multi-wallet stake assembly Withheld
the trade ledger does not read Autocrat v0.1's markets, so this decision's trades and prices are not held
Method and evidence
the trade ledger does not read Autocrat v0.1's markets, so this decision's trades and prices are not held
Instrument coordinated-multiwallet-stake-assembly v3.0.0 · evidence cb7a5e37d292d348f6d04cfa625c626b6eb3677ef6c20d64cdb3edcde7913fc6
Earlier decisions Withheld
Earlier decisions or the window opening time are unavailable.
Method and evidence
Earlier decisions or the window opening time are unavailable.
Instrument prior-decisions v1.0.0 · evidence cb7a5e37d292d348f6d04cfa625c626b6eb3677ef6c20d64cdb3edcde7913fc6
Published cases Withheld
No published case study in the attack library names this organization.
Method and evidence
No published case study in the attack library names this organization.
Instrument case-studies v1.0.0 · evidence cb7a5e37d292d348f6d04cfa625c626b6eb3677ef6c20d64cdb3edcde7913fc6
1 check does not apply to this decision
Measured outcome Does not apply
This instrument reads measured-outcome resolution records.
Method and evidence
This instrument reads measured-outcome resolution records.
Instrument measured-outcome v1.0.0 · evidence cb7a5e37d292d348f6d04cfa625c626b6eb3677ef6c20d64cdb3edcde7913fc6
Evaluated 2026-11-24T06:09:42.215Z. Evidence cutoff 2026-11-24T06:09:42.215Z.
What was done #
Executed. As read at slot 475248267 (2026-11-29T05:57:50.741Z): autocrat_v0 runs a passed proposal's instruction inside its finalization, which fails whole if the instruction does: the account reads Passed only once it ran. The account does not keep when.
Evidence: CF9QUBS251FnNGZHLJ4WbB2CVRi5BtqJbCqMi47NX1PG
From /data/metadao-legacy-decisions.json.
What followed #
Withheld. Earlier program (Autocrat v0.1): the proposal account does not keep when its market closed, so there is no close to measure from.
Impact #
Withheld. The proposal's finalization TWAPs are not on the record.
Capital #
Withheld. The account reads the decision executed, but its program keeps no execution transaction and the record has not located it, so what it moved is not read.
Who acted, and under what authority #
- dao: MetaDAO —
7J5yieabpMoiN3LrdfJnRjQiXHgi7f47UuMnyMyR78yy
As known at the close #
Every row of the record carries the time Eidos learned it. This decision has not closed, so there is no close to read it at; the as-of read answers for any instant not later than now, by knowledge time, and withholds by name any part learned later or stored without one.
This record
IRI https://eidos.software/decisions/kmr05jkvjns85bse/, an instance of Decision. Machine-readable: the object view. Built .
Cite this decision #
Eidos. "Develop AMM Program for Futarchy?." MetaDAO on MetaDAO. Decision record, https://eidos.software/decisions/kmr05jkvjns85bse/ (retrieved 2026-11-29).
Markdown: Eidos. [Develop AMM Program for Futarchy?](https://eidos.software/decisions/kmr05jkvjns85bse/). MetaDAO on MetaDAO. Decision record, retrieved 2026-11-29.
The address is the decision's IRI and does not change. The record is as of . To cite one part, add its anchor to the address: #what-it-was-for, #what-was-known, #what-was-done, #what-followed, #impact, #capital, #parties. How to cite · Corrections