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
103ad864
Commit
103ad864
authored
Dec 18, 2019
by
Ian Lapham
Committed by
Noah Zinsmeister
Dec 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update default slippage to 50 bips (#569)
parent
d400ff62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
index.jsx
src/components/ExchangePage/index.jsx
+2
-2
index.js
src/components/TransactionDetails/index.js
+6
-6
No files found.
src/components/ExchangePage/index.jsx
View file @
103ad864
...
@@ -28,8 +28,8 @@ const TOKEN_TO_ETH = 1
...
@@ -28,8 +28,8 @@ const TOKEN_TO_ETH = 1
const
TOKEN_TO_TOKEN
=
2
const
TOKEN_TO_TOKEN
=
2
// denominated in bips
// denominated in bips
const
ALLOWED_SLIPPAGE_DEFAULT
=
10
0
const
ALLOWED_SLIPPAGE_DEFAULT
=
5
0
const
TOKEN_ALLOWED_SLIPPAGE_DEFAULT
=
10
0
const
TOKEN_ALLOWED_SLIPPAGE_DEFAULT
=
5
0
// 15 minutes, denominated in seconds
// 15 minutes, denominated in seconds
const
DEFAULT_DEADLINE_FROM_NOW
=
60
*
15
const
DEFAULT_DEADLINE_FROM_NOW
=
60
*
15
...
...
src/components/TransactionDetails/index.js
View file @
103ad864
...
@@ -411,22 +411,22 @@ export default function TransactionDetails(props) {
...
@@ -411,22 +411,22 @@ export default function TransactionDetails(props) {
>
>
0.1
%
0.1
%
<
/Option
>
<
/Option
>
<
Option
<
Option
Large
onClick
=
{()
=>
{
onClick
=
{()
=>
{
setFromFixed
(
2
,
0.5
)
setFromFixed
(
2
,
0.5
)
}}
}}
active
=
{
activeIndex
===
2
}
active
=
{
activeIndex
===
2
}
>
>
0.5
%
0.5
%
<
Faded
>
(
suggested
)
<
/Faded
>
<
/Option
>
<
/Option
Large
>
<
Option
Large
<
Option
onClick
=
{()
=>
{
onClick
=
{()
=>
{
setFromFixed
(
3
,
1
)
setFromFixed
(
3
,
1
)
}}
}}
active
=
{
activeIndex
===
3
}
active
=
{
activeIndex
===
3
}
>
>
1
%
<
Faded
>
(
suggested
)
<
/Faded
>
1
%
<
/Option
Large
>
<
/Option
>
<
OptionCustom
<
OptionCustom
active
=
{
activeIndex
===
4
}
active
=
{
activeIndex
===
4
}
color
=
{
color
=
{
...
...
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