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

Show available amounts for staking messages #127

Open
ryanchristo opened this issue Jul 27, 2023 · 0 comments
Open

Show available amounts for staking messages #127

ryanchristo opened this issue Jul 27, 2023 · 0 comments
Labels
dev Engineering task enhancement New feature or request help wanted Extra attention is needed

Comments

@ryanchristo
Copy link
Member

When creating a staking message proposal, we currently only show the amount the group policy has available to delegate, which is based on the group policy's account balance, but the amount available for redelegate, undelegate, and claim are different amounts and will require additional queries if we want to provide a "max" option and available preview.

We are currently passing an empty array to the balances field of the AmountField component for staking messages.

balances={[]} // TODO: use amount staked on validator
@ryanchristo ryanchristo added dev Engineering task help wanted Extra attention is needed labels Jul 27, 2023
@ryanchristo ryanchristo added the enhancement New feature or request label Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev Engineering task enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant