Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) CallRegisteredICACallback(ctx sdk.Context, modulePacket channeltypes.Packet, ...) error
- func (k Keeper) CallbackData(c context.Context, req *types.QueryGetCallbackDataRequest) (*types.QueryGetCallbackDataResponse, error)
- func (k Keeper) CallbackDataAll(c context.Context, req *types.QueryAllCallbackDataRequest) (*types.QueryAllCallbackDataResponse, error)
- func (k Keeper) GetAllCallbackData(ctx sdk.Context) (list []types.CallbackData)
- func (k Keeper) GetCallbackData(ctx sdk.Context, callbackKey string) (val types.CallbackData, found bool)
- func (k Keeper) GetCallbackDataFromPacket(ctx sdk.Context, modulePacket channeltypes.Packet, callbackDataKey string) (cbd *types.CallbackData, found bool)
- func (k *Keeper) GetICACallbackHandler(module string) (types.ICACallbackHandler, error)
- func (k Keeper) GetICACallbackHandlerFromPacket(ctx sdk.Context, modulePacket channeltypes.Packet) (*types.ICACallbackHandler, error)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveCallbackData(ctx sdk.Context, callbackKey string)
- func (k Keeper) SetCallbackData(ctx sdk.Context, callbackData types.CallbackData)
- func (k *Keeper) SetICACallbackHandler(module string, handler types.ICACallbackHandler) error
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
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) CallbackData ¶
func (k Keeper) CallbackData(c context.Context, req *types.QueryGetCallbackDataRequest) (*types.QueryGetCallbackDataResponse, error)
func (Keeper) CallbackDataAll ¶
func (k Keeper) CallbackDataAll(c context.Context, req *types.QueryAllCallbackDataRequest) (*types.QueryAllCallbackDataResponse, 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 ¶ added in v12.1.0
func (k Keeper) GetCallbackDataFromPacket(ctx sdk.Context, modulePacket channeltypes.Packet, callbackDataKey string) (cbd *types.CallbackData, found bool)
func (*Keeper) GetICACallbackHandler ¶ added in v12.1.0
func (k *Keeper) GetICACallbackHandler(module string) (types.ICACallbackHandler, error)
func (Keeper) GetICACallbackHandlerFromPacket ¶ added in v12.1.0
func (k Keeper) GetICACallbackHandlerFromPacket(ctx sdk.Context, modulePacket channeltypes.Packet) (*types.ICACallbackHandler, error)
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveCallbackData ¶
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 ¶ added in v12.1.0
func (k *Keeper) SetICACallbackHandler(module string, handler types.ICACallbackHandler) error
Should we add a `AddICACallback`
Click to show internal directories.
Click to hide internal directories.