feat(metadao): config-driven PDA surface + local surfpool TDD (capstone gap) - #263
Merged
Merged
Conversation
…ne gap) MetaDAO launchpad_v7 (the ICO/launch program). THE CAPSTONE GAP: Orquestra's PDA Finder reports 'No PDA accounts found in this IDL' — its Anchor-IDL generator drops EVERY seed (none declared in IDL pda.seeds; they live only in v07 source). Gecko recovers launch/launch_signer/funding_record from source, all deriving the real mainnet addresses (verified on a surfpool fork, $0: launch + funding_record owned by launchpad_v7; launch_signer is a signing-authority PDA). Version gotcha handled: the program is v07_launchpad, not v08 (Orquestra's 'IDL v8' = its own upload counter). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…s CI) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
What
Fourth and capstone program on the config backbone: MetaDAO launchpad_v7 (the ICO/launch program,
moontUzsdepotRGe5xsfip7vLPTJnVuafqdUWexVnPM). Comprehended intoconfigs/orquestra/metadao_ico.json+ local TDD (offline$0+ real surfpool fork).The gap it showcases — the whole thesis in one program
Orquestra's PDA Finder reports "No PDA accounts found in this IDL" for this program. Its Anchor-IDL generator drops every seed, because none are declared in IDL
pda.seedsmetadata — they exist only as#[account(seeds=...)]in v07 source. So Orquestra derives nothing; Gecko recoverslaunch/launch_signer/funding_recordfrom source and derives them first-plan-correct. This is the cleanest demonstration yet of the comprehension gap Gecko fills.Version gotcha handled: Orquestra labels this "IDL v8" (its own upload counter), but the program is v07_launchpad, not v08 (
moonDJU…) — recipes verified against v07.Proof (verified, not claimed)
Ground truth = metaDAOproject v07 source, verified live against mainnet
getProgramAccounts(20/20 launches + 5/5 funding records re-derived). On a live surfpool fork ($0, read-only, no signing):launch→1AEZZsSh…— exists, owned by launchpad_v7 ✅funding_record→13DiYjVw…— exists, owned by launchpad_v7 ✅launch_signer→5spjbrDn…— derives correctly; a signing-authority PDA (used viainvoke_signed), so no persistent account required ✅Scope / follow-ons
Core derivable set only. Honest follow-ons needing new seed kinds:
token_metadata(constant-pubkey Metaplex seed + cross-program owner), the SPL ATA vaults, andcomplete_launch's caller-supplied foreign programs (DAMM v2 / Squads / Futarchy) — each flagged in the config notes.Note on merge order
Branched off main (apis = meteora/pumpfun). If #261 (ORE) merges first, expect a trivial one-line conflict on
provider.jsonapis(both append) — resolve by keeping all four.Gate
ruff+mypy geckoclean; targeted suites 16 passed; surfpool E2E passes withGECKO_SURFPOOL_E2E=1.🤖 Generated with Claude Code