Skip to content

Commit

Permalink
feat: add takeSurplus as param
Browse files Browse the repository at this point in the history
  • Loading branch information
Verisana committed Aug 15, 2023
1 parent 05dc204 commit d9883fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/methods/swap/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ export type BuildTxInputBase = {
partner?: string;
partnerAddress?: string;
partnerFeeBps?: number;
/** @description positive slippage goes to user, true by default */
/** @description (DEPRECATED). Use "takeSurplus" instead. Positive slippage goes to user, true by default */
positiveSlippageToUser?: boolean;
/** @description (). Set to true, to take positive slippage. Default: false */
takeSurplus?: boolean;
receiver?: Address;
srcDecimals?: number;
destDecimals?: number;
Expand Down

0 comments on commit d9883fa

Please sign in to comment.