File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ export const CoinGeckoAPIEndPoint =
9
9
'https://api.coingecko.com/api/v3' ;
10
10
export const CoinGeckoGetPrice =
11
11
process . env [ 'KEPLR_EXT_COINGECKO_GETPRICE' ] || '/simple/price' ;
12
+ export const CoinGeckoCoinDataByTokenAddress =
13
+ process . env [ 'KEPLR_EXT_COINGECKO_COIN_DATA_BY_TOKEN_ADDRESS' ] ||
14
+ '/coins/{coingeckoChainId}/contract/{contractAddress}' ;
15
+
12
16
export const AutoFetchingFiatValueInterval = 300 * 1000 ; // 5min
13
17
14
18
export const AutoFetchingAssetsInterval = 15 * 1000 ; // 15sec
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ import {
45
45
TokenContractListURL ,
46
46
EthereumEndpoint ,
47
47
SwapVenue ,
48
+ CoinGeckoCoinDataByTokenAddress ,
48
49
} from '../config.ui' ;
49
50
import { TokenContractsQueries } from './token-contracts' ;
50
51
import { AprQueries } from './aprs' ;
@@ -66,7 +67,6 @@ import {
66
67
import { DeepLinkStore } from './deep-link' ;
67
68
import { EthereumQueries , EthereumAccountStore } from '@keplr-wallet/stores-eth' ;
68
69
import { WebpageStore } from './webpage' ;
69
- import { CoinGeckoCoinDataByTokenAddress } from '@keplr-wallet/extension/src/config.ui.ts' ;
70
70
71
71
export class RootStore {
72
72
public readonly keyRingStore : KeyRingStore ;
You can’t perform that action at this time.
0 commit comments