This section covers the V2 contracts on Ink mainnet. For V1 contracts, see Legacy Contracts.
Addresses on Ink mainnet (chain 57073)
| Contract | Address |
|---|---|
| InkyPumpHook (proxy) | 0x4cC8F6d5B7cE150CCC0A9B7664532B1283b96AC4 |
| LaunchViewModule | 0xce83E3659251116d114Ec1CA729ffB49B99403c3 |
| SaleSplitCalculator | 0xF665c51026e4c35Bbc4FC91F00c7A4b10089ED1f |
| PoolManager (Uniswap V4) | 0x360E68faCcca8cA495c1B759Fd9EEe466db9FB32 |
| Universal Router (Uniswap V4) | 0x551134e92e537cEAa217c2ef63210Af3CE96a065 |
| Quoter (Uniswap V4) | 0x3972C00f7ed4885e145823eb7C655375d275A1C5 |
| StateView (Uniswap V4) | 0x76Fd297e2D437cd7f76d50F01AfE6160f86e9990 |
| Position Manager (Uniswap V4) | 0x1b35d13a2E2528f192637F14B05f0Dc0e7dEB566 |
| Permit2 | 0x000000000022D473030F116dDEE9F6B43aC78BA3 |
| WETH | 0x4200000000000000000000000000000000000006 |
Architecture
V2 splits the launch system into a UUPS proxy plus separate stateless modules. The proxy holds state and routes calls. The modules implement the logic.LaunchTradingModule and point the proxy at it through configureModules, without redeploying the hook itself.
Why modular
- Bug fixes ship as a module redeploy without touching the proxy or its state
- Each module can be audited independently
- New features (like the referral variants of buy and sell) added by upgrading the trading module
Common integration entry points
| What you want to do | What to call |
|---|---|
| Launch a token | createLaunch or createLaunchWithReferral on the hook |
| Buy on the curve | buy or buyWithReferral on the hook |
| Sell on the curve | sell or sellWithReferral on the hook |
| Preview a buy | previewBuyLocal(...) on LaunchViewModule, with state from getLaunchState |
| Preview a sell | previewSellLocal(...) on LaunchViewModule, with state from getLaunchState |
| Read launch state | getLaunchState(launchId) on the hook |
| Update creator fee split | updateCreatorFeeSplit(launchId, newSplitBps) on the hook |
| Withdraw accrued fees | withdrawFees() on the hook |
| Swap a bonded token | Uniswap Universal Router on the V4 pool |
Constants
FromLaunchSharedState.sol:
Where to next
ABI
Function signatures and event topics.
Token Creation
createLaunch and createLaunchWithReferral.
Trading
buy, sell, and the referral variants.
Quotes
Preview functions for buys, sells, and sale splits.
Integration Guide
End to end integration walkthrough.
Legacy Contracts
V1 contract addresses.