stargaze-studio/config/token.ts

125 lines
3.1 KiB
TypeScript
Raw Normal View History

2023-08-15 17:06:53 +00:00
import { NETWORK } from 'utils/constants'
2023-07-26 19:26:27 +00:00
export interface TokenInfo {
id: string
denom: string
displayName: string
decimalPlaces: number
imageURL?: string
symbol?: string
}
2023-07-27 14:26:51 +00:00
export const stars: TokenInfo = {
id: 'stars',
denom: 'ustars',
displayName: 'STARS',
decimalPlaces: 6,
}
2023-07-26 19:26:27 +00:00
export const ibcAtom: TokenInfo = {
id: 'ibc-atom',
2023-08-07 09:59:23 +00:00
denom: 'ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2',
2023-07-26 19:26:27 +00:00
displayName: 'ATOM',
decimalPlaces: 6,
}
2023-07-30 18:11:37 +00:00
export const ibcUsdc: TokenInfo = {
id: 'ibc-usdc',
2023-08-25 15:24:18 +00:00
denom:
NETWORK === 'mainnet'
2023-09-29 20:50:59 +00:00
? 'ibc/4A1C18CA7F50544760CF306189B810CE4C1CB156C7FC870143D401FE7280E591'
2023-09-28 16:26:55 +00:00
: 'factory/stars1paqkeyluuw47pflgwwqaaj8y679zj96aatg5a7/uusdc',
2023-07-30 18:11:37 +00:00
displayName: 'USDC',
decimalPlaces: 6,
}
2023-10-18 19:47:40 +00:00
export const ibcUsk: TokenInfo = {
id: 'ibc-usk',
denom:
NETWORK === 'mainnet'
? 'ibc/938CEB62ABCBA6366AA369A8362E310B2A0B1A54835E4F3FF01D69D860959128'
: 'factory/stars153w5xhuqu3et29lgqk4dsynj6gjn96lr33wx4e/uusk',
2023-10-18 19:47:40 +00:00
displayName: 'USK',
decimalPlaces: 6,
}
2023-07-30 18:11:37 +00:00
export const ibcKuji: TokenInfo = {
id: 'ibc-kuji',
denom:
NETWORK === 'mainnet'
? 'ibc/0E57658B71E9CC4BB0F6FE3E01712966713B49E6FD292E6B66E3F111B103D361'
: 'factory/stars153w5xhuqu3et29lgqk4dsynj6gjn96lr33wx4e/ukuji',
displayName: 'KUJI',
decimalPlaces: 6,
}
2023-08-07 09:59:23 +00:00
export const ibcFrnz: TokenInfo = {
id: 'ibc-frnz',
2023-08-15 17:06:53 +00:00
denom:
NETWORK === 'mainnet'
2023-09-29 20:33:27 +00:00
? 'ibc/9C40A8368C0E1CAA4144DBDEBBCE2E7A5CC2D128F0A9F785ECB71ECFF575114C'
2023-09-28 16:26:55 +00:00
: 'factory/stars1paqkeyluuw47pflgwwqaaj8y679zj96aatg5a7/ufrienzies',
2023-08-07 09:59:23 +00:00
displayName: 'FRNZ',
2023-07-26 19:26:27 +00:00
decimalPlaces: 6,
}
2023-07-27 14:26:51 +00:00
export const ibcNbtc: TokenInfo = {
id: 'ibc-nBTC',
denom: NETWORK === 'mainnet' ? 'Not available' : 'factory/stars153w5xhuqu3et29lgqk4dsynj6gjn96lr33wx4e/unbtc',
displayName: 'nBTC',
decimalPlaces: 6,
}
2023-12-11 08:22:12 +00:00
export const ibcHuahua: TokenInfo = {
id: 'ibc-huahua',
denom:
NETWORK === 'mainnet'
? 'ibc/CAD8A9F306CAAC55731C66930D6BEE539856DD12E59061C965E44D82AA26A0E7'
: 'factory/stars153w5xhuqu3et29lgqk4dsynj6gjn96lr33wx4e/uhuahua',
displayName: 'HUAHUA',
decimalPlaces: 6,
}
export const ibcCrbrus: TokenInfo = {
id: 'ibc-crbrus',
denom:
NETWORK === 'mainnet'
? 'ibc/71CEEB5CC09F75A3ACDC417108C14514351B6B2A540ACE9B37A80BF930845134'
: 'factory/stars153w5xhuqu3et29lgqk4dsynj6gjn96lr33wx4e/uCRBRUS',
displayName: 'CRBRUS',
decimalPlaces: 6,
}
export const nativeStardust: TokenInfo = {
id: 'native-strdst',
denom:
NETWORK === 'mainnet'
? 'factory/stars16da2uus9zrsy83h23ur42v3lglg5rmyrpqnju4/dust'
: 'factory/stars18vxuarvh44wxltxqsyac36972nvaqc377sdh40/dust',
displayName: 'STRDST',
decimalPlaces: 6,
}
export const nativeBrnch: TokenInfo = {
id: 'native-brnch',
denom:
NETWORK === 'mainnet'
? 'factory/stars16da2uus9zrsy83h23ur42v3lglg5rmyrpqnju4/uBRNCH'
: 'factory/stars153w5xhuqu3et29lgqk4dsynj6gjn96lr33wx4e/uBRNCH',
displayName: 'BRNCH',
decimalPlaces: 6,
}
export const tokensList = [
stars,
ibcAtom,
ibcUsdc,
ibcUsk,
ibcFrnz,
ibcNbtc,
ibcKuji,
ibcHuahua,
ibcCrbrus,
nativeStardust,
nativeBrnch,
]