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
  • Where to find Protection Automation
  • How to setup and use Protection Automation
  • Reviewing Automations and Transactions
  • Automation Example
  • More information on Automation
  • Learn More for Protection Automation

Was this helpful?

  1. Features

Protection Automation

Learn how to use Automation to manage positions

PreviousSweep SwapNextPrivate Transactions

Last updated 1 year ago

Was this helpful?

Instadapp has automation features which you can use to supercharge your DeFi experience. Protection Automation is an automated unwind transactions that you can set to have automation pay down debt when a positions becomes risky.

Where to find Protection Automation

You can find Protection Automation in the Strategy tab. Protection Automation is only available for AAVE v.3 on the Polygon and Avalanche Networks.

You can find a complete view of your automation history in the Automation page found under Utilities. For more information on the Automation page see: Automation History

How to setup and use Protection Automation

Protection Automation is currently available for AAVE v3 and uses Health Ratio to set the parameter. Protection Automation works by using two variables a Triggering Health Factor and a Target Health Factor.

Automation requires a minimum value of collateral assets. This minimum is only required when activating Protection Automation.

  • Mainnet: a minimum of $15,000 USD worth of collateral to activate Automation

  • Polygon: a minimum of $1000 USD worth of collateral to activate Automation

  • Avalanche: a minimum of $5000 USD worth of collateral to activate Automation

Automation Gas Fees (Mainnet only)

For automations on Mainnet you will also pay the gas required to execute the automation. This fee will be paid through the collateral in the position.

Set the Triggering Health Factor

This value represents when the automation should occur. You can see your current risk factor and enter a value that is lower than your current health factor. Whenever the position's health factor falls below the triggering health factor protection automation will submit a transaction to SAVE the position.

Set the Target Health Factor

The target Health Factor determines how much the automation will pay back. You can set the desired Health Factor and automations will pay back your position to this level. Once you are done click Automate to begin Protection Automation.

Want to close the position using automation? Set the Target Health Factor to 1000 if you would like Protection Automation to pay back all the debt when triggered.

Reviewing Automations and Transactions

You can find all transactions and operations related to Automation in Utilities under Automation

Automation Example

Let's review an example of how the Triggering H.F and Target H.F work together in setting up automation. Let's use a sample position which has a current Heath Factor of 2.5. We will set the Trigger Health Ratio to 2.0 and Target Health Factor to 3.0.

We can visually represent our position and values on a line graph like so:

When Health Ratio hits or falls below Triggering Health Factor this triggers automation

Automation pays back debt returning position to Target Health Ratio

More information on Automation

Protection Automation is limited to network conditions, please note that difficult market conditions and other unforeseen factors can cause losses. Please use at your own risk!

You should continue to monitor your positions even if you set automation. If there are any issues or bugs please report them to the team.

Canceling Protection Automation

Protection Automation will remain active until it is turned off. You can turn automation off in the Automation panel using the Cancel button. During a market downturn the automation may run multiple times each time returning the position to the target health ratio.

Payback Asset

At this time you cannot specify which asset is used to payback by automation. Once protection automation is set it will use any available collateral in the position during automation to payback debt.

Automation Autority

Automation Protection requires authority to your DSA to function. This authority is added when you active automation and removed when you cancel it. You can at any time remove this authority from the Authority panel doing this will also cancel automation.

Fee for Automation

There is a 0.3% - 0.4% fee per automation event. For Mainnet only: You also pay the gas fee for the automation.

Learn More for Protection Automation

Instadapp Product blog Automation Protection

LogoAutomated Protection on AaveInstadapp
The highest number for target Health Factor is 1000 i.e no debt in the position
Once the Automation transaction confirms you'll find Protection Automation ACTIVE
This image is in production final design may change
Our initial position in the example
Automation pays enough debt to bring the position to the Target Health Factor