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

Revisit tvl subtraction upon unexepected spent of staking output #10

Open
gitferry opened this issue Aug 1, 2024 · 0 comments
Open
Labels

Comments

@gitferry
Copy link
Member

gitferry commented Aug 1, 2024

The current implementation considers three events that could affect tvl of the system (staking, unbonding, staking expiry). However, this does not include all the events that could subtract the locked value, e.g. slashing and unexpected withdrawal. We should revisit this issue later and make sure confirmed/unconfired tvl calculation as well as the calculation in the api side aligned.

ref

@gitferry gitferry added the low label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant