fix(liquidity-launcher-sdk): add append-only LBP_STRATEGY_DEPLOYMENTS registry (Fixes #8051) - #688
Open
TanmayDagur wants to merge 1 commit into
Open
TanmayDagur wants to merge 1 commit into
TanmayDagur wants to merge 1 commit into
Conversation
… registry (#8051) Adds a historical deployment registry for LBP strategies to enable downstream indexers to backfill launches from older strategy deployments (e.g., Robinhood legacy deployments). This addresses the issue where earlier native launches were missing from rankings/search because the indexer was only aware of the most recent strategy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #8051
Before:
The
/launchesindex hard-starts at2026-07-24 22:05 UTC(missing earlier native launches, like thelilunitoken on Robinhood). This happens because the SDK'sLAUNCHER_ADDRESSESobject only provides the most recentLBPStrategydeployment for a given chain (e.g., the v3.1.0 update on July 10). Downstream indexers that rely on this object lose visibility into auctions deployed using older, superseded strategies.After:
This PR introduces a true append-only deployment registry for LBP strategies (
LBP_STRATEGY_DEPLOYMENTSinaddresses.ts), mirroring the pattern already used forINSTANT_LAUNCH_DEPLOYMENTSandAUCTION_FACTORY_DEPLOYMENTS.It includes all 19 historical and current LBP strategies (including the legacy and v3.0.0 Robinhood addresses) across the 9 supported chains. By utilizing the newly added
getLbpStrategyDeploymentshelper, downstream indexers can easily resolve and backfill all past native launches from all historical LBP strategy generations.How Has This Been Tested?
bun test) - all 169 tests pass.tsc --noEmit) - clean.addresses.test.tsto ensure historicalLBPStrategygenerations are retained and properly returned by the registry helpers.