keeper

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

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