Aave (Lending protocol) Module

The Aave Module serves as a bridge between the system and the Aave protocol, providing functionalities for borrowing, supplying, repaying, and withdrawing assets on Aave.

Core Functionalities

  • Asset Borrowing:

    • borrowAaveAction: Initiates borrowing of a specified amount of tokens from the Aave protocol, facilitating access to liquidity.

  • Asset Supplying:

    • supplyAaveAction: Enables supplying a specified amount of tokens to the Aave protocol, contributing to the liquidity pool.

  • Asset Repayment:

    • repayAaveAction: Provides the ability to repay borrowed tokens to the Aave protocol, managing debt obligations.

  • Asset Withdrawal:

    • withdrawAaveAction: Allows for the withdrawal of supplied tokens from the Aave protocol, reclaiming assets.

  • Emergency Repayment:

    • emergencyRepayAave: Facilitates emergency repayment of borrowed tokens using Flash Loan, ensuring safety in critical scenarios.

Last updated