Versions in this module Expand all Collapse all v2 v2.0.0 Jun 30, 2023 Changes in this version + func ValidateAndParseMemo(memo string, receiver string) (isWasmRouted bool, contractAddr sdk.AccAddress, msgBytes []byte, err error) + type AppModule struct + func NewAppModule(ak authkeeper.AccountKeeper) AppModule + func (AppModule) ConsensusVersion() uint64 + func (AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate + func (AppModule) Name() string + func (AppModule) QuerierRoute() string + func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) + func (am AppModule) ExportGenesis(_ sdk.Context, _ codec.JSONCodec) json.RawMessage + func (am AppModule) InitGenesis(_ sdk.Context, _ codec.JSONCodec, _ json.RawMessage) []abci.ValidatorUpdate + func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry) + func (am AppModule) RegisterServices(_ module.Configurator) + type AppModuleBasic struct + func (AppModuleBasic) DefaultGenesis(_ codec.JSONCodec) json.RawMessage + func (AppModuleBasic) GetQueryCmd() *cobra.Command + func (AppModuleBasic) GetTxCmd() *cobra.Command + func (AppModuleBasic) Name() string + func (AppModuleBasic) RegisterGRPCGatewayRoutes(_ client.Context, _ *runtime.ServeMux) + func (AppModuleBasic) RegisterLegacyAminoCodec(_ *codec.LegacyAmino) + func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) + func (AppModuleBasic) ValidateGenesis(_ codec.JSONCodec, _ client.TxEncodingConfig, _ json.RawMessage) error + func (b AppModuleBasic) RegisterInterfaces(_ cdctypes.InterfaceRegistry) + type ContractAck struct + ContractResult []byte + IbcAck []byte + type GetAppVersionAfterHooks interface + GetAppVersionAfterHook func(ctx sdk.Context, portID, channelID string, result string, success bool) + type GetAppVersionBeforeHooks interface + GetAppVersionBeforeHook func(ctx sdk.Context, portID, channelID string) + type GetAppVersionOverrideHooks interface + GetAppVersionOverride func(i ICS4Middleware, ctx sdk.Context, portID, channelID string) (string, bool) + type Hooks interface + type IBCMiddleware struct + App porttypes.IBCModule + ICS4Middleware *ICS4Middleware + func NewIBCMiddleware(app porttypes.IBCModule, ics4 *ICS4Middleware) IBCMiddleware + func (im IBCMiddleware) GetAppVersion(ctx sdk.Context, portID, channelID string) (string, bool) + func (im IBCMiddleware) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, ...) error + func (im IBCMiddleware) OnChanCloseConfirm(ctx sdk.Context, portID, channelID string) error + func (im IBCMiddleware) OnChanCloseInit(ctx sdk.Context, portID, channelID string) error + func (im IBCMiddleware) OnChanOpenAck(ctx sdk.Context, portID, channelID string, counterpartyChannelID string, ...) error + func (im IBCMiddleware) OnChanOpenConfirm(ctx sdk.Context, portID, channelID string) error + func (im IBCMiddleware) OnChanOpenInit(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) (string, error) + func (im IBCMiddleware) OnChanOpenTry(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) (string, error) + func (im IBCMiddleware) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) ibcexported.Acknowledgement + func (im IBCMiddleware) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error + func (im IBCMiddleware) SendPacket(ctx sdk.Context, chanCap *capabilitytypes.Capability, sourcePort string, ...) (uint64, error) + func (im IBCMiddleware) WriteAcknowledgement(ctx sdk.Context, chanCap *capabilitytypes.Capability, ...) error + type ICS4Middleware struct + Hooks Hooks + func NewICS4Middleware(channel porttypes.ICS4Wrapper, hooks Hooks) ICS4Middleware + func (i ICS4Middleware) GetAppVersion(ctx sdk.Context, portID, channelID string) (string, bool) + func (i ICS4Middleware) SendPacket(ctx sdk.Context, channelCap *capabilitytypes.Capability, _ string, ...) (sequence uint64, err error) + func (i ICS4Middleware) WriteAcknowledgement(ctx sdk.Context, chanCap *capabilitytypes.Capability, ...) error + type OnAcknowledgementPacketAfterHooks interface + OnAcknowledgementPacketAfterHook func(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, ...) + type OnAcknowledgementPacketBeforeHooks interface + OnAcknowledgementPacketBeforeHook func(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, ...) + type OnAcknowledgementPacketOverrideHooks interface + OnAcknowledgementPacketOverride func(im IBCMiddleware, ctx sdk.Context, packet channeltypes.Packet, ...) error + type OnChanCloseConfirmAfterHooks interface + OnChanCloseConfirmAfterHook func(ctx sdk.Context, portID, channelID string, err error) + type OnChanCloseConfirmBeforeHooks interface + OnChanCloseConfirmBeforeHook func(ctx sdk.Context, portID, channelID string) + type OnChanCloseConfirmOverrideHooks interface + OnChanCloseConfirmOverride func(im IBCMiddleware, ctx sdk.Context, portID, channelID string) error + type OnChanCloseInitAfterHooks interface + OnChanCloseInitAfterHook func(ctx sdk.Context, portID, channelID string, err error) + type OnChanCloseInitBeforeHooks interface + OnChanCloseInitBeforeHook func(ctx sdk.Context, portID, channelID string) + type OnChanCloseInitOverrideHooks interface + OnChanCloseInitOverride func(im IBCMiddleware, ctx sdk.Context, portID, channelID string) error + type OnChanOpenAckAfterHooks interface + OnChanOpenAckAfterHook func(ctx sdk.Context, portID, channelID string, counterpartyChannelID string, ...) + type OnChanOpenAckBeforeHooks interface + OnChanOpenAckBeforeHook func(ctx sdk.Context, portID, channelID string, counterpartyChannelID string, ...) + type OnChanOpenAckOverrideHooks interface + OnChanOpenAckOverride func(im IBCMiddleware, ctx sdk.Context, portID, channelID string, ...) error + type OnChanOpenConfirmAfterHooks interface + OnChanOpenConfirmAfterHook func(ctx sdk.Context, portID, channelID string, err error) + type OnChanOpenConfirmBeforeHooks interface + OnChanOpenConfirmBeforeHook func(ctx sdk.Context, portID, channelID string) + type OnChanOpenConfirmOverrideHooks interface + OnChanOpenConfirmOverride func(im IBCMiddleware, ctx sdk.Context, portID, channelID string) error + type OnChanOpenInitAfterHooks interface + OnChanOpenInitAfterHook func(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) + type OnChanOpenInitBeforeHooks interface + OnChanOpenInitBeforeHook func(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) + type OnChanOpenInitOverrideHooks interface + OnChanOpenInitOverride func(im IBCMiddleware, ctx sdk.Context, order channeltypes.Order, ...) (string, error) + type OnChanOpenTryAfterHooks interface + OnChanOpenTryAfterHook func(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) + type OnChanOpenTryBeforeHooks interface + OnChanOpenTryBeforeHook func(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) + type OnChanOpenTryOverrideHooks interface + OnChanOpenTryOverride func(im IBCMiddleware, ctx sdk.Context, order channeltypes.Order, ...) (string, error) + type OnRecvPacketAfterHooks interface + OnRecvPacketAfterHook func(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress, ...) + type OnRecvPacketBeforeHooks interface + OnRecvPacketBeforeHook func(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) + type OnRecvPacketOverrideHooks interface + OnRecvPacketOverride func(im IBCMiddleware, ctx sdk.Context, packet channeltypes.Packet, ...) ibcexported.Acknowledgement + type OnTimeoutPacketAfterHooks interface + OnTimeoutPacketAfterHook func(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress, err error) + type OnTimeoutPacketBeforeHooks interface + OnTimeoutPacketBeforeHook func(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) + type OnTimeoutPacketOverrideHooks interface + OnTimeoutPacketOverride func(im IBCMiddleware, ctx sdk.Context, packet channeltypes.Packet, ...) error + type SendPacketAfterHooks interface + SendPacketAfterHook func(ctx sdk.Context, chanCap *capabilitytypes.Capability, sourcePort string, ...) + type SendPacketBeforeHooks interface + SendPacketBeforeHook func(ctx sdk.Context, chanCap *capabilitytypes.Capability, sourcePort string, ...) + type SendPacketOverrideHooks interface + SendPacketOverride func(i ICS4Middleware, ctx sdk.Context, chanCap *capabilitytypes.Capability, ...) (uint64, error) + type WasmHooks struct + ContractKeeper *wasmkeeper.PermissionedKeeper + WasmKeeper *wasmkeeper.Keeper + func NewWasmHooks(ibcHooksKeeper *keeper.Keeper, contractKeeper *wasmkeeper.PermissionedKeeper, ...) WasmHooks + func (h WasmHooks) OnAcknowledgementPacketOverride(im IBCMiddleware, ctx sdk.Context, packet channeltypes.Packet, ...) error + func (h WasmHooks) OnRecvPacketOverride(im IBCMiddleware, ctx sdk.Context, packet channeltypes.Packet, ...) ibcexported.Acknowledgement + func (h WasmHooks) OnTimeoutPacketOverride(im IBCMiddleware, ctx sdk.Context, packet channeltypes.Packet, ...) error + func (h WasmHooks) ProperlyConfigured() bool + func (h WasmHooks) SendPacketOverride(i ICS4Middleware, ctx sdk.Context, chanCap *capabilitytypes.Capability, ...) error + type WriteAcknowledgementAfterHooks interface + WriteAcknowledgementAfterHook func(ctx sdk.Context, chanCap *capabilitytypes.Capability, ...) + type WriteAcknowledgementBeforeHooks interface + WriteAcknowledgementBeforeHook func(ctx sdk.Context, chanCap *capabilitytypes.Capability, ...) + type WriteAcknowledgementOverrideHooks interface + WriteAcknowledgementOverride func(i ICS4Middleware, ctx sdk.Context, chanCap *capabilitytypes.Capability, ...) error