Type Alias TwoHopSwapInstruction<TProgram, TAccountTokenProgram, TAccountTokenAuthority, TAccountWhirlpoolOne, TAccountWhirlpoolTwo, TAccountTokenOwnerAccountOneA, TAccountTokenVaultOneA, TAccountTokenOwnerAccountOneB, TAccountTokenVaultOneB, TAccountTokenOwnerAccountTwoA, TAccountTokenVaultTwoA, TAccountTokenOwnerAccountTwoB, TAccountTokenVaultTwoB, TAccountTickArrayOne0, TAccountTickArrayOne1, TAccountTickArrayOne2, TAccountTickArrayTwo0, TAccountTickArrayTwo1, TAccountTickArrayTwo2, TAccountOracleOne, TAccountOracleTwo, TRemainingAccounts>
TwoHopSwapInstruction: IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts< [ TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, TAccountTokenAuthority extends string ? ReadonlySignerAccount<TAccountTokenAuthority> & IAccountSignerMeta< TAccountTokenAuthority, > : TAccountTokenAuthority, TAccountWhirlpoolOne extends string ? WritableAccount<TAccountWhirlpoolOne> : TAccountWhirlpoolOne, TAccountWhirlpoolTwo extends string ? WritableAccount<TAccountWhirlpoolTwo> : TAccountWhirlpoolTwo, TAccountTokenOwnerAccountOneA extends string ? WritableAccount<TAccountTokenOwnerAccountOneA> : TAccountTokenOwnerAccountOneA, TAccountTokenVaultOneA extends string ? WritableAccount<TAccountTokenVaultOneA> : TAccountTokenVaultOneA, TAccountTokenOwnerAccountOneB extends string ? WritableAccount<TAccountTokenOwnerAccountOneB> : TAccountTokenOwnerAccountOneB, TAccountTokenVaultOneB extends string ? WritableAccount<TAccountTokenVaultOneB> : TAccountTokenVaultOneB, TAccountTokenOwnerAccountTwoA extends string ? WritableAccount<TAccountTokenOwnerAccountTwoA> : TAccountTokenOwnerAccountTwoA, TAccountTokenVaultTwoA extends string ? WritableAccount<TAccountTokenVaultTwoA> : TAccountTokenVaultTwoA, TAccountTokenOwnerAccountTwoB extends string ? WritableAccount<TAccountTokenOwnerAccountTwoB> : TAccountTokenOwnerAccountTwoB, TAccountTokenVaultTwoB extends string ? WritableAccount<TAccountTokenVaultTwoB> : TAccountTokenVaultTwoB, TAccountTickArrayOne0 extends string ? WritableAccount<TAccountTickArrayOne0> : TAccountTickArrayOne0, TAccountTickArrayOne1 extends string ? WritableAccount<TAccountTickArrayOne1> : TAccountTickArrayOne1, TAccountTickArrayOne2 extends string ? WritableAccount<TAccountTickArrayOne2> : TAccountTickArrayOne2, TAccountTickArrayTwo0 extends string ? WritableAccount<TAccountTickArrayTwo0> : TAccountTickArrayTwo0, TAccountTickArrayTwo1 extends string ? WritableAccount<TAccountTickArrayTwo1> : TAccountTickArrayTwo1, TAccountTickArrayTwo2 extends string ? WritableAccount<TAccountTickArrayTwo2> : TAccountTickArrayTwo2, TAccountOracleOne extends string ? ReadonlyAccount<TAccountOracleOne> : TAccountOracleOne, TAccountOracleTwo extends string ? ReadonlyAccount<TAccountOracleTwo> : TAccountOracleTwo, ...TRemainingAccounts, ],> Type Parameters
- TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
- TAccountTokenProgram extends string | IAccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
- TAccountTokenAuthority extends string | IAccountMeta<string> = string
- TAccountWhirlpoolOne extends string | IAccountMeta<string> = string
- TAccountWhirlpoolTwo extends string | IAccountMeta<string> = string
- TAccountTokenOwnerAccountOneA extends string | IAccountMeta<string> = string
- TAccountTokenVaultOneA extends string | IAccountMeta<string> = string
- TAccountTokenOwnerAccountOneB extends string | IAccountMeta<string> = string
- TAccountTokenVaultOneB extends string | IAccountMeta<string> = string
- TAccountTokenOwnerAccountTwoA extends string | IAccountMeta<string> = string
- TAccountTokenVaultTwoA extends string | IAccountMeta<string> = string
- TAccountTokenOwnerAccountTwoB extends string | IAccountMeta<string> = string
- TAccountTokenVaultTwoB extends string | IAccountMeta<string> = string
- TAccountTickArrayOne0 extends string | IAccountMeta<string> = string
- TAccountTickArrayOne1 extends string | IAccountMeta<string> = string
- TAccountTickArrayOne2 extends string | IAccountMeta<string> = string
- TAccountTickArrayTwo0 extends string | IAccountMeta<string> = string
- TAccountTickArrayTwo1 extends string | IAccountMeta<string> = string
- TAccountTickArrayTwo2 extends string | IAccountMeta<string> = string
- TAccountOracleOne extends string | IAccountMeta<string> = string
- TAccountOracleTwo extends string | IAccountMeta<string> = string
- TRemainingAccounts extends readonly IAccountMeta<string>[] = []