aave / aave-utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove TheGraph in as many places as possible

joshstevens19 opened this issue · comments

Obviously, TheGraph is good to do some queries but on some cases we do not need to use the graph. Even more nothing stopping us create solidity helper contracts to avoid fees altogether this would improve:

  • charges and fees on TheGraph
  • not dependent on them going down and use not working
  • flexibility with responses from the helper sol contract
  • naturally faster and onchain real-time data (not dependent on TheGraph indexing it slower etc)

A lot of cases we don't even need a helper sol we can use multicall and the standard onchain contract to lookup the data.

commented

Not quite sure what this ticket targets exactly.
We're not using the graph or anything in aave-js & on the client it's just used for historics & governance(including historics).

only thing left inside here as a folder with "example queries" that probably no-one uses and we can safely remove.

gotcha then thats all good then can be closed 👍