Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python-client/dlmm/dlmm/dlmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion ts-client/src/dlmm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down