Type Alias InitializePoolV2Input<TAccountWhirlpoolsConfig, TAccountTokenMintA, TAccountTokenMintB, TAccountTokenBadgeA, TAccountTokenBadgeB, TAccountFunder, TAccountWhirlpool, TAccountTokenVaultA, TAccountTokenVaultB, TAccountFeeTier, TAccountTokenProgramA, TAccountTokenProgramB, TAccountSystemProgram, TAccountRent>

InitializePoolV2Input: {
    feeTier: Address<TAccountFeeTier>;
    funder: TransactionSigner<TAccountFunder>;
    initialSqrtPrice: InitializePoolV2InstructionDataArgs["initialSqrtPrice"];
    rent?: Address<TAccountRent>;
    systemProgram?: Address<TAccountSystemProgram>;
    tickSpacing: InitializePoolV2InstructionDataArgs["tickSpacing"];
    tokenBadgeA: Address<TAccountTokenBadgeA>;
    tokenBadgeB: Address<TAccountTokenBadgeB>;
    tokenMintA: Address<TAccountTokenMintA>;
    tokenMintB: Address<TAccountTokenMintB>;
    tokenProgramA: Address<TAccountTokenProgramA>;
    tokenProgramB: Address<TAccountTokenProgramB>;
    tokenVaultA: TransactionSigner<TAccountTokenVaultA>;
    tokenVaultB: TransactionSigner<TAccountTokenVaultB>;
    whirlpool: Address<TAccountWhirlpool>;
    whirlpoolsConfig: Address<TAccountWhirlpoolsConfig>;
}

Type Parameters

  • TAccountWhirlpoolsConfig extends string = string
  • TAccountTokenMintA extends string = string
  • TAccountTokenMintB extends string = string
  • TAccountTokenBadgeA extends string = string
  • TAccountTokenBadgeB extends string = string
  • TAccountFunder extends string = string
  • TAccountWhirlpool extends string = string
  • TAccountTokenVaultA extends string = string
  • TAccountTokenVaultB extends string = string
  • TAccountFeeTier extends string = string
  • TAccountTokenProgramA extends string = string
  • TAccountTokenProgramB extends string = string
  • TAccountSystemProgram extends string = string
  • TAccountRent extends string = string

Type declaration