Instadapp Guides
  • Instadapp Pro Help Docs
  • Getting Started
    • Managing Assets on Instadapp
    • Simulation Mode
    • Debt Collateral Ratio
    • Custom Tokens
    • Authority
      • How to add an Authority to your Account
      • How to remove an Authority
      • Using Gnosis Safe as an Authority
    • FAQs
  • Smart Wallets
    • DeFi Smart Account (DSA)
      • Not able to see your wallet balance?
      • Depositing from your Connected Wallet into DSA
      • Migrating DeFi assets into your DSA
      • Withdrawing to your Connected Wallet
      • Advanced Withdrawals
      • Advanced Deposits
    • Avocado Wallet
      • 🥑Avocado Guides
  • Features
    • Cross Chain Bridge
    • Protocol Refinancing
    • Sweep Swap
    • Protection Automation
    • Private Transactions
      • How to enable ETH_Sign on Metamask
    • Quick Menu
    • Global Settings
  • Protocols
    • MakerDAO
      • Maker Protocol Explained
      • Liquidations on MakerDAO
      • More Maker Info
    • Compound
      • Compound Explained
      • Liquidations on Compound v2
      • Compound v3 Explained
      • Using Compound v3
    • AAVE
      • AAVE Protocol Explained
      • How to activate E-Mode
      • Migrate from v2 to v3
      • Get more E-Mode Accounts
    • Uniswap
      • Uniswap Protocol Explained
      • Managing Uniswap on Instadapp
      • Creating a Uniswap LP
      • Import / Export
      • Rebalancing your LP
      • How to Create Uniswap Rewards
      • Staking Uniswap LPs for Staking Rewards
    • Liquity
      • Liquity Protocol Explained
      • How to open a Trove and borrow LUSD
      • How to close a Trove
      • Liquidations on Liquity
      • Supply to the Stability Pool
      • Staking LQTY
    • Euler
      • Euler Protocol Explained
      • Using Euler
      • Debt and Collateral Transfer
    • Morpho Optimizer
      • Morpho Explained
      • Using Morpho
    • Morpho Blue
      • Morpho Blue Explained
      • Using Morpho Blue Borrow
      • Using Metamorpho
  • Strategies
    • Using Strategies
    • Compound Strategies
    • Leverage / Max Mining
    • Save / Unwind Mining
    • Collateral Swap
    • Debt Swap
    • Alternative Strategies
  • Governance
    • Voting and Governance
    • Snapshot
    • Atlas
  • Walkthroughs
    • Refinancing to Morpho
    • Migrate iTokens to AAVE DSA
    • Quick Start Primer
    • Metamask Tx Creation Issues
    • How to hard reset on Metamask
  • Dive Deeper
    • DeFi Smart Accounts
    • URLs by Network
Powered by GitBook
On this page

Was this helpful?

  1. Strategies

Save / Unwind Mining

PreviousLeverage / Max MiningNextCollateral Swap

Last updated 2 years ago

Was this helpful?

Save strategy or Unwind strategy will take your collateral within a position and use it to pay back debt. This can be used to close a leveraged position or pay any debts within the position.

Save / Unwind

When using SAVE you select a collateral from your position and a debt in your position to payback.

Save Unwind Example --

When you open the Save / Unwind panel the interface will automatically select collateral and debt options. In this example we have a position with ETH collateral and USDC debt.

We can use the Save strategy to payback the USDC debt in one click. In this example we only have one kind of collateral and one kind of debt so the options are populated for us.

If we had two kinds of collateral or debt we could select between them by clicking on the icon:

The Save function combines multiple steps in one:

  • Withdraws Collateral Asset

  • Swaps Collateral Asset for Debt Asset

  • Pays down Debt

In our example this strategy withdraws ETH swaps it for USDC and pays down the USDC debt.

One of the things you may have noticed is when using the unwind strategy you can enter a value that is higher than the debt you owe, any excess unwind will be sent to your DSA balance.

In this case we want to fully withdraw the collateral after unwinding, so we enter a slightly higher amount to payback to make sure no debt is remaining.

After the save transaction confirms we will find our debt has been cleared a small excess from the SAVE transaction is in the DSA Balance.

Now we have no debt on AAVE and can withdraw the entire ETH balance we supplied to AAVE.

The UI automatically selects from available assets and debts
When you have multiple assets you can select which assets to unwind
The amount entered is in the collateral asset, the underline will show its converted value.
Now we can withdraw the entire ETH supplied to AAVE