> ## Documentation Index
> Fetch the complete documentation index at: https://pons-labs-llc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Building on Pons

> What a Pons token is on chain, which contracts launched it, and how to reach the chain.

Pons has launched tokens through two generations of contracts. Both are still
trading, so an integration has to know which one a token came from.

| Generation | Where a token trades | Launching today |
| - | - | - |
| **v2** | Its own bonding curve, then a Uniswap v4 pool with the Pons hook | Yes, through the [active v2 factory](https://pons-labs-llc.mintlify.site/developers/contracts.md#v2) |
| **v1** | Its own Uniswap v3 pool, paired with WETH, from the first block | Only through the v1 proxy factory. See [v1 tokens](https://pons-labs-llc.mintlify.site/developers/v1-tokens.md) |

PONS itself is a v1 token.

## Find which contracts a token belongs to

Ask the factories, not the event logs. A v2 token answers
`getLaunchedToken(token)` on the factory that launched it with `exists` set to
true. A v1 token answers `getLaunchedToken(token)` on its v1 factory.

Several v2 stacks exist, each a factory, hook, escrow, locker and vault that
belong together. A token keeps trading and paying out through the stack it
launched on, so look up its stack rather than assuming the active one. Reading a
creator's balance from the wrong escrow returns zero instead of failing.

> [!WARNING]
>
> Filter every log query by contract address. An unrelated fork of these contracts
> on the same chain emits byte-identical `TokenLaunched` events.

## Network

| | |
| - | - |
| Chain | Robinhood L2, chain id `4663` |
| Public RPC | `https://rpc.mainnet.chain.robinhood.com` |
| Explorers | [robin.etherscan.io](https://robin.etherscan.io), [robinhoodchain.blockscout.com](https://robinhoodchain.blockscout.com) |
| Native currency | ETH |

The public RPC refuses `eth_getLogs` ranges over 10,000,000 blocks (100,000 with
OR'd topics), returns at most 10,000 logs per call, and rejects `"earliest"` as a
block tag. Page by block range from a contract's deployment block.

`block.number` inside these contracts is the Ethereum L1 block number, not the
L2 one. That matters for the [v1 launch window](https://pons-labs-llc.mintlify.site/developers/v1-tokens.md#launch-window).

## The pages

* [Contracts](https://pons-labs-llc.mintlify.site/developers/contracts.md): every address, verified on chain.
* [Launching](https://pons-labs-llc.mintlify.site/developers/launching.md): launch configs, pinned terms, exemptions,
  launching and buying in one transaction.
* [Trading on the curve](https://pons-labs-llc.mintlify.site/developers/trading.md): buying, selling, quoting and
  graduation.
* [Reading state](https://pons-labs-llc.mintlify.site/developers/reading-state.md): the launch record, reserves, price,
  progress, fee rates and vests.
* [Fees and claims](https://pons-labs-llc.mintlify.site/developers/fees-and-claims.md): sweeps, the escrow, and
  changing the fee recipient.
* [Uniswap v4 pools](https://pons-labs-llc.mintlify.site/developers/uniswap-v4.md): the pool key and what the hook
  does.
* [Events](https://pons-labs-llc.mintlify.site/developers/events.md) and [errors](https://pons-labs-llc.mintlify.site/developers/errors.md).
* [v1 tokens](https://pons-labs-llc.mintlify.site/developers/v1-tokens.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.