keeper

package
v1.5.0-beta Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 11 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
}

Keeper of this module maintains distributing tokens to all stakers.

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey storetypes.StoreKey,
	bk types.BankKeeper,
	hooks types.MultiDenomMetadataHooks,
	paramSpace paramtypes.Subspace,
) Keeper

NewKeeper creates new instances of the Keeper

func (*Keeper) GetHooks

func (k *Keeper) GetHooks() types.MultiDenomMetadataHooks

GetHooks get the denommetadata hooks

func (Keeper) GetParams

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

GetParams returns the total set of denommetadata parameters.

func (Keeper) IsAddressPermissioned

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

IsAddressPermissioned checks if the given address is permissioned to create or update denom metadata

func (*Keeper) SetHooks

func (k *Keeper) SetHooks(sh types.MultiDenomMetadataHooks)

SetHooks set the denommetadata hooks

func (Keeper) SetParams

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

SetParams sets the total set of denommetadata parameters.

type Querier

type Querier struct {
	Keeper
}

Querier defines a wrapper around the x/FeeShare keeper providing gRPC method handlers.

func NewQuerier

func NewQuerier(k Keeper) Querier

func (Querier) IBCDenomByDenomTrace

IBCDenomByDenomTrace returns IBC denom base on denom trace

func (Querier) Params

Params returns denommetadata module params

Jump to

Keyboard shortcuts

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