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
6d5555d2
Unverified
Commit
6d5555d2
authored
Mar 17, 2020
by
Noah Zinsmeister
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update deploy
parent
9375acb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
constants.ts
src/constants.ts
+2
-2
data.test.ts
test/data.test.ts
+1
-1
No files found.
src/constants.ts
View file @
6d5555d2
...
@@ -9,9 +9,9 @@ export enum ChainId {
...
@@ -9,9 +9,9 @@ export enum ChainId {
KOVAN
=
42
KOVAN
=
42
}
}
export
const
FACTORY_ADDRESS
=
'
0x
E9DFfc628C6933f2c74356430099bD7639F25D5C
'
export
const
FACTORY_ADDRESS
=
'
0x
e2f197885abe8ec7c866cFf76605FD06d4576218
'
export
const
INIT_CODE_HASH
=
'
0x
8548287401d15401e1162bb5bc290f6fba82afcb66944df43c3017817522771
b
'
export
const
INIT_CODE_HASH
=
'
0x
0b77fb54a078d9399fa29cac94f5b35b9f11611b456ab507c7f46754712b642
b
'
export
enum
TradeType
{
export
enum
TradeType
{
EXACT_INPUT
,
EXACT_INPUT
,
...
...
test/data.test.ts
View file @
6d5555d2
...
@@ -14,6 +14,6 @@ describe('data', () => {
...
@@ -14,6 +14,6 @@ describe('data', () => {
it
(
'
Exchange
'
,
async
()
=>
{
it
(
'
Exchange
'
,
async
()
=>
{
const
token
=
new
Token
(
ChainId
.
RINKEBY
,
'
0xc7AD46e0b8a400Bb3C915120d284AafbA8fc4735
'
,
18
)
// DAI
const
token
=
new
Token
(
ChainId
.
RINKEBY
,
'
0xc7AD46e0b8a400Bb3C915120d284AafbA8fc4735
'
,
18
)
// DAI
const
exchange
=
await
Exchange
.
fetchData
(
WETH
[
ChainId
.
RINKEBY
],
token
)
const
exchange
=
await
Exchange
.
fetchData
(
WETH
[
ChainId
.
RINKEBY
],
token
)
expect
(
exchange
.
liquidityToken
.
address
).
toEqual
(
'
0x
A7D5493AA915Fcb8a9C0Bd77B587275A53fDdE6d
'
)
expect
(
exchange
.
liquidityToken
.
address
).
toEqual
(
'
0x
3DDd4674C99979EAd4a3160f12567c90a07f0e94
'
)
})
})
})
})
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