Commit 103ad864 authored by Ian Lapham's avatar Ian Lapham Committed by Noah Zinsmeister

update default slippage to 50 bips (#569)

parent d400ff62
...@@ -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 = 100 const ALLOWED_SLIPPAGE_DEFAULT = 50
const TOKEN_ALLOWED_SLIPPAGE_DEFAULT = 100 const TOKEN_ALLOWED_SLIPPAGE_DEFAULT = 50
// 15 minutes, denominated in seconds // 15 minutes, denominated in seconds
const DEFAULT_DEADLINE_FROM_NOW = 60 * 15 const DEFAULT_DEADLINE_FROM_NOW = 60 * 15
......
...@@ -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 <OptionLarge
onClick={() => { onClick={() => {
setFromFixed(2, 0.5) setFromFixed(2, 0.5)
}} }}
active={activeIndex === 2} active={activeIndex === 2}
> >
0.5% 0.5% <Faded>(suggested)</Faded>
</Option> </OptionLarge>
<OptionLarge <Option
onClick={() => { onClick={() => {
setFromFixed(3, 1) setFromFixed(3, 1)
}} }}
active={activeIndex === 3} active={activeIndex === 3}
> >
1% <Faded>(suggested)</Faded> 1%
</OptionLarge> </Option>
<OptionCustom <OptionCustom
active={activeIndex === 4} active={activeIndex === 4}
color={ color={
......
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