Update tickers

This commit is contained in:
2025-04-29 02:07:02 +07:00
parent 35f31b561a
commit bc8aa2f2a8

View File

@@ -42,12 +42,6 @@ public class EvmManager : IEvmManager
private readonly IWeb3ProxyService _web3ProxyService; private readonly IWeb3ProxyService _web3ProxyService;
private readonly ICacheService _cacheService; private readonly ICacheService _cacheService;
private readonly List<Ticker> _eligibleTickers = new List<Ticker>()
{
Ticker.BTC, Ticker.ETH, Ticker.LINK, Ticker.GMX, Ticker.SOL, Ticker.XRP, Ticker.ARB, Ticker.BNB, Ticker.AAVE,
Ticker.PEPE, Ticker.DOGE, Ticker.UNI
};
public EvmManager(IEnumerable<ISubgraphPrices> subgraphs, public EvmManager(IEnumerable<ISubgraphPrices> subgraphs,
IWeb3ProxyService web3ProxyService, ICacheService cacheService) IWeb3ProxyService web3ProxyService, ICacheService cacheService)
{ {
@@ -388,7 +382,7 @@ public class EvmManager : IEvmManager
if (tokenList == null) if (tokenList == null)
return null; return null;
return GmxV2Mappers.Map(tokenList).Where(t => _eligibleTickers.Contains(t)).ToList(); return GmxV2Mappers.Map(tokenList);
} }
public async Task<Candle> GetCandle(Ticker ticker) public async Task<Candle> GetCandle(Ticker ticker)