import { RegisterOption } from "@keplr-wallet/hooks" ; import { ETHEREUM_ENDPOINT , ADDITIONAL_INTL_MESSAGES , ADDITIONAL_SIGN_IN_PREPEND , } from "./config.ui.var" ; import { IntlMessages , LanguageToFiatCurrency as TypeLanguageToFiatCurrency , } from "./languages" ; import { FiatCurrency } from "@keplr-wallet/types" ; export const CoinGeckoAPIEndPoint = "https://api.coingecko.com/api/v3" ; export const CoinGeckoGetPrice = "/simple/price" ; export const AutoFetchingFiatValueInterval = 300 * 1000 ; export const AutoFetchingAssetsInterval = 15 * 1000 ; export const EthereumEndpoint = ETHEREUM_ENDPOINT ; export const FiatCurrencies = [ { currency : "usd" , symbol : "$" , maxDecimals : 2 , locale : "en-US" , } , { currency : "eur" , symbol : "€" , maxDecimals : 2 , locale : "de-DE" , } , { currency : "gbp" , symbol : "£" , maxDecimals : 2 , locale : "en-GB" , } , { currency : "cad" , symbol : "CA$" , maxDecimals : 2 , locale : "en-CA" , } , { currency : "aud" , symbol : "AU$" , maxDecimals : 2 , locale : "en-AU" , } , { currency : "rub" , symbol : "₽" , maxDecimals : 0 , locale : "ru" , } , { currency : "krw" , symbol : "₩" , maxDecimals : 0 , locale : "ko-KR" , } , { currency : "hkd" , symbol : "HK$" , maxDecimals : 1 , locale : "en-HK" , } , { currency : "cny" , symbol : "¥" , maxDecimals : 1 , locale : "zh-CN" , } , { currency : "jpy" , symbol : "¥" , maxDecimals : 0 , locale : "ja-JP" , } , { currency : "inr" , symbol : "₹" , maxDecimals : 1 , locale : "en-IN" , } , ] ; export const LanguageToFiatCurrency = { default : "usd" , ko : "krw" , } ; export const AdditionalSignInPrepend = ADDITIONAL_SIGN_IN_PREPEND ; export const AdditonalIntlMessages = ADDITIONAL_INTL_MESSAGES ;