First iteration of how we imagine DAO membership to work by Michael🔮
The definition of membership is in general fuzzy, and we believe it is up to the DAO to define what qualifies for membership. Membership can be expressed through roles attached to an address (EOA or contract) via the DAOs permission management system or, more general, attestations to a decentralized identity (DID) profile attached to the address.
In the simplest case, DAOs might have a MEMBER
role and grant it to an address, thus giving certain privileges to the address owner. We believe that a set of roles will exist in a DAO, so a subset of those roles might qualify for membership.
A more general way of deciding on the DAO membership status of an address could be via an oracle and based on attestations to the DID profile attached to the address. If the profile contains the necessary attestations, the oracle confirms the membership status.
Query the subgraph of the specific DAO for Granted
events containing the MEMBER
role,
and check if the mentioned who
address hasPermission
.