Emergency Withdrawals
Learn what to do when withdrawals fail due to insufficient liquidity and how Flux's Auto-Deleveraging (ADL) mechanism protects LPs.
Overview
Flux vaults use standard ERC4626 withdrawals which succeed immediately or revert. There is no "emergency withdrawal" function. Instead, if a withdrawal fails due to insufficient liquidity, you must wait for:
Manager repayments - Managers naturally repay debt over time
Auto-Deleveraging (ADL) - Vault's ADL Manager can force-close positions to free liquidity
When Withdrawals Fail
Understanding the Failure
// Attempt withdrawal
try vault.redeem(shares, msg.sender, msg.sender) returns (uint256 assets) {
// Success - you received your assets
} catch Error(string memory reason) {
// Failed - likely "Insufficient liquidity"
// Vault doesn't have enough idle assets
}Why It Happens
Withdrawals fail when:
High utilization: Most vault assets are borrowed by managers
No idle liquidity:
idleLiquidity < requestedAmountManagers holding positions: Waiting to close for profitability
Example:
What To Do
Option 1: Wait for Natural Repayments
Managers repay debt over time as they:
Close profitable positions
Take profits
Reduce leverage
Exit the vault
Timeline: Hours to days depending on market conditions
How to monitor:
Option 2: Hope for ADL
If vault utilization is very high (>95%), the vault's ADL Manager may trigger Auto-Deleveraging to free up liquidity.
What is ADL?
Auto-Deleveraging allows the vault's designated ADL Manager (typically the vault creator) to force-close healthy manager positions during high utilization periods.
Key Points:
LPs don't trigger ADL - Only the ADL Manager can
Protects LPs - Frees liquidity for withdrawals
Fair to managers - They receive their full net equity
Conditional - Only works when utilization is very high
See Auto-Deleveraging for full details.
When ADL Helps You:
Important: You cannot force ADL to happen. You must wait for the ADL Manager to act.
Option 3: Sell Shares OTC
If you need immediate liquidity, sell your shares to another user at a discount:
Pros:
Immediate liquidity
No waiting for vault liquidity
Certainty
Cons:
Must accept discount (3-5% typical)
Need to find a buyer
OTC risk
Monitoring Vault Liquidity
Check Before Withdrawing
Monitor Utilization
Utilization Guidelines:
<70%: Healthy, easy withdrawals
70-85%: Normal, most withdrawals work
85-95%: High, some withdrawals may fail
>95%: Very high, withdrawals likely to fail
Understanding ADL Protection
How ADL Protects You
ADL is Flux's mechanism to protect LPs during liquidity crunches:
Without ADL:
With ADL:
Who Is the ADL Manager?
The ADL Manager is a designated address that can trigger ADL. Usually:
Vault creator (most common)
Protocol governance
Automated bot
No one (ADL disabled)
When Can ADL Be Triggered?
ADL can only be triggered when all of these are true:
High utilization: Vault utilization >95% (strategy-specific)
Manager in ADL zone: Manager's health ratio between liquidation threshold and ADL threshold
Position still solvent: Manager has positive equity
Example:
Best Practices
For Normal Withdrawals
Check liquidity first - Preview and verify before withdrawing
Monitor utilization - Withdraw when utilization is low
Be patient - If failed, wait for repayments
Plan ahead - Don't wait until you urgently need funds
For High Utilization Scenarios
Check ADL Manager - Verify vault has an active ADL Manager
Monitor for ADL - Watch for ADL events freeing liquidity
Consider discounts - Selling shares OTC may be faster
Communicate - Contact vault creator about liquidity issues
Risk Management
Diversify - Don't put all funds in one vault
Watch utilization - Prefer vaults with <85% utilization
Understand ADL - Know if vault has ADL protection
Emergency reserves - Keep some funds outside vaults
Decision Framework
Common Questions
Q: Why doesn't Flux have a withdrawal queue? A: Flux uses a simpler model - withdrawals either succeed or fail. ADL provides LP protection without queue complexity.
Q: What if the ADL Manager doesn't act? A: You must wait for natural repayments. Choose vaults with reputable, responsive ADL Managers.
Q: Can I force the ADL Manager to trigger ADL? A: No, only the designated ADL Manager can trigger ADL.
Q: What if ADL is disabled? A: You rely entirely on natural manager repayments. Avoid high-utilization vaults without ADL.
Q: Will I lose money if I wait? A: No, share value continues to accrue interest while you wait.
Q: How long does it typically take? A: Hours to days depending on:
Vault utilization
Market conditions
Manager activity
Whether ADL triggers
Related Documentation
Depositing & Withdrawing - Standard withdrawal process
Auto-Deleveraging (ADL) - Complete ADL documentation
Risk Management - Understanding LP risks
Understanding Shares & Returns - Share mechanics
Last updated