Skip to content

Commit d2849ef

Browse files
chore: remove qAR
1 parent 1c753b1 commit d2849ef

File tree

8 files changed

+8
-19
lines changed

8 files changed

+8
-19
lines changed

bun.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"dotenv": "^16.5.0",
2222
"framer-motion": "^11.15.0",
2323
"idb-keyval": "^6.2.2",
24-
"liquidops": "^1.2.20",
24+
"liquidops": "^1.2.25",
2525
"lucide-react": "^0.483.0",
2626
"next": "14.2.15",
2727
"next-sitemap": "^4.2.3",
@@ -757,7 +757,7 @@
757757

758758
"lightningcss-win32-x64-msvc": ["[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-PVqXh48wh4T53F/1CCu8PIPCxLzWyCnn/9T5W1Jpmdy5h9Cwd+0YQS6/LwhHXSafuc61/xg9Lv5OrCby6a++jg=="],
759759

760-
"liquidops": ["[email protected].20", "", { "dependencies": { "ar-gql": "^2.0.2", "arbundles": "^0.11.2" }, "peerDependencies": { "@permaweb/aoconnect": ">= 0.0.85 < 1", "ao-tokens": ">= 0.0.6", "warp-arbundles": ">= 1.0.4" } }, "sha512-RmaX+WZKSGD0W4E/+fTJxBqZBnAX9Tig0WCXm0qXynfxVFXqfAp6yCwRoK08wrvsZGi7rqE8GQYcV1w9/Wy+XA=="],
760+
"liquidops": ["[email protected].25", "", { "dependencies": { "ar-gql": "^2.0.2", "arbundles": "^0.11.2" }, "peerDependencies": { "@permaweb/aoconnect": ">= 0.0.85 < 1", "ao-tokens": ">= 0.0.6", "warp-arbundles": ">= 1.0.4" } }, "sha512-tTYayToJOanFoXF1CA7IxWL0fu+y2fglOOIkU/5gWrh3DUE1fdMGd318K67KH2QCBtLHPkMoJ72PDaeGQNEkGA=="],
761761

762762
"locate-path": ["[email protected]", "", { "dependencies": { "p-locate": "^4.1.0" } }, "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g=="],
763763

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"dotenv": "^16.5.0",
2929
"framer-motion": "^11.15.0",
3030
"idb-keyval": "^6.2.2",
31-
"liquidops": "^1.2.20",
31+
"liquidops": "^1.2.25",
3232
"lucide-react": "^0.483.0",
3333
"next": "14.2.15",
3434
"next-sitemap": "^4.2.3",
-36 KB
Binary file not shown.

public/oTokens/qAR.png

-98.9 KB
Binary file not shown.

public/tokens/qAR.svg

Lines changed: 0 additions & 6 deletions
This file was deleted.

scripts/permaweb-deploy.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ async function deploy() {
8080
"markets": manifest.paths["markets.html"],
8181
"earn": manifest.paths["earn.html"],
8282
// tokens
83-
"qAR": manifest.paths["qAR.html"],
8483
"wAR": manifest.paths["wAR.html"],
8584
"wUSDC": manifest.paths["wUSDC.html"],
8685
"wUSDT": manifest.paths["wUSDT.html"],

src/app/markets/MarketStats/MarketStats.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,17 @@ export const MarketStats: React.FC<MarketStatsProps> = ({
5151
const wusdcStats = useProtocolStats("WUSDC");
5252
const wusdtStats = useProtocolStats("WUSDT");
5353
const wethStats = useProtocolStats("WETH");
54-
const qarStats = useProtocolStats("QAR");
5554
const usdaStats = useProtocolStats("USDA");
5655
const varStats = useProtocolStats("VAR");
5756
const vusdcStats = useProtocolStats("VUSDC");
5857

5958
// Map the stats to the tokens
59+
// Note: remember to also update the variable at the bottom of the page
6060
const statsMap = {
6161
WAR: warStats,
6262
WUSDC: wusdcStats,
6363
WUSDT: wusdtStats,
6464
WETH: wethStats,
65-
QAR: qarStats,
6665
USDA: usdaStats,
6766
VAR: varStats,
6867
VUSDC: vusdcStats,
@@ -137,7 +136,9 @@ export const MarketStats: React.FC<MarketStatsProps> = ({
137136
wusdcStats,
138137
wusdtStats,
139138
wethStats,
140-
qarStats,
139+
usdaStats,
140+
varStats,
141+
vusdcStats,
141142
]);
142143

143144
// Filter token stats for pie charts based on showDeprecated flag

src/utils/tokenMappings.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
export const defiLlamaIds: Record<string, string> = {
2-
qAR: "cd2164c7-66f3-455c-a690-e4fc778f8a72",
32
wUSDC: "55e444cd-dae7-4ad6-8a3b-1ca4d1d44bae",
43
wAR: "bef2d41d-25c7-4d93-8fa9-4170416dbdc9",
54
};
65

76
export const tickerToGeckoMap: Record<string, string> = {
87
// listed on LiquidOps
9-
QAR: "arweave",
108
WUSDC: "usd-coin",
119
WAR: "arweave",
1210
WUSDT: "tether",
@@ -29,16 +27,14 @@ export const SUPPORTED_TOKENS = [
2927
{ ticker: "vUSDC", name: "Vento USD Circle", assetDisplayOrder: 5 },
3028
{ ticker: "wUSDT", name: "Wrapped USD Tether", assetDisplayOrder: 6 },
3129
{ ticker: "wETH", name: "Wrapped Ethereum", assetDisplayOrder: 7 },
32-
{ ticker: "qAR", name: "Quantum Arweave", assetDisplayOrder: 8 },
3330
];
3431

35-
export const DEPRECATED_TOKENS = ["qAR"];
32+
export const DEPRECATED_TOKENS = [];
3633

3734
// Token hex color mapping for visualization
3835
export const TOKEN_COLORS: Record<string, string> = {
3936
WAR: "#ec406d",
4037
WUSDC: "#2775ca",
41-
QAR: "#5f80fe",
4238
WUSDT: "#26A17B",
4339
WETH: "#2d2a28",
4440
USDA: "#104124",
@@ -47,7 +43,6 @@ export const TOKEN_COLORS: Record<string, string> = {
4743
};
4844

4945
export const TOKEN_DECIMAL_PLACES: { [key: string]: number } = {
50-
QAR: 3,
5146
WAR: 3,
5247
WUSDC: 2,
5348
WUSDT: 2,

0 commit comments

Comments
 (0)