Documentation ¶
Index ¶
- Variables
- type Keeper
- func (keeper Keeper) DepositCoins(ctx sdk.Context, depositor sdk.AccAddress, amount sdk.Coins) (Validator, sdk.Error)
- func (keeper Keeper) RemoveValidator(ctx sdk.Context, operAddr sdk.ValAddress) sdk.Error
- func (keeper Keeper) SetValidator(ctx sdk.Context, validator Validator)
- func (keeper Keeper) UpdateValidatorConsPubKey(ctx sdk.Context, operAddr sdk.ValAddress, newConsPubKey sdk.ConsPubKey) sdk.Error
- func (keeper Keeper) UpdateValidatorDescription(ctx sdk.Context, operAddr sdk.ValAddress, updateDescription Description)
- func (keeper Keeper) UpdateValidatorPower(ctx sdk.Context, operAddr sdk.ValAddress, newPower int64) sdk.Error
- func (keeper Keeper) ValidatorIterator(ctx sdk.Context) sdk.Iterator
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DaoTokenKey = []byte{0x00} // key for the token of the dao FundsPoolKey = []byte{0x01} // key for the pool of coins )
nolint
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
DAO Keeper
func (Keeper) DepositCoins ¶
func (Keeper) RemoveValidator ¶
func (Keeper) SetValidator ¶
func (Keeper) UpdateValidatorConsPubKey ¶
func (keeper Keeper) UpdateValidatorConsPubKey(ctx sdk.Context, operAddr sdk.ValAddress, newConsPubKey sdk.ConsPubKey) sdk.Error
func (Keeper) UpdateValidatorDescription ¶
func (keeper Keeper) UpdateValidatorDescription(ctx sdk.Context, operAddr sdk.ValAddress, updateDescription Description)
func (Keeper) UpdateValidatorPower ¶
Click to show internal directories.
Click to hide internal directories.