Merge PR #3654: x/mint now uses total supply instead of bonded supply
This commit is contained in:
committed by
Christopher Goes
parent
8371095fcd
commit
c0eec30840
@@ -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)
|
||||
Reference in New Issue
Block a user