# addresses

All Durianfun contracts are deployed on **KUB Chain Mainnet (chain id 96)** and source-verified on Kubscan.

## Current production (V4.5)

### Main Factory

| Property          | Value                                                                                                                      |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------- |
| Contract name     | `DuriandotfunFactoryV45`                                                                                                   |
| Address           | [`0xdf4f3dB298A9aDe853191F58b4b2a322D47EC005`](https://www.kubscan.com/address/0xdf4f3dB298A9aDe853191F58b4b2a322D47EC005) |
| Verified          | ✅ Kubscan                                                                                                                  |
| Owner             | Durianfun Treasury multisig                                                                                                |
| Treasury receiver | `0x46799c319EB17cE9f52C2Ff22959C67bad92Dd0b`                                                                               |

### Test Factory (for developers experimenting with hybrid flow)

| Property      | Value                                                                                                                      |
| ------------- | -------------------------------------------------------------------------------------------------------------------------- |
| Contract name | `FactoryDV25`                                                                                                              |
| Address       | [`0xa1000BB39f36a630F1AB1b245B25Ca75a6744Aa5`](https://www.kubscan.com/address/0xa1000BB39f36a630F1AB1b245B25Ca75a6744Aa5) |
| Verified      | ✅ Kubscan                                                                                                                  |
| Base asset    | dKUB2 (test ERC-20)                                                                                                        |
| dKUB2 token   | [`0xf0E0a598b72dEb3cF331F164376864bb863E35fB`](https://www.kubscan.com/address/0xf0E0a598b72dEb3cF331F164376864bb863E35fB) |

## Legacy (still functional, no longer used for new tokens)

| Contract             | Address                                                                                                                    |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| V4.2 Main (legacy)   | [`0xeadEc9dA89F97Ae6215362EBA4B33F3F1d1775b2`](https://www.kubscan.com/address/0xeadEc9dA89F97Ae6215362EBA4B33F3F1d1775b2) |
| V2.4.2 Test (legacy) | [`0x96D0117DE988C20f4E4D4B27b46351D760b99D97`](https://www.kubscan.com/address/0x96D0117DE988C20f4E4D4B27b46351D760b99D97) |
| dKUB v1 (legacy)     | [`0x43e7d42AD8E9efC53cdEa920165c1e4c374005Ca`](https://www.kubscan.com/address/0x43e7d42AD8E9efC53cdEa920165c1e4c374005Ca) |

{% hint style="info" %}
Tokens created on legacy factories still trade normally via direct URL (`durianfun.xyz/token/<address>`). They just don't appear on the Live Markets list anymore. Their markets and AMMs are on-chain and immutable — nothing breaks.
{% endhint %}

## Per-token contracts

When you create a token, **three new contracts** are deployed by the factory:

{% stepper %}
{% step %}

#### `BondingCurveMarket`

Handles buys/sells pre-graduation.
{% endstep %}

{% step %}

#### `DurianToken` (ERC-20)

The actual token contract.
{% endstep %}

{% step %}

#### `DurianAMM`

Deployed later, at graduation time.
{% endstep %}
{% endstepper %}

Each token gets its own unique copies. Addresses are deterministic per-transaction and recorded in the factory's `tokenInfo` mapping.

You can look up any token's market + AMM via:

```solidity
factory.getTokenInfo(tokenAddress)         // returns {token, market, creator, ...}
factory.getAmmPool(tokenAddress)           // returns AMM address (0x0 if not graduated)
```

## Chain info

| Field           | Value                                                 |
| --------------- | ----------------------------------------------------- |
| Chain           | KUB Chain Mainnet                                     |
| Chain ID        | 96 (0x60)                                             |
| RPC             | `https://rpc.bitkubchain.io`                          |
| Explorer        | [`https://www.kubscan.com`](https://www.kubscan.com/) |
| Native currency | KUB                                                   |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://durianandfun.gitbook.io/durianfun/durian-launchpad/resources/contracts/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.
