# BaseCase

<https://www.basecase.gg/>

> *The Prediction Market that bootstraps itself.*

## The Future of Prediction Markets

BaseCase is a revolutionary prediction market protocol that enables **anyone** to create and trade markets without upfront liquidity. Using our novel **Shadow Liquidity** mechanism, markets bootstrap themselves through user participation.

***

## How It Works

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>🌱 Create</strong></td><td>Launch markets instantly with zero capital. Shadow Liquidity provides virtual reserves for immediate trading.</td><td><a href="/pages/Uaicz3dFIuMOfbPK9teL">/pages/Uaicz3dFIuMOfbPK9teL</a></td></tr><tr><td><strong>📈 Trade</strong></td><td>Buy or sell outcome shares using a CPMM bonding curve. Prices adjust dynamically with demand.</td><td><a href="/pages/s5Du9i1bSFSTILey7736">/pages/s5Du9i1bSFSTILey7736</a></td></tr><tr><td><strong>🎓 Graduate</strong></td><td>At 100% solvency, markets upgrade to Order Book trading with real ERC-20 outcome tokens.</td><td><a href="/pages/f8VBme4C9IiRQa6ge6Z1">/pages/f8VBme4C9IiRQa6ge6Z1</a></td></tr></tbody></table>

***

## Protocol Architecture

{% @mermaid/diagram content="flowchart TB
subgraph Phase1\["PHASE 1: BONDING"]
SL\["Shadow Liquidity<br/>─────────────<br/>• Virtual CPMM<br/>• Soulbound Tokens<br/>• 0% Trade Fee<br/>• USDC Vault"]
end

```
subgraph Phase2["PHASE 2: TRADING"]
    OB["Order Book<br/>─────────────<br/>• ERC-20 YES/NO<br/>• Real Tokens<br/>• 0.1% Taker Fee<br/>• Limit Orders"]
end

subgraph Resolution["RESOLUTION LAYER"]
    UMA["UMA Oracle • Dispute Period • Final Payout"]
end

Phase1 --> Phase2
Phase2 --> Resolution

style Phase1 fill:#f0fdf4,stroke:#22c55e,stroke-width:2px,color:#000000
style Phase2 fill:#eff6ff,stroke:#3b82f6,stroke-width:2px,color:#000000
style Resolution fill:#fefce8,stroke:#eab308,stroke-width:2px,color:#000000
style SL fill:transparent,color:#000000,stroke:none
style OB fill:transparent,color:#000000,stroke:none
style UMA fill:transparent,color:#000000,stroke:none" %}
```

***

## Key Metrics

| Metric                   | Value                             | Description                         |
| ------------------------ | --------------------------------- | ----------------------------------- |
| **Virtual Reserve**      | 1,000 USDC                        | Initial shadow liquidity per market |
| **Bonding Fee**          | **0%**                            | No trading fees during bonding      |
| **Graduation Fee**       | 2%                                | Fee on vault at graduation          |
| **Graduation Threshold** | 100% Solvency + 20% min each side | Required for upgrade                |
| **Trading Fee**          | \~0.2%                            | Taker fee on order book trades      |
| **Creator Revenue**      | 25% of fees                       | Incentive for market creators       |

***

## Core Innovation

{% tabs %}
{% tab title="Shadow Liquidity" %}
Markets start with **virtual reserves** instead of locked capital. The protocol simulates a Constant Product Market Maker using:

$$
virtualYES \times virtualNO = k
$$

Users trade against this virtual pool, with all USDC deposits going into a central vault. Solvency is guaranteed when:

$$
\frac{VaultBalance}{MAX(ShadowYES, ShadowNO)} \geq 100%
$$
{% endtab %}

{% tab title="Creator Incentives" %}
Market creators earn **25% of protocol fees**:

| Fee Type   | Total  | Creator | Stakers | Protocol |
| ---------- | ------ | ------- | ------- | -------- |
| Graduation | 2%     | 0.5%    | 0.5%    | 1%       |
| Order Book | \~0.2% | \~0.05% | \~0.05% | \~0.1%   |

> **Note:** Bonding phase has **0% trading fees**. Fees are only collected at graduation.

This creates strong incentives to create and promote successful markets.
{% endtab %}

{% tab title="Solvency Model" %}
The protocol can **always pay winners** because:

1. CPMM mechanics naturally accumulate fees
2. Virtual reserves are calibrated to cap max liability
3. Graduation only occurs when vault ≥ max payout
4. Resolution is oracle-verified and immutable
   {% endtab %}
   {% endtabs %}

***

## Quick Links

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>📖 Getting Started</strong></td><td>Understand the protocol fundamentals and start trading</td><td><a href="/pages/FRrdAwvFIR3yw7U5bP2w">/pages/FRrdAwvFIR3yw7U5bP2w</a></td></tr><tr><td><strong>🔧 Technical Docs</strong></td><td>Smart contract interfaces and system architecture</td><td><a href="/pages/XKiMQ8SqO0kI6eu8xc8V">/pages/XKiMQ8SqO0kI6eu8xc8V</a></td></tr><tr><td><strong>❓ FAQ</strong></td><td>Common questions answered</td><td><a href="/pages/VYzP5qOXgg5p2k6LFHZl">/pages/VYzP5qOXgg5p2k6LFHZl</a></td></tr><tr><td><strong>📋 Protocol Flow</strong></td><td>Complete lifecycle from creation to resolution</td><td><a href="/pages/EO4WRj8pizMDnmUzY8ng">/pages/EO4WRj8pizMDnmUzY8ng</a></td></tr></tbody></table>

***

## Build With Us

| Resource       | Link                                                                   |
| -------------- | ---------------------------------------------------------------------- |
| **GitHub**     | [github.com/BaseCases/BaseCase](https://github.com/BaseCases/BaseCase) |
| **Network**    | Base (Coinbase L2)                                                     |
| **Collateral** | USDC                                                                   |
| **Oracle**     | UMA Optimistic Oracle                                                  |

{% hint style="success" %}
**Ready to dive in?** Start with the [Protocol Overview](/getting-started/overview.md) to understand how BaseCase works.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.basecase.gg/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
