keeper

package
v0.0.0-...-6ea7237 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

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

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(cdc codec.Marshaler, storeKey, memKey sdk.StoreKey, distrKeeper types.DistributionKeeper) *Keeper

func (Keeper) GetChainInfo

func (k Keeper) GetChainInfo(ctx sdk.Context, cName, owner string) (types.ChainInfo, error)

func (Keeper) GetChainInfoFromName

func (k Keeper) GetChainInfoFromName(ctx sdk.Context, name string) types.ChainInfo

func (Keeper) IterateAllInfos

func (k Keeper) IterateAllInfos(ctx sdk.Context, cb func(info types.ChainInfo) bool)

func (Keeper) Logger

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

func (Keeper) Register

func (k Keeper) Register(ctx sdk.Context, cInfo types.ChainInfo) error

func (Keeper) SetChainInfo

func (k Keeper) SetChainInfo(ctx sdk.Context, info types.ChainInfo) error

func (Keeper) Update

func (k Keeper) Update(ctx sdk.Context, cInfo types.ChainInfo) error

Jump to

Keyboard shortcuts

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