Documentation ¶
Index ¶
- Constants
- type AppModule
- func (a AppModule) ConsensusVersion() uint64
- func (AppModule) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
- func (a AppModule) ExportGenesis(_ sdk.Context, codec codec.JSONCodec) json.RawMessage
- func (a AppModule) GetQueryCmd() *cobra.Command
- func (a AppModule) GetTxCmd() *cobra.Command
- func (a AppModule) InitGenesis(context sdk.Context, codec codec.JSONCodec, message json.RawMessage) []abci.ValidatorUpdate
- func (a AppModule) Name() string
- func (a AppModule) RegisterGRPCGatewayRoutes(_ client.Context, _ *runtime.ServeMux)
- func (a AppModule) RegisterInterfaces(_ types.InterfaceRegistry)
- func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (a AppModule) RegisterLegacyAminoCodec(_ *codec.LegacyAmino)
- func (a AppModule) RegisterServices(_ module.Configurator)
- func (AppModule) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error
- type MessageRouter
Constants ¶
View Source
const (
ModuleName = "genmsg"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppModule ¶
type AppModule struct {
// contains filtered or unexported fields
}
func NewAppModule ¶
func NewAppModule(h MessageRouter) AppModule
func (AppModule) ConsensusVersion ¶
func (AppModule) DefaultGenesis ¶
func (AppModule) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
func (AppModule) ExportGenesis ¶
func (AppModule) GetQueryCmd ¶
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(context sdk.Context, codec codec.JSONCodec, message json.RawMessage) []abci.ValidatorUpdate
func (AppModule) RegisterGRPCGatewayRoutes ¶
func (AppModule) RegisterInterfaces ¶
func (a AppModule) RegisterInterfaces(_ types.InterfaceRegistry)
func (AppModule) RegisterInvariants ¶
func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
func (AppModule) RegisterLegacyAminoCodec ¶
func (a AppModule) RegisterLegacyAminoCodec(_ *codec.LegacyAmino)
func (AppModule) RegisterServices ¶
func (a AppModule) RegisterServices(_ module.Configurator)
func (AppModule) ValidateGenesis ¶
func (AppModule) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error
type MessageRouter ¶
type MessageRouter interface {
Handler(msg sdk.Msg) baseapp.MsgServiceHandler
}
MessageRouter ADR 031 request type routing
Click to show internal directories.
Click to hide internal directories.