# addresses

Live contracts on Base mainnet. Always verify on [BaseScan](https://basescan.org/) before interacting.

## basefun core (current)

| Contract                                         | Address                                      |
| ------------------------------------------------ | -------------------------------------------- |
| **FactoryV3** (current — fee-on-transfer tokens) | `0x9ee0e59CE9CB8bc0d4FFc938bE2e0d6eC218c529` |
| **LTFactory**                                    | `0xe082d0d78bf83846b0ea321fe794867e4b6c3779` |

## basefun core (legacy)

| Contract                                         | Address                                      |
| ------------------------------------------------ | -------------------------------------------- |
| **FactoryV2** (legacy — 0/0 transfer fee tokens) | `0x4ac796dcff36374f3b19dfc0ae1f109e923e48a6` |

FactoryV2 is no longer used for new launches but historical tokens deployed by it continue to trade. Both factories share the same `LTFactory`.

## Dependencies on Base

| Contract                      | Address                                      |
| ----------------------------- | -------------------------------------------- |
| USDC (native, FiatTokenV2\_2) | `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` |
| Uniswap V2 Router             | `0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24` |
| Uniswap V2 Factory            | `0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6` |
| Avantis Trading               | `0x44914408af82bC9983bbb330e3578E1105e11d4e` |
| Avantis TradingStorage        | `0x8a311D7048c35985aa31C131B9A13e03a5f7422d` |
| Avantis PairStorage           | `0x5db3772136e5557EFE028Db05EE95C84D76faEC4` |
| Avantis PairInfos             | `0x81F22d0Cc22977c91bEfE648C9fddf1f2bd977e5` |
| Avantis PriceAggregator       | `0x64e2625621970F8cfA17B294670d61CB883dA511` |

## Per-token addresses

Two on-chain contracts are deployed per launched token:

1. The **token** (`BasefunToken` for V1, `BasefunTokenV2` for V2).
2. Its **bonding curve** (`BondingCurveV2`).

Both are linked from the basefun token page (`/t/0x…`) and from the Uni V2 pair (created at graduation).

The LT, however, is **shared** across every token with the same `(pairIndex, leverage, direction)`. The basefun token page shows the LT address it points to; you'll see the same LT address across multiple tokens that share the underlying configuration.

## Operator addresses

| Role          | Public function                                                                                                                              |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Factory owner | Owns FactoryV2 and FactoryV3; can `setProtocolFeeRecipient`, `setMigrator`, `transferOwnership`.                                             |
| Treasury      | Receives `$1` deploy fee, the 0.5% protocol fee, $300 graduation cut, post-grad 50% of FOT fees. Bytecode-immutable on each per-token curve. |
| Keeper EOA    | Operates Avantis trades, sweeps post-grad fees. Whitelisted as a `migrator` on both factories.                                               |

Their specific addresses are visible in factory state on BaseScan (`owner()`, `protocolFeeRecipient`, `migrators(addr)`). They are not duplicated here so this page never drifts out of sync.


---

# 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/addresses.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.
