Commit 22c1ddf3 authored by Noah Zinsmeister's avatar Noah Zinsmeister

swaps to .5% slippage

parent b44ae1a2
...@@ -4,8 +4,8 @@ import { Trade as V2Trade } from '@uniswap/v2-sdk' ...@@ -4,8 +4,8 @@ import { Trade as V2Trade } from '@uniswap/v2-sdk'
import { useMemo } from 'react' import { useMemo } from 'react'
import { useUserSlippageToleranceWithDefault } from '../state/user/hooks' import { useUserSlippageToleranceWithDefault } from '../state/user/hooks'
const V2_SWAP_DEFAULT_SLIPPAGE = new Percent(45, 10_000) // .45% const V2_SWAP_DEFAULT_SLIPPAGE = new Percent(50, 10_000) // .50%
const V3_SWAP_DEFAULT_SLIPPAGE = new Percent(30, 10_000) // .30% const V3_SWAP_DEFAULT_SLIPPAGE = new Percent(50, 10_000) // .50%
const ONE_TENTHS_PERCENT = new Percent(10, 10_000) // .10% const ONE_TENTHS_PERCENT = new Percent(10, 10_000) // .10%
export default function useSwapSlippageTolerance(trade: V2Trade | V3Trade | undefined): Percent { export default function useSwapSlippageTolerance(trade: V2Trade | V3Trade | undefined): Percent {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment