From b83479f45c5b0b613889b2271da1ace718d680c0 Mon Sep 17 00:00:00 2001 From: Jared Vu Date: Tue, 19 Dec 2023 23:25:14 -0800 Subject: [PATCH] Handle New Markets added by Gov (#201) * Add celestia assets * Handle symbol not yet added --- package.json | 2 +- pnpm-lock.yaml | 8 +- public/configs/markets.json | 812 ++++++++---------- public/currencies/tia.png | Bin 0 -> 10457 bytes public/currencies/unavailable.png | Bin 0 -> 1760 bytes src/components/AssetIcon.tsx | 10 +- src/constants/markets.ts | 36 - src/hooks/useMarketsData.ts | 13 +- src/lib/testFlags.ts | 8 +- src/views/ExchangeBillboards.tsx | 3 - .../DetailsDialog/FillDetailsDialog.tsx | 2 +- .../DetailsDialog/OrderDetailsDialog.tsx | 2 +- 12 files changed, 378 insertions(+), 518 deletions(-) create mode 100644 public/currencies/tia.png create mode 100644 public/currencies/unavailable.png diff --git a/package.json b/package.json index cbc4caa..0ba9ff8 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@cosmjs/tendermint-rpc": "^0.31.0", "@dydxprotocol/v4-abacus": "^1.1.25", "@dydxprotocol/v4-client-js": "^1.0.11", - "@dydxprotocol/v4-localization": "^1.0.18", + "@dydxprotocol/v4-localization": "^1.0.19", "@ethersproject/providers": "^5.7.2", "@js-joda/core": "^5.5.3", "@radix-ui/react-checkbox": "^1.0.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eff06db..920a2f4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,8 +33,8 @@ dependencies: specifier: ^1.0.11 version: 1.0.11 '@dydxprotocol/v4-localization': - specifier: ^1.0.18 - version: 1.0.18 + specifier: ^1.0.19 + version: 1.0.19 '@ethersproject/providers': specifier: ^5.7.2 version: 5.7.2 @@ -1020,8 +1020,8 @@ packages: - utf-8-validate dev: false - /@dydxprotocol/v4-localization@1.0.18: - resolution: {integrity: sha512-790ajXfGzqRs7JVA3vISCg0Vh4EEN7SlcI8u04iryPcBp1WwkQ5TFGllF32+YPs1+mgjMRhwrg6jP8zEGMQFyw==} + /@dydxprotocol/v4-localization@1.0.19: + resolution: {integrity: sha512-fKmJlyCCyo+SamH+Rb3fFR2Vu2F6G1JQcABAjWBMgihhA+XbdVVzTgydpQQfUgzIkmzy0CDFul6InAHlLvY1EQ==} dev: false /@dydxprotocol/v4-proto@0.4.1: diff --git a/public/configs/markets.json b/public/configs/markets.json index f887f2b..e81e812 100644 --- a/public/configs/markets.json +++ b/public/configs/markets.json @@ -1,454 +1,360 @@ { - "1INCH-USD":{ - "name":"1inch", - "tags":[ - "Defi" - ], - "websiteLink":"https://1inch.io/", - "whitepaperLink":"https://github.com/1inch", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/1inch/" - }, - "AAVE-USD":{ - "name":"Aave", - "tags":[ - "Defi" - ], - "websiteLink":"https://aave.com/", - "whitepaperLink":"https://github.com/aave/protocol-v2/blob/master/aave-v2-whitepaper.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/aave/" - }, - "ADA-USD":{ - "name":"Cardano", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://cardano.org/", - "whitepaperLink":"https://why.cardano.org/en/introduction/motivation/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/cardano/" - }, - "ALGO-USD":{ - "name":"Algorand", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://algorand.com/", - "whitepaperLink":"https://algorand.com/technology/white-papers", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/algorand/" - }, - "APE-USD":{ - "name":"ApeCoin", - "tags":[ - - ], - "websiteLink":"https://apecoin.com/", - "whitepaperLink":"https://apecoin.com/about", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/apecoin-ape/" - }, - "APT-USD":{ - "name":"Aptos", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://aptoslabs.com/", - "whitepaperLink":"https://aptos.dev/aptos-white-paper/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/aptos/" - }, - "ARB-USD":{ - "name":"Arbitrum", - "tags":[ - - ], - "websiteLink":"https://arbitrum.io/", - "whitepaperLink":"https://github.com/OffchainLabs/nitro", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/arbitrum/" - }, - "ATOM-USD":{ - "name":"Cosmos", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://cosmos.network/", - "whitepaperLink":"https://v1.cosmos.network/resources/whitepaper", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/cosmos/" - }, - "AVAX-USD":{ - "name":"Avalanche", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://www.avalabs.org/", - "whitepaperLink":"https://assets.website-files.com/5d80307810123f5ffbb34d6e/6008d7bbf8b10d1eb01e7e16_Avalanche%20Platform%20Whitepaper.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/avalanche/" - }, - "BCH-USD":{ - "name":"Bitcoin Cash", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://bitcoincash.org/", - "whitepaperLink":"https://bitcoincash.org/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/bitcoin-cash/" - }, - "BLUR-USD":{ - "name":"Blur", - "tags":[ - - ], - "websiteLink":"https://blur.io/", - "whitepaperLink":"https://docs.blur.foundation/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/blur-token/" - }, - "CELO-USD":{ - "name":"Celo", - "tags":[ - - ], - "websiteLink":"https://celo.org", - "whitepaperLink":"https://docs.celo.org", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/celo/" - }, - "BTC-USD":{ - "name":"Bitcoin", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://bitcoin.org/", - "whitepaperLink":"https://bitcoin.org/bitcoin.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/bitcoin/" - }, - "COMP-USD":{ - "name":"Compound", - "tags":[ - "Defi" - ], - "websiteLink":"https://compound.finance/", - "whitepaperLink":"https://compound.finance/documents/Compound.Whitepaper.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/compound/" - }, - "CRV-USD":{ - "name":"Curve", - "tags":[ - "Governance" - ], - "websiteLink":"https://curve.fi/", - "whitepaperLink":"https://curve.fi/whitepaper", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/curve-dao-token/" - }, - "DOGE-USD":{ - "name":"Dogecoin", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://dogecoin.com/", - "whitepaperLink":"https://github.com/dogecoin/dogecoin", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/dogecoin/" - }, - "DOT-USD":{ - "name":"Polkadot", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://polkadot.network/", - "whitepaperLink":"https://polkadot.network/PolkaDotPaper.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/polkadot-new/" - }, - "ENJ-USD":{ - "name":"Enjin", - "tags":[ - - ], - "websiteLink":"https://enjin.io/", - "whitepaperLink":"https://cdn.enjin.io/downloads/whitepapers/enjin-coin/en.pdf/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/enjin-coin/" - }, - "EOS-USD":{ - "name":"EOS", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://eos.io/", - "whitepaperLink":"https://github.com/EOSIO/Documentation/blob/master/TechnicalWhitePaper.md", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/eos/" - }, - "ETC-USD":{ - "name":"Ethereum Classic", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://ethereumclassic.org/", - "whitepaperLink":"https://ethereumclassic.org/why-classic", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/ethereum-classic/" - }, - "ETH-USD":{ - "name":"Ethereum", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://ethereum.org/", - "whitepaperLink":"https://ethereum.org/whitepaper/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/ethereum/", - "displayStepSize":"0.001", - "displayTickSize":"0.1" - }, - "FIL-USD":{ - "name":"Filecoin", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://filecoin.io/", - "whitepaperLink":"https://filecoin.io/filecoin.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/filecoin/" - }, - "HNT-USD":{ - "name":"Helium", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://www.helium.com", - "whitepaperLink":"http://whitepaper.helium.com", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/helium/" - }, - "ICP-USD":{ - "name":"Internet Computer", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://dfinity.org", - "whitepaperLink":"https://dfinity.org/whitepaper.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/internet-computer/" - }, - "LDO-USD":{ - "name":"Lido DAO", - "tags":[ - "Defi" - ], - "websiteLink":"https://lido.fi/", - "whitepaperLink":"https://lido.fi/static/Lido:Ethereum-Liquid-Staking.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/lido-dao/" - }, - "LINK-USD":{ - "name":"Chainlink", - "tags":[ - "Defi" - ], - "websiteLink":"https://chain.link/", - "whitepaperLink":"https://link.smartcontract.com/whitepaper", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/chainlink/" - }, - "LTC-USD":{ - "name":"Litecoin", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://litecoin.org/", - "whitepaperLink":"https://litecoin.info/index.php/Main_Page", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/litecoin/" - }, - "MATIC-USD":{ - "name":"Polygon", - "tags":[ - "Layer 2" - ], - "websiteLink":"https://polygon.technology/", - "whitepaperLink":"https://polygon.technology/lightpaper-polygon.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/polygon/" - }, - "MKR-USD":{ - "name":"Maker", - "tags":[ - "Governance" - ], - "websiteLink":"https://makerdao.com", - "whitepaperLink":"https://makerdao.com/whitepaper", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/maker/" - }, - "NEAR-USD":{ - "name":"NEAR Protocol", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://near.org", - "whitepaperLink":"https://near.org/papers/the-official-near-white-paper/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/near-protocol/" - }, - "OP-USD":{ - "name":"Optimism", - "tags":[ - - ], - "websiteLink":"https://www.optimism.io/", - "whitepaperLink":"https://github.com/ethereum-optimism", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/optimism-ethereum/" - }, - "PEPE-USD":{ - "name":"Pepe", - "tags":[ - - ], - "websiteLink":"https://www.pepe.vip/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/pepe/" - }, - "RUNE-USD":{ - "name":"THORChain", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://thorchain.org", - "whitepaperLink":"https://whitepaper.io/document/709/thorchain-whitepaper", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/thorchain/" - }, - "SEI-USD":{ - "name":"Sei", - "tags":[ - "Layer 1", - "Defi" - ], - "websiteLink":"https://www.sei.io/", - "whitepaperLink":"https://github.com/sei-protocol/sei-chain/blob/3c9576fee3494ce039df684624f918dd8066ba3f/whitepaper/Sei_Whitepaper.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/sei/" - }, - "SHIB-USD":{ - "name":"Shiba Inu", - "tags":[ - - ], - "websiteLink":"https://shibatoken.com/", - "whitepaperLink":"https://docs.shibatoken.com/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/shiba-inu/" - }, - "SNX-USD":{ - "name":"Synthetix", - "tags":[ - "Defi" - ], - "websiteLink":"https://synthetix.io/", - "whitepaperLink":"https://docs.synthetix.io/litepaper", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/synthetix-network-token/" - }, - "SOL-USD":{ - "name":"Solana", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://solana.com/", - "whitepaperLink":"https://solana.com/solana-whitepaper.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/solana/" - }, - "SUI-USD":{ - "name":"Sui", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://sui.io/", - "whitepaperLink":"https://github.com/MystenLabs", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/sui/" - }, - "SUSHI-USD":{ - "name":"Sushi", - "tags":[ - "Defi" - ], - "websiteLink":"https://sushi.com/", - "whitepaperLink":"https://docs.sushi.com/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/sushiswap/" - }, - "TRX-USD":{ - "name":"TRON", - "tags":[ - "Defi" - ], - "websiteLink":"https://tron.network/", - "whitepaperLink":"https://tron.network/static/doc/white_paper_v_2_0.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/tron/" - }, - "UMA-USD":{ - "name":"UMA", - "tags":[ - "Defi" - ], - "websiteLink":"https://umaproject.org/", - "whitepaperLink":"https://github.com/UMAprotocol/whitepaper", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/uma/" - }, - "UNI-USD":{ - "name":"Uniswap", - "tags":[ - "Defi" - ], - "websiteLink":"https://uniswap.org/", - "whitepaperLink":"https://uniswap.org/whitepaper-v3.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/uniswap/" - }, - "WLD-USD":{ - "name":"Worldcoin", - "tags":[ - - ], - "websiteLink":"https://worldcoin.org/", - "whitepaperLink":"https://whitepaper.worldcoin.org/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/worldcoin-org/" - }, - "XLM-USD":{ - "name":"Stellar", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://www.stellar.org/", - "whitepaperLink":"https://www.stellar.org/papers/stellar-consensus-protocol", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/stellar/" - }, - "XMR-USD":{ - "name":"Monero", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://www.getmonero.org/", - "whitepaperLink":"https://www.getmonero.org/resources/research-lab/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/monero/" - }, - "XRP-USD":{ - "name":"Ripple", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://ripple.com/currency/", - "whitepaperLink":"https://github.com/ripple", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/xrp/" - }, - "XTZ-USD":{ - "name":"Tezos", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://tezos.com", - "whitepaperLink":"https://tezos.com/whitepaper.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/tezos/" - }, - "YFI-USD":{ - "name":"Yearn", - "tags":[ - "Defi" - ], - "websiteLink":"https://yearn.finance/", - "whitepaperLink":"https://docs.yearn.finance/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/yearn-finance/" - }, - "ZEC-USD":{ - "name":"Zcash", - "tags":[ - "Layer 1" - ], - "websiteLink":"https://z.cash/", - "whitepaperLink":"https://z.cash/technology/", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/zcash/" - }, - "ZRX-USD":{ - "name":"0x", - "tags":[ - "Defi" - ], - "websiteLink":"https://0x.org/", - "whitepaperLink":"https://0x.org/pdfs/0x_white_paper.pdf", - "coinMarketCapsLink":"https://coinmarketcap.com/currencies/0x/" - } - } \ No newline at end of file + "1INCH-USD": { + "name": "1inch", + "tags": ["Defi"], + "websiteLink": "https://1inch.io/", + "whitepaperLink": "https://github.com/1inch", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/1inch/" + }, + "AAVE-USD": { + "name": "Aave", + "tags": ["Defi"], + "websiteLink": "https://aave.com/", + "whitepaperLink": "https://github.com/aave/protocol-v2/blob/master/aave-v2-whitepaper.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/aave/" + }, + "ADA-USD": { + "name": "Cardano", + "tags": ["Layer 1"], + "websiteLink": "https://cardano.org/", + "whitepaperLink": "https://why.cardano.org/en/introduction/motivation/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/cardano/" + }, + "ALGO-USD": { + "name": "Algorand", + "tags": ["Layer 1"], + "websiteLink": "https://algorand.com/", + "whitepaperLink": "https://algorand.com/technology/white-papers", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/algorand/" + }, + "APE-USD": { + "name": "ApeCoin", + "tags": [], + "websiteLink": "https://apecoin.com/", + "whitepaperLink": "https://apecoin.com/about", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/apecoin-ape/" + }, + "APT-USD": { + "name": "Aptos", + "tags": ["Layer 1"], + "websiteLink": "https://aptoslabs.com/", + "whitepaperLink": "https://aptos.dev/aptos-white-paper/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/aptos/" + }, + "ARB-USD": { + "name": "Arbitrum", + "tags": [], + "websiteLink": "https://arbitrum.io/", + "whitepaperLink": "https://github.com/OffchainLabs/nitro", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/arbitrum/" + }, + "ATOM-USD": { + "name": "Cosmos", + "tags": ["Layer 1"], + "websiteLink": "https://cosmos.network/", + "whitepaperLink": "https://v1.cosmos.network/resources/whitepaper", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/cosmos/" + }, + "AVAX-USD": { + "name": "Avalanche", + "tags": ["Layer 1"], + "websiteLink": "https://www.avalabs.org/", + "whitepaperLink": "https://assets.website-files.com/5d80307810123f5ffbb34d6e/6008d7bbf8b10d1eb01e7e16_Avalanche%20Platform%20Whitepaper.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/avalanche/" + }, + "BCH-USD": { + "name": "Bitcoin Cash", + "tags": ["Layer 1"], + "websiteLink": "https://bitcoincash.org/", + "whitepaperLink": "https://bitcoincash.org/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/bitcoin-cash/" + }, + "BLUR-USD": { + "name": "Blur", + "tags": [], + "websiteLink": "https://blur.io/", + "whitepaperLink": "https://docs.blur.foundation/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/blur-token/" + }, + "CELO-USD": { + "name": "Celo", + "tags": [], + "websiteLink": "https://celo.org", + "whitepaperLink": "https://docs.celo.org", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/celo/" + }, + "BTC-USD": { + "name": "Bitcoin", + "tags": ["Layer 1"], + "websiteLink": "https://bitcoin.org/", + "whitepaperLink": "https://bitcoin.org/bitcoin.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/bitcoin/" + }, + "COMP-USD": { + "name": "Compound", + "tags": ["Defi"], + "websiteLink": "https://compound.finance/", + "whitepaperLink": "https://compound.finance/documents/Compound.Whitepaper.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/compound/" + }, + "CRV-USD": { + "name": "Curve", + "tags": ["Governance"], + "websiteLink": "https://curve.fi/", + "whitepaperLink": "https://curve.fi/whitepaper", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/curve-dao-token/" + }, + "DOGE-USD": { + "name": "Dogecoin", + "tags": ["Layer 1"], + "websiteLink": "https://dogecoin.com/", + "whitepaperLink": "https://github.com/dogecoin/dogecoin", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/dogecoin/" + }, + "DOT-USD": { + "name": "Polkadot", + "tags": ["Layer 1"], + "websiteLink": "https://polkadot.network/", + "whitepaperLink": "https://polkadot.network/PolkaDotPaper.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/polkadot-new/" + }, + "ENJ-USD": { + "name": "Enjin", + "tags": [], + "websiteLink": "https://enjin.io/", + "whitepaperLink": "https://cdn.enjin.io/downloads/whitepapers/enjin-coin/en.pdf/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/enjin-coin/" + }, + "EOS-USD": { + "name": "EOS", + "tags": ["Layer 1"], + "websiteLink": "https://eos.io/", + "whitepaperLink": "https://github.com/EOSIO/Documentation/blob/master/TechnicalWhitePaper.md", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/eos/" + }, + "ETC-USD": { + "name": "Ethereum Classic", + "tags": ["Layer 1"], + "websiteLink": "https://ethereumclassic.org/", + "whitepaperLink": "https://ethereumclassic.org/why-classic", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/ethereum-classic/" + }, + "ETH-USD": { + "name": "Ethereum", + "tags": ["Layer 1"], + "websiteLink": "https://ethereum.org/", + "whitepaperLink": "https://ethereum.org/whitepaper/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/ethereum/", + "displayStepSize": "0.001", + "displayTickSize": "0.1" + }, + "FIL-USD": { + "name": "Filecoin", + "tags": ["Layer 1"], + "websiteLink": "https://filecoin.io/", + "whitepaperLink": "https://filecoin.io/filecoin.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/filecoin/" + }, + "HNT-USD": { + "name": "Helium", + "tags": ["Layer 1"], + "websiteLink": "https://www.helium.com", + "whitepaperLink": "http://whitepaper.helium.com", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/helium/" + }, + "ICP-USD": { + "name": "Internet Computer", + "tags": ["Layer 1"], + "websiteLink": "https://dfinity.org", + "whitepaperLink": "https://dfinity.org/whitepaper.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/internet-computer/" + }, + "LDO-USD": { + "name": "Lido DAO", + "tags": ["Defi"], + "websiteLink": "https://lido.fi/", + "whitepaperLink": "https://lido.fi/static/Lido:Ethereum-Liquid-Staking.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/lido-dao/" + }, + "LINK-USD": { + "name": "Chainlink", + "tags": ["Defi"], + "websiteLink": "https://chain.link/", + "whitepaperLink": "https://link.smartcontract.com/whitepaper", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/chainlink/" + }, + "LTC-USD": { + "name": "Litecoin", + "tags": ["Layer 1"], + "websiteLink": "https://litecoin.org/", + "whitepaperLink": "https://litecoin.info/index.php/Main_Page", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/litecoin/" + }, + "MATIC-USD": { + "name": "Polygon", + "tags": ["Layer 2"], + "websiteLink": "https://polygon.technology/", + "whitepaperLink": "https://polygon.technology/lightpaper-polygon.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/polygon/" + }, + "MKR-USD": { + "name": "Maker", + "tags": ["Governance"], + "websiteLink": "https://makerdao.com", + "whitepaperLink": "https://makerdao.com/whitepaper", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/maker/" + }, + "NEAR-USD": { + "name": "NEAR Protocol", + "tags": ["Layer 1"], + "websiteLink": "https://near.org", + "whitepaperLink": "https://near.org/papers/the-official-near-white-paper/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/near-protocol/" + }, + "OP-USD": { + "name": "Optimism", + "tags": [], + "websiteLink": "https://www.optimism.io/", + "whitepaperLink": "https://github.com/ethereum-optimism", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/optimism-ethereum/" + }, + "PEPE-USD": { + "name": "Pepe", + "tags": [], + "websiteLink": "https://www.pepe.vip/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/pepe/" + }, + "RUNE-USD": { + "name": "THORChain", + "tags": ["Layer 1"], + "websiteLink": "https://thorchain.org", + "whitepaperLink": "https://whitepaper.io/document/709/thorchain-whitepaper", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/thorchain/" + }, + "SEI-USD": { + "name": "Sei", + "tags": ["Layer 1", "Defi"], + "websiteLink": "https://www.sei.io/", + "whitepaperLink": "https://github.com/sei-protocol/sei-chain/blob/3c9576fee3494ce039df684624f918dd8066ba3f/whitepaper/Sei_Whitepaper.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/sei/" + }, + "SHIB-USD": { + "name": "Shiba Inu", + "tags": [], + "websiteLink": "https://shibatoken.com/", + "whitepaperLink": "https://docs.shibatoken.com/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/shiba-inu/" + }, + "SNX-USD": { + "name": "Synthetix", + "tags": ["Defi"], + "websiteLink": "https://synthetix.io/", + "whitepaperLink": "https://docs.synthetix.io/litepaper", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/synthetix-network-token/" + }, + "SOL-USD": { + "name": "Solana", + "tags": ["Layer 1"], + "websiteLink": "https://solana.com/", + "whitepaperLink": "https://solana.com/solana-whitepaper.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/solana/" + }, + "SUI-USD": { + "name": "Sui", + "tags": ["Layer 1"], + "websiteLink": "https://sui.io/", + "whitepaperLink": "https://github.com/MystenLabs", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/sui/" + }, + "SUSHI-USD": { + "name": "Sushi", + "tags": ["Defi"], + "websiteLink": "https://sushi.com/", + "whitepaperLink": "https://docs.sushi.com/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/sushiswap/" + }, + "TIA-USD": { + "name": "Celestia", + "tags": ["Layer 1"], + "websiteLink": "https://celestia.org/", + "whitepaperLink": "https://arxiv.org/pdf/1905.09274.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/celestia/" + }, + "TRX-USD": { + "name": "TRON", + "tags": ["Defi"], + "websiteLink": "https://tron.network/", + "whitepaperLink": "https://tron.network/static/doc/white_paper_v_2_0.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/tron/" + }, + "UMA-USD": { + "name": "UMA", + "tags": ["Defi"], + "websiteLink": "https://umaproject.org/", + "whitepaperLink": "https://github.com/UMAprotocol/whitepaper", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/uma/" + }, + "UNI-USD": { + "name": "Uniswap", + "tags": ["Defi"], + "websiteLink": "https://uniswap.org/", + "whitepaperLink": "https://uniswap.org/whitepaper-v3.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/uniswap/" + }, + "WLD-USD": { + "name": "Worldcoin", + "tags": [], + "websiteLink": "https://worldcoin.org/", + "whitepaperLink": "https://whitepaper.worldcoin.org/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/worldcoin-org/" + }, + "XLM-USD": { + "name": "Stellar", + "tags": ["Layer 1"], + "websiteLink": "https://www.stellar.org/", + "whitepaperLink": "https://www.stellar.org/papers/stellar-consensus-protocol", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/stellar/" + }, + "XMR-USD": { + "name": "Monero", + "tags": ["Layer 1"], + "websiteLink": "https://www.getmonero.org/", + "whitepaperLink": "https://www.getmonero.org/resources/research-lab/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/monero/" + }, + "XRP-USD": { + "name": "Ripple", + "tags": ["Layer 1"], + "websiteLink": "https://ripple.com/currency/", + "whitepaperLink": "https://github.com/ripple", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/xrp/" + }, + "XTZ-USD": { + "name": "Tezos", + "tags": ["Layer 1"], + "websiteLink": "https://tezos.com", + "whitepaperLink": "https://tezos.com/whitepaper.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/tezos/" + }, + "YFI-USD": { + "name": "Yearn", + "tags": ["Defi"], + "websiteLink": "https://yearn.finance/", + "whitepaperLink": "https://docs.yearn.finance/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/yearn-finance/" + }, + "ZEC-USD": { + "name": "Zcash", + "tags": ["Layer 1"], + "websiteLink": "https://z.cash/", + "whitepaperLink": "https://z.cash/technology/", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/zcash/" + }, + "ZRX-USD": { + "name": "0x", + "tags": ["Defi"], + "websiteLink": "https://0x.org/", + "whitepaperLink": "https://0x.org/pdfs/0x_white_paper.pdf", + "coinMarketCapsLink": "https://coinmarketcap.com/currencies/0x/" + } +} diff --git a/public/currencies/tia.png b/public/currencies/tia.png new file mode 100644 index 0000000000000000000000000000000000000000..7dc9a4f020d0621e6132f68c3a3e65af5ffb11ba GIT binary patch literal 10457 zcmV;~C??m5P)mqbiBpm9Z5p|Fx4iiGQl0-)k$tFZv13@yIBxR8x?ZBUzM536#?v-Tj5+t_rFSeON zt|wEh;a?UBA1(bcQnY;1;;te31wqh3juBl-I!c|+C8>4g2|kWr;;$5-Oh8hIgj~!5 zve1;`OMd11z-9i0d3nO5gA@my0OWO$heQI#2_zx|cy$ltmkyP)@6NR-k+go8o=hIZdrH()kAL6~BY(CADlq0Va|q}W25{6HFV!qz&$>0{=JFx7I@ zY5^FQ6Y8On94G}{&Of%NgGgiXjs8T^e8UXr?~G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ztnCLWG_^@aGX-4DHXDaTovkOoVE>**AY- z_9}7-&!REIa`!eT>7R=QN;LpK^Z7WA=9mjKWi%qz;8i0iq`B{Aw{yc{W(hw=IN2y~ zIbZFNw2Dpe<3|?M+e99~({S8~PQ`7dPn*Wywxb#Z_VR{I939ptAxZJv z4)PCw&V{R&3>o3`0T2_T3bXFg1l_>an5&NDze-3lOijPkf7!_UGBx=?#x#Hx!*fEt z`H5cVt97E^kP229nz;PYMS*#gVPs4LSnz+5vFIGN>b3=$UTHzWjdF8uofxz#cG z>Uvbo7?E2#fL)o<%pA6%-(W?NF!g(octh2QYS92zAXVwGP_Q#g`oqXvrC&Lulo*4* z`uF|Zt-2>4sCErt#fT2Fy_pqy!ppjYg9%d5dm06X<`;++R70py0RZ4Gj>rvP%`0IT z`XbV=0PNQ<4M~w?W87|F{fzG0MfGK?sum{kO{ivtU&mZDY*KpBSglKv+9OZy6; z4dNd!;4Pvl)k3g6vySg^sx-uekl!~OO}D6)&9{2o-7bJa=9D3lwH}qs$%j*3K#&ZPU>OGCEdNoz%@W|FcAKXF5T?0T%P zv&xHGKu-&Gh;}h+lwCY1ILUCWlwzGG#0Eo}yr0w3BkKf~;g}Wr1>yezRuNPvZr$sy P00000NkvXXu0mjf-_I-H literal 0 HcmV?d00001 diff --git a/public/currencies/unavailable.png b/public/currencies/unavailable.png new file mode 100644 index 0000000000000000000000000000000000000000..922585a3b55fb367a52833557aa2a5c18a2dba9b GIT binary patch literal 1760 zcmV<61|Ru}P)EoHd(aWi_dK>zCJ1Ve{YiZKGSB4&s{D4eT~4_fd4S4`$^kd{A~i> z2b6#^P=uFBdyP~OZ}Cxp&7^H7?Ko+NDDKTeVTAZEX|LcJJ_*3yeK%=G=&y%&g&E>` z(w-&l1w6oY0r(te!0*G|pcldV;WBCGaQHFdssQZm50Z9(FrWx$aPSe~ngF2%ejR27 zif{o(a7BR71HXz@gk%NPE3Vv%yoOqliHnLjb1x zZ}E9nPNeX$FhyE04#toIu-AW$bVw(P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Pqwh3r-Zk8Z)()D&-y0WpTFvm)Wdp;&o5_BJ zZYZmZ^WGQ00w3PW`qOymle#=m(#e;UdrLR09lSQ&DDh_vlzy;5HDV; z^+|v%%m}O(c98B%924HV$YXX*PxtDWJzoXL!bbxopcF=kzA^-Z%YgH&{j0^_USGT! zf&h6K2`Iz_sU){EZBp?6Ofb#y`6l4}_!; className?: string; -}) => - isAssetSymbol(symbol) ? : null; +}) => ( + +); const Styled: Record = {}; diff --git a/src/constants/markets.ts b/src/constants/markets.ts index 9d92c9c..edb44f9 100644 --- a/src/constants/markets.ts +++ b/src/constants/markets.ts @@ -26,39 +26,3 @@ export enum FundingDirection { ToShort = 'ToShort', ToLong = 'ToLong', } - -export const MARKETS_TO_DISPLAY = [ - 'BTC-USD', - 'ETH-USD', - 'LINK-USD', - 'SOL-USD', - 'MATIC-USD', - 'ATOM-USD', - 'AVAX-USD', - 'APE-USD', - 'XRP-USD', - 'UNI-USD', - 'ADA-USD', - 'TRX-USD', - 'OP-USD', - 'MKR-USD', - 'DOGE-USD', - 'SHIB-USD', - 'COMP-USD', - 'LDO-USD', - 'NEAR-USD', - 'APT-USD', - 'SUI-USD', - 'DOT-USD', - 'ETC-USD', - 'ARB-USD', - 'CRV-USD', - 'BLUR-USD', - 'FIL-USD', - 'XLM-USD', - 'PEPE-USD', - 'WLD-USD', - 'SEI-USD', - 'LTC-USD', - 'BCH-USD', -]; diff --git a/src/hooks/useMarketsData.ts b/src/hooks/useMarketsData.ts index e9ec038..020db64 100644 --- a/src/hooks/useMarketsData.ts +++ b/src/hooks/useMarketsData.ts @@ -1,14 +1,7 @@ import { useMemo } from 'react'; import { useSelector, shallowEqual } from 'react-redux'; -import { - MarketFilters, - MARKET_FILTER_LABELS, - type MarketData, - MARKETS_TO_DISPLAY, -} from '@/constants/markets'; - -import { testFlags } from '@/lib/testFlags'; +import { MarketFilters, MARKET_FILTER_LABELS, type MarketData } from '@/constants/markets'; import { getAssets } from '@/state/assetsSelectors'; import { getPerpetualMarkets } from '@/state/perpetualsSelectors'; @@ -49,9 +42,7 @@ export const useMarketsData = ( }, [allPerpetualMarkets, allAssets]); const filteredMarkets = useMemo(() => { - const filtered = markets - .filter(filterFunctions[filter]) - .filter(({ id }) => (testFlags.displayAllMarkets ? true : MARKETS_TO_DISPLAY.includes(id))); + const filtered = markets.filter(filterFunctions[filter]); if (searchFilter) { return filtered.filter( diff --git a/src/lib/testFlags.ts b/src/lib/testFlags.ts index bbb5aed..b4a0364 100644 --- a/src/lib/testFlags.ts +++ b/src/lib/testFlags.ts @@ -5,13 +5,13 @@ class TestFlags { this.queryParams = {}; const hash = window.location.hash; const queryIndex = hash.indexOf('?'); - if (queryIndex === -1) return + if (queryIndex === -1) return; const queryParamsString = hash.substring(queryIndex + 1); const params = new URLSearchParams(queryParamsString); for (const [key, value] of params) { - this.queryParams[key] = value; + this.queryParams[key] = value; } } @@ -19,10 +19,6 @@ class TestFlags { return !!this.queryParams.displayInitializingMarkets; } - get displayAllMarkets() { - return !!this.queryParams.displayAllMarkets; - } - get withCCTP() { return !!this.queryParams.withCCTP; } diff --git a/src/views/ExchangeBillboards.tsx b/src/views/ExchangeBillboards.tsx index bdb90e4..d6ce345 100644 --- a/src/views/ExchangeBillboards.tsx +++ b/src/views/ExchangeBillboards.tsx @@ -2,9 +2,7 @@ import styled, { type AnyStyledComponent } from 'styled-components'; import { shallowEqual, useSelector } from 'react-redux'; import { STRING_KEYS } from '@/constants/localization'; -import { MARKETS_TO_DISPLAY } from '@/constants/markets'; import { useBreakpoints, useStringGetter } from '@/hooks'; -import { testFlags } from '@/lib/testFlags'; import { breakpoints } from '@/styles'; import { layoutMixins } from '@/styles/layoutMixins'; @@ -34,7 +32,6 @@ export const ExchangeBillboards: React.FC = ({ Object.values(perpetualMarkets) .filter(Boolean) - .filter(({ id }) => (testFlags.displayAllMarkets ? true : MARKETS_TO_DISPLAY.includes(id))) .forEach(({ oraclePrice, perpetual }) => { const { volume24H, trades24H, openInterest = 0 } = perpetual || {}; volume24HUSDC += volume24H ?? 0; diff --git a/src/views/dialogs/DetailsDialog/FillDetailsDialog.tsx b/src/views/dialogs/DetailsDialog/FillDetailsDialog.tsx index ffdbe72..0ba26c9 100644 --- a/src/views/dialogs/DetailsDialog/FillDetailsDialog.tsx +++ b/src/views/dialogs/DetailsDialog/FillDetailsDialog.tsx @@ -94,7 +94,7 @@ export const FillDetailsDialog = ({ fillId, setIsOpen }: ElementProps) => { return ( } + slotIcon={} title={resources.typeStringKey && stringGetter({ key: resources.typeStringKey })} items={detailItems} setIsOpen={setIsOpen} diff --git a/src/views/dialogs/DetailsDialog/OrderDetailsDialog.tsx b/src/views/dialogs/DetailsDialog/OrderDetailsDialog.tsx index e0c0737..904d15d 100644 --- a/src/views/dialogs/DetailsDialog/OrderDetailsDialog.tsx +++ b/src/views/dialogs/DetailsDialog/OrderDetailsDialog.tsx @@ -194,7 +194,7 @@ export const OrderDetailsDialog = ({ orderId, setIsOpen }: ElementProps) => { return ( } + slotIcon={} title={!resources.typeStringKey ? '' : stringGetter({ key: resources.typeStringKey })} slotFooter={ isAccountViewOnly ? null : isOrderStatusClearable(status) ? (