Skip to main content

PAMM Economics

This page covers the fee structure, settlement mechanics, and worked examples that show how money flows through a PAMM market.

Fee Architecture

Two fees are applied on every trade:

Protocol Fee

Deducted from the trader’s collateral before it enters the bonding curve. This money leaves the market entirely and goes to the FeeManager contract, which splits it 50/50 between the market creator and protocol owner after the market ends.

Take Fee

Deducted after the protocol fee but stays inside the reserve. It enters R but doesn’t produce tokens. This means the virtual reserves are slightly deeper than they would be without the take fee. Over many trades, this silently increases liquidity depth.

Combined Effect on a 1,000 USDC Buy

The 9.90 take fee is “trapped” in the reserve, making the market slightly deeper for future trades.

Effective Round-Trip Cost

  • Buy: 1% protocol + 1% take = ~2% off collateral before curve
  • Sell: 1% protocol off the collateral released
  • Total round-trip: ~3% of principal

Settlement and Payouts

How Resolution Works

After the market’s endTime, an authorized party (creator or protocol owner) calls settleMarket() declaring the winner — either the YES or NO token ID.

Winner Payout Formula

Winners split the entire reserve pro-rata:
The reserve R contains everything — the creator’s initial deposit, all collateral from buyers, accumulated take fees. Winners take it all.

Losers

Losers get nothing. Their collateral is already part of R and gets distributed to winners.

Creator’s Remaining Claim

After all winners have redeemed, the creator calls claimRemainingReserve() to recover whatever is left in R. This includes:
  • Unredeemed funds (if some winners never claim)
  • Rounding dust
  • In one-sided markets where the losing side had no tokens: the entire reserve

Worked Examples

All examples below use zero fees to isolate the bonding curve mechanics.

Example 1: First Trade in a Fresh Market

Setup: Market created with R = 10,000 USDC
Alice buys 1,000 USDC of YES:
Alice paid 1,000 USDC for 1,909.09 tokens. Average entry: 0.524 USDC/token (52.4%).

Example 2: Price Impact in Action

Bob buys another 1,000 USDC of YES (continuing from above):
Bob paid the same 1,000 USDC but got only 1,757.58 tokens (vs Alice’s 1,909.09). Average entry: 0.569 (56.9%). The curve charges more as YES becomes popular.

Example 3: Opposing Trade Pushes Price Back

Carol buys 2,000 USDC of NO:
Carol’s NO purchase pushed YES price back down from 59% to 48.36%. The market flipped.

Example 4: Settlement

Continuing from above — YES wins:
In this one-sided scenario (only YES and NO bought, YES wins), the creator loses their deposit. Carol (NO buyer) loses too. Alice and Bob profit massively. If NO had won instead:

Trade Summary

Creator Economics by Scenario

Comparison to Other Models

Key Takeaways

  1. The reserve IS the pool. No separate AMM pool. Virtual reserves are derived from R, S_YES, and S_NO.
  2. Take fees compound silently. Unlike protocol fees that leave the system, take fees grow the reserve. After many trades, the reserve is deeper than the sum of all deposits.
  3. Settlement is winner-takes-all. The entire reserve is distributed to holders of the winning token. Losers get zero. The creator gets what’s left.
  4. Round-trip cost is ~3%. 2% on entry (protocol + take), 1% on exit (protocol only). Competitive with most prediction market platforms.
  5. Prices are self-correcting. As one side gets expensive, buying the other side becomes cheaper. Natural mean-reversion pressure at extremes.