Skip to content

Commit

Permalink
Remove deprecated bsc (#1539)
Browse files Browse the repository at this point in the history
* remove bsc

* Update utils.ts

* Update utils.ts
  • Loading branch information
ryanio authored Aug 8, 2024
1 parent d16f3e5 commit 0f01368
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
4 changes: 0 additions & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ export enum Chain {
Base = "base",
/** Blast */
Blast = "blast",
/** Binance Smart Chain */
BNB = "bsc",
/** Arbitrum */
Arbitrum = "arbitrum",
/** Arbitrum Nova */
Expand Down Expand Up @@ -138,8 +136,6 @@ export enum Chain {
BaseSepolia = "base_sepolia",
/** Blast Testnet */
BlastSepolia = "blast_sepolia",
/** Binance Smart Chain Testnet */
BNBTestnet = "bsctestnet",
/** Arbitrum Sepolia */
ArbitrumSepolia = "arbitrum_sepolia",
/** Avalanche Fuji */
Expand Down
9 changes: 0 additions & 9 deletions src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,6 @@ export const getChainId = (chain: Chain) => {
return "43114";
case Chain.Fuji:
return "43113";
case Chain.BNB:
return "56";
case Chain.BNBTestnet:
return "97";
case Chain.Arbitrum:
return "42161";
case Chain.ArbitrumNova:
Expand Down Expand Up @@ -239,10 +235,6 @@ export const getWETHAddress = (chain: Chain) => {
return "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7";
case Chain.Fuji:
return "0xd00ae08403B9bbb9124bB305C09058E32C39A48c";
case Chain.BNB:
return "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c";
case Chain.BNBTestnet:
return "0xae13d989dac2f0debff460ac112a837c89baa7cd";
case Chain.Arbitrum:
return "0x82af49447d8a07e3bd95bd0d56f35241523fbab1";
case Chain.ArbitrumNova:
Expand Down Expand Up @@ -323,7 +315,6 @@ export const isTestChain = (chain: Chain): boolean => {
case Chain.Baobab:
case Chain.BaseSepolia:
case Chain.BlastSepolia:
case Chain.BNBTestnet:
case Chain.ArbitrumSepolia:
case Chain.Fuji:
case Chain.OptimismSepolia:
Expand Down

0 comments on commit 0f01368

Please sign in to comment.