z0r0z/majeur ? reverse-engineered prompt

Reverse engineered prompt

Build me a DAO framework for a Moloch style organization where members can always leave and claim their fair share of the treasury.

I want the core contracts, a simple deployment flow, and a basic dapp so people can create a DAO, join it, make proposals, vote, and execute approved actions. It should support ragequit, weighted split delegation, futarchy style prediction markets on proposals, and soulbound badges for top members. Please also include the token setup for voting shares, non voting loot, and vote receipts, plus a factory for deploying new DAOs with predictable addresses.

Make the metadata and visuals fully on chain if possible, including SVG rendering for the NFT and DAO info, and add a clean way to read the DAO state in batches for the frontend. Use the existing docs and tests as a guide, and if you need current references for Solidity or Foundry patterns, look them up online.