// the find
CodeforDAO/contracts
Solidity smart contracts of CodeforDAO
A Solidity DAO framework built around membership NFTs (ERC721) as the unit of governance identity, with a paired ERC20 share token, dual governance tracks (1-member-1-vote and share-weighted), a treasury vault, and a module system for extending DAO operations. Targets teams wanting to deploy a full governance stack from a single contract deployment. Last touched August 2022 and explicitly unaudited.
Dual governance tracks (NFT-based founding team votes vs. share-based investor votes) is a genuinely useful separation that most DAO frameworks collapse into one; the module system with timelocked multi-sig approval for operational decisions is a reasonable middle ground between full DAO votes and plain multisigs; uses hardhat-deploy for reproducible multi-environment deployments with fixture staging (TEST_STAGE) which makes integration testing less painful; both Hardhat and Foundry test suites present, so you have coverage from two independent toolchains.
Unaudited by the authors' own admission, no gas optimization done, and the last commit was August 2022 — this is effectively abandoned; single-contract deployment (Membership deploys everything) is convenient but creates a monolithic upgrade problem since none of the contracts appear to be upgradeable proxies; the npm install requires --force due to a hardhat plugin version conflict, which is a sign of dependency rot that's only gotten worse in 4 years; no documented deployment addresses, no mainnet history, and no evidence this was ever used in production beyond local testnet.