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

Portfolio value of a user #85

Open
Tracked by #35
bvotteler opened this issue Feb 13, 2023 · 1 comment
Open
Tracked by #35

Portfolio value of a user #85

bvotteler opened this issue Feb 13, 2023 · 1 comment
Labels
enhancement New feature or request prio:medium

Comments

@bvotteler
Copy link
Contributor

bvotteler commented Feb 13, 2023

Add portfolio values tracking per user for all assets converted to BTC and/or USDT.

Note: Some assets may not have oracle values (to get BTC value). Meaning we need to rely on other sources to get an exchange rate.

Update: Removing conversion requirement. To be done at a later stage, possibly not as part of squid processing.

@bvotteler bvotteler mentioned this issue Feb 13, 2023
7 tasks
@nud3l nud3l added this to Backlog Feb 13, 2023
@github-project-automation github-project-automation bot moved this to New 🆕 in Backlog Feb 13, 2023
@bvotteler bvotteler added enhancement New feature or request prio:high labels Feb 13, 2023
@nud3l nud3l moved this from New 🆕 to Todo ⏳ in Backlog Feb 20, 2023
@bvotteler bvotteler changed the title Portfolio value of a user (all assets in the wallet in BTC or USDT) Portfolio value of a user Mar 14, 2023
@bvotteler
Copy link
Contributor Author

We should be able to keep tally of a regular (ie. not modl, fees type) account's balance by tracking 4 events:

  • tokens.withdrawn
  • tokens.deposited, and
  • tokens.transfer
  • tokens.slashed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request prio:medium
Projects
Status: Todo
Development

No branches or pull requests

1 participant