futarchy icon indicating copy to clipboard operation
futarchy copied to clipboard

Launchpad v7

Open pileks opened this issue 1 month ago • 1 comments

Summary

Introduces launchpad v7 with approval-based funding mechanism, allowing launch authorities to review and approve funding commitments before token distribution.

Key Functional Changes

Approval-Based Funding Flow

  • Funders commit USDC during the launch period
  • Launch authority reviews and approves/rejects funding records via set_funding_record_approval
  • Token distribution based on approved amounts rather than total committed

Launch Completion

  • Requires total approved amount ≥ minimum raise amount
  • Distributes tokens proportionally based on approved contributions
  • Rejected funders can claim refunds for unapproved amounts

Backwards Compatibility

  • v6 remains unchanged and fully supported
  • Separate SDK clients for v6 (LaunchpadClient) and v7
  • Independent test suites

Program Details

  • Program ID: moontUzsdepotRGe5xsfip7vLPTJnVuafqdUWexVnPM
  • New instruction: set_funding_record_approval for approval workflow
  • Maintains integration with Futarchy, DAMM v2, and performance packages

pileks avatar Nov 20 '25 02:11 pileks

One pending item left for this to get reviewed by audit etc:

  • [x] investor carve out - this will be where we set a token supply amount which will be sent to an address

R-K-H avatar Nov 26 '25 01:11 R-K-H

One pending item left for this to get reviewed by audit etc:

* [ ]  investor carve out - this will be where we set a token supply amount which will be sent to an address

@R-K-H done as part of #368

pileks avatar Nov 28 '25 22:11 pileks