You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: projects/connext/index.js
+18-4Lines changed: 18 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,17 @@ async function getDeployedContractAddress(chainId) {
11
11
constallContracts=awaitgetContracts()
12
12
constrecord=allContracts[chainId+'']??[]
13
13
constcontracts=(record??[])[0]?.contracts??{}
14
-
return[
14
+
15
+
constresult=[
15
16
contracts.Connext?.address,
16
17
contracts.Connext_DiamondProxy?.address,
17
-
].filter(i=>i)
18
+
].filter(i=>i);
19
+
20
+
// Manually adding Connext-specific xERC20 lockboxes on L1. Don't yet have a programmatic way to retrieve these, so hardcoding the largest lockboxes only for now.
// crossChain.json returns the xERC20 representation of ezETH instead of canonical addresses on L1. Manually add these below until a better JSON is available.
0 commit comments