GnoDAO is an on-chain DAO app built on gno.land. This project serves as an initial experiment with Gno, introducing a simple and interactive decentralized governance system.
It allows members to:
- Define a single administrator.
- Join or leave the DAO (via a dynamic whitelist).
- Create, edit, and close proposals.
- Vote (yes/no) on active proposals.
- View DAO statistics in real time.
-
Admin Management:
- The
SetAdmin()function allows a one-time admin setup.
- The
-
Whitelist System:
- Users can join with
JoinDAO()and leave withLeaveDAO(). - Whitelist members are displayed via
ShowWhitelist().
- Users can join with
-
Proposal System:
- Create new proposals with
CreateProposal(title, description). - Only the creator can close or edit a proposal.
- View all proposals (active/closed) via
ShowProposals().
- Create new proposals with
-
Voting Mechanism:
- Whitelisted members can vote once per active proposal (yes/no).
- Voting is disabled once the proposal is closed.
-
Statistics:
- Total number of proposals.
- Number of active proposals.
- Number of whitelist members.