Skip to content

Commit

Permalink
fix: change default slippage v2 and v3 from 5% to 0.5%
Browse files Browse the repository at this point in the history
RemoveLiquidity/index.tsx default slippage to (50, 10_000)

RemoveLiquidity/V3.tsx default slippage to (50, 10_000)
  • Loading branch information
Rachel-Eichenberger committed Oct 5, 2023
1 parent 9db5fd1 commit 74e784b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/RemoveLiquidity/V3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import { currencyId } from '../../utils/currencyId'
import AppBody from '../AppBody'
import { ResponsiveHeaderText, SmallMaxButton, Wrapper } from './styled'

const DEFAULT_REMOVE_V3_LIQUIDITY_SLIPPAGE_TOLERANCE = new Percent(5, 100)
const DEFAULT_REMOVE_V3_LIQUIDITY_SLIPPAGE_TOLERANCE = new Percent(50, 10_000)

// redirect invalid tokenIds
export default function RemoveLiquidityV3() {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/RemoveLiquidity/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import { currencyId } from '../../utils/currencyId'
import AppBody from '../AppBody'
import { ClickableText, MaxButton, Wrapper } from '../Pool/styled'

const DEFAULT_REMOVE_LIQUIDITY_SLIPPAGE_TOLERANCE = new Percent(5, 100)
const DEFAULT_REMOVE_LIQUIDITY_SLIPPAGE_TOLERANCE = new Percent(50, 10_000)

export default function RemoveLiquidityWrapper() {
const { chainId } = useWeb3React()
Expand Down

0 comments on commit 74e784b

Please sign in to comment.