keeper

package
v1.0.0-rc4-testnet Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 13 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 MsgServer interface for the provided Keeper.

func NewQueryServerImpl

func NewQueryServerImpl(k Keeper) types.QueryServer

Types

type Keeper

type Keeper struct {
	Schema          collections.Schema
	Params          collections.Item[types.Params]
	EpochInfo       collections.Item[types.EpochInfo]
	RegisteredCoins collections.Map[string, types.RateLimit]
	// contains filtered or unexported fields
}

Keeper of the bridge store

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec, storeService store.KVStoreService,
	ak types.AccountKeeper, bk types.BankKeeper,
	authority string,
) Keeper

NewKeeper creates a new bridge Keeper instance

func (Keeper) GetAuthority

func (k Keeper) GetAuthority() string

GetAuthority returns the x/bridge module's authority.

func (Keeper) Logger

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

Logger returns a module-specific logger.

func (Keeper) UpdateInflow

func (k Keeper) UpdateInflow(ctx context.Context, coin sdk.Coin) error

Jump to

Keyboard shortcuts

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