keeper

package
v11.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2023 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, modulePacket 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) GetCallbackDataFromPacket

func (k Keeper) GetCallbackDataFromPacket(ctx sdk.Context, modulePacket channeltypes.Packet, callbackDataKey string) (cbd *types.CallbackData, found bool)

func (*Keeper) GetICACallbackHandler

func (k *Keeper) GetICACallbackHandler(module string) (types.ICACallbackHandler, error)

func (Keeper) GetICACallbackHandlerFromPacket

func (k Keeper) GetICACallbackHandlerFromPacket(ctx sdk.Context, modulePacket channeltypes.Packet) (*types.ICACallbackHandler, error)

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

func (k *Keeper) SetICACallbackHandler(module string, handler types.ICACallbackHandler) error

Should we add a `AddICACallback`

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