> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Integrate Klik on Robinhood Chain

> Complete Klik integration guide for Robinhood Chain: contracts, ABI, Uniswap V4 pricing, liquidity tracking, dynamic fee hook, migration, and token metadata.

# Klik Launchpad Integration on Robinhood Chain

Learn how to index and integrate the Klik launchpad on Robinhood Chain, including contract discovery, ABI events, token pricing, liquidity, bonding state, graduation, and metadata.

> Protocol reference: [Klik developer documentation](https://klik.finance/docs)

## Network and contracts

| Chain     |   ID | Factory                                      | Hook                                         |
| --------- | ---: | -------------------------------------------- | -------------------------------------------- |
| Ethereum  |    1 | `0x254Bf550657040f78608476cE9AaD820aB2266ad` | Read from PoolKey                            |
| Base      | 8453 | `0xB6CB1c049ee8942683Fd3172f7EBA63B6e8a6835` | `0x487f034772b128e917b23a4edfd53442aa8de0cc` |
| Robinhood | 4663 | `0x16cF6788B762EE8969744586eD16fc5705140dd7` | `0x745d717620052a97a22deee2e5eba59583f3e0cc` |

## Market discovery and ABI

Discover PoolIds from PoolManager `Initialize`; verify the chain hook and factory registration. Preserve PoolKey currency order.

### Relevant ABI

```solidity theme={null}
function tokenInfoByAddress(address token) view returns (address tokenAddress,string name,string symbol,address deployer,uint256 time,string metadata,uint256 marketCapInETH,uint256 totalFeesGenerated);
function deployCoin(string name,string symbol,string metadataUri,bytes32 salt,...) returns (address token);
function collectFees(address tokenAddress) returns (uint256 ethCollected);
```

Index PoolManager `Initialize`, `Swap`, and `ModifyLiquidity`.

## Launchpad architecture and AMM model

Klik is a token launchpad built on top of Uniswap v4. PoolManager supplies the AMM, while the Klik hook and factory add atomic token deployment, dynamic launch fees, creator revenue, metadata registration, and inventory-based launch progress.

**Classification: Uniswap v4-like with a Klik hook.** Markets are PoolManager PoolIds and use standard PoolKeys, square-root pricing, ticks, swaps, and liquidity modification. The hook adds dynamic fees and creator/platform fee routing; Klik also treats consumption of the seeded token inventory as launch progress without migrating pools.

**Shared with V4:** singleton PoolManager, currency ordering, hook address in PoolKey, `sqrtPriceX96`, and `ModifyLiquidity`. **Protocol-specific:** chain-specific factory/hook verification, dynamic fee schedule, 1-billion-token seeded inventory, creator fees, and metadata registration.

## Price calculation

Use `currency1/currency0 = sqrtPriceX96² / 2¹⁹²`, adjusted for decimals. Dynamic hook fees affect execution amounts, not the square-root spot-price definition.

## Liquidity tracking

Track PoolManager liquidity deltas by PoolId and convert position liquidity to currency amounts using current sqrt price and ticks. Do not treat liquidity `L` as reserve balances.

## Launchpad state, bonding, and migration

Klik seeds 1,000,000,000 tokens and does not migrate. `progress = clamp((initialSupply - launchedTokenReserve) / initialSupply × 100)`. Sells return tokens and reduce progress.

## Metadata

Read `tokenInfoByAddress(token).metadata`, normalize HTTPS/IPFS, and parse name, symbol, description, image, website, Twitter and Telegram.

## Related Robinhood Chain launchpad integrations

* [Long.xyz launchpad integration on Robinhood Chain](/almanac/robinhood-launchpads/longxyz)
* [Printr launchpad integration on Robinhood Chain](/almanac/robinhood-launchpads/printr)
* [ApeStore launchpad integration on Robinhood Chain](/almanac/robinhood-launchpads/apestore)

For broader methodology, see [Bonding Curves Mathematics](/almanac/bonding-curves) and [Pricing Engine Deep Dive](/almanac/pricing-engine).
