Commit 652a8305 authored by Charles Bachmeier's avatar Charles Bachmeier Committed by GitHub

feat: add BNB support to Token Search and Explore (#7223)

parent 80a77dd5
...@@ -362,8 +362,6 @@ function SearchBarDropdownContents({ ...@@ -362,8 +362,6 @@ function SearchBarDropdownContents({
function ComingSoonText({ chainId }: { chainId: ChainId }) { function ComingSoonText({ chainId }: { chainId: ChainId }) {
switch (chainId) { switch (chainId) {
case ChainId.BNB:
return <Trans>Coming soon: search and explore tokens on BNB Chain</Trans>
case ChainId.AVALANCHE: case ChainId.AVALANCHE:
return <Trans>Coming soon: search and explore tokens on Avalanche Chain</Trans> return <Trans>Coming soon: search and explore tokens on Avalanche Chain</Trans>
default: default:
......
...@@ -184,13 +184,14 @@ export function logSentryErrorForUnsupportedChain({ ...@@ -184,13 +184,14 @@ export function logSentryErrorForUnsupportedChain({
export const BACKEND_SUPPORTED_CHAINS = [ export const BACKEND_SUPPORTED_CHAINS = [
Chain.Ethereum, Chain.Ethereum,
Chain.Polygon,
Chain.Arbitrum, Chain.Arbitrum,
Chain.Optimism, Chain.Optimism,
Chain.Celo, Chain.Polygon,
Chain.Base, Chain.Base,
Chain.Bnb,
Chain.Celo,
] as const ] as const
export const BACKEND_NOT_YET_SUPPORTED_CHAIN_IDS = [ChainId.BNB, ChainId.AVALANCHE] as const export const BACKEND_NOT_YET_SUPPORTED_CHAIN_IDS = [ChainId.AVALANCHE] as const
export function getTokenDetailsURL({ export function getTokenDetailsURL({
address, address,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment