-
Notifications
You must be signed in to change notification settings - Fork 238
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
[GDA] [SUBGRAPH] Calculation support for the total distribution from a pool #1762
Comments
Will investigate mapping |
Yep, doable with little effort. |
Removed the link because I'm not sure that PR should quite close this. But we added |
The example code and SDK haven't been done. The field was added to subgraph though and being used in Console and AverageX. |
What is AverageX? |
@youssefea please back reference the code snippets here when you get it, so that we can close it. |
There's a bug that EDIT: actually maybe false alert EDIT 2: actually not a false alert and the issue was fixed: #1816 |
Overview
What?
An example code, perhaps solidified in existing sdk-core, working in conjunction with GDA-enabled protocol subgraph to calculate total distribution from a GDA pool to a member of the pool.
How?
Why?
A common development task when using a GDA, is to be able to calculate how much token has distributed through a GDA Pool to a member of the pool. Due to the nature of how GDA works, it is not a simple view function that you can query on-chain directly. Instead, a combination of subgraph indexing and off-chain code can support the calculation of the total distribution from a GDA pool to a member of the pool.
Deadline:
Used bu AverageX.
UI/UX Design:
None.
Acceptance criteria
Links/Resources
Readiness criteria
The text was updated successfully, but these errors were encountered: