Skip to content

Commit

Permalink
tomochain to viction
Browse files Browse the repository at this point in the history
  • Loading branch information
realdealshaman committed Jan 2, 2025
1 parent cf808fc commit 91fbd6f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/utils/normalizeChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ export const chainCoingeckoIds = {
categories: ["EVM"],
chainId: 60,
},
TomoChain: {
Viction: {
geckoId: "tomochain",
symbol: "VIC",
cmcId: "2570",
Expand Down Expand Up @@ -1099,7 +1099,8 @@ chainCoingeckoIds["Kucoin"] = chainCoingeckoIds["KCC"];
chainCoingeckoIds["Cosmos"] = chainCoingeckoIds["CosmosHub"];
chainCoingeckoIds["Elrond"] = chainCoingeckoIds["MultiversX"];
chainCoingeckoIds["RSK"] = chainCoingeckoIds["Rootstock"];
chainCoingeckoIds["Klaytn"] = chainCoingeckoIds["Kaia"]
chainCoingeckoIds["Klaytn"] = chainCoingeckoIds["Kaia"];
chainCoingeckoIds["TomoChain"] = chainCoingeckoIds["Viction"]

export const extraSections = [
"staking",
Expand Down Expand Up @@ -1127,6 +1128,8 @@ export function transformNewChainName(chain: string) {
return "Rootstock";
case "Klaytn":
return "Kaia";
case "TomoChain":
return "Viction";
default:
return chain;
}
Expand Down Expand Up @@ -1191,7 +1194,7 @@ export function getChainDisplayName(
case "gochain":
return "GoChain";
case "tomochain":
return "Viction";
return useNewChainNames ? "Viction" : "TomoChain";
case "fusion":
return "Fusion";
case "kardia":
Expand Down

0 comments on commit 91fbd6f

Please sign in to comment.