---
# System prepended metadata

title: DAO summoner with multiple modules on safe

---

# DAO summoner with multiple modules on safe

## summary
create a DAO that has 2 modules on the main Safe treasury. 1 for the DAO and a second for a "manager safe"

this creates the flexibility to have multiple use cases and could be built on top of for more specific use cases if needed (hats signer gate, roles gaurd modifiers etc)


## Use case

the use case is summoning a dao that has a delegated side vault (multisig) that can also act on the main dao treasury (along side the dao). So for example a DAO that spins up to participate in an auction or defi but needs a initial team to be able to bid freely. 
The dao could revoke the extra module after the auction to remove any counter party risk of a "manager group". 

## potential solution

**off chain**

- Precalculate a safe address for use with the manager safe using safe sdk for createProxyWithNonce use a nonce differenet than the one for the DAO
- In baal post init actions add an action to createProxyWithNonce
- add an action to enable module on the main safe using the precalculated address
- action to setup and set initial owners on the manager safe
- pass these config actions onchain with a HOS

**indexing**
if we want the safe to show in the dao interface it needs to be indexed by the baal and vault summoner. there is no public function to do this so there may be a few options
- initially can be added by owner of summoner on a 1 off basis
- upgrade the baal and vault summoer to have a allow list (the hos) of contracts that can add to the registry (currently owner only)

**dao subvault**
to make the Safe an actual sub module of the dao
- signers need to add the dao as a module to the safe
- needs to be registered with the baal and vault summoner registry
- another option is to precalculate the baal address and pass it to the safe on setup in post init actions

**UX/UI**
the manager side vault will have full control of the treasury 
the idea of this delegated "manager" safe needs to be presented in the front end. this would need a interface control to add or select owners.
this should be transparent to the people joining the dao, probably part of a larger narritive around progressive d and quick action delegation

another nice thing would be a easy proposal for the DAO disabling the managers safe module in the dao main treasury safe

