Function getInitializePoolInstruction
getInitializePoolInstruction< TAccountWhirlpoolsConfig extends string, TAccountTokenMintA extends string, TAccountTokenMintB extends string, TAccountFunder extends string, TAccountWhirlpool extends string, TAccountTokenVaultA extends string, TAccountTokenVaultB extends string, TAccountFeeTier extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TAccountRent extends string, TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,>( input: InitializePoolInput< TAccountWhirlpoolsConfig, TAccountTokenMintA, TAccountTokenMintB, TAccountFunder, TAccountWhirlpool, TAccountTokenVaultA, TAccountTokenVaultB, TAccountFeeTier, TAccountTokenProgram, TAccountSystemProgram, TAccountRent, >, config?: { programAddress?: TProgramAddress },): InitializePoolInstruction< TProgramAddress, TAccountWhirlpoolsConfig, TAccountTokenMintA, TAccountTokenMintB, TAccountFunder, TAccountWhirlpool, TAccountTokenVaultA, TAccountTokenVaultB, TAccountFeeTier, TAccountTokenProgram, TAccountSystemProgram, TAccountRent,> Type Parameters
- TAccountWhirlpoolsConfig extends string
- TAccountTokenMintA extends string
- TAccountTokenMintB extends string
- TAccountFunder extends string
- TAccountWhirlpool extends string
- TAccountTokenVaultA extends string
- TAccountTokenVaultB extends string
- TAccountFeeTier extends string
- TAccountTokenProgram extends string
- TAccountSystemProgram extends string
- TAccountRent extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">
Parameters
- input: InitializePoolInput<
TAccountWhirlpoolsConfig,
TAccountTokenMintA,
TAccountTokenMintB,
TAccountFunder,
TAccountWhirlpool,
TAccountTokenVaultA,
TAccountTokenVaultB,
TAccountFeeTier,
TAccountTokenProgram,
TAccountSystemProgram,
TAccountRent,
> Optional
config: { programAddress?: TProgramAddress }