Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: psp22 Dao_example0 #422

Open
wants to merge 56 commits into
base: main
Choose a base branch
from
Open

feat: psp22 Dao_example0 #422

wants to merge 56 commits into from

Conversation

ndkazu
Copy link

@ndkazu ndkazu commented Jan 9, 2025

Description

Issue #337
This contract implements a Decentralized Autonomous Organization using Psp22 for Projects funding.
The key functionalities include:

  • Membership Management: It maintains a registry of DAO members.
  • Proposal Lifecycle: The contract manages the creation, voting, and execution of proposals. Each proposal includes details like description, voting period, vote tallies, execution status, beneficiary, and amount to be awarded.
  • Voting Mechanism: It implements a voting system where members can cast votes with their balance on proposals. The contract tracks voting periods and maintains vote counts for each proposal.
  • Token Integration: The DAO is associated with a specific Psp22 token_id.
  • Governance Parameters: governance parameters such as voting periods are customizable.
  • Vote Tracking: The contract keeps track of when members last voted.
  • Proposal Execution: Once a proposal's voting period ends and it passes, the contract handles the execution of the proposal: Transfer funds to the chosen beneficiary.]

ToDo

  • Tests
  • Create a new Dao works
  • A new member joins the Dao works
  • Member creates a proposal works
  • Members vote system works
  • Proposal enactment works
  • Voting twice for the same proposal fails
  • Vote fails if not a member
  • Vote fails if voting period ended
  • Proposal enactment fails if proposal was rejected
  • Same proposal consecutive claim fails
  • Others
  • Events
  • in-code documentation

@ndkazu ndkazu changed the title Psp2 Dao_example0 feat: psp22 Dao_example0 Jan 9, 2025
@ndkazu ndkazu mentioned this pull request Jan 9, 2025
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants