Create An Exit Strategy

Overview

While all Studio Pro created vaults are non-custodial, the complexity of removing funds from an active strategy might be prohibitive for Depositors. Given that anyone can deposit into public strategies created via Studio Pro, the Exit Strategy functions as a safeguard for depositors to access their funds.

As such, while not mandatory, Factor strongly suggests that your public strategy is deployed with a proper exit strategy. This will allay any Depositor fears whenever they have a need to liquidate their holdings.

The exit strategy will be triggered whenever the vault's available balance is insufficient to cover the requested withdrawal amount.

View our Exit Strategy conceptual overview for more info.

Configuring An Exit Strategy

Main Strategy

Please refer to the Public Strategy Creation guide if you require a step-by-step guide to drag-and-dropping your strategy.

Step 1: Navigate to exit strategy tab

Once a strategy canvas has been populated with a block, you will be able to see the "Exit strategy" tab.

You can toggle between the "Main strategy" and "Exit Strategy" by clicking on the tab.

Step 2: Create an exit strategy

The "Exit strategy" creation process is exactly the same as the "Main strategy" and will generally be in the opposite direction.

Exit strategies will be tailored to the specific strategy being implemented by the vault. That is, when executed, the exit strategy removes liquidity from the active strategy for withdrawals.

The example below shows a simple borrow strategy and its corresponding exit strategy:

  1. Lend 100 $USDC on Aave

  2. Borrow 50 $USDT

Exit strategy amounts

To facilitate easy withdrawal of funds, the token amounts per exit strategy will be automatically calculated based on the withdrawal amount requested by the Depositor.

Step 3: Test your exit strategy

To ensure your strategy executes as intended, you can test your strategy. This will simulate the execution of your strategy and provide you with the corresponding results.

You can view any execution errors by following the notification to the Tenderly logs.

Once your exit strategy has passed the test, it will be deployed together with the "Main strategy".

Last updated

Was this helpful?