Function newKlendSupplyStrategyType
- newKlendSupplyStrategyType(
reserve: PublicKey,
reserveCollateralMint: PublicKey,
reserveLiquiditySupply: PublicKey,
reserveDestinationDepositCollateral: PublicKey,
oracle: PublicKey,
lendingMarket: PublicKey,
scopePrices: PublicKey,
reserveFarmState: PublicKey,
depositReservesWithOracle: { pythOracle: PublicKey; reserve: PublicKey }[],
borrowReservesWithOracle: { pythOracle: PublicKey; reserve: PublicKey }[],
): StrategyType Parameters
- reserve: PublicKey
- reserveCollateralMint: PublicKey
- reserveLiquiditySupply: PublicKey
- reserveDestinationDepositCollateral: PublicKey
- oracle: PublicKey
- lendingMarket: PublicKey
- scopePrices: PublicKey
- reserveFarmState: PublicKey
- depositReservesWithOracle: { pythOracle: PublicKey; reserve: PublicKey }[]
- borrowReservesWithOracle: { pythOracle: PublicKey; reserve: PublicKey }[]
Creates a new Klend supply strategy type.