Register scheme to existing DAO
To register the new Scheme to an existing DAOstack DAO you can submit a new proposal to the Scheme Registrar via Alchemy UI after the Scheme is deployed.
Deploy the Scheme contract¶
You may use truffle or your own script to deploy the new scheme contract and intitialize it.
Propose to SchemeRegistrar¶
- On Alchemy's landing page, choose the DAO to which you wish to register the scheme.
- Visit the DAO's
Home
page and chooseScheme Registrar
. - Click
New Proposal
– this will open a popup. - Select
Add Scheme
on the popup sidebar (on the left). - Give the proposal an appropriate title, description, and url linking to a description of the proposal.
- For
Scheme
, put the address of the new scheme contract (universal or not). -
Enter the
paramHash
for your scheme.- universal scheme :
paramHash
returned bysetParameters
method - non-universal scheme : can be left null, since only one parameter set is registered to non-universal schemes at the time of deployment.
- universal scheme :
-
In the permissions section, check the appropriate permissions required by the scheme.
In case of
BuyInWithRageQuitOpt
example we only need mint and burn permissions. -
Submit the proposal and sign the transaction as normal.
- If the DAO passes your proposal, then your Scheme will be registered to the DAO.