Decentralized Autonomous Corporation (DAC) Contracts
This project implements a framework for creating and managing Decentralized Autonomous Corporations (DACs) on the Ethereum blockchain. DACs are designed to operate as on-chain entities with governance, dividend distribution, and tithe mechanisms.
You can view live at red3.me or consider funding at Gitcoin
The DAC Factory contract has been deployed to the Sepolia testnet. You can interact with it using the following details:
- Contract Address:
0x7613cfc5e9ba49224bd1c34dc1c58ad7bb5feb0f
- Etherscan Link: https://sepolia.etherscan.io/address/0x7613cfc5e9ba49224bd1c34dc1c58ad7bb5feb0f
- DAC Creation: Deploy new DACs with customizable parameters.
- Governance: Implement CEO elections with configurable voting mechanisms.
- Dividend Distribution: Automatically distribute dividends to token holders.
- Tithe System: Implement a tithe mechanism for revenue sharing.
- Bylaws Management: Store and update bylaws for each DAC.
The main contract for each Decentralized Autonomous Corporation.
Key functions:
callForElection()
: Initiate a new CEO election.vote(address candidate)
: Cast a vote in the ongoing election.concludeElection()
: Finalize the election and update the CEO.disburse(uint256 amount)
: Distribute dividends to token holders.withdrawDividends()
: Allow token holders to withdraw their dividends.receivePayment(string calldata description)
: Receive payments and apply tithe.
A factory contract for deploying new DAC instances.
Key functions:
deployDAC(...)
: Deploy a new DAC with specified parameters.getDeployedDACs()
: Retrieve a list of all deployed DACs.
Bylaws.sol
: Manage bylaws for DACs.Payment.sol
: Manage receiving and sending payments .PermissionManagement.sol
: Handle permission and access control.Executor.sol
: Execute arbitrary transactions on behalf of the DAC.Tithe.sol
: Implement tithe mechanisms.
Warning: these contracts have not yet been audited but feedback is welcome
This project is licensed under the MIT License.