Skip to content

Commit

Permalink
Feat/update demex (#111)
Browse files Browse the repository at this point in the history
* Update token svgs

* Add YIELDUSD token svg

* Update footer links

* Remove lint warnings
  • Loading branch information
sarah-thong authored Apr 14, 2023
1 parent 3af7819 commit c955196
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@types/redux-logger": "^3.0.8",
"animate.css": "^4.1.1",
"bignumber.js": "^9.0.1",
"carbon-js-sdk": "^0.3.56",
"carbon-js-sdk": "^0.4.11",
"chart.js": "^3.2.0",
"dayjs": "^1.11.5",
"eslint": "^7.23.0",
Expand Down
18 changes: 18 additions & 0 deletions src/@demex-info/assets/tokens/ROAR.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions src/@demex-info/assets/tokens/YIELDUSD.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/@demex-info/assets/tokens/ampKUJI.svg
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 src/@demex-info/assets/tokens/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export { ReactComponent as AGI } from "./AGI.svg";
export { ReactComponent as AKRO } from "./AKRO.svg";
export { ReactComponent as ALGO } from "./ALGO.svg";
export { ReactComponent as ALPHA } from "./ALPHA.svg";
export { ReactComponent as ampLUNA } from "./ampLUNA.svg";
export { ReactComponent as ANKR } from "./ANKR.svg";
export { ReactComponent as ANT } from "./ANT.svg";
export { ReactComponent as APE } from "./APE.svg";
Expand Down Expand Up @@ -107,7 +106,6 @@ export { ReactComponent as ICX } from "./ICX.svg";
export { ReactComponent as INJ } from "./INJ.svg";
export { ReactComponent as IOST } from "./IOST.svg";
export { ReactComponent as IOTX } from "./IOTX.svg";
export { ReactComponent as iUSD } from "./iUSD.svg";
export { ReactComponent as JUNO } from "./JUNO.svg";
export { ReactComponent as KCS } from "./KCS.svg";
export { ReactComponent as KLAY } from "./KLAY.svg";
Expand Down Expand Up @@ -160,12 +158,12 @@ export { ReactComponent as PROM } from "./PROM.svg";
export { ReactComponent as QKC } from "./QKC.svg";
export { ReactComponent as QNT } from "./QNT.svg";
export { ReactComponent as QTUM } from "./QTUM.svg";
export { ReactComponent as RATOM } from "./rATOM.svg";
export { ReactComponent as REEF } from "./REEF.svg";
export { ReactComponent as REN } from "./REN.svg";
export { ReactComponent as REP } from "./REP.svg";
export { ReactComponent as REV } from "./REV.svg";
export { ReactComponent as RLC } from "./RLC.svg";
export { ReactComponent as ROAR } from "./ROAR.svg";
export { ReactComponent as RSR } from "./RSR.svg";
export { ReactComponent as RUNE } from "./RUNE.svg";
export { ReactComponent as RVN } from "./RVN.svg";
Expand Down Expand Up @@ -214,7 +212,6 @@ export { ReactComponent as WAVE } from "./WAVE.svg";
export { ReactComponent as WBNB } from "./WBNB.svg";
export { ReactComponent as WBTC } from "./WBTC.svg";
export { ReactComponent as WRX } from "./WRX.svg";
export { ReactComponent as WSTETH } from "./wstETH.svg";
export { ReactComponent as XCAD } from "./XCAD.svg";
export { ReactComponent as XDC } from "./XDC.svg";
export { ReactComponent as XEM } from "./XEM.svg";
Expand All @@ -227,8 +224,14 @@ export { ReactComponent as XVG } from "./XVG.svg";
export { ReactComponent as XVS } from "./XVS.svg";
export { ReactComponent as YAM } from "./YAM.svg";
export { ReactComponent as YFI } from "./YFI.svg";
export { ReactComponent as YIELDUSD } from "./YIELDUSD.svg";
export { ReactComponent as ZEC } from "./ZEC.svg";
export { ReactComponent as ZEN } from "./ZEN.svg";
export { ReactComponent as ZIL } from "./ZIL.svg";
export { ReactComponent as ZRX } from "./ZRX.svg";
export { ReactComponent as ZWAP } from "./ZWAP.svg";
export { ReactComponent as ampKUJI } from "./ampKUJI.svg";
export { ReactComponent as ampLUNA } from "./ampLUNA.svg";
export { ReactComponent as iUSD } from "./iUSD.svg";
export { ReactComponent as RATOM } from "./rATOM.svg";
export { ReactComponent as WSTETH } from "./wstETH.svg";
1 change: 1 addition & 0 deletions src/@demex-info/components/CoinIcon/CoinIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const tokenNameMap: {
USTC: "UST",
USD: "CUSD",
AMPLUNA: "ampLUNA",
AMPKUJI: "ampKUJI",
};

export interface CoinIconProps extends SvgIconProps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,12 @@ const NavFooter: React.FC = () => {
label: "Pools",
href: getDemexLink(Paths.Pools.List, net),
}, {
label: "Staking",
href: getDemexLink(Paths.Stake.List, net),
}, /* {
label: "Leaderboard",
href: getDemexLink(Paths.Leaderboard, net)
label: "Nitron",
href: getDemexLink(Paths.Nitron.Main, net),
}, {
label: "Insurance Fund",
href: getDemexLink(Paths.InsuranceFund, net),
} */ ],
label: "GLP Compounder",
href: getDemexLink(Paths.Strategy.GLPWrapper, net),
}],
}, {
title: "Resources",
items: [{
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5646,10 +5646,10 @@ capture-exit@^2.0.0:
dependencies:
rsvp "^4.8.4"

carbon-js-sdk@^0.3.56:
version "0.3.56"
resolved "https://registry.yarnpkg.com/carbon-js-sdk/-/carbon-js-sdk-0.3.56.tgz#0aaa4cf40a67fda9c354742bfaed3176d2795860"
integrity sha512-YxxEPbzgrjAh8Tt1ICxmrPwIUHNsG+nxbHbsKNK9E36fPOWuZ9su0BuCrPy57zTQVNKzOjctycEWSpBAQ2kb4g==
carbon-js-sdk@^0.4.11:
version "0.4.11"
resolved "https://registry.yarnpkg.com/carbon-js-sdk/-/carbon-js-sdk-0.4.11.tgz#2a7115248ddfefbede82a811205af33407da2466"
integrity sha512-XbiQTOJiB7FcWs7VOSQMBTEI+FkEXS2G6eKgYTAAVqnecq5hjdYvtflh4USU76XTrwj9bnFXBBw3GHGxL1xpHw==
dependencies:
"@cityofzion/neon-api" "^4.9.0"
"@cityofzion/neon-core" "^4.9.0"
Expand Down

0 comments on commit c955196

Please sign in to comment.