keeper

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQuerier

func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier

func NewVolunteerValidatorProposalHandler

func NewVolunteerValidatorProposalHandler(k Keeper) govtypes.Handler

Types

type Keeper

type Keeper struct {
	// contains filtered or unexported fields
}

func NewKeeper

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 (k Keeper) GetVolunteerValidators(ctx sdk.Context) (volunteerValidators map[string]types.VolunteerValidator)

func (Keeper) InitGenesis

func (k Keeper) InitGenesis(ctx sdk.Context, data types.GenesisState)

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

Logger returns a module-specific logger.

func (Keeper) SetVolunteerValidator

func (k Keeper) SetVolunteerValidator(ctx sdk.Context, valAddress sdk.ValAddress, validator types.VolunteerValidator)

func (Keeper) VolunteerValidatorCommissionProcess

func (k Keeper) VolunteerValidatorCommissionProcess(ctx sdk.Context) error

type Querier

type Querier struct {
	Keeper
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL