Documentation ¶
Index ¶
- func NewMsgServerImpl(k Keeper) types.MsgServer
- type Keeper
- func (k Keeper) CreateValidator(ctx sdk.Context, msg stakingtypes.MsgCreateValidator) error
- func (k Keeper) DeleteVolunteerValidator(ctx context.Context, valAddress sdk.ValAddress) error
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetVolunteerValidator(ctx context.Context, valAddress sdk.ValAddress) (types.VolunteerValidator, error)
- func (k Keeper) GetVolunteerValidators(ctx context.Context) (volunteerValidators map[string]types.VolunteerValidator, err error)
- func (k Keeper) InitGenesis(ctx sdk.Context, data types.GenesisState)
- func (k Keeper) Logger(ctx context.Context) log.Logger
- func (k Keeper) SetVolunteerValidator(ctx context.Context, valAddress sdk.ValAddress, ...) error
- func (k Keeper) VolunteerValidatorCommissionProcess(ctx context.Context) error
- type Migrator
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(storeService store.KVStoreService, cdc codec.BinaryCodec, sk types.StakingKeeper, dk types.DistributionKeeper, authority string) Keeper
NewKeeper constructs a message authorization Keeper
func (Keeper) CreateValidator ¶
func (k Keeper) CreateValidator(ctx sdk.Context, msg stakingtypes.MsgCreateValidator) error
func (Keeper) DeleteVolunteerValidator ¶
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
func (Keeper) GetAuthority ¶
GetAuthority returns the x/volunteer module's authority.
func (Keeper) GetVolunteerValidator ¶
func (k Keeper) GetVolunteerValidator(ctx context.Context, valAddress sdk.ValAddress) (types.VolunteerValidator, error)
func (Keeper) GetVolunteerValidators ¶
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, data types.GenesisState)
func (Keeper) SetVolunteerValidator ¶
func (k Keeper) SetVolunteerValidator(ctx context.Context, valAddress sdk.ValAddress, validator types.VolunteerValidator) error
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator is a struct for handling in-place store migrations.
type Querier ¶
type Querier struct {
Keeper
}
func (Querier) VolunteerValidators ¶
func (k Querier) VolunteerValidators(c context.Context, req *types.QueryVolunteerValidatorsRequest) (*types.QueryVolunteerValidatorsResponse, error)
Click to show internal directories.
Click to hide internal directories.