diff --git a/src/adapters/across/index.ts b/src/adapters/across/index.ts index 934a62ab..1812791e 100644 --- a/src/adapters/across/index.ts +++ b/src/adapters/across/index.ts @@ -14,26 +14,26 @@ For all tokens using 'spokepool' contracts: const contracts = { ethereum: { spokePoolv2: "0x4D9079Bb4165aeb4084c526a32695dCfd2F77381", - spokePoolv2p5: "0x5c7BCd6E7De5423a257D81B442095A1a6ced35C5" + spokePoolv2p5: "0x5c7BCd6E7De5423a257D81B442095A1a6ced35C5", }, polygon: { spokePoolv2: "0x69B5c72837769eF1e7C164Abc6515DcFf217F920", - spokePoolv2p5: "0x9295ee1d8C5b022Be115A2AD3c30C72E34e7F096" + spokePoolv2p5: "0x9295ee1d8C5b022Be115A2AD3c30C72E34e7F096", }, arbitrum: { spokePoolv2: "0xB88690461dDbaB6f04Dfad7df66B7725942FEb9C", - spokePoolv2p5: "0xe35e9842fceaCA96570B734083f4a58e8F7C5f2A" + spokePoolv2p5: "0xe35e9842fceaCA96570B734083f4a58e8F7C5f2A", }, optimism: { spokePoolv2: "0xa420b2d1c0841415A695b81E5B867BCD07Dff8C9", - spokePoolv2p5: "0x6f26Bf09B1C792e3228e5467807a900A503c0281" + spokePoolv2p5: "0x6f26Bf09B1C792e3228e5467807a900A503c0281", }, era: { - spokePoolv2p5: "0xE0B015E54d54fc84a6cB9B666099c46adE9335FF" + spokePoolv2p5: "0xE0B015E54d54fc84a6cB9B666099c46adE9335FF", }, base: { - spokePoolv2p5: "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64" - } + spokePoolv2p5: "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", + }, } as const; type SupportedChains = keyof typeof contracts; @@ -119,7 +119,7 @@ const relaysParamsv2: PartialContractEventParams = { const constructParams = (chain: SupportedChains) => { const eventParams: PartialContractEventParams[] = []; - const chainConfig = contracts[chain] + const chainConfig = contracts[chain]; // Old Spoke Pools if ("spokePoolv2" in chainConfig) { @@ -160,7 +160,7 @@ const adapter: BridgeAdapter = { polygon: constructParams("polygon"), arbitrum: constructParams("arbitrum"), optimism: constructParams("optimism"), - era: constructParams("era"), + "zksync era": constructParams("era"), base: constructParams("base"), }; diff --git a/src/data/bridgeNetworkData.ts b/src/data/bridgeNetworkData.ts index 9d1231f2..8c3b7aec 100644 --- a/src/data/bridgeNetworkData.ts +++ b/src/data/bridgeNetworkData.ts @@ -108,18 +108,18 @@ export default [ // gnosis: "xdai", // }, // }, -// { - // id: 8, + // { + // id: 8, // displayName: "ChainPort", // bridgeDbName: "chainport", // iconLink: "icons:chainport", - // largeTxThreshold: 10000, + // largeTxThreshold: 10000, // url: "", // chains: ["Ethereum", "Polygon", "Fantom", "Avalanche", "Aurora", "BSC"], // chainMapping: { // avalanche: "avax", // }, - // }, + // }, { id: 9, displayName: "Portal by Wormhole", @@ -295,6 +295,9 @@ export default [ largeTxThreshold: 10000, url: "", chains: ["Ethereum", "Polygon", "Arbitrum", "Optimism", "zkSync Era", "Base"], + chainMapping: { + "zksync era": "era", + }, }, /* {