futarchy
futarchy copied to clipboard
Launchpad v7
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_approvalfor approval workflow - Maintains integration with Futarchy, DAMM v2, and performance packages
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
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