-
Notifications
You must be signed in to change notification settings - Fork 241
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
Upgrade AAVE to 3.0.0 Schema #1519
Comments
Will also allow us to get aave flashloan data |
Another note: aave v3 and forks can be refactored to be simpler (see spark lend). We might as well do that change in this PR as well |
@dmelotik just to confirm, this will not effect endpoints for protocol metrics right? |
Good point @ishraq8. We need to discuss how we can go about this from a consumption standpoint. To answer the question, this affects endpoints. The upgrade creates breaking changes on the endpoint. But, our service already supports the schema we will be moving to in this issue. The question is, what work needs to be done in order to support this update, if any? Edit: The only thing we need to worry about is not changing any of the IDs (case sensitive). They should all be lowercase now, so this should not be an issue |
@tnkrxyz happy to take a look for QA, I think it is best practice to QA these refactoring. Give me a heads up when they are ready. |
@ishraq8 the only thing that should change is the aave v3 positions since we are now splitting them on the borrow side between stable and variable borrows. And all of the new fields/entities from the new schema, so we should make sure they make sense, but the tvl, revenue, usage, on the protocol/pools should be exactly the same |
@ishraq8 I made some final changes and re-deployed the subgraphs. Unfortunately, some of subgraphs will take a long time to sync (aave-v2/v3-polygon etc). I will let you know once it is fully synced. |
Good to note, i figured it could be a quick look for a set of eyes. |
@ishraq8 , great, thx! There are a few subgraphs that are still syncing (e.g. aave-v2-polygon, aave-v3-optimism) and will take a long time before they are fully synced. I also fixed a deployment error for aave-v2-ethereum and radiant-arbitrum. See #1993 (comment) for a complete list of subgraphs. |
@ishraq8 can you also take a look at revenue detail in markets. The new field should separate flashloan and liquidation revenue out. Can you also verify rewards have not changed, there is some new logic |
looks like |
tnkrxyz is still working on an issue from the revenue on aave v3 eth |
will do, thanks for heads up :) |
Issues to address when we do this:
Tasks
_
before deployment: Aave Forks underscore added fields in schema #1084(optional) treasury data: Aave Treasury Data #163The text was updated successfully, but these errors were encountered: