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
140ff7a6
Unverified
Commit
140ff7a6
authored
Apr 12, 2021
by
Brandon Curtis
Committed by
GitHub
Apr 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update BASES_TO_CHECK_TRADES_AGAINST (#1333)
parent
3fbc4e34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
index.ts
src/constants/index.ts
+2
-4
No files found.
src/constants/index.ts
View file @
140ff7a6
...
...
@@ -14,12 +14,10 @@ type ChainTokenList = {
readonly
[
chainId
in
ChainId
]:
Token
[]
}
export
const
AMPL
=
new
Token
(
ChainId
.
MAINNET
,
'
0xD46bA6D942050d489DBd938a2C909A5d5039A161
'
,
9
,
'
AMPL
'
,
'
Ampleforth
'
)
export
const
DAI
=
new
Token
(
ChainId
.
MAINNET
,
'
0x6B175474E89094C44Da98b954EedeAC495271d0F
'
,
18
,
'
DAI
'
,
'
Dai Stablecoin
'
)
export
const
USDC
=
new
Token
(
ChainId
.
MAINNET
,
'
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
'
,
6
,
'
USDC
'
,
'
USD//C
'
)
export
const
USDT
=
new
Token
(
ChainId
.
MAINNET
,
'
0xdAC17F958D2ee523a2206206994597C13D831ec7
'
,
6
,
'
USDT
'
,
'
Tether USD
'
)
export
const
COMP
=
new
Token
(
ChainId
.
MAINNET
,
'
0xc00e94Cb662C3520282E6f5717214004A7f26888
'
,
18
,
'
COMP
'
,
'
Compound
'
)
export
const
MKR
=
new
Token
(
ChainId
.
MAINNET
,
'
0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
'
,
18
,
'
MKR
'
,
'
Maker
'
)
export
const
AMPL
=
new
Token
(
ChainId
.
MAINNET
,
'
0xD46bA6D942050d489DBd938a2C909A5d5039A161
'
,
9
,
'
AMPL
'
,
'
Ampleforth
'
)
export
const
WBTC
=
new
Token
(
ChainId
.
MAINNET
,
'
0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599
'
,
8
,
'
WBTC
'
,
'
Wrapped BTC
'
)
// Block time here is slightly higher (~1s) than average in order to avoid ongoing proposals past the displayed time
...
...
@@ -62,7 +60,7 @@ const WETH_ONLY: ChainTokenList = {
// used to construct intermediary pairs for trading
export
const
BASES_TO_CHECK_TRADES_AGAINST
:
ChainTokenList
=
{
...
WETH_ONLY
,
[
ChainId
.
MAINNET
]:
[...
WETH_ONLY
[
ChainId
.
MAINNET
],
DAI
,
USDC
,
USDT
,
COMP
,
MKR
,
WBTC
]
[
ChainId
.
MAINNET
]:
[...
WETH_ONLY
[
ChainId
.
MAINNET
],
DAI
,
USDC
,
USDT
,
WBTC
]
}
/**
...
...
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