Skip to content

Commit

Permalink
lyra chain rebrand
Browse files Browse the repository at this point in the history
  • Loading branch information
realdealshaman committed Aug 29, 2024
1 parent 92d2179 commit e9509b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Binary file added defi/icons/chains/rsz_derive-chain.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 7 additions & 4 deletions defi/src/utils/normalizeChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2898,13 +2898,13 @@ export const chainCoingeckoIds = {
twitter: "BSquaredNetwork",
url: "https://www.bsquared.network/"
},
"Lyra Chain": {
"Derive Chain": { // rebrand from Lyra
geckoId: null,
symbol: null,
cmcId: null,
categories: ["EVM"],
twitter: "lyrafinance",
url: "https://lyra.finance",
twitter: "derivexyz",
url: "https://www.derive.xyz/",
chainId: 957,
},
"Planq": {
Expand Down Expand Up @@ -3308,6 +3308,7 @@ chainCoingeckoIds["HydraDX"] = chainCoingeckoIds["Hydration"]
chainCoingeckoIds["Ripple"] = chainCoingeckoIds["XRPL"]
chainCoingeckoIds["Persistence"] = chainCoingeckoIds["Persistence One"]
chainCoingeckoIds["Klaytn"] = chainCoingeckoIds["Kaia"]
chainCoingeckoIds["Lyra Chain"] = chainCoingeckoIds["Derive Chain"]

export const extraSections = ["staking", "pool2", "offers", "borrowed", "treasury", "vesting"]

Expand Down Expand Up @@ -3377,6 +3378,8 @@ export function transformNewChainName(chain: string) {
return "ZKsync Era"
case "zkSync Lite":
return "ZKsync Lite"
case "Lyra Chain":
return "Derive Chain"
default:
return chain
}
Expand Down Expand Up @@ -3923,7 +3926,7 @@ export function getChainDisplayName(normalizedChain: string, useNewChainNames: b
case "bsquared":
return "BSquared"
case "lyra":
return "Lyra Chain"
return useNewChainNames ? "Derive Chain" : "Lyra Chain"
case "planq":
return "Planq"
case "xlayer":
Expand Down

0 comments on commit e9509b2

Please sign in to comment.