Function getConversionRate

  • Returns conversion rate between two prices.

    Returns

    ConversionRate conversion rate

    Parameters

    • collateralPrice: bigint

      collateral asset price

    • borrowPrice: bigint

      borrow asset price

    Returns ConversionRate

Generated using TypeDoc