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

Integrate tokenID and other related dpos constants to be used for dpos governance #4502

Closed
Tracked by #4341
eniolam1000752 opened this issue Oct 10, 2022 · 0 comments
Assignees
Milestone

Comments

@eniolam1000752
Copy link
Contributor

Description

In the delegate feature, there is a need to know the token and some other dpos related constants that would be used for dpos governance on a particular chain since a user can have more than one token balance for that given chain.

Motivation

Service would be exposing an endpoint which would be able to return these constants(this would be addressed in this service 's issue

Additional Information

  • Create a useDposConstants query hook to get dpos constants
  • Consume useDposConstants to get the tokenIDDPoS and roundLength and integrate into the edit vote feature
  • Implement unit test for useDposConstants.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

4 participants