feat(solana): support doppler-sdk 1.0.22 launches#3
Open
Sabnock01 wants to merge 3 commits into
Open
Conversation
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.
Summary
Updates the Solana launch API to work with
@whetstone-research/doppler-sdk@1.0.22and tightens the public Solana launch contract for integrators.SDK 1.0.22 compatibility
@whetstone-research/doppler-sdkto^1.0.22.launchFeeStateswapFeeBpscurveFeeBpsas a backward-compatible request/response alias forswapFeeBps.Solana CPMM migration support
migration.type="none"for initializer launches.migration.supportCpmm?: boolean.falseor omitted uses the system program for hook and migrator, with empty payloads and disabled hashes.trueuses the canonical CPMM hook and CPMM migrator.migration.minimumQuoteRaise?: string, required whensupportCpmm=trueand denominated in quote token atoms.economics.baseForDistributionandeconomics.baseForLiquidityonly whensupportCpmm=true.minRaiseQuoteSolana launch hardening and defaults
6; WSOL quote decimals remain9.solanaMainnetBeta/mainnet-betaremains scaffolded and returns501 SOLANA_NETWORK_UNSUPPORTED.Fee beneficiaries
shareBpsmust sum to10000Transaction submission
maxRetries: 0, which fixed dropped devnet submissions in live testing.API/types/docs/tests
Verification
npm run lintnpm run typechecknpm run test:integrationoxfmt,oxlint,typecheck