Skip to content

Commit

Permalink
chore: increase slippage on withdraw and deposit to 1%
Browse files Browse the repository at this point in the history
  • Loading branch information
yvesfracari committed Nov 13, 2024
1 parent 3f7ef9a commit f7814c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/utils/transactionFactory/balancerPool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class BalancerDepositCreator
async createRawTx(args: BalancerDepositArgs): Promise<BaseTransaction> {
return addLiquidity.buildCall({
...args.query,
slippage: Slippage.fromPercentage("0.5"), // same used on the balancer app
slippage: Slippage.fromPercentage("1"), // same used on the balancer app
sender: args.sender,
chainId: args.chainId,
recipient: args.recipient,
Expand Down Expand Up @@ -77,7 +77,7 @@ export class BalancerWithdrawCreator
const query = await removeLiquidity.query(removeLiquidityInput, poolState);
const call = removeLiquidity.buildCall({
...query,
slippage: Slippage.fromPercentage("0"), // same used on the balancer app
slippage: Slippage.fromPercentage("1"), // same used on the balancer app
sender,
recipient,
chainId,
Expand Down

0 comments on commit f7814c0

Please sign in to comment.