getBorrowRate

params of rateParams -> callback(response of yAssetParams)

calculates BorrowRateBorrowRate against params

U(x)=UtilisationRate(x)U(x) = UtilisationRate(x)
BorrowRate={baseRate+U(params)āˆ—multiplierifĀ U(params)ā©½kinkbaseRate+kinkāˆ—multiplier+(U(params)āˆ’kink)āˆ—jumpMultiplierifĀ U(params)>kinkBorrowRate = \begin{cases} baseRate + U(params) * multiplier & \text{if } U(params) \leqslant kink\\ baseRate + kink * multiplier + (U(params) - kink) * jumpMultiplier & \text{if } U(params) > kink\\ \end{cases}

Last updated