Skip to content

Launchpad v8#451

Open
pileks wants to merge 127 commits intodevelopfrom
pileks/launchpad-v8
Open

Launchpad v8#451
pileks wants to merge 127 commits intodevelopfrom
pileks/launchpad-v8

Conversation

@pileks
Copy link
Copy Markdown
Contributor

@pileks pileks commented Apr 15, 2026

Adds the launchpad_v8 program (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 module sdk/src/launchpad/v0.8/ and a bankrun unit + integration test suite. The programs/launchpad symlink now resolves to v08_launchpad.

Instructions

Instruction Role
initialize_launch Creates Launch, mints all distributable tokens up-front, installs MintGovernor and transfers mint authority to it.
start_launch Launch authority flips state to Live.
fund Funder deposits USDC; updates FundingRecord and a time-weighted committed_amount_accumulator.
extend_launch MetaDAO multisig (in production builds) extends the launch period.
close_launch Permissionless after launch period; Closed if total_committed >= minimum_raise, else Refunding.
set_funding_record_approval Launch authority sets each funder's approved_amount (≤ committed).
settle_launch Creates DAO, seeds futarchy AMM (1/5 USDC + 2M tokens) and Meteora pool (900k tokens single-sided), routes remaining USDC to treasury (and bid wall if enabled), transfers metadata authority.
claim Funder pulls approved / total_approved * 10M tokens.
refund Funder pulls unapproved USDC (or full committed if Refunding).
claim_additional_token_allocation One-shot transfer of optional additional_tokens_amount.
finalize_launch Registers two MintAuthoritys 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.

pileks and others added 30 commits January 8, 2026 22:34
…e proposal has already passed but not been finalized yet
…AOproject/programs into pileks/met-5-optimistic-governance
pileks added 26 commits April 17, 2026 23:57
@pileks pileks changed the base branch from pileks/met-49-restructure-sdk to develop April 29, 2026 21:51
@pileks pileks marked this pull request as ready for review April 29, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant