From 9c3f72fb200f1fe73cbd3486d12b92851d3c3058 Mon Sep 17 00:00:00 2001 From: Idan Peleg Date: Thu, 14 Mar 2024 12:48:26 -0400 Subject: [PATCH] feat: disable some element chains --- src/utils/element.ts | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/utils/element.ts b/src/utils/element.ts index ac85530..687a6da 100644 --- a/src/utils/element.ts +++ b/src/utils/element.ts @@ -56,30 +56,30 @@ export enum SaleKind { export class Element { public getChainName() { switch (config.chainId) { - case 1: - return "eth"; - case 10: - return "optimism"; + // case 1: + // return "eth"; + // case 10: + // return "optimism"; case 56: return "bsc"; - case 137: - return "polygon"; - // case 204: - // return "opbnb"; - // case 324: - // return "zksync"; + // case 137: + // return "polygon"; + case 204: + return "opbnb"; + case 324: + return "zksync"; // case 8453: // return "base"; - // case 42161: - // return "arbitrum"; - // case 43114: - // return "avalanche"; - // case 59144: - // return "linea"; - // case 81457: - // return "blast"; - // case 534352: - // return "scroll"; + case 42161: + return "arbitrum"; + case 43114: + return "avalanche"; + case 59144: + return "linea"; + case 81457: + return "blast"; + case 534352: + return "scroll"; default: return undefined; }