Dan Robinson Profile picture
Nov 5 9 tweets 3 min read Read on X
New Paradigm research from me and @ciamac!

Prediction markets were the original motivation for AMMs, but today they mostly use orderbooks

One reason: outcome tokens don't behave like other assets

We present the pm-AMM, a new invariant designed for prediction markets

🧵 Image
This required addressing a deep problem—what does it mean for an AMM to be optimized for a particular asset (like options or bonds)?

Many have considered this before (including me and @niemerg with YieldSpace), but we didn't have a clear reason for picking one curve over another
The missing piece came from @jason_of_cs @ciamac @Tim_Roughgarden @alz_zyd_ , in their seminal paper on LVR

They showed that for geometric-Brownian-motion assets, constant geomean pools like Uniswap or Balancer have a nice property: LVR is a constant fraction of portfolio value
We call an AMM that obeys this property for a particular asset a “uniform AMM” for that asset

Uniformity is useful because liquidity provider losses are more predictable, and liquidity is spread out more evenly

Existing AMMs are not uniform AMMs for outcome tokens! Image
We choose a model for how some outcome tokens behave, which we call “Gaussian score dynamics”

This model may be a fit for prediction markets on whether some random walk (like a basketball score, a vote margin, or a price) is above some level at a future expiration time
We use this model to derive a uniform AMM for outcome tokens: the static pm-AMM

When used to provide liquidity (with zero fees) between outcome tokens on a binary prediction market, the static pm-AMM has constant LVR as a fraction of portfolio value Image
While the static pm-AMM is uniform at a given time, it loses an increasing fraction of its value as expiry approaches, like other AMMs

We introduce a variant that reduces liquidity over time to have constant expected LVR over the time horizon to expiry: the dynamic pm-AMM Image
We hope this framework can inspire further work on passive liquidity for onchain prediction markets

We also hope the methodology can be used to design uniform AMMs for other non-GBM assets like options, bonds, and derivatives

Read the full post here:

paradigm.xyz/2024/11/pm-amm
Thanks to @bqbrady, @leolovesmath, @niemerg, @notnotstorm, @Qiaoqiao2001, @_Dave__White_ , and Bill Zhang for helpful comments!

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Dan Robinson

Dan Robinson Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @danrobinson

Jun 4
New mechanism with @_Dave__White_!

We present MEV taxes, a technique that:

* Lets arbitrary apps capture their MEV
* Preserves composeability
* Would work today on OP Stack L2s like @Optimism @base @Blast_L2

The secret? The surprising power of priority ordering 🧵 Image
To implement MEV taxes, smart contracts charge a fee as a function of the priority fee of the transaction.

We show that if a smart contract charges searchers a MEV tax of (say) $99 for every $1 of priority fee, it can capture 99% of the competitive MEV for that transaction. Image
MEV taxes are a flexible technique. We outline how they could address three major problems in MEV research:

* DEX routers like UniswapX that optimize execution
* AMMs that minimize LVR for liquidity providers
* Wallets that capture "backrunning" MEV leaked by transactions
Read 7 tweets
Mar 7
Introducing the auction-managed AMM!

A new AMM design that:

⚖️ Reduces LVR
⚙️ Optimizes swap fees
📈 Smooths LP returns
🌊 Should attract higher liquidity than any fixed-fee AMM

New paper with @ciamac (@paradigm / @Columbia_Biz) and @AustinAdams10 @saraareynolds (@Uniswap) Image
Two of the most important challenges in AMM research are:

* Minimizing losses to informed flow (i.e. reducing loss-vs-rebalancing)
* Maximizing revenue from uninformed flow (i.e. optimizing fees)

The am-AMM targets both of these problems with one mechanism.
The am-AMM rents the right to manage the pool to the highest bidder, in a continuous auction we call a “Harberger lease,” with rent going to liquidity providers.

The pool manager has the power to set the swap fee, and to receive those fees.
Read 8 tweets
Jul 17, 2023
Five reasons I think UniswapX changes the game for decentralized exchange, MEV, and interoperability 🧵

https://t.co/dapv2tRxrUuniswap.org/whitepaper-uni…
Image
1. The architecture opens up a vast design space for DEX.

Signed orders (or “intents,” to use the parlance of our times) can be more efficient, more flexible, and ultimately more powerful than transactions.
2. It's a better foundation for orderflow auctions that return MEV to users.

Today's OFAs are usually built on tx-based swaps, which are an awkward fit (generally requiring multiple transactions and extra fees paid onchain).

I think tomorrow's OFAs will be built on UniswapX.
Read 10 tweets
May 1, 2023
Introducing Blend!

@blur_io wanted a lending protocol with:

* Arbitrary collateral, including NFTs
* No oracles
* No expiries
* Market-set interest rates

So @transmissions11 and I worked with them to design a new mechanism

Here’s how it works 🧵

In Blend, lenders are matched peer-to-peer with borrowers

Lenders sign off-chain offers that specify an interest rate and a collection they're willing to lend against

Borrowers can select the best available offer to instantly borrow against their NFT on-chain
Loans are perpetual by default, with a constant interest rate

If interest rates fall or a borrower wants to leave a position, the borrower can repay at any time (and instantly take a different offer with a better rate, if they want) Image
Read 7 tweets
Dec 4, 2022
It looks like ChatGPT doesn’t distinguish between questions and answers, so you can train it to give whatever kind of answer you want by giving it the first few words of the desired response
Hacking the AI is old news, the real trick is getting the AI to hack you
Read 6 tweets
Jul 19, 2022
One fun thing about being in Europe is clicking “I accept” on a GDPR popup six hundred times a day
If you use private browsing it’s even worse because it shows up every time

So GDPR actively deters people from protecting their own privacy
Another perversity is that it trains people to just click accept without reading
Read 4 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(