Type alias CollectAllPositionAddressParams

CollectAllPositionAddressParams: {
    positions: Address[];
} & CollectAllParams

Parameters to collect all fees and rewards from a list of positions.

Type declaration

  • positions: Address[]

Param: positionAddrs

An array of Whirlpool position addresses.

Param: receiver

The destination wallet that collected fees & reward will be sent to. Defaults to ctx.wallet key.

Param: positionOwner

The wallet key that contains the position token. Defaults to ctx.wallet key.

Param: positionAuthority

The authority key that can authorize operation on the position. Defaults to ctx.wallet key.

Param: payer

The key that will pay for the initialization of ATA token accounts. Defaults to ctx.wallet key.

Generated using TypeDoc