status-go/services/wallet/router
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
..
fees chore!: router code organization improvements 2024-09-11 13:51:51 +02:00
pathprocessor chore_: migrate to uber's mock fork (#5858) 2024-09-20 10:08:11 +01:00
routes chore_: router response moved to wallet responses location 2024-09-11 13:51:51 +02:00
sendtype feat: fallback to cache for prices and token market values when calling GetWalletToken (#5832) 2024-09-20 12:24:43 +01:00
common.go chore_: router response moved to wallet responses location 2024-09-11 13:51:51 +02:00
errors.go chore!: router code organization improvements 2024-09-11 13:51:51 +02:00
filter.go chore_: router response moved to wallet responses location 2024-09-11 13:51:51 +02:00
filter_test.go chore_: router response moved to wallet responses location 2024-09-11 13:51:51 +02:00
router.go feat!: Return prices array along with SuggestedRoutes 2024-09-11 17:03:33 +02:00
router_helper.go feat_: recalculate route fees with every new block 2024-09-11 13:51:51 +02:00
router_test.go feat_: check for balances after each fees update 2024-09-11 13:51:51 +02:00
router_test_data.go chore_: router response moved to wallet responses location 2024-09-11 13:51:51 +02:00
router_updates.go feat_: check for balances after each fees update 2024-09-11 13:51:51 +02:00