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

Adapter: SignUp #511

Open
fforbeck opened this issue Mar 2, 2022 · 0 comments
Open

Adapter: SignUp #511

fforbeck opened this issue Mar 2, 2022 · 0 comments
Labels
adapter enhancement New feature or request

Comments

@fforbeck
Copy link
Contributor

fforbeck commented Mar 2, 2022

If the DAO is configured to work with an external token (ERC20 that implements the getPriorAmount function), any token holder is eligible to become a DAO member.

However, just holding the token is not enough to become a member. Mainly because the DaoRegistry.sol relies on a member list: https://github.com/openlawteam/tribute-contracts/blob/master/contracts/core/DaoRegistry.sol#L128, and to update that list we need to "onboard" the token holders.

One idea is to create a SignUp adapter. The SignUp adapter will have a public function that any token holder is allowed to call it. This function will check if the msg.sender actually holds the external token configured in the DAO (balance > 0), if so, the token holder account gets added to the DaoRegistry.sol membership list, and the holder has signed up as a DAO member.

@fforbeck fforbeck added enhancement New feature or request adapter labels Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adapter enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant