-
Notifications
You must be signed in to change notification settings - Fork 397
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(commondao): Add Common DAO realm #3791
base: devx/feature/commondao
Are you sure you want to change the base?
feat(commondao): Add Common DAO realm #3791
Conversation
Currently anyone can invite. We have to add an admin or use a package like `p/moul/authz` once available to make it permissioned.
🛠 PR Checks SummaryAll Automated Checks passed. ✅ Manual Checks (for Reviewers):
Read More🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers. ✅ Automated Checks (for Contributors):No automated checks match this pull request. ☑️ Contributor Actions:
☑️ Reviewer Actions:
📚 Resources:Debug
|
Related to #3605 |
Done to simplify iteration and pagination.
Iterator can be cerated by callers so the `Iterate` public function was removed as it's redundanto now.
func Render(string) string { | ||
// TODO: Implement Render support | ||
return "" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Render will be implemented in a following PR focused on implementing it
// Invite invites a user to the realm. | ||
// A user invitation is required to start creating new DAOs. | ||
func Invite(invitee std.Address) { | ||
// TODO: Use an authority to restrict inviters when `p/moul/authz` is available |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Authority support will be added in a following PR
This is one approach for a Common DAO realm that aims to create a new realm to allow dApps to create DAOs on demand.
Realm should allow creating standalone DAOs and tree based DAOs making it possible for dApps to choose the DAO mechanics that they want the Common DAO realm to provide.
Many of these mechanics will be based on AtomOne's Common DAO Spec.