Skip to content

Commit

Permalink
address update
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKurt committed May 7, 2024
1 parent e90fbc6 commit baacacd
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion packages/common/src/allo/backends/allo-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,13 @@ function getStrategyAddress(strategy: RoundCategory, chainId: ChainId): string {
let strategyAddresses;
switch (chainId) {
case ChainId.ZKSYNC_ERA_MAINNET_CHAIN_ID:
throw new Error("ZkSync era mainnet is not supported");
strategyAddresses = {
[RoundCategory.QuadraticFunding]:
"0x61E288cf14f196CF8a6104ec421ae17c7f16a749",
[RoundCategory.Direct]: "0x0000000000000000000000000000000000000000",
};
break;

case ChainId.ZKSYNC_ERA_TESTNET_CHAIN_ID:
throw new Error("ZkSync era testnet is not supported");

Expand All @@ -57,6 +63,15 @@ function getStrategyAddress(strategy: RoundCategory, chainId: ChainId): string {
};
break;

case ChainId.LUKSO:
case ChainId.LUKSO_TESTNET:
strategyAddresses = {
[RoundCategory.QuadraticFunding]:
"0x91b5eeE385D8e0cfd49FD94D4C7aE15e1F17e0A2",
[RoundCategory.Direct]: "0x0000000000000000000000000000000000000000",
};
break;

default:
strategyAddresses = {
[RoundCategory.QuadraticFunding]:
Expand Down

0 comments on commit baacacd

Please sign in to comment.