status-go/services/wallet/market
Sean Hagstrom 385933a60d
feat: fallback to cache for prices and token market values when calling GetWalletToken (#5832)
This change adapts the market manager to cache the token-market-cap, and modifies the existing `GetWalletToken` function to use the token-price and token-market cache data. Additionally, we choose to use the cached price and market data for roughly 60 seconds when calling the `GetWalletToken` function.
2024-09-20 12:24:43 +01:00
..
market.go feat: fallback to cache for prices and token market values when calling GetWalletToken (#5832) 2024-09-20 12:24:43 +01:00
market_cache.go feat: fallback to cache for prices and token market values when calling GetWalletToken (#5832) 2024-09-20 12:24:43 +01:00
market_test.go feat: fallback to cache for prices and token market values when calling GetWalletToken (#5832) 2024-09-20 12:24:43 +01:00