keeper

package
v19.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 15 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 {
	IBCKeeper ibckeeper.Keeper
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey,
	memKey storetypes.StoreKey,
	ps paramtypes.Subspace,
	ibcKeeper ibckeeper.Keeper,
) *Keeper

func (Keeper) CallRegisteredICACallback

func (k Keeper) CallRegisteredICACallback(ctx sdk.Context, packet channeltypes.Packet, ackResponse *types.AcknowledgementResponse) error

func (Keeper) GetAllCallbackData

func (k Keeper) GetAllCallbackData(ctx sdk.Context) (list []types.CallbackData)

GetAllCallbackData returns all callbackData

func (Keeper) GetCallbackData

func (k Keeper) GetCallbackData(
	ctx sdk.Context,
	callbackKey string,
) (val types.CallbackData, found bool)

GetCallbackData returns a callbackData from its index

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) RemoveCallbackData

func (k Keeper) RemoveCallbackData(
	ctx sdk.Context,
	callbackKey string,
)

RemoveCallbackData removes a callbackData from the store

func (Keeper) SetCallbackData

func (k Keeper) SetCallbackData(ctx sdk.Context, callbackData types.CallbackData)

SetCallbackData set a specific callbackData in the store from its index

func (Keeper) SetICACallbacks

func (k Keeper) SetICACallbacks(moduleCallbacks ...types.ModuleCallbacks) error

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