-
Notifications
You must be signed in to change notification settings - Fork 70
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
Sort by recoverable balance and show vesting total, claimable (#2807) #3953
base: dev
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
lgtm
<> | ||
<TokenValue value={locked.add(vested)} /> | ||
<TokenValue value={locked} /> | ||
</ValueCell> | ||
<TokenValue value={vested} /> | ||
</> |
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.
The current solution doesn't work:
This component is given the DeriveBalancesVesting
which doesn't include vestedClaimable
but:
Recoverable is vestedClaimable
and what's actually locked is locked - vested + vestedClaimable
(although there might be different way to get to these result) and finally the total should always be locked
.
So one way to fix this is to pass vestedClaimable
to the VestingLockListItem
.
#2807 part 1+2