stargaze-studio/config/token.ts

47 lines
1.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'
? 'ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858'
: 'factory/stars1s8qx0zvz8yd6e4x0mqmqf7fr9vvfn622wtp3g3/uusdc',
2023-07-30 18:11:37 +00:00
displayName: 'USDC',
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'
? 'ibc/7FA7EC64490E3BDE5A1A28CBE73CC0AD22522794957BC891C46321E3A6074DB9'
: 'factory/stars10w5eulj60qp3cfqa0hkmke78qdy2feq6x9xdmd/ufrnz',
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
2023-08-07 09:59:23 +00:00
export const tokensList = [stars, ibcAtom, ibcUsdc, ibcFrnz]