JumpRate
The jump rate contract is abstract and inherited by lendgine. They are separated for readability.
Code
Read-only functions
kink
function kink() external view returns (uint256 kink);Returns the kink used in the jump rate model.
multiplier
function multiplier() external view returns (uint256 multiplier);Returns the multiplier used in the jump rate model.
jumpMultiplier
function jumpMultiplier() external view returns (uint256 jumpMultiplier);Returns the jump multiplier used in the jump rate model.
getBorrowRate
Computes the borrow rate based on liquidity utilization in the jump rate model.
getSupplyRate
Computes the supply rate based on liquidity utilzation in the jump rate model.
Last updated