keeper

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keeper

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

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey storetypes.StoreKey,
) Keeper

func (Keeper) ExportGenesis

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

ExportGenesis returns a GenesisState for a given context and keeper.

func (Keeper) GetAllHubDenoms

func (k Keeper) GetAllHubDenoms(ctx sdk.Context) (denoms []string, _ error)

func (Keeper) HasHubDenom

func (k Keeper) HasHubDenom(ctx sdk.Context, denom string) (bool, error)

func (Keeper) InitGenesis

func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)

InitGenesis new hub genesis.

func (Keeper) SetHubDenom

func (k Keeper) SetHubDenom(ctx sdk.Context, denom string) error

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) State

Jump to

Keyboard shortcuts

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