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

Add CLI command to query claimable rewards #418

Closed
alpe opened this issue Jul 5, 2022 · 0 comments · Fixed by #423
Closed

Add CLI command to query claimable rewards #418

alpe opened this issue Jul 5, 2022 · 0 comments · Fixed by #423
Assignees
Labels
non_breaking S Small, <1 day work
Milestone

Comments

@alpe
Copy link
Contributor

alpe commented Jul 5, 2022

It would be very helpful to query distribution, engagement and all rewards. For example:

  • tgrade query poe rewards [address] - all
  • tgrade query poe rewards [address] --distribution - query distribution contract only
  • tgrade query poe rewards [address] --engagement - query engagement contract only
  • tgrade query poe rewards [address] --distribution --engagement - query all

In order to safe fees, a compound script can run query before claim.

Relates to #242

@alpe alpe added the S Small, <1 day work label Jul 5, 2022
@alpe alpe modified the milestones: Tgrade - "Post Mainnet", v1.0.2 Jul 5, 2022
@pinosu pinosu self-assigned this Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non_breaking S Small, <1 day work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants