-
Notifications
You must be signed in to change notification settings - Fork 98
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 commission earned #135
Comments
delegators don't earn commissions. technically, they are issued "fee shares" for staking their Atom's.
since this takes place on the client we should store it locally. in the event that there is a bug or the data is erased or disappears for any reason it is possible to query for this information. but we should store it locally by default. if we need to calculate this — the math can be found in the gaia repo spec. yo @rigelrozanski how'd i do? ✌️ |
Yes - each delegator receives fees shares, and are encouraged to withdraw their fee reward with a reasonable frequency. When withdrawing fees all fee shares they have accumulated must be withdrawn at once (backend requirement). Note that this is totally different from withdrawing atom provisions which are by default bonded, meaning that to withdraw them they must be unbonded. @jolesbi you did well - next thing you need to do is dig up the math from the spec! hehe I can help with this if you get stuck, there is a lot in there. |
Holy cow there's a lot in there, @rigelrozanski! Thanks for your offer of help. I see the |
@NodeGuy - PR just being finalized now - you can look at everything in this dir. (https://github.com/cosmos/cosmos-sdk/tree/rigel/piggy-bank-fee-spec/docs/spec/distribution) *note don't bother looking in the WIP folder - that's a more complicated mechanism which will not be implemented for a while |
Thank you. We'll take a look when the PR is merged. |
Thank you. Blocked by #1285. |
see comments on #2010 |
* fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra
I as a user
Want to see the amount of commission I earned
So that I stay engaged in holding atoms.
AC:
See following event for updates on rewards (taken from https://github.com/cosmos/cosmos-sdk/blob/develop/docs/spec/distribution/state.md):
dependencies: #209
The text was updated successfully, but these errors were encountered: