.25% -> .30% slippage for v3 swaps
This commit is contained in:
parent
3198129af2
commit
58a508c9d6
@ -5,7 +5,7 @@ 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(45, 10_000) // .45%
|
||||||
const V3_SWAP_DEFAULT_SLIPPAGE = new Percent(25, 10_000) // .25%
|
const V3_SWAP_DEFAULT_SLIPPAGE = new Percent(30, 10_000) // .30%
|
||||||
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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user