Function calculateWithdrawLimit
- calculateWithdrawLimit(spotMarket: SpotMarketAccount, now: BN): {
borrowLimit: BN;
currentBorrowAmount: any;
currentDepositAmount: any;
maxBorrowAmount: BN;
minDepositAmount: BN;
withdrawLimit: BN;
}
-
Returns {
borrowLimit: BN;
currentBorrowAmount: any;
currentDepositAmount: any;
maxBorrowAmount: BN;
minDepositAmount: BN;
withdrawLimit: BN;
}
-
borrowLimit: BN
-
currentBorrowAmount: any
-
currentDepositAmount: any
-
maxBorrowAmount: BN
-
minDepositAmount: BN
-
withdrawLimit: BN