Documentation ¶
Index ¶
- func NewHandler(k types.MsgServer) sdk.Handler
- type AppModule
- func (a AppModule) BeginBlock(s sdk.Context, block abci.RequestBeginBlock)
- func (a AppModule) EndBlock(s sdk.Context, block abci.RequestEndBlock) []abci.ValidatorUpdate
- func (a AppModule) ExportGenesis(s sdk.Context) json.RawMessage
- func (a AppModule) InitGenesis(s sdk.Context, message json.RawMessage) []abci.ValidatorUpdate
- func (a AppModule) NewHandler() sdk.Handler
- func (a AppModule) NewQuerierHandler() sdk.Querier
- func (a AppModule) QuerierRoute() string
- func (a AppModule) RegisterInvariants(registry sdk.InvariantRegistry)
- func (a AppModule) RegisterServices(cfg module.Configurator)
- func (a AppModule) Route() string
- type AppModuleBasic
- func (a AppModuleBasic) DefaultGenesis() json.RawMessage
- func (a AppModuleBasic) GetQueryCmd(c *codec.Codec) *cobra.Command
- func (a AppModuleBasic) GetQueryCmdV2(cdc *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
- func (a AppModuleBasic) GetTxCmd(c *codec.Codec) *cobra.Command
- func (a AppModuleBasic) GetTxCmdV2(cdc *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
- func (a AppModuleBasic) Name() string
- func (a AppModuleBasic) RegisterCodec(c *codec.Codec)
- func (a AppModuleBasic) RegisterGRPCGatewayRoutes(ctx clictx.CLIContext, mux *runtime.ServeMux)
- func (a AppModuleBasic) RegisterInterfaces(registry interfacetypes.InterfaceRegistry)
- func (a AppModuleBasic) RegisterRESTRoutes(context clictx.CLIContext, router *mux.Router)
- func (a AppModuleBasic) RegisterRouterForGRPC(cliCtx clictx.CLIContext, r *mux.Router)
- func (a AppModuleBasic) ValidateGenesis(message json.RawMessage) error
- type IBCModule
- func (im IBCModule) NegotiateAppVersion(ctx sdk.Context, order channeltypes.Order, connectionID string, portID string, ...) (string, error)
- func (im IBCModule) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, ...) error
- func (im IBCModule) OnChanCloseConfirm(ctx sdk.Context, portID, channelID string) error
- func (im IBCModule) OnChanCloseInit(ctx sdk.Context, portID, channelID string) error
- func (im IBCModule) OnChanOpenAck(ctx sdk.Context, portID, channelID string, counterpartyChannelID string, ...) error
- func (im IBCModule) OnChanOpenConfirm(ctx sdk.Context, portID, channelID string) error
- func (im IBCModule) OnChanOpenInit(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) (string, error)
- func (im IBCModule) OnChanOpenTry(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) (string, error)
- func (im IBCModule) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) ibcexported.Acknowledgement
- func (im IBCModule) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
func NewAppModule(cdc *codec.CodecProxy, keeper keeper.Keeper) AppModule
func (AppModule) BeginBlock ¶
func (a AppModule) BeginBlock(s sdk.Context, block abci.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (a AppModule) EndBlock(s sdk.Context, block abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (a AppModule) ExportGenesis(s sdk.Context) json.RawMessage
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(s sdk.Context, message json.RawMessage) []abci.ValidatorUpdate
func (AppModule) NewHandler ¶
func (AppModule) NewQuerierHandler ¶
func (AppModule) QuerierRoute ¶
func (AppModule) RegisterInvariants ¶
func (a AppModule) RegisterInvariants(registry sdk.InvariantRegistry)
func (AppModule) RegisterServices ¶
func (a AppModule) RegisterServices(cfg module.Configurator)
type AppModuleBasic ¶
type AppModuleBasic struct {
// contains filtered or unexported fields
}
AppModuleBasic implements the AppModuleBasic interface for the capability module.
func NewAppModuleBasic ¶
func NewAppModuleBasic(cdc *codec.CodecProxy) AppModuleBasic
func (AppModuleBasic) DefaultGenesis ¶
func (a AppModuleBasic) DefaultGenesis() json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (a AppModuleBasic) GetQueryCmd(c *codec.Codec) *cobra.Command
func (AppModuleBasic) GetQueryCmdV2 ¶
func (a AppModuleBasic) GetQueryCmdV2(cdc *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
func (AppModuleBasic) GetTxCmdV2 ¶
func (a AppModuleBasic) GetTxCmdV2(cdc *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
func (AppModuleBasic) Name ¶
func (a AppModuleBasic) Name() string
func (AppModuleBasic) RegisterCodec ¶
func (a AppModuleBasic) RegisterCodec(c *codec.Codec)
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (a AppModuleBasic) RegisterGRPCGatewayRoutes(ctx clictx.CLIContext, mux *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶
func (a AppModuleBasic) RegisterInterfaces(registry interfacetypes.InterfaceRegistry)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (a AppModuleBasic) RegisterRESTRoutes(context clictx.CLIContext, router *mux.Router)
func (AppModuleBasic) RegisterRouterForGRPC ¶
func (a AppModuleBasic) RegisterRouterForGRPC(cliCtx clictx.CLIContext, r *mux.Router)
func (AppModuleBasic) ValidateGenesis ¶
func (a AppModuleBasic) ValidateGenesis(message json.RawMessage) error
type IBCModule ¶
type IBCModule struct {
// contains filtered or unexported fields
}
IBCModule implements the ICS26 interface for interchain accounts controller chains
func NewIBCModule ¶
NewIBCModule creates a new IBCModule given the keeper
func (IBCModule) NegotiateAppVersion ¶
func (im IBCModule) NegotiateAppVersion( ctx sdk.Context, order channeltypes.Order, connectionID string, portID string, counterparty channeltypes.Counterparty, proposedVersion string, ) (string, error)
NegotiateAppVersion implements the IBCModule interface
func (IBCModule) OnAcknowledgementPacket ¶
func (im IBCModule) OnAcknowledgementPacket( ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, relayer sdk.AccAddress, ) error
the controller does not check the tx error in hostchain OnAcknowledgementPacket implements the IBCModule interface
func (IBCModule) OnChanCloseConfirm ¶
OnChanCloseConfirm implements the IBCModule interface
func (IBCModule) OnChanCloseInit ¶
OnChanCloseInit implements the IBCModule interface
func (IBCModule) OnChanOpenAck ¶
func (im IBCModule) OnChanOpenAck( ctx sdk.Context, portID, channelID string, counterpartyChannelID string, counterpartyVersion string, ) error
OnChanOpenAck implements the IBCModule interface
func (IBCModule) OnChanOpenConfirm ¶
OnChanOpenConfirm implements the IBCModule interface
func (IBCModule) OnChanOpenInit ¶
func (im IBCModule) OnChanOpenInit( ctx sdk.Context, order channeltypes.Order, connectionHops []string, portID string, channelID string, chanCap *capabilitytypes.Capability, counterparty channeltypes.Counterparty, version string, ) (string, error)
OnChanOpenInit implements the IBCModule interface
func (IBCModule) OnChanOpenTry ¶
func (im IBCModule) OnChanOpenTry(ctx sdk.Context, order channeltypes.Order, connectionHops []string, portID, channelID string, channelCap *capabilitytypes.Capability, counterparty channeltypes.Counterparty, version, counterpartyVersion string) (string, error)
OnChanOpenTry implements the IBCModule interface
func (IBCModule) OnRecvPacket ¶
func (im IBCModule) OnRecvPacket( ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress, ) ibcexported.Acknowledgement
OnRecvPacket implements the IBCModule interface. A successful acknowledgement is returned if the packet data is successfully decoded and the receive application logic returns without error.
func (IBCModule) OnTimeoutPacket ¶
func (im IBCModule) OnTimeoutPacket( ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress, ) error
OnTimeoutPacket implements the IBCModule interface.