Type Alias CollectProtocolFeesV2Params
CollectProtocolFeesV2Params: {
collectProtocolFeesAuthority: PublicKey;
tokenMintA: PublicKey;
tokenMintB: PublicKey;
tokenOwnerAccountA: PublicKey;
tokenOwnerAccountB: PublicKey;
tokenProgramA: PublicKey;
tokenProgramB: PublicKey;
tokenTransferHookAccountsA?: AccountMeta[];
tokenTransferHookAccountsB?: AccountMeta[];
tokenVaultA: PublicKey;
tokenVaultB: PublicKey;
whirlpool: PublicKey;
whirlpoolsConfig: PublicKey;
}
Type declaration
collectProtocolFeesAuthority: PublicKey
tokenMintA: PublicKey
tokenMintB: PublicKey
tokenOwnerAccountA: PublicKey
tokenOwnerAccountB: PublicKey
tokenProgramA: PublicKey
tokenProgramB: PublicKey
Optional
tokenTransferHookAccountsA?: AccountMeta[]
Optional
tokenTransferHookAccountsB?: AccountMeta[]
tokenVaultA: PublicKey
tokenVaultB: PublicKey
whirlpool: PublicKey
whirlpoolsConfig: PublicKey
Parameters to collect protocol fees for a Whirlpool