Skip to content
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

total supply indexer #4863

Merged
merged 14 commits into from
Sep 26, 2024
Merged

total supply indexer #4863

merged 14 commits into from
Sep 26, 2024

Conversation

avahowell
Copy link
Contributor

@cronokirby cronokirby marked this pull request as ready for review September 20, 2024 23:06
@avahowell avahowell changed the title wip: total supply indexer total supply indexer Sep 20, 2024
This removes a lot of repeated logic around database accesses, and then
also modularizes them to hide some of the implementation details in the
rest of the file.
Copy link
Contributor

@aubrika aubrika left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@aubrika aubrika merged commit aa1359f into main Sep 26, 2024
13 checks passed
@aubrika aubrika deleted the total-supply-pindexer branch September 26, 2024 20:29
aubrika pushed a commit that referenced this pull request Sep 26, 2024
## Describe your changes

This adjusts the total supply indexer to account for whether or not
value is locked in the dex, the auction component, or locked away after
fees and arbitrage.

This matters because a significant amount of the native token has been
locked in arbitrage, so this affects the end result by about 50% (in
terms of net new supply)

Merge #4863 first.

## Checklist before requesting a review

- [x] If this code contains consensus-breaking changes, I have added the
"consensus-breaking" label. Otherwise, I declare my belief that there
are not consensus-breaking changes, for the following reason:

  > indexing only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants