Skip to content

Commit

Permalink
Update yearn asset registry
Browse files Browse the repository at this point in the history
Update discord link

Signed-off-by: antonnell <[email protected]>
  • Loading branch information
antonnell committed Nov 22, 2021
1 parent f288082 commit eb21b1d
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 81 deletions.
2 changes: 1 addition & 1 deletion components/ffAssetOverview/ffAssetOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function ffAssetOverview({ asset }) {
<Grid container spacing={3} className={ classes.assetTitleContainer }>
<Grid item lg={4} md={4} sm={12} xs={12}>
<div className={ classes.assetTitle }>
<img className={ classes.assetIcon } src={ asset ? `https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/${asset.address}/logo-128.png` : '/unknown-logo.png'} alt='' height='60px' width='60px' />
<img className={ classes.assetIcon } src={ asset ? `https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/${asset.address}/logo-128.png` : '/unknown-logo.png'} alt='' height='60px' width='60px' />
<div>
<Typography className={ classes.assetName }>{ asset ? asset.name : '' }</Typography>
<Typography className={ classes.assetPrice }>${ formatCurrency(asset ? asset.price : 0) }</Typography>
Expand Down
2 changes: 1 addition & 1 deletion components/ffAssets/ffAssetsTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export default function EnhancedTable({ assets }) {
<TableRow key={labelId} className={classes.assetTableRow} onClick={ () => { onView(row) } }>
<TableCell className={classes.cell}>
<div className={ classes.inline }>
<img className={ classes.imgLogo } src={`https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/${row.address}/logo-128.png`} width='35' height='35' alt='' onError={(e)=>{e.target.onerror = null; e.target.src="/tokens/unknown-logo.png"}} />
<img className={ classes.imgLogo } src={`https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/${row.address}/logo-128.png`} width='35' height='35' alt='' onError={(e)=>{e.target.onerror = null; e.target.src="/tokens/unknown-logo.png"}} />
<div>
<Typography variant="h2" className={classes.textSpaced}>
{ row.symbol }
Expand Down
2 changes: 1 addition & 1 deletion components/ffClaimAll/ffClaimAllTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export default function EnhancedTable({ claimable, crv, ibEUR, rKP3R }) {
{
row?.type === 'Fixed Forex' && <img className={ classes.imgLogo } src={`/images/ff-icon.svg`} width='35' height='35' alt='' />}
{
row?.type !== 'Fixed Forex' && <img className={ classes.imgLogo } src={`https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/${row.address}/logo-128.png`} width='35' height='35' alt='' />
row?.type !== 'Fixed Forex' && <img className={ classes.imgLogo } src={`https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/${row.address}/logo-128.png`} width='35' height='35' alt='' />
}
<div>
<Typography variant="h2" className={classes.textSpaced}>
Expand Down
2 changes: 1 addition & 1 deletion components/ffDashboardClaimAll/ffDashboardClaimAllTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export default function EnhancedTable({ claimable, crv, ibEUR, rKP3R }) {
{
row?.type === 'Fixed Forex' && <img className={ classes.imgLogo } src={`/images/ff-icon.svg`} width='35' height='35' alt='' />}
{
row?.type !== 'Fixed Forex' && <img className={ classes.imgLogo } src={`https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/${row.address}/logo-128.png`} width='35' height='35' alt='' />
row?.type !== 'Fixed Forex' && <img className={ classes.imgLogo } src={`https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/${row.address}/logo-128.png`} width='35' height='35' alt='' />
}
</Grid>

Expand Down
2 changes: 1 addition & 1 deletion components/ffGauges/ffGaugesTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export default function EnhancedTable({ gauges, setParentSliderValues, defaultVo
<TableRow key={row.gauge.address}>
<TableCell className={classes.cell}>
<div className={ classes.inline }>
<img className={ classes.imgLogo } src={`https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/${row.address}/logo-128.png`} width='35' height='35' alt='' />
<img className={ classes.imgLogo } src={`https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/${row.address}/logo-128.png`} width='35' height='35' alt='' />
<div>
<Typography variant="h2" className={classes.textSpaced}>
{ row?.gauge?.coin0?.symbol } - { row?.gauge?.coin1?.symbol }
Expand Down
2 changes: 1 addition & 1 deletion components/ffOldAssets/ffOldAssetsTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export default function EnhancedTable({ assets }) {
<TableRow key={labelId}>
<TableCell className={classes.cell}>
<div className={ classes.inline }>
<img className={ classes.imgLogo } src={`https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/${row.imgAddress}/logo-128.png`} width='35' height='35' alt='' onError={(e)=>{e.target.onerror = null; e.target.src="/tokens/unknown-logo.png"}} />
<img className={ classes.imgLogo } src={`https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/${row.imgAddress}/logo-128.png`} width='35' height='35' alt='' onError={(e)=>{e.target.onerror = null; e.target.src="/tokens/unknown-logo.png"}} />
<div>
<Typography variant="h2" className={classes.textSpaced}>
{ row.symbol }
Expand Down
26 changes: 13 additions & 13 deletions components/navigation/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,38 +199,38 @@ function Navigation(props) {
{renderSubNav(
'ibAUD',
'asset/0x3F1B0278A9ee595635B61817630cC19DE792f506/curve',
<img className={classes.subIcon} src="https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0x3F1B0278A9ee595635B61817630cC19DE792f506/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0x3F1B0278A9ee595635B61817630cC19DE792f506/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x3F1B0278A9ee595635B61817630cC19DE792f506/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x3F1B0278A9ee595635B61817630cC19DE792f506/logo-128.png" alt="" height="30px" width="30px" />,
)}
{renderSubNav(
'ibCHF',
'asset/0x9c2C8910F113181783c249d8F6Aa41b51Cde0f0c/curve',
<img className={classes.subIcon} src="https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0x9c2C8910F113181783c249d8F6Aa41b51Cde0f0c/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0x9c2C8910F113181783c249d8F6Aa41b51Cde0f0c/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x9c2C8910F113181783c249d8F6Aa41b51Cde0f0c/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x9c2C8910F113181783c249d8F6Aa41b51Cde0f0c/logo-128.png" alt="" height="30px" width="30px" />,
)}
{renderSubNav(
'ibEUR',
'asset/0x96E61422b6A9bA0e068B6c5ADd4fFaBC6a4aae27/curve',
<img className={classes.subIcon} src="https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0x96E61422b6A9bA0e068B6c5ADd4fFaBC6a4aae27/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0x96E61422b6A9bA0e068B6c5ADd4fFaBC6a4aae27/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x96E61422b6A9bA0e068B6c5ADd4fFaBC6a4aae27/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x96E61422b6A9bA0e068B6c5ADd4fFaBC6a4aae27/logo-128.png" alt="" height="30px" width="30px" />,
)}
{renderSubNav(
'ibGBP',
'asset/0xD6Ac1CB9019137a896343Da59dDE6d097F710538/curve',
<img className={classes.subIcon} src="https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0xD6Ac1CB9019137a896343Da59dDE6d097F710538/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0xD6Ac1CB9019137a896343Da59dDE6d097F710538/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0xD6Ac1CB9019137a896343Da59dDE6d097F710538/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0xD6Ac1CB9019137a896343Da59dDE6d097F710538/logo-128.png" alt="" height="30px" width="30px" />,
)}
{renderSubNav(
'ibJPY',
'asset/0x8818a9bb44Fbf33502bE7c15c500d0C783B73067/curve',
<img className={classes.subIcon} src="https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0x8818a9bb44Fbf33502bE7c15c500d0C783B73067/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0x8818a9bb44Fbf33502bE7c15c500d0C783B73067/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x8818a9bb44Fbf33502bE7c15c500d0C783B73067/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x8818a9bb44Fbf33502bE7c15c500d0C783B73067/logo-128.png" alt="" height="30px" width="30px" />,
)}
{renderSubNav(
'ibKRW',
'asset/0x95dFDC8161832e4fF7816aC4B6367CE201538253/curve',
<img className={classes.subIcon} src="https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0x95dFDC8161832e4fF7816aC4B6367CE201538253/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0x95dFDC8161832e4fF7816aC4B6367CE201538253/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x95dFDC8161832e4fF7816aC4B6367CE201538253/logo-128.png" alt="" height="30px" width="30px" />,
<img className={classes.subIcon} src="https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x95dFDC8161832e4fF7816aC4B6367CE201538253/logo-128.png" alt="" height="30px" width="30px" />,
)}
</div>
Expand Down Expand Up @@ -463,7 +463,7 @@ function Navigation(props) {
<Grid item xs={6}>
<a
className={`${classes.socialButton}`}
href="https://discord.com/invite/GwkRN5YZ"
href="https://discord.gg/FSNfbEKDWV"
target="_blank"
rel="noopener noreferrer"
>
Expand Down
Loading

0 comments on commit eb21b1d

Please sign in to comment.