Skip to content

Commit

Permalink
Merge pull request #170 from DefiLlama/patch-1
Browse files Browse the repository at this point in the history
Across add linea
  • Loading branch information
vrtnd committed Apr 7, 2024
2 parents 67e9493 + 3ba56b5 commit 0012137
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/adapters/across/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ const contracts = {
base: {
spokePoolv2p5: "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64",
},
linea: {
spokePoolv2p5: "0x7E63A5f1a8F0B4d0934B2f2327DAED3F6bb2ee75",
},
} as const;

type SupportedChains = keyof typeof contracts;
Expand Down Expand Up @@ -217,6 +220,7 @@ const adapter: BridgeAdapter = {
optimism: constructParams("optimism"),
"zksync era": constructParams("era"),
base: constructParams("base"),
linea: constructParams("linea"),
};

export default adapter;
2 changes: 1 addition & 1 deletion src/data/bridgeNetworkData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export default [
iconLink: "icons:across",
largeTxThreshold: 10000,
url: "",
chains: ["Ethereum", "Polygon", "Arbitrum", "Optimism", "zkSync Era", "Base"],
chains: ["Ethereum", "Polygon", "Arbitrum", "Optimism", "zkSync Era", "Base", 'Linea'],
chainMapping: {
"zksync era": "era",
},
Expand Down

0 comments on commit 0012137

Please sign in to comment.