• Preparing search index...
  • The search index is not available
Vertex Typescript SDK Documentation
  • Documentation
  • Vertex Contracts
  • calcBorrowRateForTimeRange

Function calcBorrowRateForTimeRange

  • calcBorrowRateForTimeRange(product, seconds, minDepositRate): BigNumber
  • Calculates borrower interest rate compounded for a period of time.

    Parameters

    • product: SpotProduct

      Spot product

    • seconds: BigDecimalish

      Number of seconds for the time period

    • minDepositRate: BigDecimalish

    Returns BigNumber

    • Defined in packages/contracts/src/utils/interest.ts:98

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc