For the complete documentation index, see llms.txt. This page is also available as Markdown.

FLAaveV3CarryDebt

Description

FLAaveV3CarryDebt

Notes

Aave V3 flashloan action that generates debt for the borrowed amount instead of repaying it in the same transaction. This action doesn't have any flashloan fees. This action is only meant to be used for smart wallet positions.

Action ID

0x66258f8a

SDK Action

const fLAaveV3CarryDebtAction = new dfs.actions.flashloan.AaveV3FlashLoanCarryDebtAction(
    tokens,
    loanAmounts,
    flParamGetterAddr,
    flParamGetterData
);

SDK pre-populates the modes and onBehalfOf input params:

  • modes → array of [2, 2, ..., 2] matching tokens length, representing variable-rate mode on Aave V3

  • onBehalfOf → always set to the user's smart wallet address

Action Type

FL_ACTION

Input Parameters

Inputs are not parsed as the FL action is always the first action and there are no return values before this action

Return Value

Events and Logs

Last updated