Documentation
¶
Index ¶
- type AppModule
- func (a AppModule) ConsensusVersion() uint64
- func (a AppModule) DefaultGenesis(_ codec.JSONCodec) json.RawMessage
- func (a AppModule) ExportGenesis(_ sdk.Context, _ codec.JSONCodec) json.RawMessage
- func (a AppModule) GetQueryCmd() *cobra.Command
- func (a AppModule) GetTxCmd() *cobra.Command
- func (a AppModule) InitGenesis(_ sdk.Context, _ codec.JSONCodec, _ json.RawMessage) []types.ValidatorUpdate
- func (a AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier
- func (a AppModule) Name() string
- func (a AppModule) QuerierRoute() string
- func (a AppModule) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)
- func (a AppModule) RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (a AppModule) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
- func (a AppModule) RegisterServices(cfg module.Configurator)
- func (a AppModule) Route() sdk.Route
- func (a AppModule) ValidateGenesis(_ codec.JSONCodec, _ client.TxEncodingConfig, _ json.RawMessage) error
- type IBCModule
- func (im IBCModule) NegotiateAppVersion(_ sdk.Context, _ channeltypes.Order, _ string, _ string, ...) (string, error)
- func (im IBCModule) OnAcknowledgementPacket(_ sdk.Context, _ channeltypes.Packet, _ []byte, _ sdk.AccAddress) error
- func (im IBCModule) OnChanCloseConfirm(_ sdk.Context, _ string, _ string) error
- func (im IBCModule) OnChanCloseInit(_ sdk.Context, _ string, _ string) error
- func (im IBCModule) OnChanOpenAck(_ sdk.Context, _ string, _ string, _ string, _ string) error
- func (im IBCModule) OnChanOpenConfirm(_ sdk.Context, _ string, _ string) error
- func (im IBCModule) OnChanOpenInit(ctx sdk.Context, _ channeltypes.Order, _ []string, portID string, ...) (string, error)
- func (im IBCModule) OnChanOpenTry(_ sdk.Context, _ channeltypes.Order, _ []string, _ string, _ string, ...) (string, error)
- func (im IBCModule) OnRecvPacket(_ sdk.Context, _ channeltypes.Packet, _ sdk.AccAddress) ibcexported.Acknowledgement
- func (im IBCModule) OnTimeoutPacket(_ sdk.Context, _ channeltypes.Packet, _ sdk.AccAddress) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppModule ¶
type AppModule struct {
// contains filtered or unexported fields
}
AppModule implements the AppModule interface for the capability module.
func (AppModule) ConsensusVersion ¶
ConsensusVersion is the module consensus version
func (AppModule) DefaultGenesis ¶
func (a AppModule) DefaultGenesis(_ codec.JSONCodec) json.RawMessage
DefaultGenesis implements AppModule/DefaultGenesis.
func (AppModule) ExportGenesis ¶
ExportGenesis implements AppModule/ExportGenesis.
func (AppModule) GetQueryCmd ¶
GetQueryCmd implements AppModule/GetQueryCmd.
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(_ sdk.Context, _ codec.JSONCodec, _ json.RawMessage) []types.ValidatorUpdate
InitGenesis implements AppModule/InitGenesis.
func (AppModule) LegacyQuerierHandler ¶
func (a AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier
LegacyQuerierHandler implements AppModule/LegacyQuerierHandler.
func (AppModule) QuerierRoute ¶
QuerierRoute implements AppModule/QuerierRoute.
func (AppModule) RegisterGRPCGatewayRoutes ¶
RegisterGRPCGatewayRoutes implements AppModule/RegisterGRPCGatewayRoutes.
func (AppModule) RegisterInterfaces ¶
func (a AppModule) RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces implements AppModule/RegisterTypes.
func (AppModule) RegisterInvariants ¶
func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
RegisterInvariants implements AppModule/RegisterInvariants.
func (AppModule) RegisterLegacyAminoCodec ¶
func (a AppModule) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
RegisterLegacyAminoCodec implements AppModule/RegisterLegacyAminoCodec.
func (AppModule) RegisterServices ¶
func (a AppModule) RegisterServices(cfg module.Configurator)
RegisterServices implements AppModule/RegisterServices.
func (AppModule) ValidateGenesis ¶
func (a AppModule) ValidateGenesis(_ codec.JSONCodec, _ client.TxEncodingConfig, _ json.RawMessage) error
ValidateGenesis implements AppModule/ValidateGenesis.
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( _ sdk.Context, _ channeltypes.Order, _ string, _ string, _ channeltypes.Counterparty, _ string, ) (string, error)
NegotiateAppVersion implements the IBCModule interface
func (IBCModule) OnAcknowledgementPacket ¶
func (im IBCModule) OnAcknowledgementPacket( _ sdk.Context, _ channeltypes.Packet, _ []byte, _ sdk.AccAddress, ) error
OnAcknowledgementPacket implements the IBCModule interface
func (IBCModule) OnChanCloseConfirm ¶
OnChanCloseConfirm implements the IBCModule interface
func (IBCModule) OnChanCloseInit ¶
OnChanCloseInit implements the IBCModule interface
func (IBCModule) OnChanOpenAck ¶
OnChanOpenAck implements the IBCModule interface
func (IBCModule) OnChanOpenConfirm ¶
OnChanOpenConfirm implements the IBCModule interface
func (IBCModule) OnChanOpenInit ¶
func (im IBCModule) OnChanOpenInit( ctx sdk.Context, _ channeltypes.Order, _ []string, portID string, channelID string, chanCap *capabilitytypes.Capability, _ channeltypes.Counterparty, version string, ) (string, error)
OnChanOpenInit implements the IBCModule interface
func (IBCModule) OnChanOpenTry ¶
func (im IBCModule) OnChanOpenTry( _ sdk.Context, _ channeltypes.Order, _ []string, _ string, _ string, _ *capabilitytypes.Capability, _ channeltypes.Counterparty, _ string, ) (string, error)
OnChanOpenTry implements the IBCModule interface
func (IBCModule) OnRecvPacket ¶
func (im IBCModule) OnRecvPacket( _ sdk.Context, _ channeltypes.Packet, _ 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( _ sdk.Context, _ channeltypes.Packet, _ sdk.AccAddress, ) error
OnTimeoutPacket implements the IBCModule interface.