vaultUtils: {
calculateAdditionalCollateralRequired: ((vault, collateralSymbol, collaterals, fxToken, _protocolParams) => BigNumber);
calculateLiquidationPriceOfVaultWithOneCollateral: ((vault, collateral) => BigNumber);
calculateWithdrawableCollateral: ((vault, collateral) => BigNumber);
} = ...
Type declaration
-
calculateAdditionalCollateralRequired: ((vault, collateralSymbol, collaterals, fxToken, _protocolParams) => BigNumber)
-
- (vault, collateralSymbol, collaterals, fxToken, _protocolParams): BigNumber
-
Returns BigNumber
-
calculateLiquidationPriceOfVaultWithOneCollateral: ((vault, collateral) => BigNumber)
-
- (vault, collateral): BigNumber
-
Returns BigNumber
-
calculateWithdrawableCollateral: ((vault, collateral) => BigNumber)
-
- (vault, collateral): BigNumber
-
Returns BigNumber