Skip to content
New issue

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

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

Already on GitHub? # to your account

add whitelist to join dao extrinsic #211

Open
13 tasks
2075 opened this issue Nov 15, 2022 · 0 comments
Open
13 tasks

add whitelist to join dao extrinsic #211

2075 opened this issue Nov 15, 2022 · 0 comments

Comments

@2075
Copy link
Member

2075 commented Nov 15, 2022

User Story

As #user I want to join a dao. based on the dao settings there are three ways to allow the user to call the join extrinsic and effectively join a dao:

  • open: no retrictions
  • prime: prime adds user wallet address to whitelist
  • voting: a dao voting adds the user wallet address to whitelist

Acceptance Criteria

A. simple poc route:

  • 1 add member state to organisation graph to allow frontend to list users to whitelist
  • 2 user calls join ext -> add state active or pending when private dao
  • 3 user join ext executes, but state pending
  • 4 prime changes state via ext to active

B. long term route

Part I

  • 1. user can call join ext for open dao and becomes member
  • 2. user can call join ext for private dao and gets rejected
  • 3. prime manually adds a list of addresses to the whitelist, users call ext to join and become member
  • 4. dao voting adds a list of addresses to the whitelist, users call ext to join and become member
    bonus level
  • 5. user calls apply ext which creates a proposal vote to whitelist address

Part II

  • add binary vote for prime
  • add binary vote for dao members
  • add auto create proposal for member applications
  • user create proposal containing address list

example

  • create a proposal containing a list
  • this list is contained in the voting
  • approval adds the list to whitelist

Additional Information

  • check parity whitelist pallet
  • if whitelist not sufficeint, we can use memberState and let all users call ext to join but state becomes pending and vote is initiated.

How to test

  1. call ext and become member
@2075 2075 closed this as completed Jan 19, 2023
@2075 2075 reopened this Jan 19, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant