🏗️Setting up a Gnosis Safe MultiSig Wallet
In this section, we will look into how Aragon Client DAOs can be managed by a MultiSig wallet.
Here we are going to use Gnosis Safe MultiSig, however, you could follow a similar approach for any other MultiSig wallet that supports contract interaction.
Setting up the necessary permissions
Aragon Client DAOs have access to a control system, where each action is protected by a set of permission records. Only someone with specific permissions can act.
That is why we need to assign the MultiSig wallet to a range of permissions in the DAO that correspond with the desired actions.
You can read more about permission settings here.
In this example an Aragon Client DAO has a balance of ETH tokens stored in its Vault and you want to initiate a payment to compensate a DAO Contributor for her work. We will show how to initiate a withdrawal of some of the ETH to the Contributor.
Start by opening your Aragon Client DAO, you should see a similar dashboard as in the image below. Click in the left hand menu on 'Permissions':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252F8VTH8Qyvj2sbNSpd8306%252Fa1_Sig.png%3Falt%3Dmedia%26token%3D107e3000-7cc5-40da-8a23-c27e4da9b861&width=768&dpr=4&quality=100&sign=483a033f&sv=1)
We want to add new permissions for your MultiSig, so click in this screen on 'New permission':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FZsLQMGq6LRli881LtbrN%252Fa2_sig.png%3Falt%3Dmedia%26token%3D275b6ade-6226-4b5c-9da9-92dccaadd928&width=768&dpr=4&quality=100&sign=ff1665c4&sv=1)
You should see the following side-window appear. Click on 'Select an app':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252F9sDa2VTvqmF0mK8x3kAg%252Fa3_sig.png%3Falt%3Dmedia%26token%3Dc8cb0651-90f3-4962-b2d8-704e761986c5&width=768&dpr=4&quality=100&sign=6d44a3aa&sv=1)
For this example we want to initiate a withdrawal of ETH by the MultiSig. This is usually done from the Finance app of the DAO, so select 'Finance' here and then click on 'Select an entity':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FCm9ZUsxyCYl4lgVvdNIz%252Fa4_sig.png%3Falt%3Dmedia%26token%3Deb876c74-c532-449a-bc69-c564dc069554&width=768&dpr=4&quality=100&sign=efa593ed&sv=1)
Since we need to add the address of your MultiSig, click here on 'Custom address...':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FTViQZ27IAPKVPF4dYTnt%252Fa5_sig.png%3Falt%3Dmedia%26token%3Dd3594b8e-18a5-4796-8954-b2338a01f2fe&width=768&dpr=4&quality=100&sign=bc8f4b1c&sv=1)
Now go to your Gnosis Safe, copy its address and paste the address of your MultiSig in the 'GRANT PERMISSION TO' box. Then click on 'Select an action':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FLRRF5yxm5R4EXwc6YKYU%252Fa6_sig.png%3Falt%3Dmedia%26token%3Dfe163c96-9c62-4485-b894-e8c8178083e0&width=768&dpr=4&quality=100&sign=df22c2b4&sv=1)
Do not forget to remove the letters from the front of the Gnosis Safe address,eth:
orgor:
or different depending on the network you use! Otherwise it won't work..
The address should start with: 0x
In this case we want to initiate a new payment, so click on 'Create new payments':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FDXv3H6yJc5MUWQRnVFHs%252Fa7_sig.png%3Falt%3Dmedia%26token%3D067bca1a-0fec-425f-898b-a7f080bad461&width=768&dpr=4&quality=100&sign=9d4b3de3&sv=1)
Now you filled the required boxes, click on 'Add permission':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FrTUJLULyicHtaHdRqarf%252Fa8_sig.png%3Falt%3Dmedia%26token%3Df570ff30-a14d-4c8a-9a26-c02e5a7f2a4c&width=768&dpr=4&quality=100&sign=5c8df27e&sv=1)
Here the app warns that the permission can not be directly changed, but that a vote will be created to change the permission. Click on 'Create transaction':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FEnNerv7xFDLN88Vv1LpP%252Fa9_sig.png%3Falt%3Dmedia%26token%3D6f720667-fba3-42a8-b185-b4c85fc0e12b&width=768&dpr=4&quality=100&sign=ee217075&sv=1)
A transaction should pop-up in your Web3 Wallet, 'Confirm' the transaction:
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252F0AULkdSSnmMfteKGqolU%252Fa10_sig.png%3Falt%3Dmedia%26token%3D8056dfe5-4186-423e-9f04-6feecb0f1487&width=768&dpr=4&quality=100&sign=c57975d0&sv=1)
Once the transaction has processed, head over to the 'Voting' app of your DAO. You should see that an open vote has been generated. Click on the vote:
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FvfjknXm9yjoPNl1dXIWU%252Fa11_sig.png%3Falt%3Dmedia%26token%3D7706bca7-86d6-4b42-8b81-38bfd503a3f4&width=768&dpr=4&quality=100&sign=25b93230&sv=1)
Now confirm the vote by clicking 'Yes':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FR9J4xuzxuJNl8srpChd7%252Fa12_sig.png%3Falt%3Dmedia%26token%3Dd123fd52-f989-4b2d-8283-38f252b28b72&width=768&dpr=4&quality=100&sign=22f1b6fa&sv=1)
Click here on 'Create transaction' and confirm the transaction that should pop-up in your Web3 Wallet:
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FyN0jd3u4mgfhudMpan4V%252Fa13_sig.png%3Falt%3Dmedia%26token%3D98d61e50-9b03-4ed9-911a-0529e3743fec&width=768&dpr=4&quality=100&sign=41de3604&sv=1)
In our example it confirmed that the vote has passed:
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FRJjBuVKJdP0xaGcr8Dui%252Fa14_sig.png%3Falt%3Dmedia%26token%3Dac6afb97-5d0d-4c58-9286-3231d86f0cca&width=768&dpr=4&quality=100&sign=7591ce2b&sv=1)
More DAO members might need to approve the vote for the vote to pass. This depends on the SUPPORT and MINIMUM APPROVAL settings of your DAO
Now head over to the 'Permissions' app to check whether the permission for your MultiSig has been added. In our case click on the Finance app, and then unfold the 'Create new payments' permission. We now see that the MultiSig address has appeared!
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252Fn3hwVwUyD6sutbm49i3O%252Fa15_sig.png%3Falt%3Dmedia%26token%3D48cd593b-6864-4eff-ba43-4bc0dc7a1c5f&width=768&dpr=4&quality=100&sign=63f6ffac&sv=1)
Initiate payment at the MultiSig
Now that's done we can initiate a payment at the MultiSig!
Head back to the (in this case) Gnosis Safe and press on 'New Transaction'. In the pop-up window which appears, press 'Contract Interaction':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FADmGmHmlUkmtxFIl9DqB%252Fa16_sig.png%3Falt%3Dmedia%26token%3Dff055c7d-36dd-46f9-b965-7be9fccd6805&width=768&dpr=4&quality=100&sign=1cad940&sv=1)
We now need the 'Contract address' of the app we want to interact with, which is the Finance app in this case:
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FJu7FRyWdkwVAfEF7V3NB%252Fa17_sig.png%3Falt%3Dmedia%26token%3D3cff5449-23e1-4b57-a222-1691e096b72a&width=768&dpr=4&quality=100&sign=9e20c4bb&sv=1)
So head back to your Aragon Client DAO, open the Organization app, click on the address under (in this case) 'FINANCE', and copy the address:
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FHkfXdgcprGbt1owxbXnq%252Fa18_sig.png%3Falt%3Dmedia%26token%3D2b849f0b-010f-40d9-b6cc-ee2d7e489497&width=768&dpr=4&quality=100&sign=a8c4cf43&sv=1)
Paste the address in the 'Contract address' field back in the Gnosis Safe:
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252Fx4S53s31VInjF3xJTwFN%252Fa19_sig.png%3Falt%3Dmedia%26token%3D0efb008b-75ba-4b54-af97-0c63503c3bdd&width=768&dpr=4&quality=100&sign=b692755&sv=1)
If the 'ABI' field automatically populates, REMOVE all the contents in the field, since we will need a different ABI
Now we need to get the ABI of the base contract of the app we interact with, which is the Finance app in this case. Click on 'Finance App' in the box below:
You can find Etherscan links to the smart contracts of the most used apps below:
On the Etherscan page, scroll down until you see the 'Contract ABI' box. Click on the Copy symbol, to copy the ABI of the smart contract:
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FZNUb5A2VXsWvLvdAaTQf%252Fa20_sig.png%3Falt%3Dmedia%26token%3D327a939f-d113-4331-9460-e31652c83052&width=768&dpr=4&quality=100&sign=fb003f50&sv=1)
Paste the ABI in the 'ABI' field in the Gnosis Safe, and click on 'Method':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FfJg8d8Es5yd16o82MXaz%252Fa21_sig.png%3Falt%3Dmedia%26token%3D6bbbab2c-76af-417c-8116-c343d81571f7&width=768&dpr=4&quality=100&sign=3b41c4f7&sv=1)
Search here for 'newImmediatePayment', since we want to do an immediate payment in this example, and select it:
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252Fs5UFsYGqp8y2ZHplmASm%252Fa22_sig.png%3Falt%3Dmedia%26token%3D7e82b028-931d-43e3-8f0d-298fbf48ae48&width=768&dpr=4&quality=100&sign=e1e21451&sv=1)
Now find the 'token address' of the token you want to send. In this case we are sending ETH. The token address of ETH is: 0x0000000000000000000000000000000000000000
Add the 'receiver address' of in this example the Contributor.
Then add the 'amount'. In this case we will send the DAO Contributor an amount of 0.1 ETH.
For the 'amount' field, add 18 decimals to the original value. For example, if you want to invoke thenewImmediatePayment
method to transfer 10.5 tokens, you will have to input 10.5 * 10 ^ 18 = 10500000000000000000
into the amount field.
In our example the amount is 0.1 * 10 ^ 18 = 100000000000000000
Then you can add a 'reference string' as a payment reference, and click on 'Review':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FOjUq1Dg7yqZOGVtgATZd%252Fa23_sig.png%3Falt%3Dmedia%26token%3D469b6db6-5c2a-405e-b76b-2cad5373d139&width=768&dpr=4&quality=100&sign=ddb0f159&sv=1)
Scroll down and test the transaction by clicking on 'Simulate'. If all is well it should display 'Success'. If so, click on 'Submit':
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FvkFzctFZM8FU4oq0ut9K%252Fa24_sig.png%3Falt%3Dmedia%26token%3D42ff4612-35aa-4cbd-8a8c-f06f53bdb546&width=768&dpr=4&quality=100&sign=8f8fdd6&sv=1)
If the simulation has failed and you get warnings (like a gas estimation error) there has likely been a mistake either in permissions, method parameters, or ABI and contract address. Please go through the setup again
A transaction should pop-up in your Web3 Wallet. 'Confirm' the transaction and wait for it to be processed. If all good, it executed:
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FnokYYY0OofjTKnG00J4w%252Fa25_sig.png%3Falt%3Dmedia%26token%3D6a8957a8-e3a6-4301-bf6e-081b725a03cc&width=768&dpr=4&quality=100&sign=245b019f&sv=1)
Head back for the last time to your Aragon Client DAO 🤞, and open the Finance app. In our example we see that a 'Contributor compensation' of 0.1 ETH is displaying in the 'Transfers' overview:
![](https://legacy-docs.aragon.org/~gitbook/image?url=https%3A%2F%2F2189384948-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ft3hTlaCHK27whtbUr05N%252Fuploads%252FIS0SeIwBntGnjpNkeobl%252Fa26_sig.png%3Falt%3Dmedia%26token%3D40aa7e6d-050e-4291-9f76-87201e0fa8ca&width=768&dpr=4&quality=100&sign=5565f96e&sv=1)
We did it! 🥳 Well done! 🏅
Última actualización