Gelato Aave Protection - Mainnet

Protect DSA against Liquidation risk on Aave with Gelato. GAaveProtectionMainnetConnector-v1 connector on mainnet triggers methods like submitProtection, updateProtection, cancelProtection, cancelAndRevoke. You can view details like source code, ABIs on Etherscan.

  • Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to indicate ETH.
  • use -1 or dsa.maxValue for the maximum amount in function.
  • If not sure about the arguments getId and setId, pass 0.

SubmitProtection

spells.add({  connector: "GELATO-AAVE-A",  method: "submitProtection",  args: [_wantedHealthFactor, _minimumHealthFactor, _isPermanent]});
Parameter Type Description
_wantedHealthFactor uint256 targeted health after protection.
_minimumHealthFactor uint256 trigger protection when current health
_isPermanent bool boolean to set a protection as permanent

UpdateProtection

spells.add({  connector: "GELATO-AAVE-A",  method: "updateProtection",  args: [_wantedHealthFactor, _minimumHealthFactor, _isPermanent]});
Parameter Type Description
_wantedHealthFactor uint256 targeted health after protection.
_minimumHealthFactor uint256 trigger protection when current health
_isPermanent bool boolean to set a protection as permanent

CancelProtection

spells.add({  connector: "GELATO-AAVE-A",  method: "cancelProtection",  args: []});
Parameter Type Description

CancelAndRevoke

spells.add({  connector: "GELATO-AAVE-A",  method: "cancelAndRevoke",  args: []});
Parameter Type Description

If you still can't find something you're looking for or have any questions, ask them at our developers community on Discord or simply send an Email.


Our team is excited about assisting you to build an application using Instadapp Developer Platform. Your questions and feedback help us make a better development environment for future developers.