Repay
Aave V2 Action Plugin - Repay
Description
Repays onBehalfOf
's debt amount
of asset
which has a rateMode
.
Method
repay(address, uint256, uint256, address)
Input Parameters
No required parameters.
Method Parameters
Name
Plugin Type
Description
asset
FctAddress
Address of the underlying asset
amount
FctValue
Amount to be borrowed. Use -1 to repay the entire debt
rateMode
FctValue
The type of borrow debt. Stable - 1 Variable - 2
onBehalfOf
FctAddress
Address of user who will incur the debt
Returned Values
No returned values
Example
Example with initParams
Example without initParams
Learn more
Learn more about Aave V2 repay function here
Last updated