Auto-Deleveraging (ADL)

Auto-Deleveraging (ADL) is Flux's mechanism to protect liquidity providers during periods of extreme vault utilization by allowing controlled reduction of healthy-but-risky manager positions.

What is ADL?

Auto-Deleveraging (ADL) is a protective measure that allows a vault to close out manager positions when:

  1. The vault has extremely high utilization (typically ≥95%)

  2. The manager's position is healthy but approaching liquidation zone

  3. LPs need liquidity but managers aren't repaying voluntarily

Key Characteristics:

  • Manager is not liquidated (they're still solvent)

  • Manager receives their full net equity back

  • Vault regains liquidity to serve LP withdrawals

  • Only executed by designated ADL Manager (typically vault creator or protocol)

  • Optional - can be permanently disabled when vault is created

ADL vs. Liquidation:

Feature
Liquidation
ADL

Trigger

Health < liquidation threshold

Health between liquidation & ADL threshold

Executed By

Anyone (permissionless)

ADL Manager only

Manager Outcome

Loses position + liquidation penalty

Receives full net equity

Purpose

Prevent bad debt

Free up liquidity

Vault Condition

Any utilization

High utilization (≥95%)

Profit for Executor

Yes (liquidation bonus)

No (break-even)


Why ADL Exists

The Liquidity Crunch Problem

Consider this scenario:

Without ADL: LPs cannot withdraw and are stuck waiting indefinitely for managers to voluntarily close positions.

With ADL: Vault creator can force-close positions (returning manager's equity) to free up liquidity so LP withdrawals can succeed.

ADL is LP Protection

ADL ensures that LPs can eventually get their capital back, even when:

  • Managers are technically healthy

  • Vault is fully utilized

  • Withdrawals would otherwise fail

It prevents LPs from being held hostage by managers who won't close positions voluntarily.


How ADL Works

Eligibility Conditions

A position can be ADL'd only if ALL of these conditions are met:

1. High Vault Utilization

Example:

2. Position Health Below ADL Threshold

Example with Strategy Parameters:

3. Position Still Has Positive Equity

If netEquity ≤ 0: Position is underwater and should be liquidated instead.

ADL Parameters

Defined in the strategy contract:

The ADL Zone:


ADL Execution Flow

Step-by-Step Process

1. ADL Manager Identifies ADL Opportunity

2. ADL Manager Prepares Executor

The ADL Manager needs an executor with a callback to handle position unwinding:

3. Execute ADL Transaction

4. Vault Executes ADL

Inside the vault's executeADL function:

What Happens to Each Party

Manager (being ADL'd):

  1. All positions closed

  2. Debt repaid in full

  3. Receives net equity in vault's base asset (in working capital)

  4. Can withdraw net equity immediately

  5. Loses future earning potential from position

  6. No penalties or fees

ADL Manager (executor):

  1. Receives all manager positions

  2. Unwinds positions to base asset

  3. Pays trueDebt + managerNetEquity back to vault

  4. Ideally breaks even (no profit, no loss)

  5. May incur gas costs and slippage

Vault / LPs:

  1. Receives debt repayment

  2. Gains liquidity

  3. Can service LP withdrawals

  4. Loses future interest from that manager


ADL Manager Role

What is an ADL Manager?

The ADL Manager is a designated address (typically the vault creator or protocol governance) that can execute ADL operations.

Key Responsibilities:

  • Monitor vault utilization

  • Identify ADL-eligible positions

  • Execute ADL when needed to free liquidity

  • Unwind positions with minimal slippage

  • Return manager's equity fairly

Access Control:

ADL Manager Options

Option 1: Vault Creator as ADL Manager (Most Common)

Pros:

  • Vault creator has incentive to maintain vault health

  • Responsive to LP needs

  • Can act quickly

Cons:

  • Centralization risk

  • Requires vault creator to actively monitor

  • May have conflicts of interest

Option 2: Protocol Governance as ADL Manager

Pros:

  • More decentralized

  • Trustworthy for LPs

  • Protocol-level oversight

Cons:

  • Slower response time (multisig)

  • May not prioritize individual vault needs

Option 3: Automated ADL Bot

Pros:

  • Fastest response

  • 24/7 monitoring

  • No human intervention needed

Cons:

  • Bot can be exploited if not secure

  • Requires funding for gas

  • May execute suboptimally

Option 4: No ADL Manager (Disabled)

Use Cases:

  • Vault creator wants pure market dynamics

  • Immutable vaults prioritizing predictability

  • Low-utilization vaults that don't need ADL


ADL in Different Strategy Types

Immutable Strategy

Characteristics:

  • ADL parameters locked forever at deployment

  • LPs know exact ADL trigger conditions

  • Vault creator decides whether to set ADL manager

Mutable Strategy

Why ADL params are immutable:

  • Changing ADL threshold could surprise managers

  • LPs rely on predictable ADL protection

  • Risk parameters should be stable

Flexible Margin Strategy

Why disabled?:

  • Flexible margin vaults are typically single-user

  • Manager = LP in most cases

  • No need for forced deleveraging

  • Manager can close position whenever they want


Use Cases and Examples

Example 1: High Utilization LP Withdrawal Crisis

Scenario:

ADL Manager Action:

Example 2: Preventing Bank Run

Scenario:

ADL Manager Strategy:

Outcome:

  • Vault stabilized at 80% utilization

  • LPs can withdraw without queues

  • Managers received their equity (no unfair liquidations)

  • Vault creator maintains trust

Example 3: Gradual Deleveraging

Scenario: Vault creator wants to gradually reduce risk during uncertain market conditions.

Benefits:

  • Reduces vault risk over time

  • Doesn't shock managers with sudden mass ADL

  • Maintains adequate liquidity for LPs

  • Spreads gas costs over time


ADL Implementation Guide

For Vault Creators

1. Decide on ADL Strategy

Parameter Selection:

Vault Type
adlBuffer
adlUtilizationThreshold
Reasoning

Conservative

0.15 (15%)

0.90 (90%)

Earlier ADL, more LP protection

Balanced

0.10 (10%)

0.95 (95%)

Standard config

Aggressive

0.05 (5%)

0.98 (98%)

Let managers maximize leverage

2. Set ADL Manager

3. Monitor Vault Health

4. Execute ADL When Needed

For ADL Managers (Executors)

Building an ADL Executor

ADL Monitoring Bot


ADL Best Practices

For Vault Creators

Do:

  • Set ADL parameters appropriate for your vault's risk profile

  • Monitor utilization regularly

  • Communicate ADL policy clearly to LPs and managers

  • Execute ADL fairly (lowest health first)

  • Document when and why you'll use ADL

Don't:

  • ADL managers to punish them (unfair)

  • ADL when utilization is healthy (unnecessary)

  • Change ADL manager frequently (undermines trust)

  • Execute ADL with excessive slippage (hurts manager)

  • Forget to fund your ADL executor for gas

For Managers

Do:

  • Understand the vault's ADL parameters before depositing

  • Monitor your health ratio to stay out of ADL zone

  • Keep vault utilization in mind

  • Accept that ADL is fair (you get full equity back)

  • Have a plan for receiving net equity after ADL

Don't:

  • Assume you'll never be ADL'd

  • Let health drift into ADL zone during high utilization

  • Fight or complain about fair ADL execution

  • Borrow from vaults with unfair ADL policies

For LPs

Do:

  • Understand the vault's ADL protection

  • Check if vault has an ADL manager

  • Verify ADL parameters match your risk tolerance

  • Appreciate ADL as liquidity protection

Don't:

  • Deposit in vaults with ADL disabled if you need withdrawal flexibility

  • Expect instant withdrawals during extreme utilization

  • Assume ADL will always save you (bad debt can still happen)


Comparison: ADL vs. Other Mechanisms

ADL vs. Liquidation

Feature
ADL
Liquidation

Trigger

Health in ADL zone + high utilization

Health below liquidation threshold

Executor

Designated ADL manager

Anyone (permissionless)

Manager Outcome

Receives full net equity

May receive net equity minus penalty

Executor Profit

Break-even (no profit)

Liquidation bonus (0-20%)

Purpose

Free liquidity

Prevent bad debt

Vault Condition

High utilization required

Any utilization

When to use each:

  • ADL: Vault needs liquidity, manager is healthy but risky

  • Liquidation: Manager's position is truly at risk of bad debt

ADL vs. Forced Withdrawal

Some protocols have "forced withdrawal" where LP can liquidate a manager. Flux separates these:

Feature
Flux ADL
Forced Withdrawal

Who Executes

Vault-level ADL manager

Individual LP

Coordination

Centralized, efficient

Decentralized, chaotic

Fairness

All LPs benefit equally

First-mover advantage

Gas Costs

Single executor

Every LP pays

Slippage

Optimized by ADL manager

May be rushed

Flux's approach is more efficient because:

  • Single ADL manager can optimize unwinding

  • No race condition between LPs

  • All LPs benefit proportionally from freed liquidity

  • Lower total gas costs

ADL vs. Interest Rate Adjustments

Feature
ADL
Dynamic Interest Rates

Time to Effect

Immediate

Gradual

Mechanism

Force close positions

Incentivize voluntary close

Manager Choice

None

Yes

Complexity

Simple

Complex (IRM curves)

Emergency Response

Effective

Slow

Best practice: Use both

  • Normal times: Adjust rates to encourage borrowing/repayment

  • Emergency: Use ADL to quickly free liquidity


Technical Reference

Events

Errors

View Functions


Summary

Auto-Deleveraging (ADL) is Flux's liquidity protection mechanism that allows vaults to force-close healthy-but-risky positions during high utilization.

Key Takeaways:

  1. Purpose: Free up liquidity for LP withdrawals when vault is highly utilized

  2. Fair to Managers: They receive their full net equity back (no penalties)

  3. Controlled: Only designated ADL manager can execute

  4. Conditional: Requires both high utilization AND position in ADL zone

  5. Optional: Vault creators can disable or customize ADL parameters

ADL protects LPs from being unable to withdraw during high utilization periods, while treating managers fairly by returning their full equity.

Last updated