update default slippage to 50 bips (#569)

This commit is contained in:
Ian Lapham 2019-12-18 18:06:03 -05:00 committed by Noah Zinsmeister
parent d400ff62d0
commit 103ad864a6
2 changed files with 8 additions and 8 deletions

@ -28,8 +28,8 @@ const TOKEN_TO_ETH = 1
const TOKEN_TO_TOKEN = 2
// denominated in bips
const ALLOWED_SLIPPAGE_DEFAULT = 100
const TOKEN_ALLOWED_SLIPPAGE_DEFAULT = 100
const ALLOWED_SLIPPAGE_DEFAULT = 50
const TOKEN_ALLOWED_SLIPPAGE_DEFAULT = 50
// 15 minutes, denominated in seconds
const DEFAULT_DEADLINE_FROM_NOW = 60 * 15

@ -411,22 +411,22 @@ export default function TransactionDetails(props) {
>
0.1%
</Option>
<Option
<OptionLarge
onClick={() => {
setFromFixed(2, 0.5)
}}
active={activeIndex === 2}
>
0.5%
</Option>
<OptionLarge
0.5% <Faded>(suggested)</Faded>
</OptionLarge>
<Option
onClick={() => {
setFromFixed(3, 1)
}}
active={activeIndex === 3}
>
1% <Faded>(suggested)</Faded>
</OptionLarge>
1%
</Option>
<OptionCustom
active={activeIndex === 4}
color={