How to Recover Funds accidentally sent to an Aragon App address
If you accidentally sent tokens to the address of an App installed in an Aragon organization, you can recover the tokens and send them to the organization's Vault, the organisation App which should hold your DAO funds. There are two ways to do this:
We strongly recommend using the Console option since it is much easier
Use the following steps:
Open your DAO, and add
/consoleto the end of your DAO web address. The URL would look like this:
<your-dao-name>with the name of your DAO in the above URL
You should see something like the below:
Execwhich is a command used to perform transactions in DAOs.
Here you select the App to which the funds were accidentally sent. In this example, funds were accidentally sent to the Finance App so we select
We will now call this function from the Aragon Console. To do so we will have to add
recoverToVault(address _token)to the command in the console, but first we will replace
address _tokenwith the contract address of the token which were accidentally sent to the Finance App.
In the case of this example the address is
0x3255D2D022Ef80F58dA2D107235010367cCdF0fD, so we will add
recoverToVault(0x3255D2D022Ef80F58dA2D107235010367cCdF0fD)to the command in the Console. The full command for this example is now the following:
Now click Enter:
Now confirm the transaction by clicking Create transaction:
Then confirm the transaction in your Web3 wallet (most often MetaMask).
Make sure you use a Web3 account which has either created the DAO or (and) is holding your DAO-tokens to sign this transaction
Now go to the Finance App in your organisation, and your funds should magically appear there!
In this example BRT tokens have been recovered from the Finance to the Vault App:
Use the following steps:
aragon ipfsin your Terminal in order to provide aragonCLI with a way to access data (e.g. ABIs) for Aragon organizations.
- 4.Send the following transaction command from the aragonCLI, replacing each "address" with the corresponding address relevant to your stuck transaction:
dao exec OrganizationAddress AppAddress recoverToVault TokenContractAddress --environment aragon:mainnet
OrganizationAddress__ is the address of the organization housing the stuck funds, the
AppAddressis the address of the app you sent the stuck funds to, and the
TokenContractAddressis the address of the token contract for the token you sent.
dao exec 0x8A83D4bCE45b4C4F751f76cf565953D1E4A3BF0a 0x98516C82Bda8B3dE6E2670B718848949Ae6a4643 recoverToVault 0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359 --environment aragon:mainnet