-
Notifications
You must be signed in to change notification settings - Fork 32
Feature/distribution details #156
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
base: master
Are you sure you want to change the base?
Feature/distribution details #156
Conversation
|
@Seroxdesign is attempting to deploy a commit to the Superfluid Finance Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Hey! I'll take a look at this. Any pending questions or TODO-s? |
Yes, I am quering the SF subgraph as follows: Unfortunately I couldn't find docs or examples on how to use sfSubgraph directly.
|
Understood will investigate this further and fix it thanks for taking the time to test and review 🙏 |
| totalSubscriptionsWithUnits | ||
| totalUnits | ||
| subscriptions(where: {units_not: "0"}) { | ||
| units |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These units might not be the same as they were at the time of the distribution. These are the latest units.
Be careful, might be a rabbit hole. Sorry, I haven't been quick to review this. It's a bit more tricky... I skimmed over it yesterday and it made my wheels turn. I'm thinking open-minded and it might be the case that the best way to solve this page is:
Example of the query at 2: query MyQuery {
indexSubscriptions(block: {number: $BLOCK_NUMBER}, where: {index: $INDEX_ID}) {
units
}
}
|
|
As per @kasparkallas the bounty can be marked as complete, there was an issue I couldn't address and Kaspar will be taking a look at it, if anything comes up that i can help with ping me. |

PR:
Addresses: #19
What was done?
Created distribution page with the following:
Addresses, amount and pool percentage

Changes made:
onCellClick={(row, e) => e.stopPropagation()}to dataGrid as per: > > > > datagrid version 5.17.8 still has the error steps to reproduce mui/mui-x#7943Event showcase:
2023-02-27.06-22-28.mp4
Closes: #149