Documentation ¶
Index ¶
- type AppModule
- func (am AppModule) BeginBlock(ctx sdk.Context, _ abcitypes.RequestBeginBlock)
- func (am AppModule) ConsensusVersion() uint64
- func (am AppModule) EndBlock(_ sdk.Context, _ abcitypes.RequestEndBlock) []abcitypes.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx sdk.Context, jsonCodec codec.JSONCodec) json.RawMessage
- func (am AppModule) GenerateGenesisState(_ *sdkmodule.SimulationState)
- func (am AppModule) InitGenesis(ctx sdk.Context, jsonCodec codec.JSONCodec, message json.RawMessage) []abcitypes.ValidatorUpdate
- func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (am AppModule) RegisterServices(configurator sdkmodule.Configurator)
- func (am AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)
- func (am AppModule) WeightedOperations(_ sdkmodule.SimulationState) []sdksimulation.WeightedOperation
- type AppModuleBasic
- func (amb AppModuleBasic) DefaultGenesis(jsonCodec codec.JSONCodec) json.RawMessage
- func (amb AppModuleBasic) GetQueryCmd() *cobra.Command
- func (amb AppModuleBasic) GetTxCmd() *cobra.Command
- func (amb AppModuleBasic) Name() string
- func (amb AppModuleBasic) RegisterGRPCGatewayRoutes(ctx client.Context, mux *runtime.ServeMux)
- func (amb AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func (amb AppModuleBasic) RegisterLegacyAminoCodec(_ *codec.LegacyAmino)
- func (amb AppModuleBasic) ValidateGenesis(jsonCodec codec.JSONCodec, _ client.TxEncodingConfig, message json.RawMessage) error
- type IBCModule
- func (im IBCModule) OnAcknowledgementPacket(ctx sdk.Context, packet ibcchanneltypes.Packet, acknowledgement []byte, ...) error
- func (im IBCModule) OnChanCloseConfirm(_ sdk.Context, _, _ string) error
- func (im IBCModule) OnChanCloseInit(_ sdk.Context, _, _ string) error
- func (im IBCModule) OnChanOpenAck(_ sdk.Context, _, _, _ string, counterpartyVersion string) error
- func (im IBCModule) OnChanOpenConfirm(_ sdk.Context, _, _ string) error
- func (im IBCModule) OnChanOpenInit(ctx sdk.Context, _ ibcchanneltypes.Order, _ []string, portID, channelID string, ...) (string, error)
- func (im IBCModule) OnChanOpenTry(ctx sdk.Context, _ ibcchanneltypes.Order, _ []string, portID, channelID string, ...) (string, error)
- func (im IBCModule) OnRecvPacket(_ sdk.Context, _ ibcchanneltypes.Packet, _ sdk.AccAddress) ibcexported.Acknowledgement
- func (im IBCModule) OnTimeoutPacket(ctx sdk.Context, packet ibcchanneltypes.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 { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
func NewAppModule(cdc codec.BinaryCodec, k keeper.Keeper) AppModule
func (AppModule) BeginBlock ¶
func (am AppModule) BeginBlock(ctx sdk.Context, _ abcitypes.RequestBeginBlock)
func (AppModule) ConsensusVersion ¶
func (AppModule) EndBlock ¶
func (am AppModule) EndBlock(_ sdk.Context, _ abcitypes.RequestEndBlock) []abcitypes.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (AppModule) GenerateGenesisState ¶
func (am AppModule) GenerateGenesisState(_ *sdkmodule.SimulationState)
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx sdk.Context, jsonCodec codec.JSONCodec, message json.RawMessage) []abcitypes.ValidatorUpdate
func (AppModule) RegisterInvariants ¶
func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
func (AppModule) RegisterServices ¶
func (am AppModule) RegisterServices(configurator sdkmodule.Configurator)
func (AppModule) RegisterStoreDecoder ¶
func (am AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)
func (AppModule) WeightedOperations ¶
func (am AppModule) WeightedOperations(_ sdkmodule.SimulationState) []sdksimulation.WeightedOperation
type AppModuleBasic ¶
type AppModuleBasic struct{}
func (AppModuleBasic) DefaultGenesis ¶
func (amb AppModuleBasic) DefaultGenesis(jsonCodec codec.JSONCodec) json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (amb AppModuleBasic) GetQueryCmd() *cobra.Command
func (AppModuleBasic) GetTxCmd ¶
func (amb AppModuleBasic) GetTxCmd() *cobra.Command
func (AppModuleBasic) Name ¶
func (amb AppModuleBasic) Name() string
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (amb AppModuleBasic) RegisterGRPCGatewayRoutes(ctx client.Context, mux *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶
func (amb AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (amb AppModuleBasic) RegisterLegacyAminoCodec(_ *codec.LegacyAmino)
func (AppModuleBasic) ValidateGenesis ¶
func (amb AppModuleBasic) ValidateGenesis(jsonCodec codec.JSONCodec, _ client.TxEncodingConfig, message json.RawMessage) error
type IBCModule ¶
type IBCModule struct {
// contains filtered or unexported fields
}
func (IBCModule) OnAcknowledgementPacket ¶
func (im IBCModule) OnAcknowledgementPacket( ctx sdk.Context, packet ibcchanneltypes.Packet, acknowledgement []byte, _ sdk.AccAddress, ) error
func (IBCModule) OnChanCloseConfirm ¶
func (IBCModule) OnChanCloseInit ¶
func (IBCModule) OnChanOpenAck ¶
func (IBCModule) OnChanOpenConfirm ¶
func (IBCModule) OnChanOpenInit ¶
func (im IBCModule) OnChanOpenInit( ctx sdk.Context, _ ibcchanneltypes.Order, _ []string, portID, channelID string, channelCap *capabilitytypes.Capability, _ ibcchanneltypes.Counterparty, version string, ) (string, error)
func (IBCModule) OnChanOpenTry ¶
func (im IBCModule) OnChanOpenTry( ctx sdk.Context, _ ibcchanneltypes.Order, _ []string, portID, channelID string, channelCap *capabilitytypes.Capability, _ ibcchanneltypes.Counterparty, counterpartyVersion string, ) (string, error)
func (IBCModule) OnRecvPacket ¶
func (im IBCModule) OnRecvPacket(_ sdk.Context, _ ibcchanneltypes.Packet, _ sdk.AccAddress) ibcexported.Acknowledgement
func (IBCModule) OnTimeoutPacket ¶
func (im IBCModule) OnTimeoutPacket(ctx sdk.Context, packet ibcchanneltypes.Packet, _ sdk.AccAddress) error
Click to show internal directories.
Click to hide internal directories.