GithubHelp home page GithubHelp logo

Aave Treasury Data about subgraphs HOT 7 OPEN

messari avatar messari commented on May 23, 2024 1
Aave Treasury Data

from subgraphs.

Comments (7)

melotik avatar melotik commented on May 23, 2024 1

If/when we go down the route of treasury tracking with subgraphs I think the plan will be to make it it's own schema/subgraph. Open to other opinions though

from subgraphs.

this-username-is-taken avatar this-username-is-taken commented on May 23, 2024

Thanks @defispartan! We will revisit this when we get to the v3 subgraph.

from subgraphs.

melotik avatar melotik commented on May 23, 2024

Since this is different from reserves I think this should be an add on field for aave v2 and v3.

from subgraphs.

bye43 avatar bye43 commented on May 23, 2024

@dmelotik are these fields in the 3.0.0 schema? We are going to table this then till AAVE is upgraded to 3.0.0

from subgraphs.

melotik avatar melotik commented on May 23, 2024

No, it would be an addon field there as well. It really wouldn't make a difference if we added to the current schema as an additional field. But depends on priority

from subgraphs.

melotik avatar melotik commented on May 23, 2024

If we decide to go down this route of grabbing treasury data. I think we would set ourselves up much better long term to create a small schema for treasury metrics and make separate subgraphs for that. Rather than adding it onto existing subgraphs and waiting to sync.

from subgraphs.

tnkrxyz avatar tnkrxyz commented on May 23, 2024

@dmelotik, (and maybe @defispartan), I appreciate your guidance on a few things related to the treasury addition. Since we already track protocol side revenue, so this new field/entity will just track the actual treasury balance? Any preference between using an (optional) field of the market entity (seems making most sense to me as the balance is collected in aToken), vs a separate entity? Any other information besides balance, e.g. source, amountUSD? I suppose it/they needs to be added to daily/hourly snapshot? thx!

from subgraphs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.