-
-
-
- ${coin.symbol}
-
-
- ${humanize(Math.round(marketCap))}
-
-
= 0
- ? "text-emerald-600 dark:text-emerald-400"
- : "text-red-600 dark:text-red-400"
- )}
- >
- {changePct >= 0 ? "▲" : "▼"}
- {`${changePct >= 0 ? "" : "-"}${Math.abs(changePct).toFixed(2)}%`}
-
-
-
-
-
-
-
-
-
- Holders
-
-
{humanize(holders)}
-
-
-
- 24h volume
-
-
- ${humanize(Math.round(volume24h))}
-
-
-
-
-
-
-
-
-
-
-
setShowTrade(false)}
- show={showTrade}
- title={`Trade $${coin.name}`}
- >
- setShowTrade(false)} />
-
-
- );
-};
-
-export default CreatorCoinDetails;
diff --git a/src/components/Account/CreatorCoin/Trade.tsx b/src/components/Account/CreatorCoin/Trade.tsx
deleted file mode 100644
index 6ff9d7e31dc2..000000000000
--- a/src/components/Account/CreatorCoin/Trade.tsx
+++ /dev/null
@@ -1,281 +0,0 @@
-import type { GetCoinResponse } from "@zoralabs/coins-sdk";
-import {
- createTradeCall,
- type TradeParameters,
- tradeCoin
-} from "@zoralabs/coins-sdk";
-import { useEffect, useMemo, useState } from "react";
-import { toast } from "sonner";
-import type { Address } from "viem";
-import {
- createPublicClient,
- erc20Abi,
- formatEther,
- formatUnits,
- http,
- parseEther,
- parseUnits
-} from "viem";
-import { base } from "viem/chains";
-import { useAccount, useConfig, useWalletClient } from "wagmi";
-import { getWalletClient } from "wagmi/actions";
-import { Button, Image, Input, Tabs, Tooltip } from "@/components/Shared/UI";
-import { BASE_RPC_URL } from "@/data/constants";
-import useHandleWrongNetwork from "@/hooks/useHandleWrongNetwork";
-
-interface TradeModalProps {
- coin: NonNullable