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

web: use real data for aum and nav #55

Merged
merged 3 commits into from
Apr 6, 2024
Merged

web: use real data for aum and nav #55

merged 3 commits into from
Apr 6, 2024

Conversation

yurushao
Copy link
Contributor

@yurushao yurushao commented Apr 6, 2024

  1. find all token accounts from treasury address, then compute aum from all holdings
  2. get total supply from share class mint
  3. nav = aum / totalShares

@yurushao yurushao merged commit b767c27 into main Apr 6, 2024
1 check passed
@yurushao yurushao deleted the improve_nav_aum branch April 6, 2024 08:34
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.

1 participant