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

stake discrepancy in world of remove vs compound #66

Open
bitfilms opened this issue Oct 30, 2021 · 0 comments
Open

stake discrepancy in world of remove vs compound #66

bitfilms opened this issue Oct 30, 2021 · 0 comments

Comments

@bitfilms
Copy link

I was a quick adopter of the "remove stakes" option as soon as they made it available.

But it appears numerapi still assumes that compounding is part of the actual stakes even with models that have it set to remove.

The model "ashitaka" for example has an actual stake of 10 NMR but here's what numerapi returns:

> numerapi stake-get ashitaka
10.138241189551394000

Would be cool to have an option that would allow for including vs not including any pending earnings. Such as:

> numerapi stake-get -stakeOnly ashitaka
10.0

and/or something just to capture the earnings:

> numerapi stake-get -earningsOnly ashitaka
0.1382411

The default behavior could remain the same.

Anyway, thx for listening!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant