Type alias CollectAllPositionParams

CollectAllPositionParams: {
    positions: Record<string, PositionData>;
} & CollectAllParams

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

Type declaration

Param: positions

An array of Whirlpool positions.

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