diff --git a/cypress/deprecated/dfi.spec.ts b/cypress/deprecated/dfi.spec.ts
index 7869008c7..cd9a7aaae 100644
--- a/cypress/deprecated/dfi.spec.ts
+++ b/cypress/deprecated/dfi.spec.ts
@@ -62,20 +62,10 @@ context("/dfi page on desktop", () => {
.should("have.text", "Exchanges");
cy.findByTestId("ExchangeSection.Text").should("be.visible");
cy.findByTestId("ExchangeSection.Bittrue").should("be.visible");
- cy.findByTestId("ExchangeSection.Kucoin").should("be.visible");
- cy.findByTestId("ExchangeSection.EasyAu").should("be.visible");
- cy.findByTestId("ExchangeSection.EasyNz").should("be.visible");
- cy.findByTestId("ExchangeSection.Htx").should("be.visible");
- cy.findByTestId("ExchangeSection.Transak").should("be.visible");
- cy.findByTestId("ExchangeSection.Bit").should("be.visible");
- cy.findByTestId("ExchangeSection.Bitmart").should("be.visible");
- cy.findByTestId("ExchangeSection.Gateio").should("be.visible");
-
cy.findByTestId("DfiPage.Staking.Heading")
.should("be.visible")
.should("have.text", "Staking");
cy.findByTestId("DfiPage.Staking.Text").should("be.visible");
- cy.findByTestId("DfiPage.Staking.Kucoin").should("be.visible");
cy.findByTestId("DfiPage.Staking.Lock").should("be.visible");
});
});
@@ -145,19 +135,11 @@ context("/dfi page on mobile", () => {
.should("have.text", "Exchanges");
cy.findByTestId("ExchangeSection.Text").should("be.visible");
cy.findByTestId("ExchangeSection.Bittrue").should("be.visible");
- cy.findByTestId("ExchangeSection.Kucoin").should("be.visible");
- cy.findByTestId("ExchangeSection.EasyAu").should("be.visible");
- cy.findByTestId("ExchangeSection.EasyNz").should("be.visible");
- cy.findByTestId("ExchangeSection.Htx").should("be.visible");
- cy.findByTestId("ExchangeSection.Transak").should("be.visible");
- cy.findByTestId("ExchangeSection.Bybit").should("be.visible");
- cy.findByTestId("ExchangeSection.Swyftx").should("be.visible");
cy.findByTestId("DfiPage.Staking.Heading")
.should("be.visible")
.should("have.text", "Staking");
cy.findByTestId("DfiPage.Staking.Text").should("be.visible");
- cy.findByTestId("DfiPage.Staking.Kucoin").should("be.visible");
});
});
});
diff --git a/cypress/fixture/dfi.config.ts b/cypress/fixture/dfi.config.ts
index 17aea02de..4050c1bef 100644
--- a/cypress/fixture/dfi.config.ts
+++ b/cypress/fixture/dfi.config.ts
@@ -3,42 +3,7 @@ export const exchanges = [
{
id: "bitrue",
name: "Bitrue",
- url: "https://www.bitrue.com/trade/dfi_btc",
- },
- {
- id: "kucoin",
- name: "Kucoin",
- url: "https://trade.kucoin.com/DFI-BTC",
- },
- {
- id: "htx",
- name: "Htx",
- url: "https://www.htx.com/trade/dfi_usdt",
- },
- {
- id: "gateio",
- name: "Gateio",
- url: "https://www.gate.io/trade/DFI_USDT",
- },
- {
- id: "transak",
- name: "Transak",
- url: "https://global.transak.com",
- },
- {
- id: "bybit",
- name: "Bybit",
- url: "https://www.bybit.com/en-US/trade/spot/DFI/USDT",
- },
- {
- id: "swyftx",
- name: "Swyftx",
- url: "https://swyftx.com/au/buy/defichain",
- },
- {
- id: "bitdotcom",
- name: "Bitdotcom",
- url: "https://www.bit.com/legacy/spot?pair=DFI-USDT",
+ url: "https://www.bitrue.com/trade/dfi_usdt",
},
{
id: "latoken",
@@ -50,16 +15,6 @@ export const exchanges = [
name: "Bitmart",
url: "https://www.bitmart.com/trade/en?symbol=%24DFI_USDT&layout=basic",
},
- {
- id: "easyau",
- name: "EasycryptoAu",
- url: "https://easycrypto.com/au/buy-sell/dfi-defichain",
- },
- {
- id: "easynz",
- name: "EasycryptoNz",
- url: "https://easycrypto.com/nz/buy-sell/dfi-defichain",
- },
];
export const harnessDfi = [
diff --git a/src/components/icons/assets/exchanges/Bitdotcom.tsx b/src/components/icons/assets/exchanges/Bitdotcom.tsx
deleted file mode 100644
index eb2648dbd..000000000
--- a/src/components/icons/assets/exchanges/Bitdotcom.tsx
+++ /dev/null
@@ -1,33 +0,0 @@
-export default function Bitdotcom(): JSX.Element {
- return (
-
- );
-}
diff --git a/src/components/icons/assets/exchanges/Bitmart.tsx b/src/components/icons/assets/exchanges/Bitmart.tsx
deleted file mode 100644
index 56d482d08..000000000
--- a/src/components/icons/assets/exchanges/Bitmart.tsx
+++ /dev/null
@@ -1,80 +0,0 @@
-export default function Bitmart(): JSX.Element {
- return (
-
- );
-}
diff --git a/src/components/icons/assets/exchanges/Bybit.tsx b/src/components/icons/assets/exchanges/Bybit.tsx
deleted file mode 100644
index 1adfc800b..000000000
--- a/src/components/icons/assets/exchanges/Bybit.tsx
+++ /dev/null
@@ -1,44 +0,0 @@
-export default function Bybit(): JSX.Element {
- return (
-
- );
-}
diff --git a/src/components/icons/assets/exchanges/ChangeNow.tsx b/src/components/icons/assets/exchanges/ChangeNow.tsx
deleted file mode 100644
index 17eb884f7..000000000
--- a/src/components/icons/assets/exchanges/ChangeNow.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-export default function ChangeNow(): JSX.Element {
- return (
-
- );
-}
diff --git a/src/components/icons/assets/exchanges/CoinEx.tsx b/src/components/icons/assets/exchanges/CoinEx.tsx
deleted file mode 100644
index 94c2315cc..000000000
--- a/src/components/icons/assets/exchanges/CoinEx.tsx
+++ /dev/null
@@ -1,47 +0,0 @@
-export default function CoinEx(): JSX.Element {
- return (
-
- );
-}
diff --git a/src/components/icons/assets/exchanges/Dfx.tsx b/src/components/icons/assets/exchanges/Dfx.tsx
deleted file mode 100644
index bc5061f37..000000000
--- a/src/components/icons/assets/exchanges/Dfx.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-export default function Dfx(): JSX.Element {
- return (
-
- );
-}
diff --git a/src/components/icons/assets/exchanges/EasycryptoAu.tsx b/src/components/icons/assets/exchanges/EasycryptoAu.tsx
deleted file mode 100644
index 581d045a0..000000000
--- a/src/components/icons/assets/exchanges/EasycryptoAu.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
-export default function EasycryptoAu(): JSX.Element {
- return (
-
- );
-}
diff --git a/src/components/icons/assets/exchanges/EasycryptoNz.tsx b/src/components/icons/assets/exchanges/EasycryptoNz.tsx
deleted file mode 100644
index bed4e45a7..000000000
--- a/src/components/icons/assets/exchanges/EasycryptoNz.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
-export default function EasycryptoNz(): JSX.Element {
- return (
-
- );
-}
diff --git a/src/components/icons/assets/exchanges/Gateio.tsx b/src/components/icons/assets/exchanges/Gateio.tsx
deleted file mode 100644
index 7a8c2830f..000000000
--- a/src/components/icons/assets/exchanges/Gateio.tsx
+++ /dev/null
@@ -1,81 +0,0 @@
-export default function Gateio(): JSX.Element {
- return (
-
- );
-}
diff --git a/src/components/icons/assets/exchanges/Htx.tsx b/src/components/icons/assets/exchanges/Htx.tsx
deleted file mode 100644
index 290e87c8b..000000000
--- a/src/components/icons/assets/exchanges/Htx.tsx
+++ /dev/null
@@ -1,57 +0,0 @@
-export default function Htx(): JSX.Element {
- return (
-
- );
-}
diff --git a/src/components/icons/assets/exchanges/Swyftx.tsx b/src/components/icons/assets/exchanges/Swyftx.tsx
deleted file mode 100644
index 430a583e7..000000000
--- a/src/components/icons/assets/exchanges/Swyftx.tsx
+++ /dev/null
@@ -1,52 +0,0 @@
-export default function Swyftx(): JSX.Element {
- return (
-
- );
-}
diff --git a/src/components/icons/assets/exchanges/Transak.tsx b/src/components/icons/assets/exchanges/Transak.tsx
deleted file mode 100644
index 3b63ccf78..000000000
--- a/src/components/icons/assets/exchanges/Transak.tsx
+++ /dev/null
@@ -1,73 +0,0 @@
-export default function Transak(): JSX.Element {
- return (
-
- );
-}
diff --git a/src/components/icons/assets/exchanges/index.ts b/src/components/icons/assets/exchanges/index.ts
index 4482a03ca..3bf349bfa 100644
--- a/src/components/icons/assets/exchanges/index.ts
+++ b/src/components/icons/assets/exchanges/index.ts
@@ -1,39 +1,15 @@
import { SVGProps } from "react";
import Bitrue from "./Bitrue";
-import Kucoin from "./Kucoin";
-import Htx from "./Htx";
-import Gateio from "./Gateio";
-import Transak from "./Transak";
-import Bybit from "./Bybit";
-import Swyftx from "./Swyftx";
-import Bitdotcom from "./Bitdotcom";
import Latoken from "./Latoken";
-import Bitmart from "./Bitmart";
-import EasycryptoAu from "./EasycryptoAu";
-import EasycryptoNz from "./EasycryptoNz";
import Bake from "./Bake";
import Lock from "./Lock";
-import ChangeNow from "./ChangeNow";
-import CoinEx from "./CoinEx";
const mapping: Record) => JSX.Element> =
{
Bitrue,
- Kucoin,
- Htx,
- Gateio,
- Transak,
- Bybit,
- Swyftx,
- Bitdotcom,
Latoken,
- Bitmart,
- EasycryptoAu,
- EasycryptoNz,
Bake,
Lock,
- ChangeNow,
- CoinEx,
};
export function getExchangeLogo(
diff --git a/src/layouts/components/BuyDFIButton.tsx b/src/layouts/components/BuyDFIButton.tsx
index 63467ddf1..874d87333 100644
--- a/src/layouts/components/BuyDFIButton.tsx
+++ b/src/layouts/components/BuyDFIButton.tsx
@@ -15,21 +15,6 @@ export function BuyDFIButton({
const { t } = useTranslation("layout");
const exchanges = [
- {
- name: "KuCoin",
- image: "/assets/svg/exchanges/logo-kucoin.svg",
- url: "https://trade.kucoin.com/DFI-USDT",
- },
- {
- name: "Htx",
- image: "/assets/img/exchanges/logo-htx.png",
- url: "https://www.htx.com/trade/dfi_usdt",
- },
- {
- name: "Gate.io",
- image: "/assets/svg/exchanges/logo-gateio.svg",
- url: "https://www.gate.io/trade/DFI_USDT",
- },
{
name: "LATOKEN",
image: "/assets/svg/exchanges/logo-latoken.svg",
@@ -40,46 +25,6 @@ export function BuyDFIButton({
image: "/assets/svg/exchanges/logo-bittrue.svg",
url: "https://www.bitrue.com/trade/dfi_usdt",
},
- {
- name: "EasyCrypto (AU)",
- image: "/assets/img/exchanges/logo-easycrypto-au.png",
- url: "https://easycrypto.ai/au/buy-sell/dfi-defichain",
- },
- {
- name: "EasyCrypto (NZ)",
- image: "/assets/img/exchanges/logo-easycrypto-nz.png",
- url: "https://easycrypto.ai/nz/buy-sell/dfi-defichain",
- },
- {
- name: "Transak",
- image: "/assets/img/exchanges/logo-transak.png",
- url: "https://global.transak.com",
- },
- {
- name: "Bybit",
- image: "/assets/svg/exchanges/logo-bybit.svg",
- url: "https://www.bybit.com/en-US/trade/spot/DFI/USDT",
- },
- {
- name: "Swyftx",
- image: "/assets/svg/exchanges/logo-swyftx.svg",
- url: "https://swyftx.com/au/buy/defichain/",
- },
- {
- name: "Bit.com",
- image: "/assets/img/exchanges/bit.png",
- url: "https://www.bit.com/legacy/spot?pair=DFI-USDT",
- },
- {
- name: "Bitmart.com",
- image: "/assets/svg/exchanges/logo-bitmart.svg",
- url: "https://www.bitmart.com/trade/en?symbol=%24DFI_USDT&layout=basic",
- },
- {
- name: "CoinEx.com",
- image: "/assets/img/logo-black.svg",
- url: "https://coinex.com/en/exchange/DFI-USDT",
- },
];
return (
diff --git a/src/pages/explore/dfi/_components/GetDFISectionExchanges.tsx b/src/pages/explore/dfi/_components/GetDFISectionExchanges.tsx
index e5fc2a391..cc0f62a83 100644
--- a/src/pages/explore/dfi/_components/GetDFISectionExchanges.tsx
+++ b/src/pages/explore/dfi/_components/GetDFISectionExchanges.tsx
@@ -16,66 +16,16 @@ export default function GetDFISectionExchanges() {
name: "Bitrue",
url: "https://www.bitrue.com/trade/dfi_usdt",
},
- {
- id: "GetDFISection.Exchange.Kucoin",
- name: "Kucoin",
- url: "https://trade.kucoin.com/DFI-USDT",
- },
- {
- id: "GetDFISection.Exchange.Htx",
- name: "Htx",
- url: "https://www.htx.com/trade/dfi_usdt",
- },
- {
- id: "GetDFISection.Exchange.Gateio",
- name: "Gateio",
- url: "https://www.gate.io/trade/DFI_USDT",
- },
- {
- id: "GetDFISection.Exchange.Transak",
- name: "Transak",
- url: "https://global.transak.com",
- },
- {
- id: "GetDFISection.Exchange.Bybit",
- name: "Bybit",
- url: "https://www.bybit.com/en-US/trade/spot/DFI/USDT",
- },
- {
- id: "GetDFISection.Exchange.Bitdotcom",
- name: "Bitdotcom",
- url: "https://www.bit.com/legacy/spot?pair=DFI-USDT",
- },
{
id: "GetDFISection.Exchange.Latoken",
name: "Latoken",
url: "https://latoken.com/exchange/DFI_USDT",
},
- {
- id: "GetDFISection.Exchange.EasyAu",
- name: "EasycryptoAu",
- url: "https://easycrypto.com/au/buy-sell/dfi-defichain",
- },
- {
- id: "GetDFISection.Exchange.EasyNz",
- name: "EasycryptoNz",
- url: "https://easycrypto.com/nz/buy-sell/dfi-defichain",
- },
- {
- id: "GetDFISection.Exchange.ChangeNow",
- name: "ChangeNow",
- url: "https://changenow.io/?_branch_match_id=1164181675870671265&_branch_referrer=H4sIAAAAAAAAAxXHWQqAIBAA0Nv46YK0EEhHiSHHlNyYRrp%2B9P5eZO7PptQZoV5Y2yuhd5lTvRVhQCLI%2B78jeWfXBXAGAxa0mQSUNio7o7UI1IrDQYKb8yF9nHrl9FUAAAA%3D&amount=100&from=eur&to=dfi",
- },
{
id: "GetDFISection.Exchange.Bake",
name: "Bake",
url: "https://bake.io/",
},
- {
- id: "GetDFISection.Exchange.CoinEx",
- name: "CoinEx",
- url: "https://coinex.com/en/exchange/DFI-USDT",
- },
];
const staking: ExchangeItem[] = [