Open altbee opened 4 years ago
this is the tokenlist contract with the list number 3: https://etherscan.io/address/0x93db90445b76329e9ed96ecd74e76d8fbf2590d8#readContract
The token list has been added to the omen subgraph and @liaojikunwork has started work on implementing the necessary changes for the omen frontend which can be tracked here: https://github.com/protofire/omen-exchange/issues/1373
Looks like that's done, and that https://github.com/protofire/omen-subgraph/issues/88 should be closed as well if I'm not mistaken...
We need to replace all infura requests by subgraph requests as many as possible.
This section is to get list of tokens from dxTCR. https://github.com/protofire/omen-exchange/blob/bc7aa2babe31353b587e7c2b69523489ea26a54c/app/src/hooks/useTokens.tsx#L23 I think we can move tokenList to subgraph.
This section is to get detailed market Info https://github.com/protofire/omen-exchange/blob/bc7aa2babe31353b587e7c2b69523489ea26a54c/app/src/hooks/useBlockchainMarketMakerData.tsx#L90 I think we can move these to subgraph:
getTotalSupply
,getCollectedFees
,poolSharesTotalSupply
, ...