Skip to content

Commit a876ea8

Browse files
committed
enable portal bridge
1 parent ee90744 commit a876ea8

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

src/data/bridgeNetworkData.ts

+29-2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export default [
4242
chains: ["Ethereum", "Optimism"],
4343
destinationChain: "Optimism",
4444
},
45+
4546
// {
4647
// id: 5,
4748
// displayName: "Multichain",
@@ -121,7 +122,33 @@ export default [
121122
// avalanche: "avax",
122123
// },
123124
// },
124-
125+
{
126+
id: 9,
127+
displayName: "Portal by Wormhole",
128+
bridgeDbName: "portal",
129+
iconLink: "icons:portal",
130+
largeTxThreshold: 10000,
131+
url: "https://portalbridge.com/",
132+
chains: [
133+
"Ethereum",
134+
"Polygon",
135+
"Fantom",
136+
"Avalanche",
137+
"Aurora",
138+
"Celo",
139+
"Klaytn",
140+
"BSC",
141+
"Moonbeam",
142+
"Optimism",
143+
"Arbitrum",
144+
"Base",
145+
"Solana",
146+
],
147+
chainMapping: {
148+
avalanche: "avax", // this is needed temporarily, need to fix and remove
149+
},
150+
},
151+
125152
{
126153
id: 10,
127154
displayName: "Celer cBridge",
@@ -1455,7 +1482,7 @@ export default [
14551482
"BSquared",
14561483
"Bitlayer",
14571484
"Mode",
1458-
"Manta",
1485+
"Manta",
14591486
],
14601487
chainMapping: {
14611488
"zksync era": "era",

src/handlers/runAllAdapters.ts

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default wrapScheduledLambda(async (event) => {
3030
FROM (
3131
SELECT bridge_id, jsonb_build_object('startBlock', MIN(tx_block), 'endBlock', MAX(tx_block)) as subresult
3232
FROM bridges.transactions
33+
WHERE origin_chain IS NULL
3334
GROUP BY bridge_id
3435
) subquery;
3536
`;

0 commit comments

Comments
 (0)