keeper

package
v1.3.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(k Keeper) sdk.Handler

func NewLegacyQuerier

func NewLegacyQuerier(keeper Keeper) sdk.Querier

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

NewMsgServerImpl returns an implementation of MsgServer interface for the provided Keeper.

func NewQueryServer

func NewQueryServer(k Keeper) types.QueryServer

Types

type Keeper

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

func NewKeeper

func NewKeeper(cdc codec.Codec, storeKey sdk.StoreKey) Keeper

func (Keeper) ExportGenesis

func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState

func (Keeper) GetAdminAccountIterator

func (k Keeper) GetAdminAccountIterator(ctx sdk.Context) sdk.Iterator

func (Keeper) GetAdminAccounts

func (k Keeper) GetAdminAccounts(ctx sdk.Context) []*types.AdminAccount

func (Keeper) GetAdminAccountsForType

func (k Keeper) GetAdminAccountsForType(ctx sdk.Context, adminType types.AdminType) []*types.AdminAccount

func (Keeper) GetParams added in v1.4.0

func (k Keeper) GetParams(ctx sdk.Context) *types.Params

func (Keeper) InitGenesis

func (k Keeper) InitGenesis(ctx sdk.Context, state types.GenesisState) []abci.ValidatorUpdate

func (Keeper) IsAdminAccount

func (k Keeper) IsAdminAccount(ctx sdk.Context, adminType types.AdminType, adminAccount sdk.AccAddress) bool

func (Keeper) RemoveAdminAccount

func (k Keeper) RemoveAdminAccount(ctx sdk.Context, account *types.AdminAccount)

func (Keeper) SetAdminAccount

func (k Keeper) SetAdminAccount(ctx sdk.Context, account *types.AdminAccount)

func (Keeper) SetParams added in v1.4.0

func (k Keeper) SetParams(ctx sdk.Context, params *types.Params)

type Migrator

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

func NewMigrator

func NewMigrator(keeper Keeper) Migrator

func (Migrator) InitialMigration added in v0.13.5

func (m Migrator) InitialMigration(ctx sdk.Context) error

type Querier

type Querier struct {
	Keeper
}

func (Querier) GetParams added in v1.4.0

func (Querier) ListAccounts

Jump to

Keyboard shortcuts

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