Documentation ¶
Index ¶
- Constants
- type Module
- func (*Module) DefaultGenesis(_ codec.JSONCodec) json.RawMessage
- func (*Module) ExportGenesis(_ sdk.Context, _ codec.JSONCodec) json.RawMessage
- func (*Module) GetQueryCmd() *cobra.Command
- func (*Module) GetTxCmd() *cobra.Command
- func (m *Module) InitGenesis(ctx sdk.Context, _ codec.JSONCodec, data json.RawMessage) []abcitypes.ValidatorUpdate
- func (m *Module) IsAppModule()
- func (m *Module) IsOnePerModuleType()
- func (*Module) Name() string
- func (*Module) RegisterGRPCGatewayRoutes(_ client.Context, _ *grpcruntime.ServeMux)
- func (*Module) RegisterInterfaces(r codectypes.InterfaceRegistry)
- func (*Module) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func (*Module) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router)
- func (m *Module) RegisterServices(cfg module.Configurator)
- func (m *Module) ValidateGenesis(_ codec.JSONCodec, _ client.TxEncodingConfig, data json.RawMessage) error
- type ModuleInputs
- type ModuleOutputs
Constants ¶
View Source
const ( ModuleName = "testmodule" StoreKey = ModuleName )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) DefaultGenesis ¶
func (*Module) DefaultGenesis(_ codec.JSONCodec) json.RawMessage
func (*Module) ExportGenesis ¶
func (*Module) GetQueryCmd ¶
func (*Module) InitGenesis ¶
func (m *Module) InitGenesis(ctx sdk.Context, _ codec.JSONCodec, data json.RawMessage) []abcitypes.ValidatorUpdate
func (*Module) IsAppModule ¶
func (m *Module) IsAppModule()
func (*Module) IsOnePerModuleType ¶
func (m *Module) IsOnePerModuleType()
func (*Module) RegisterGRPCGatewayRoutes ¶
func (*Module) RegisterGRPCGatewayRoutes(_ client.Context, _ *grpcruntime.ServeMux)
RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module.
func (*Module) RegisterInterfaces ¶
func (*Module) RegisterInterfaces(r codectypes.InterfaceRegistry)
RegisterInterfaces registers the module's interface types
func (*Module) RegisterLegacyAminoCodec ¶
func (*Module) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func (*Module) RegisterRESTRoutes ¶
RegisterRESTRoutes registers the capability module's REST service handlers.
func (*Module) RegisterServices ¶
func (m *Module) RegisterServices(cfg module.Configurator)
func (*Module) ValidateGenesis ¶
func (m *Module) ValidateGenesis(_ codec.JSONCodec, _ client.TxEncodingConfig, data json.RawMessage) error
type ModuleInputs ¶
type ModuleInputs struct { depinject.In StoreService store.KVStoreService }
type ModuleOutputs ¶
func ProvideModule ¶
func ProvideModule(in ModuleInputs) ModuleOutputs
Click to show internal directories.
Click to hide internal directories.