Conversation
…e proposal has already passed but not been finalized yet
…AOproject/programs into pileks/met-5-optimistic-governance
… optimistic governance proposal
…nto pileks/launchpad-v8
…ce' into pileks/met-49-restructure-sdk
…nto pileks/launchpad-v8
…nto pileks/launchpad-v8
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.
Adds the
launchpad_v8program (moonDJUoHteKkGATejA5bdJVwJ6V6Dg74gyqyJTx73n) implementing the full token-launch lifecycle: mint + USDC fundraise → launch-authority approvals → settlement (Squads DAO + futarchy AMM + Meteora DAMM v2 single-sided pool + optional bid wall) → claim/refund → finalize (Performance Package v2 + MintGovernor handover). Ships with SDK modulesdk/src/launchpad/v0.8/and a bankrun unit + integration test suite. Theprograms/launchpadsymlink now resolves tov08_launchpad.Instructions
initialize_launchLaunch, mints all distributable tokens up-front, installsMintGovernorand transfers mint authority to it.start_launchLive.fundFundingRecordand a time-weightedcommitted_amount_accumulator.extend_launchproductionbuilds) extends the launch period.close_launchClosediftotal_committed >= minimum_raise, elseRefunding.set_funding_record_approvalapproved_amount(≤ committed).settle_launchclaimapproved / total_approved * 10Mtokens.refundRefunding).claim_additional_token_allocationadditional_tokens_amount.finalize_launchMintAuthoritys under the governor (capped PP authority + uncapped DAO authority), inits PP v2 (5 tranches at[2, 4, 8, 16, 32]x), hands governor admin to the Squads vault.