market/src/@context/Prices
Matthias Kretschmann 4d119467a4
refactor price context to fetch multiple tokens (#1573)
* refactor price context to fetch multiple tokens

* fixes

* move tokenIds to app config

* make conversion work

* conversion for all user tokens, hide if 0

* different user balance key tactic

* remove NFT gas estimation

* closes #1633

* small simplification in getCoingeckoTokenId logic

* basic Prices provider test

* mock some hooks

* mock MarketMetadata in all tests
2022-08-12 14:11:33 +01:00
..
_constants.ts refactor price context to fetch multiple tokens (#1573) 2022-08-12 14:11:33 +01:00
_types.ts refactor price context to fetch multiple tokens (#1573) 2022-08-12 14:11:33 +01:00
_utils.ts refactor price context to fetch multiple tokens (#1573) 2022-08-12 14:11:33 +01:00
index.test.tsx refactor price context to fetch multiple tokens (#1573) 2022-08-12 14:11:33 +01:00
index.tsx refactor price context to fetch multiple tokens (#1573) 2022-08-12 14:11:33 +01:00