Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated bsc #1539

Merged
merged 3 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading