Arrakis Pro Vault Setup

Deployment

For now simply contact us to have an Arrakis engineer deploy and configure an Arrakis Pro vault on your behalf. (If you really want to deploy by yourself see sample deploy script here)

At deployment you choose what initial module your vault uses. See integrations section for more info.

Deposit

After deployment, you can now deposit liquidity into your Arrakis Pro vault.

Deposit Using a Safe and Safe App:

Navigate to your vault owner Safe on Safe App. Then go to Apps -> My custom apps and then add https://app.arrakis.finance/pro as a "Custom Safe App". In the custom safe app you'll see your Pro vault(s) and can use the GUI to deposit with one multi-step Safe transaction.

Deposit Manually:

  1. From vault.owner() acct -> call whitelistDepositors on your Vault contract to whitelist the account that will deposit tokens (even owner has to explicitly whitelist itself before depositing).

  2. From whitelisted depositor acct -> approve vault.module() contract address as spender of token(s) you will deposit.

  3. From whitelisted depositor acct -> Call deposit on your Vault contract to deposit funds. (If depositing native ETH remember to pass a msg.value that matches the amount0/1 argument)

Activation

After deposit your vault is not necessarily activated immediately. To activate your vault and deploy LP into the DEX of interest, you'll need a "strategy config" set on the Arrakis Pro Backend. See strategies section.