Extend Unlock DAO to EIP-4824
ID 885149...2892
ID 885149...2892
Unlock
Unlock
Proposed on: Sep 27th, 2023
Proposed on: Sep 27th, 2023
Votes
Actions
Proposal
Proposal
TL;DR
This proposal, if passed, will execute the transaction specified below, making Unlock DAO EIP-4824 compliant. No changes to the Unlock protocol's governance/smart contracts and no transfer of funds are involved with this proposal.
The EIP-4824 standard has already been embraced by the likes of Snapshot, Aragon, Optimism, etc. DAOstar, with the help of a recent grant from Optimism, has built a daoURI for Unlock DAO.
A Snapshot proposal on Unlock DAO adopting EIP-4824 passed unanimously
ABSTRACT
The EIP-4824 standard defines common interfaces for DAOs via daoURI, akin to tokenURI for NFTs. This proposal will extend Unlock DAO to EIP-4824 by deploying a new registration contract through a contract interaction with the EIP-4824 factory maintained by DAOstar.
MOTIVATION
The absence of a global DAO interface has been holding back the ecosystem for a long time. New DAOs, and DAO frameworks have zero visibility on aggregators, most tooling providers have a hard time integrating with different DAO architectures, there is no comprehensive, self-maintaining registry for DAO data, etc. EIP-4824 aims to solve the above issues by providing a method for DAOs to self-publish information irrespective of their architecture or the chain they exist on.
Adopting the EIP-4824 standard will enrich the on-chain information availability of Unlock’s governance contracts, making it easier for existing and future DAO tools to seamlessly interact with the contracts. A specific example is enabling members to interact with the Unlock DAO governance contracts through different front-end interfaces, potentially across multiple chains. Some of the tools that are digesting or committed to digesting this enriched information include Snapshot, Tally, Etherscan, DeepDAO, and other members of DAOstar One.
- EIP-4824 has gained traction with industry leaders such as Snapshot (in Snapshot X), Aragon V3, Moloch V3, DAODAO, and Aave.
- We are proud to announce that we recently secured a $100k grant from Optimism to promote EIP-4824 adoption among DAOs.
- ShapeShift DAO recently passed a proposal to adopt EIP-4824
- Importantly, adopting this standard does not necessitate any fund transfers from Unlock or alterations to its current smart contracts. It simply involves deploying a registration contract to store Unlock’s daoURI. With the support from the Optimism grant, DAOstar will assist in crafting the required daoURI for Unlock DAO.
DAOstar (https://daostar.org/) is a non-profit that builds standards and public infrastructure for DAOs. We are supported by the Ethereum Foundation, Gnosis, Optimism Collective, The Graph, Aragon, and other members of DAOstar One (https://daostar.one/). Both Snapshot and Tally, which Unlock DAO uses in its governance, along with 80+ key organizations in the DAO ecosystem, are active members of the DAOstar One Roundtable.
SPECIFICATION
If passed, Unlock DAO will upgrade to EIP-4824 by calling the EIP-4824 registration contract located at 0x2Dac5DBbF1D024c1E0D9c92D3AeDa7618e15aDd7 on Ethereum Mainnet, setting the timelock contract as its admin. No funds will be transferred.
The registration contract exposes a daoURI view function which returns the URI containing the EIP-4824 compliant registration JSON document.
This proposal will execute the following call to 0x2Dac5DBbF1D024c1E0D9c92D3AeDa7618e15aDd7 on Ethereum Mainnet to complete the registration:
Call EIP4824RegistrationSummoner.summonRegistration(salt, daoURI,manager, contracts, data)
New clones are deployed to predictable addresses using the message sender and a bytes32 value combined as a salt.
Note: In the Snapshot proposal that was passed, the address used for the EIP-4824 Registration Summoner was 0x37df3fc47c1c3a2acafd2dad9c1c00090a8655bc. In this proposal, we have updated it to 0x2Dac5DBbF1D024c1E0D9c92D3AeDa7618e15aDd7 due to improvements made to the Registration Summoner, including the addition of an EIP4824 Index contract. Although these are essentially very similar contracts, we recommend that the Unlock core team verifies their validity before executing this transaction, should the proposal pass. You can view the full list of contract deployments at https://github.com/metagov/daostar.
Metadata
salt = 0x42daoURI = https://api.daostar.org/immutable/QmPNuPryf8axzDj1kqAQ7wU5VaBUjhM88AyDZpqaTTN2fLmanager = 0x0000000000000000000000000000000000000000contracts = [ ]data = [ ]
The daoURI suggested above is stored on IPFS. Its subURIs- membersURI & proposalsURI, are dynamic. We currently use the Snapshot API to query proposals and the Boardroom API to query voters. This data is not being stored anywhere.
To create a new daoURI, visit the DAOstar Register Page. You can, for example, change the daoURI to point it to a new governance document or edit the membersURI. The register service outputs daoURIs in this format: https://api.daostar.org/immutable/, in which is the IPFS CID of the daoURI.
The DAO has the option to assign a manager during registration, potentially delegating to a relevant multisig within the DAO/Unlock Labs to streamline the management of the daoURI. This assignment can also be deferred, with the option to appoint a manager/admin later. For the purposes of this proposal, it is assumed that neither a manager nor additional admins will be designated initially; the DAO will make these decisions as needed in the future. Since the manager field cannot be left blank, it will be set to 0x0000000000000000000000000000000000000000 during registration.
ROLES AND ACCESS CONTROL
Only two actions are possible in the registration contract: (1) changing daoURI and (2) changing the role structure.
A manager can modify the daoURI but not the roles while an admin can modify both the daoURI & the role structure.
During registration, the admin role is granted to the DAO.
DEPLOYMENT DETAILS
The registration factory contract is deployed to nearly all EVM chains. The mainnet address is 0x2Dac5DBbF1D024c1E0D9c92D3AeDa7618e15aDd7.
New clones are deployed to predictable addresses using the message sender and a bytes32 value combined as a salt.
RISKS
The proposal is extremely low risk. It involves calling a factory that will deploy a new, standalone registration contract on behalf of Unlock DAO. The sole purpose of that contract is to publish a daoURI field on behalf of the main Unlock contract(s).