Skip to content

Commit

Permalink
Merge pull request #111 from lum-network/improvement/lum-885
Browse files Browse the repository at this point in the history
[LUM-885] Add huahua to assets list
  • Loading branch information
ThibaultJRD authored Feb 20, 2024
2 parents 8106d85 + 6d6668c commit e6bc551
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/assets/images/tokens/huahua.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/assets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ import moreIcon from './images/more.svg';
import guardaIcon from './images/guarda.svg';
import atomIcon from './images/tokens/atom.svg';
import osmoIcon from './images/tokens/osmo.svg';
import huahuaIcon from './images/tokens/huahua.svg';
import usdcIcon from './images/tokens/usdc.svg';
import dfrIcon from './images/tokens/dfr.svg';
import arrow from './images/arrow.svg';
Expand Down Expand Up @@ -140,6 +141,7 @@ export default {
dfr: dfrIcon,
osmo: osmoIcon,
usdc: usdcIcon,
huahua: huahuaIcon,
},
},
};
1 change: 1 addition & 0 deletions src/constant/ibcDenoms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export const enum IBCDenoms {
OSMO = 'ibc/47BD209179859CDE4A2806763D7189B6E6FE13A17880FE2B42DE1E6C1E329E23',
ATOM = 'ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477',
ATOM_TESTNET = 'ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2',
HUAHUA = 'ibc/51A818D8BBC385C152415882286C62169C05498B8EBCFB38310B1367583860FF',
}
4 changes: 4 additions & 0 deletions src/utils/denoms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export const computeDenom = (denom: string): string => {
case IBCDenoms.ATOM_TESTNET:
case IBCDenoms.ATOM:
return 'atom';
case IBCDenoms.HUAHUA:
return 'huahua';
case IBCDenoms.OSMO:
return 'osmo';
case 'udfr':
Expand All @@ -27,5 +29,7 @@ export const getIconFromDenom = (denom: string) => {
return assets.images.tokens.dfr;
case 'usdc':
return assets.images.tokens.usdc;
case 'huahua':
return assets.images.tokens.huahua;
}
};

0 comments on commit e6bc551

Please sign in to comment.