keeper

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 19 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.

Types

type Keeper

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

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey,
	memKey storetypes.StoreKey,
	ps paramtypes.Subspace,
	transferKeeper *ibctransferkeeper.Keeper,
	authority string,
) *Keeper

func (Keeper) Entry

func (Keeper) EntryAll

func (Keeper) EntryByDenom added in v0.28.0

func (Keeper) GetAllEntry

func (k Keeper) GetAllEntry(ctx sdk.Context) (list []types.Entry)

GetAllEntry returns all entry

func (Keeper) GetEntry

func (k Keeper) GetEntry(ctx sdk.Context, baseDenom string) (val types.Entry, found bool)

GetEntry returns a entry from its index

func (Keeper) GetEntryByDenom added in v0.24.0

func (k Keeper) GetEntryByDenom(ctx sdk.Context, denom string) (val types.Entry, found bool)

GetEntryByDenom returns a entry from its denom value

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) GetUsdcDenom added in v0.31.0

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

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) RemoveEntry

func (k Keeper) RemoveEntry(ctx sdk.Context, baseDenom string)

RemoveEntry removes a entry from the store

func (Keeper) SetEntry

func (k Keeper) SetEntry(ctx sdk.Context, entry types.Entry)

SetEntry set a specific entry in the store from its index

func (Keeper) SetParams

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

SetParams set the params

Jump to

Keyboard shortcuts

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