-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ui): replace hardcoded farms with fetched from the graph #61
base: master
Are you sure you want to change the base?
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/mistswapdex/mistswap-interface/3LGzyXHiwEAp4Cbe2MfPyDzj41zk [Deployment for 77ea31f failed] |
This doesn't have rpc fallback? I don't trust graph server to not fail. |
Omg totally overseen that. Do you mean both logic pieces should be kept? |
Ya - I think detecting if useFarms or something similar fails to cause rpc path? |
… graph or from RPC
facd636
to
8d8e951
Compare
Hi, this became a heavy refactor. Now I see that joy has some erroneous data in the graph showing funny tvl and apr. |
Oops it seems not to build because of conditionals. Any further guidance is appreciated. |
Assess #53
Remove hardcoded farms and fetch them from the graph.
This is mostly a revert of your changes with some fixes. The TVL and ROI numbers are slightly different now, but are consistent with old ones