keeper

package
v1.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

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 MsgServer interface for the provided Keeper.

Types

type Keeper

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

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey storetypes.StoreKey,
	ps paramtypes.Subspace,
	channelKeeper types.ChannelKeeper,
	bankKeeper types.BankKeeper,
	accountKeeper types.AccountKeeper,
) Keeper

func (Keeper) GenesisTriggererWhitelist

func (k Keeper) GenesisTriggererWhitelist(ctx sdk.Context) (res []types.GenesisTriggererParams)

GenesisTriggererWhitelist returns the GenesisTriggererWhitelist param

func (Keeper) GetHub

func (k Keeper) GetHub(
	ctx sdk.Context,
	hubId string,
) (val types.Hub, found bool)

GetHub returns a hub from its index

func (Keeper) GetParams

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

GetParams returns the total set of minting parameters.

func (Keeper) IsAddressInGenesisTriggererWhiteList

func (k Keeper) IsAddressInGenesisTriggererWhiteList(ctx sdk.Context, address string) bool

func (Keeper) Logger

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

func (Keeper) SetHub

func (k Keeper) SetHub(ctx sdk.Context, hub types.Hub)

SetHub set a specific hub in the store from its index

func (Keeper) SetParams

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

SetParams sets the total set of minting parameters.

type Querier

type Querier struct {
	Keeper
}

Querier defines a wrapper around the x/hub-genesis keeper providing gRPC method handlers.

func NewQuerier

func NewQuerier(k Keeper) Querier

func (Querier) Hub

func (Querier) Params

Params returns params of the hub-genesis module.

Jump to

Keyboard shortcuts

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