Interface RemoveCollateralQuoteData

interface RemoveCollateralQuoteData {
    collateralDeltaUsd: BN;
    existingCollateralUsd: BN;
    existingLeverage: BN;
    existingLiquidationPrice: ContractOraclePrice;
    maxWithdrawableUsd: BN;
    newCollateralUsd: BN;
    newLeverage: BN;
    newLiquidationPrice: ContractOraclePrice;
    passesLeverageCheck: boolean;
    passesMinCollateral: boolean;
    receiveTokenAmount: BN;
    receiveTokenAmountUsd: BN;
    swapPossible: boolean;
    swapRequired: boolean;
}

Properties

collateralDeltaUsd: BN
existingCollateralUsd: BN
existingLeverage: BN
existingLiquidationPrice: ContractOraclePrice
maxWithdrawableUsd: BN
newCollateralUsd: BN
newLeverage: BN
newLiquidationPrice: ContractOraclePrice
passesLeverageCheck: boolean
passesMinCollateral: boolean
receiveTokenAmount: BN
receiveTokenAmountUsd: BN
swapPossible: boolean
swapRequired: boolean