Skip to content

Commit

Permalink
Merge pull request #204 from rhinofi/BEXP-1810-add-missing-chains
Browse files Browse the repository at this point in the history
Add rhino.fi missing chains
  • Loading branch information
Define101 authored Jun 20, 2024
2 parents b31991b + 9963151 commit d037a27
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
20 changes: 17 additions & 3 deletions src/adapters/rhinofi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@ export const bridgesAddress = {
polygon_zkevm: "0x65a4b8a0927c7fd899aed24356bf83810f7b9a3f",
linea: "0xcf68a2721394dcf5dcf66f6265c1819720f24528",
manta: "0x2b4553122d960ca98075028d68735cc6b15deeb5",
scroll: "0x87627c7e586441eef9ee3c28b66662e897513f33"
opbnb: "0x2b4553122d960ca98075028d68735cc6b15deeb5",
scroll: "0x87627c7e586441eef9ee3c28b66662e897513f33",
avax: "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1",
mantle: "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1",
mode: "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1",
blast: "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1",
xlayer: "0x5e023c31e1d3dcd08a1b3e8c96f6ef8aa8fcacd1",
taiko: "0x1df2de291f909baa50c1456c87c71edf9fb199d5",
} as const;

type SupportedChains = keyof typeof bridgesAddress;
Expand Down Expand Up @@ -80,8 +87,15 @@ const adapter: BridgeAdapter = {
"zksync era": constructParams("era"),
"polygon zkevm": constructParams("polygon_zkevm"),
linea: constructParams("linea"),
scroll: constructParams("scroll")
// 'manta pacific': constructParams('manta')
manta: constructParams("manta"),
opbnb: constructParams("opbnb"),
scroll: constructParams("scroll"),
avalanche: constructParams("avax"),
mantle: constructParams("mantle"),
mode: constructParams("mode"),
blast: constructParams("blast"),
'x layer': constructParams("xlayer"),
taiko: constructParams("taiko"),
};

export default adapter;
12 changes: 12 additions & 0 deletions src/data/bridgeNetworkData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -801,12 +801,24 @@ export default [
"zkSync Era",
"Polygon zkEVM",
"Linea",
"Manta",
"opBNB",
"Scroll",
"Avalanche",
"Solana",
"Mantle",
"Mode",
"Blast",
"X Layer",
"Taiko",
],
chainMapping: {
"arbitrum nova": "arbitrum_nova",
"zksync era": "era",
"polygon zkevm": "polygon_zkevm",
opbnb: "op_bnb",
avalanche: "avax",
"x layer": "xlayer",
},
},
{
Expand Down

0 comments on commit d037a27

Please sign in to comment.