feat(liquidity-launcher-sdk): instant-launch pool shape — the 2026-08-05 redeploy mints at tick spacing 25 - #683
feat(liquidity-launcher-sdk): instant-launch pool shape — the 2026-08-05 redeploy mints at tick spacing 25#683marktoda wants to merge 3 commits into
Conversation
…-05 redeploy mints at tick spacing 25 The full redeploy recompiled InstantLaunchStrategy (TICK_SPACING 60 -> 25, initialTick 198,060 -> 198,050, MIN_LAUNCH_TICK -208,980 -> -160,100); the SDK still described all three as unchanged across deploys. All values read back on-chain from all ten deployed strategies' getters. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
● Reviewed · 2026-08-06 01:17 UTC · view run ↗
Fixes the instant-launch pool shape for the 2026-08-05 chain-4663 redeploy: tick spacing 60 → 25, initial tick 198,060 → 198,050, min launch tick -208,980 → -160,100, with a AssessmentThis mirrors the quick-launch fix from #680 on the instant-launch side that was missed: same |
There was a problem hiding this comment.
Note
✅ Approved — see full review in the sticky comment ↑
Graphite Automations"Request reviewers once CI passes on sdks monorepo" took an action on this PR • (08/06/26)3 reviewers were added and 1 assignee was added to this PR based on Siyu Jiang (See-You John)'s automation. |
Why
1.9.0 shipped the quick-launch graduation-pool spacing (50 → 25, #680) but the instant-launch side has the same problem and was missed: the SDK still says
INSTANT_LAUNCH_POOL_TICK_SPACING = 60, documented as "unchanged across deploys". The 2026-08-05 chain-4663 full redeploy did NOT re-pin the 3e05da8 strategy unchanged — it recompiled it with a new pool shape.On-chain evidence (Robinhood RPC, 2026-08-05)
Read back from every registered strategy's getters:
TICK_SPACING()initialTick()MIN_LAUNCH_TICK()0x23f82095…fees-on,0xAD44D55E…fees-offLP_FEE()is 2500 on all ten — genuinely unchanged.Live confirmation:
TokenLaunchedevents from the new strategies carry pool keys(2500, 25, hookless)— e.g. token0x91F1c022…at block 28,897,813, poolId0x2d5e17e0…, now a golden test vector.What changed
INSTANT_LAUNCH_POOL_TICK_SPACING60 → 25; newINSTANT_LAUNCH_ALLOWED_POOL_TICK_SPACINGS = [25, 60]grandfather set (same shape as the quick-launch one — pools are permanent, consumers race every entry).INSTANT_LAUNCH_INITIAL_TICK198,060 → 198,050;INSTANT_LAUNCH_MIN_LAUNCH_TICK-208,980 → -160,100.InstantLaunchDeployment.tickSpacing/.minLaunchTick— new per-generation registry fields beside the existinginitialTick, which is now correctly 198,050 on the redeploy pair (it was wrong for those two entries).getInstantLaunchPoolKey/getInstantLaunchPoolIdtake an optionaltickSpacing(default: current generation); newgetInstantLaunchPoolKeysreturns all candidate keys newest-first;QuoteInstantLaunchBuyParams.tickSpacingthreads the override through quoting. Pre-redeploy tokens keep deriving their real (spacing-60) pools.Testing
bun test: 225 pass. Two golden vectors: the pre-redeploy TTT token pinned at spacing 60 (unchanged poolId) and the new post-redeploy token at the default (poolId from its on-chainTokenLaunchedevent).typecheck+lintclean.🤖 Generated with Claude Code