Function getInitializePoolV2Instruction
- getInitializePoolV2Instruction<
TAccountWhirlpoolsConfig extends string,
TAccountTokenMintA extends string,
TAccountTokenMintB extends string,
TAccountTokenBadgeA extends string,
TAccountTokenBadgeB extends string,
TAccountFunder extends string,
TAccountWhirlpool extends string,
TAccountTokenVaultA extends string,
TAccountTokenVaultB extends string,
TAccountFeeTier extends string,
TAccountTokenProgramA extends string,
TAccountTokenProgramB extends string,
TAccountSystemProgram extends string,
TAccountRent extends string,
TProgramAddress extends
Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,
>(
input: InitializePoolV2Input<
TAccountWhirlpoolsConfig,
TAccountTokenMintA,
TAccountTokenMintB,
TAccountTokenBadgeA,
TAccountTokenBadgeB,
TAccountFunder,
TAccountWhirlpool,
TAccountTokenVaultA,
TAccountTokenVaultB,
TAccountFeeTier,
TAccountTokenProgramA,
TAccountTokenProgramB,
TAccountSystemProgram,
TAccountRent,
>,
config?: { programAddress?: TProgramAddress },
): InitializePoolV2Instruction<
TProgramAddress,
TAccountWhirlpoolsConfig,
TAccountTokenMintA,
TAccountTokenMintB,
TAccountTokenBadgeA,
TAccountTokenBadgeB,
TAccountFunder,
TAccountWhirlpool,
TAccountTokenVaultA,
TAccountTokenVaultB,
TAccountFeeTier,
TAccountTokenProgramA,
TAccountTokenProgramB,
TAccountSystemProgram,
TAccountRent,
> Type Parameters
- TAccountWhirlpoolsConfig extends string
- TAccountTokenMintA extends string
- TAccountTokenMintB extends string
- TAccountTokenBadgeA extends string
- TAccountTokenBadgeB extends string
- TAccountFunder extends string
- TAccountWhirlpool extends string
- TAccountTokenVaultA extends string
- TAccountTokenVaultB extends string
- TAccountFeeTier extends string
- TAccountTokenProgramA extends string
- TAccountTokenProgramB extends string
- TAccountSystemProgram extends string
- TAccountRent extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">
Parameters
- input: InitializePoolV2Input<
TAccountWhirlpoolsConfig,
TAccountTokenMintA,
TAccountTokenMintB,
TAccountTokenBadgeA,
TAccountTokenBadgeB,
TAccountFunder,
TAccountWhirlpool,
TAccountTokenVaultA,
TAccountTokenVaultB,
TAccountFeeTier,
TAccountTokenProgramA,
TAccountTokenProgramB,
TAccountSystemProgram,
TAccountRent,
> Optional
config: { programAddress?: TProgramAddress }