genmsg

package
v2.0.0-rc.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 (a AppModule) ConsensusVersion() uint64

func (AppModule) DefaultGenesis

func (AppModule) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage

func (AppModule) ExportGenesis

func (a AppModule) ExportGenesis(_ sdk.Context, codec codec.JSONCodec) json.RawMessage

func (AppModule) GetQueryCmd

func (a AppModule) GetQueryCmd() *cobra.Command

func (AppModule) GetTxCmd

func (a AppModule) GetTxCmd() *cobra.Command

func (AppModule) InitGenesis

func (a AppModule) InitGenesis(context sdk.Context, codec codec.JSONCodec, message json.RawMessage) []abci.ValidatorUpdate

func (AppModule) Name

func (a AppModule) Name() string

func (AppModule) RegisterGRPCGatewayRoutes

func (a AppModule) RegisterGRPCGatewayRoutes(_ client.Context, _ *runtime.ServeMux)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL