Type Alias TwoHopSwapV2Params
TwoHopSwapV2Params: TwoHopSwapInput & {
oracleOne: PublicKey;
oracleTwo: PublicKey;
tokenAuthority: PublicKey;
tokenMintInput: PublicKey;
tokenMintIntermediate: PublicKey;
tokenMintOutput: PublicKey;
tokenOwnerAccountInput: PublicKey;
tokenOwnerAccountOutput: PublicKey;
tokenProgramInput: PublicKey;
tokenProgramIntermediate: PublicKey;
tokenProgramOutput: PublicKey;
tokenTransferHookAccountsInput?: AccountMeta[];
tokenTransferHookAccountsIntermediate?: AccountMeta[];
tokenTransferHookAccountsOutput?: AccountMeta[];
tokenVaultOneInput: PublicKey;
tokenVaultOneIntermediate: PublicKey;
tokenVaultTwoIntermediate: PublicKey;
tokenVaultTwoOutput: PublicKey;
whirlpoolOne: PublicKey;
whirlpoolTwo: PublicKey;
}
Parameters to execute a two-hop swap on a Whirlpool.