Type Alias InitializePoolInput<TAccountWhirlpoolsConfig, TAccountTokenMintA, TAccountTokenMintB, TAccountFunder, TAccountWhirlpool, TAccountTokenVaultA, TAccountTokenVaultB, TAccountFeeTier, TAccountTokenProgram, TAccountSystemProgram, TAccountRent>

InitializePoolInput: {
    feeTier: Address<TAccountFeeTier>;
    funder: TransactionSigner<TAccountFunder>;
    initialSqrtPrice: InitializePoolInstructionDataArgs["initialSqrtPrice"];
    rent?: Address<TAccountRent>;
    systemProgram?: Address<TAccountSystemProgram>;
    tickSpacing: InitializePoolInstructionDataArgs["tickSpacing"];
    tokenMintA: Address<TAccountTokenMintA>;
    tokenMintB: Address<TAccountTokenMintB>;
    tokenProgram?: Address<TAccountTokenProgram>;
    tokenVaultA: TransactionSigner<TAccountTokenVaultA>;
    tokenVaultB: TransactionSigner<TAccountTokenVaultB>;
    whirlpool: Address<TAccountWhirlpool>;
    whirlpoolBump: InitializePoolInstructionDataArgs["whirlpoolBump"];
    whirlpoolsConfig: Address<TAccountWhirlpoolsConfig>;
}

Type Parameters

  • TAccountWhirlpoolsConfig extends string = string
  • TAccountTokenMintA extends string = string
  • TAccountTokenMintB extends string = string
  • TAccountFunder extends string = string
  • TAccountWhirlpool extends string = string
  • TAccountTokenVaultA extends string = string
  • TAccountTokenVaultB extends string = string
  • TAccountFeeTier extends string = string
  • TAccountTokenProgram extends string = string
  • TAccountSystemProgram extends string = string
  • TAccountRent extends string = string

Type declaration