Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
309d03b5
Unverified
Commit
309d03b5
authored
Jun 15, 2023
by
Tina
Committed by
GitHub
Jun 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Bump default auto-slippage to 0.5% (#6778)
bump default to 0.5%
parent
8d32e315
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
useAutoSlippageTolerance.ts
src/hooks/useAutoSlippageTolerance.ts
+1
-1
No files found.
src/hooks/useAutoSlippageTolerance.ts
View file @
309d03b5
...
...
@@ -13,7 +13,7 @@ import { InterfaceTrade } from 'state/routing/types'
import
useGasPrice
from
'
./useGasPrice
'
import
useStablecoinPrice
,
{
useStablecoinAmountFromFiatValue
,
useStablecoinValue
}
from
'
./useStablecoinPrice
'
const
DEFAULT_AUTO_SLIPPAGE
=
new
Percent
(
1
,
1000
)
// .10
%
const
DEFAULT_AUTO_SLIPPAGE
=
new
Percent
(
5
,
1000
)
// 0.5
%
// Base costs regardless of how many hops in the route
const
V3_SWAP_BASE_GAS_ESTIMATE
=
100
_000
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment