# live

basefun V1 is live on Base mainnet and serving real launches.

## On-chain

* **FactoryV2** (legacy 0/0 token).
* **FactoryV3** (current — V2 token with 1% FOT post-grad).
* **LTFactory** + on-demand `LeveragedToken` deployments.
* **`createToken`** with deploy fee + mandatory initial buy.
* **Automatic graduation** at $10k reserve or full curve sellout.
* **`migrateToUniV2`** with permanent LP burn at `0xdead`.
* **21 Foundry tests** covering V1 + V2 paths, all passing.

## Off-chain services

* **API + indexer** serving `/api/tokens`, trades, candles, holders, earnings, positions, markets, stats, and the cross-token Recent Trades feed.
* **Keeper bot** opening Avantis perps on LT mints, auto-migrating graduated curves, sweeping post-grad fees and dispatching 50/50 to treasury + creator.
* **Telegram alert bot** posting every new launch into <https://t.me/basefunapp>.
* **BaseScan auto-verifier** marking each new token verified in \~30s.
* **Image uploader** with on-chain `imageURI`.

## Frontend (basefun.app)

* `/` home with trending / new / graduated tabs, sort by live market cap, filters by market category / leverage / direction / search.
* `/t/[address]` token page: chart with 10 timeframes (price & MC), trades, holders, earnings, my positions, social links, BaseScan link.
* `/create` launch flow: image upload, market picker (99 Avantis pairs), leverage / direction, custom creator fee recipient, ≥ $20 initial buy preview, social fields.
* `/whitepaper` for the high-level economic and technical overview.
* Right-hand `ActivityRail` with live portfolio + cross-token recent trades feed.
* Mobile-responsive layout (TradeBox stacks above content on small screens).

## Real-time

* WebSocket subscription to `Bought` / `Sold` / `Swap` events for sub-second chart updates.
* Cross-token Recent Trades feed polled every 5s.
* Tokens listing refetches every 5s.

## Verified end-to-end

| Capability                                  | Confirmed |
| ------------------------------------------- | --------- |
| Token launches                              | ✓         |
| Buy / sell pre-bond                         | ✓         |
| Graduation at $10k                          | ✓         |
| Migration to Uni V2                         | ✓         |
| Permanent LP burn                           | ✓         |
| Buy / sell post-bond (V1 plain swap)        | ✓         |
| Buy / sell post-bond (V2 FOT swap)          | ✓         |
| Pre-bond fee split (inline 0.5%/0.5%)       | ✓         |
| Post-bond FOT skim → keeper                 | ✓         |
| Post-bond keeper sweep → treasury + creator | ✓         |
| Telegram alert on launch                    | ✓         |
| BaseScan auto-verify                        | ✓         |
| Holders + chart + trades indexed live       | ✓         |


---

# 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://basefun.gitbook.io/basefun-docs/live.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.
