• Preparing search index...
  • The search index is not available
Carrot Protocol Documentation
  • Carrot Protocol Documentation
  • @carrot-protocol/common
  • calculateVaultAPY

Function calculateVaultAPY

  • calculateVaultAPY(strategies: StrategyAPY[], reserves: ReserveAPY[]): number
  • Computes the annual percentage yield (APY) for the vault based on strategies.

    Parameters

    • strategies: StrategyAPY[]
    • reserves: ReserveAPY[]

    Returns number

    • Defined in math.ts:121

Settings

Member Visibility
Carrot Protocol Documentation
  • Loading...

Generated using TypeDoc