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

# Contracts

> v3 contract addresses on Robinhood Chain. Only the factory address needs to be hardcoded.

v3 is live on Robinhood Chain, chain id 4663. You only need the factory address in
your config, and you can read the other addresses from it. The factory is a
proxy, so its address stays the same through upgrades, and if a helper contract
is ever redeployed you'll pick up the new address from the factory.

```ts Resolving the stack theme={null}
// Only the factory address is hardcoded. The rest are read from it.
const factoryAbi = parseAbi([
  "function memeHook() view returns (address)",
  "function feeEscrow() view returns (address)",
  "function buybackVault() view returns (address)",
  "function locker() view returns (address)",
  "function launchDeployer() view returns (address)",
  "function graduationExecutor() view returns (address)",
  "function poolManager() view returns (address)",
  "function positionManager() view returns (address)",
]);

const reads = [
  "memeHook",
  "feeEscrow",
  "buybackVault",
  "locker",
  "launchDeployer",
  "graduationExecutor",
];

const [
  memeHook,
  feeEscrow,
  buybackVault,
  locker,
  launchDeployer,
  graduationExecutor,
] = await Promise.all(
  reads.map((functionName) =>
    client.readContract({ address: factory, abi: factoryAbi, functionName }),
  ),
);
```

## Deployed addresses

| Contract | Address | Note |
| - | - | - |
| Launch factory | `0xD1b8998dCf75641dC61651DF7956F30B8c5F2176` | PonsV2LaunchFactory · proxy, use this one |
| Factory implementation | `0xEad3CB43D553a4FcD5ad90f8E792966Fca5Ddafa` | PonsV2LaunchFactory · behind the proxy |
| Meme hook | `0xa84c2447c2930A6D822b19c52B291235400C65cC` | PonsV2MemeHook |
| Launch deployer | `0x2c67b5951e82A7bB23bd91AaE137BA5E8658f2F9` | PonsV2LaunchDeployer |
| Graduation executor | `0x49C36a19356Ca0eBC0905601752Aa11deEed5f81` | PonsV2GraduationExecutor |
| Fee escrow | `0xb50a7A753Fc460E212038cd373C9e4f4aBf36507` | PonsV2FeeEscrow |
| Launch locker | `0x5324b831f6AB3768fAc03f161551929fa47b72F3` | PonsV2LaunchLocker |
| Buyback vault | `0xf0D63e7A6989AbFE520A97209A42FFF48E1B2408` | PonsV2BuybackVault |
| Sweep relay | `0x4CeACDa6f8aae65613E0168b74485659C0dE5788` | PonsV2SweepRelay |
| Price guard | `0xdE38C628F984AEA1bae5e1CDA0f357b62f20b9F1` | PonsV2TwapGuard |

| | |
| - | - |
| Launch factory | Deploys every launch, stores the launch configs and quote asset settings, and seeds and locks the pool. It's behind a proxy, so the address stays the same across upgrades. Upgrades are timelocked: a new implementation is proposed, can be executed 8 hours later, and stays executable for 3 days after that. `UpgradeProposed` includes both timestamps. A new proposal replaces any pending one and restarts the timer, and `UpgradeCancelled` removes it. |
| Meme hook | The Uniswap v4 hook. It charges the fee on every swap, keeps track of fees, stores each pool's launch record, and runs the price oracle. |
| Launch deployer | Deploys the token with CREATE2. Token addresses are derived from this contract's address, not the factory's. |
| Graduation executor | Mints the launch's pool position, which the locker then holds. |
| Fee escrow | Holds claimable creator and protocol balances, in ETH and ERC-20s. |
| Buyback vault | Holds bought-back tokens and vests them to the creator's fee recipient. |
| Launch locker | Holds every launch's pool position, permanently. |
| Sweep relay and price guard | Run fee sweeps, check prices against the guard, and refund the caller's gas. Only allowlisted callers can use them. |

## Fees to holders

If a creator sends a token's fees to its holders, the fees go through a
distributor contract for that token, one per token. Anyone can deploy it with
`createFor(token)`, since it does nothing until the creator sets it as the fee
recipient. `distributorOf(token)` returns the existing one. Each distributor is a
proxy pointing at the same beacon, so they're all upgraded together.

| Contract | Address | Note |
| - | - | - |
| Distributor factory | `0x5E3620888329bF319f3A93b75C485Be91fa053Dc` | PonsFeeDistributorFactory · proxy |
| Distributor factory implementation | `0xCA328D20D4FE77D9E9acE3B35830D090fc1AF5E9` | PonsFeeDistributorFactory · behind the proxy |
| Distributor beacon | `0xb8b304Aa296bBAeF793D72E6427b97AFB6b3005B` | UpgradeableBeacon |
| Distributor implementation | `0x01772f52568B51EDc17c4275D726d5b3696752E0` | PonsFeeDistributor · behind the beacon |


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