Documentation ¶
Index ¶
- type Module
- func (m Module) DefaultGenesis(codec.JSONCodec) json.RawMessage
- func (m Module) GetQueryCmd() *cobra.Command
- func (m Module) GetTxCmd() *cobra.Command
- func (m Module) Name() string
- func (m Module) RegisterGRPCGatewayRoutes(client.Context, *runtime.ServeMux)
- func (m Module) RegisterInterfaces(registry types.InterfaceRegistry)
- func (m Module) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func (m Module) RegisterRESTRoutes(client.Context, *mux.Router)
- func (m Module) ValidateGenesis(codec.JSONCodec, client.TxEncodingConfig, json.RawMessage) error
- type RegisterImplementation
- type RegisterInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct { ModuleName string MsgsInterfaces []RegisterInterface MsgsImplementations []RegisterImplementation }
func (Module) DefaultGenesis ¶
func (m Module) DefaultGenesis(codec.JSONCodec) json.RawMessage
func (Module) GetQueryCmd ¶
func (Module) RegisterGRPCGatewayRoutes ¶
func (Module) RegisterInterfaces ¶
func (m Module) RegisterInterfaces(registry types.InterfaceRegistry)
RegisterInterfaces is the only method that we care about. It registers the injected interfaces into the provided registry, so that it can be decoded.
func (Module) RegisterLegacyAminoCodec ¶
func (m Module) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func (Module) ValidateGenesis ¶
func (m Module) ValidateGenesis(codec.JSONCodec, client.TxEncodingConfig, json.RawMessage) error
type RegisterImplementation ¶
type RegisterInterface ¶
Click to show internal directories.
Click to hide internal directories.