Merge PR #3654: x/mint now uses total supply instead of bonded supply

This commit is contained in:
frog power 4000
2019-02-15 16:55:21 +01:00
committed by Christopher Goes
parent 8371095fcd
commit c0eec30840
8 changed files with 17 additions and 10 deletions
+2 -1
View File
@@ -100,7 +100,8 @@ type ValidatorSet interface {
Validator(Context, ValAddress) Validator // get a particular validator by operator address
ValidatorByConsAddr(Context, ConsAddress) Validator // get a particular validator by consensus address
TotalPower(Context) Int // total power of the validator set
TotalBondedTokens(Context) Int // total bonded tokens within the validator set
TotalTokens(Context) Int // total token supply
// slash the validator and delegators of the validator, specifying offence height, offence power, and slash fraction
Slash(Context, ConsAddress, int64, int64, Dec)