Function calculateTokenUtilizationLimits
- calculateTokenUtilizationLimits(depositTokenAmount: BN, borrowTokenAmount: BN, spotMarket: SpotMarketAccount): {
maxBorrowTokensForUtilization: BN;
minDepositTokensForUtilization: BN;
}
-
Parameters
-
depositTokenAmount: BN
-
borrowTokenAmount: BN
-
Returns {
maxBorrowTokensForUtilization: BN;
minDepositTokensForUtilization: BN;
}
-
maxBorrowTokensForUtilization: BN
-
minDepositTokensForUtilization: BN