Skip to content

Commit

Permalink
fix: crash on add liquidity elastic on zksync
Browse files Browse the repository at this point in the history
  • Loading branch information
namgold committed Sep 14, 2023
1 parent aa37eaf commit 833faf5
Show file tree
Hide file tree
Showing 2 changed files with 240 additions and 216 deletions.
15 changes: 8 additions & 7 deletions src/constants/networks/zksync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,15 @@ const zkSyncInfo: EVMNetworkInfo = {
fairlaunchV2: [],
},
elastic: {
defaultSubgraph: '',
// zkSync not supports elastic
defaultSubgraph: 'https://api.thegraph.com/subgraphs/name/kybernetwork/kyberswap-elastic-zksync',
startBlock: 0,
coreFactory: '',
nonfungiblePositionManager: '',
tickReader: '',
initCodeHash: '',
quoter: '',
routers: '',
coreFactory: '0x5F1dddbf348aC2fbe22a163e30F99F9ECE3DD50a',
nonfungiblePositionManager: '0x2B1c7b41f6A8F2b2bc45C3233a5d5FB3cD6dC9A8',
tickReader: '0x165c68077ac06c83800d19200e6E2B08D02dE75D',
initCodeHash: '0xc597aba1bb02db42ba24a8878837965718c032f8b46be94a6e46452a9f89ca01',
quoter: '0x0D125c15D54cA1F8a813C74A81aEe34ebB508C1f',
routers: '0xC1e7dFE73E1598E3910EF4C7845B68A9Ab6F4c83',
farms: [],
},
limitOrder: NOT_SUPPORT,
Expand Down
Loading

0 comments on commit 833faf5

Please sign in to comment.