The following readme describes all the functions and their parameters exposed by the partitionedLinearInterestRateModel class of the K2 SDK. This sub-class contains all the important functions from the K2 Partitioned Linear Interest Rate Model contract of the K2 Lending protocol.
assumedLiquidity: Total liquidity in the pool, including available and borrowed funds
borrowedLiquidity: Liquidity borrowed from the pool
borrowAmount: Borrow amount
assumedLiquidity: Total liquidity in the pool, including available and borrowed funds
borrowedLiquidity: Liquidity borrowed from the pool
borrowAmount: Borrow amount
assumedLiquidity: Total liquidity in the pool, including available and borrowed funds
borrowedLiquidity: Liquidity borrowed from the pool
borrowAmount: Borrow amount
assumedLiquidity: Total liquidity in the pool, including available and borrowed funds
borrowedLiquidity: Liquidity borrowed from the pool
borrowAmount: Borrow amount
maxSlashableAmountPerLiveness: Maximum slashable amount per liveness
maxSlashableAmountPerCorruption: Maximum slashable amount per corruption
interestAmount: The interest amount
currentBorrowAmount: Curent debt principal
maxSlashableAmountPerLiveness: Maximum slashable amount per liveness
maxSlashableAmountPerCorruption: Maximum slashable amount per corruption
duration: Borrow duration
newBorrowAmount: The debt principal to compute interest for
currentBorrowAmount: Curent debt principal
maxSlashableAmountPerLiveness: Maximum slashable amount per liveness
maxSlashableAmountPerCorruption: Maximum slashable amount per corruption
duration: Borrow duration
currentBorrowAmount: Curent debt principal
maxSlashableAmountPerLiveness: Maximum slashable amount per liveness
maxSlashableAmountPerCorruption: Maximum slashable amount per corruption