Documentation ¶
Index ¶
- func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
- func NewVolunteerValidatorProposalHandler(k Keeper) govtypes.Handler
- type Keeper
- func (k Keeper) CreateValidator(ctx sdk.Context, msg stakingtypes.MsgCreateValidator) error
- func (k Keeper) DeleteVolunteerValidator(ctx sdk.Context, valAddress sdk.ValAddress)
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetVolunteerValidator(ctx sdk.Context, valAddress sdk.ValAddress) (types.VolunteerValidator, bool)
- func (k Keeper) GetVolunteerValidators(ctx sdk.Context) (volunteerValidators map[string]types.VolunteerValidator)
- func (k Keeper) InitGenesis(ctx sdk.Context, data types.GenesisState)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SetVolunteerValidator(ctx sdk.Context, valAddress sdk.ValAddress, validator types.VolunteerValidator)
- func (k Keeper) VolunteerValidatorCommissionProcess(ctx sdk.Context) error
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(storeKey sdk.StoreKey, cdc codec.BinaryCodec, sk types.StakingKeeper, dk types.DistributionKeeper) 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 (k Keeper) DeleteVolunteerValidator(ctx sdk.Context, valAddress sdk.ValAddress)
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
func (Keeper) GetVolunteerValidator ¶
func (k Keeper) GetVolunteerValidator(ctx sdk.Context, valAddress sdk.ValAddress) (types.VolunteerValidator, bool)
func (Keeper) GetVolunteerValidators ¶
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, data types.GenesisState)
func (Keeper) SetVolunteerValidator ¶
func (k Keeper) SetVolunteerValidator(ctx sdk.Context, valAddress sdk.ValAddress, validator types.VolunteerValidator)
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.