Skip to content

Commit

Permalink
tokendata
Browse files Browse the repository at this point in the history
  • Loading branch information
jarbacoa committed Apr 18, 2022
1 parent 39d4605 commit 2daf5b5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/constants/tokenData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,14 @@ export const TokenDataOverrides: {
},

"0x9D0464996170c6B9e75eED71c68B99dDEDf279e8": {
symbol: "cvxCRV",
symbol: "cvxCRV-CRV",
logoURL:
"https://cdn.jsdelivr.net/gh/curvefi/curve-assets/images/assets/0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7.png",
},
// VOLT
"0x559eBC30b0E58a45Cc9fF573f77EF1e5eb1b3E18" : {
logoURL: "https://cdn.discordapp.com/attachments/854131414316220449/965716390717833316/volt_primary_logo.png",
}
},
[ChainID.ARBITRUM]: {
"0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F": {
Expand Down
11 changes: 11 additions & 0 deletions src/hooks/useETHUSDBN.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { getEthUsdPriceBN } from "esm/utils/getUSDPriceBN";
import { useQuery } from "react-query";

const useETHUSDBN = () => {
const { data: ethUSDPriceBN } = useQuery("ETHUSD", async () =>
getEthUsdPriceBN()
);
return ethUSDPriceBN;
};

export default useETHUSDBN;

1 comment on commit 2daf5b5

@vercel
Copy link

@vercel vercel bot commented on 2daf5b5 Apr 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.