keeper

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 4 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 {
	Router *types.Router
	// contains filtered or unexported fields
}

Keeper defines the XIBC routing keeper

func NewKeeper

func NewKeeper(key sdk.StoreKey) Keeper

NewKeeper creates a new XIBC routing Keeper instance

func (Keeper) Logger

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

Logger returns a module-specific logger.

func (*Keeper) SetRouter

func (k *Keeper) SetRouter(rtr *types.Router)

SetRouter sets the Router in XIBC Keeper and seals it. The method panics if there is an existing router that's already sealed.

Jump to

Keyboard shortcuts

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