You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@param rateMode The rate mode that the user wants to swap to
From a user prospective, it seems that you should pass the rateMode that you want to switch your debt INTO
Instead, the function requires you to pass the CURRENTrateMode that you are using for your debt position.
Honestly, I think that the best UX would be to specify the rateMode you would like to swap to, but changing the natspec is much less complex than changing the whole logic of the function.
The text was updated successfully, but these errors were encountered:
The current natspec documentation for the
rateMode
parameter on theLendingPool.swapBorrowRateMode
functions statesFrom a user prospective, it seems that you should pass the
rateMode
that you want to switch your debt INTOInstead, the function requires you to pass the CURRENT
rateMode
that you are using for your debt position.Honestly, I think that the best UX would be to specify the
rateMode
you would like to swap to, but changing the natspec is much less complex than changing the whole logic of the function.The text was updated successfully, but these errors were encountered: