Type alias CollectProtocolFeesParams

CollectProtocolFeesParams: {
    collectProtocolFeesAuthority: PublicKey;
    tokenOwnerAccountA: PublicKey;
    tokenOwnerAccountB: PublicKey;
    tokenVaultA: PublicKey;
    tokenVaultB: PublicKey;
    whirlpool: PublicKey;
    whirlpoolsConfig: PublicKey;
}

Parameters to collect protocol fees for a Whirlpool

Type declaration

  • collectProtocolFeesAuthority: PublicKey
  • tokenOwnerAccountA: PublicKey
  • tokenOwnerAccountB: PublicKey
  • tokenVaultA: PublicKey
  • tokenVaultB: PublicKey
  • whirlpool: PublicKey
  • whirlpoolsConfig: PublicKey

Param: whirlpoolsConfig

The public key for the WhirlpoolsConfig this pool is initialized in

Param: whirlpool

PublicKey for the whirlpool that the position will be opened for.

Param: tokenVaultA

PublicKey for the tokenA vault for this whirlpool.

Param: tokenVaultB

PublicKey for the tokenB vault for this whirlpool.

Param: tokenOwnerAccountA

PublicKey for the associated token account for tokenA in the collection wallet

Param: tokenOwnerAccountB

PublicKey for the associated token account for tokenA in the collection wallet

Param: collectProtocolFeesAuthority

assigned authority in the WhirlpoolsConfig that can collect protocol fees

Generated using TypeDoc