diff --git a/python-client/dlmm/dlmm/dlmm.py b/python-client/dlmm/dlmm/dlmm.py index 299a8370..6f2cf532 100644 --- a/python-client/dlmm/dlmm/dlmm.py +++ b/python-client/dlmm/dlmm/dlmm.py @@ -341,7 +341,7 @@ def swap_quote(self, amount: int, swap_Y_to_X: bool, allowed_slippage: int, binA swap_Y_to_X (bool): Swap token X to Y when it is true, else reversed. allowed_slippage (int): Allowed slippage for the swap. Expressed in BPS. To convert from slippage percentage to BPS unit: SLIPPAGE_PERCENTAGE * 100 binArrays (List[dict]): The list of bin arrays to use for the swap. - is_partial_filled (Optional[bool]): Flag to check whether the the swapQuote is partial fill. + is_partial_filled (Optional[bool]): Flag to check whether the swapQuote is partial fill. ''' if type(amount) != int: diff --git a/ts-client/src/dlmm/index.ts b/ts-client/src/dlmm/index.ts index fafe9809..ac236626 100644 --- a/ts-client/src/dlmm/index.ts +++ b/ts-client/src/dlmm/index.ts @@ -4014,7 +4014,7 @@ export class DLMM { * - `swapForY`: Swap token X to Y when it is true, else reversed. * - `allowedSlippage`: Allowed slippage for the swap. Expressed in BPS. To convert from slippage percentage to BPS unit: SLIPPAGE_PERCENTAGE * 100 * - `binArrays`: binArrays for swapQuote. - * - `isPartialFill`: Flag to check whether the the swapQuote is partial fill, default = false. + * - `isPartialFill`: Flag to check whether the swapQuote is partial fill, default = false. * - `maxExtraBinArrays`: Maximum number of extra binArrays to return * @returns {SwapQuote} * - `consumedInAmount`: Amount of lamport to swap in