Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
swap-v2-sdk
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
swap-v2-sdk
Commits
766b59d1
Unverified
Commit
766b59d1
authored
Jan 04, 2024
by
eddie
Committed by
GitHub
Jan 04, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: leave FACTORY_ADDRESS deprecated (#152)
parent
5c3c82d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
constants.ts
src/constants.ts
+5
-0
No files found.
src/constants.ts
View file @
766b59d1
import
{
Percent
}
from
'
@uniswap/sdk-core
'
import
{
Percent
}
from
'
@uniswap/sdk-core
'
import
JSBI
from
'
jsbi
'
import
JSBI
from
'
jsbi
'
/**
* @deprecated use FACTORY_ADDRESS_MAP instead
*/
export
const
FACTORY_ADDRESS
=
'
0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
'
export
const
FACTORY_ADDRESS_MAP
:
{
[
chainId
:
number
]:
string
}
=
{
export
const
FACTORY_ADDRESS_MAP
:
{
[
chainId
:
number
]:
string
}
=
{
// Mainnet
// Mainnet
1
:
'
0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
'
,
1
:
'
0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
'
,
...
...
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