@@ -67,7 +67,7 @@ interface IPool {
6767 * initiator of the transaction on flashLoan()
6868 * @param onBehalfOf The address that will be getting the debt
6969 * @param amount The amount borrowed out
70- * @param interestRateMode The rate mode: 1 and 2 for Variable (changed on v3.2.0)
70+ * @param interestRateMode The rate mode: 2 for Variable, 1 is deprecated (changed on v3.2.0)
7171 * @param borrowRate The numeric rate at which the user has borrowed, expressed in ray
7272 * @param referralCode The referral code used
7373 */
@@ -101,7 +101,8 @@ interface IPool {
101101 * @dev Emitted on swapBorrowRateMode(), DEPRECATED on v3.2.0
102102 * @param reserve The address of the underlying asset of the reserve
103103 * @param user The address of the user swapping his rate mode
104- * @param interestRateMode The current interest rate mode of the position being swapped: 1 for Stable, 2 for Variable
104+ * @param interestRateMode The current interest rate mode of the position being swapped:
105+ * 1 for Stable (Deprecated on v3.2.0), 2 for Variable
105106 */
106107 event SwapBorrowRateMode (
107108 address indexed reserve ,
@@ -150,7 +151,8 @@ interface IPool {
150151 * @param initiator The address initiating the flash loan
151152 * @param asset The address of the asset being flash borrowed
152153 * @param amount The amount flash borrowed
153- * @param interestRateMode The flashloan mode: 0 for regular flashloan, 1 and 2 for Variable debt (changed on v3.2.0)
154+ * @param interestRateMode The flashloan mode: 0 for regular flashloan,
155+ * 1 for Stable (Deprecated on v3.2.0), 2 for Variable
154156 * @param premium The fee flash borrowed
155157 * @param referralCode The referral code used
156158 */
@@ -293,7 +295,7 @@ interface IPool {
293295 * and 100 variable debt tokens
294296 * @param asset The address of the underlying asset to borrow
295297 * @param amount The amount to be borrowed
296- * @param interestRateMode DEPRECATED in v3.2.0
298+ * @param interestRateMode 2 for Variable, 1 is deprecated on v3.2.0
297299 * @param referralCode The code used to register the integrator originating the operation, for potential rewards.
298300 * 0 if the action is executed directly by the user, without any middle-man
299301 * @param onBehalfOf The address of the user who will receive the debt. Should be the address of the borrower itself
@@ -314,7 +316,7 @@ interface IPool {
314316 * @param asset The address of the borrowed underlying asset previously borrowed
315317 * @param amount The amount to repay
316318 * - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode`
317- * @param interestRateMode DEPRECATED in v3.2.0
319+ * @param interestRateMode 2 for Variable, 1 is deprecated on v3.2.0
318320 * @param onBehalfOf The address of the user who will get his debt reduced/removed. Should be the address of the
319321 * user calling the function if he wants to reduce/remove his own debt, or the address of any other
320322 * other borrower whose debt should be removed
@@ -333,7 +335,7 @@ interface IPool {
333335 * @param asset The address of the borrowed underlying asset previously borrowed
334336 * @param amount The amount to repay
335337 * - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode`
336- * @param interestRateMode DEPRECATED in v3.2.0
338+ * @param interestRateMode 2 for Variable, 1 is deprecated on v3.2.0
337339 * @param onBehalfOf Address of the user who will get his debt reduced/removed. Should be the address of the
338340 * user calling the function if he wants to reduce/remove his own debt, or the address of any other
339341 * other borrower whose debt should be removed
@@ -408,8 +410,9 @@ interface IPool {
408410 * @param amounts The amounts of the assets being flash-borrowed
409411 * @param interestRateModes Types of the debt to open if the flash loan is not returned:
410412 * 0 -> Don't open any debt, just revert if funds can't be transferred from the receiver
411- * 1 or 2 -> Open debt at variable rate for the value of the amount flash-borrowed to the `onBehalfOf` address
412- * @param onBehalfOf The address that will receive the debt in the case of using on `modes` 1 or 2
413+ * 1 -> Deprecated on v3.2.0
414+ * 2 -> Open debt at variable rate for the value of the amount flash-borrowed to the `onBehalfOf` address
415+ * @param onBehalfOf The address that will receive the debt in the case of using 2 on `modes`
413416 * @param params Variadic packed params to pass to the receiver as extra information
414417 * @param referralCode The code used to register the integrator originating the operation, for potential rewards.
415418 * 0 if the action is executed directly by the user, without any middle-man
0 commit comments