Versions in this module Expand all Collapse all v0 v0.43.1 Aug 21, 2021 Changes in this version + type AppModule interface + BeginBlock func(sdk.Context, abci.RequestBeginBlock) + ConsensusVersion func() uint64 + EndBlock func(sdk.Context, abci.RequestEndBlock) []abci.ValidatorUpdate + LegacyQuerierHandler func(*codec.LegacyAmino) sdk.Querier + QuerierRoute func() string + RegisterInvariants func(sdk.InvariantRegistry) + RegisterServices func(Configurator) + Route func() sdk.Route + func NewGenesisOnlyAppModule(amg AppModuleGenesis) AppModule + type AppModuleBasic interface + DefaultGenesis func(codec.JSONCodec) json.RawMessage + GetQueryCmd func() *cobra.Command + GetTxCmd func() *cobra.Command + Name func() string + RegisterGRPCGatewayRoutes func(client.Context, *runtime.ServeMux) + RegisterInterfaces func(codectypes.InterfaceRegistry) + RegisterLegacyAminoCodec func(*codec.LegacyAmino) + RegisterRESTRoutes func(client.Context, *mux.Router) + ValidateGenesis func(codec.JSONCodec, client.TxEncodingConfig, json.RawMessage) error + type AppModuleGenesis interface + ExportGenesis func(sdk.Context, codec.JSONCodec) json.RawMessage + InitGenesis func(sdk.Context, codec.JSONCodec, json.RawMessage) []abci.ValidatorUpdate + type AppModuleSimulation interface + GenerateGenesisState func(input *SimulationState) + ProposalContents func(simState SimulationState) []simulation.WeightedProposalContent + RandomizedParams func(r *rand.Rand) []simulation.ParamChange + RegisterStoreDecoder func(sdk.StoreDecoderRegistry) + WeightedOperations func(simState SimulationState) []simulation.WeightedOperation + type BasicManager map[string]AppModuleBasic + func NewBasicManager(modules ...AppModuleBasic) BasicManager + func (bm BasicManager) AddQueryCommands(rootQueryCmd *cobra.Command) + func (bm BasicManager) AddTxCommands(rootTxCmd *cobra.Command) + func (bm BasicManager) DefaultGenesis(cdc codec.JSONCodec) map[string]json.RawMessage + func (bm BasicManager) RegisterGRPCGatewayRoutes(clientCtx client.Context, rtr *runtime.ServeMux) + func (bm BasicManager) RegisterInterfaces(registry codectypes.InterfaceRegistry) + func (bm BasicManager) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func (bm BasicManager) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) + func (bm BasicManager) ValidateGenesis(cdc codec.JSONCodec, txEncCfg client.TxEncodingConfig, ...) error + type Configurator interface + MsgServer func() grpc.Server + QueryServer func() grpc.Server + RegisterMigration func(moduleName string, forVersion uint64, handler MigrationHandler) error + func NewConfigurator(cdc codec.Codec, msgServer grpc.Server, queryServer grpc.Server) Configurator + type GenesisOnlyAppModule struct + func (GenesisOnlyAppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate + func (GenesisOnlyAppModule) QuerierRoute() string + func (GenesisOnlyAppModule) RegisterInvariants(_ sdk.InvariantRegistry) + func (GenesisOnlyAppModule) Route() sdk.Route + func (gam GenesisOnlyAppModule) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) + func (gam GenesisOnlyAppModule) ConsensusVersion() uint64 + func (gam GenesisOnlyAppModule) LegacyQuerierHandler(*codec.LegacyAmino) sdk.Querier + func (gam GenesisOnlyAppModule) RegisterServices(Configurator) + type Manager struct + Modules map[string]AppModule + OrderBeginBlockers []string + OrderEndBlockers []string + OrderExportGenesis []string + OrderInitGenesis []string + func NewManager(modules ...AppModule) *Manager + func (m *Manager) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock + func (m *Manager) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock + func (m *Manager) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) map[string]json.RawMessage + func (m *Manager) GetVersionMap() VersionMap + func (m *Manager) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, genesisData map[string]json.RawMessage) abci.ResponseInitChain + func (m *Manager) RegisterInvariants(ir sdk.InvariantRegistry) + func (m *Manager) RegisterRoutes(router sdk.Router, queryRouter sdk.QueryRouter, ...) + func (m *Manager) RegisterServices(cfg Configurator) + func (m *Manager) SetOrderBeginBlockers(moduleNames ...string) + func (m *Manager) SetOrderEndBlockers(moduleNames ...string) + func (m *Manager) SetOrderExportGenesis(moduleNames ...string) + func (m *Manager) SetOrderInitGenesis(moduleNames ...string) + func (m Manager) RunMigrations(ctx sdk.Context, cfg Configurator, fromVM VersionMap) (VersionMap, error) + type MigrationHandler func(sdk.Context) error + type SimulationManager struct + Modules []AppModuleSimulation + StoreDecoders sdk.StoreDecoderRegistry + func NewSimulationManager(modules ...AppModuleSimulation) *SimulationManager + func (sm *SimulationManager) GenerateGenesisStates(simState *SimulationState) + func (sm *SimulationManager) GenerateParamChanges(seed int64) (paramChanges []simulation.ParamChange) + func (sm *SimulationManager) GetProposalContents(simState SimulationState) []simulation.WeightedProposalContent + func (sm *SimulationManager) RegisterStoreDecoders() + func (sm *SimulationManager) WeightedOperations(simState SimulationState) []simulation.WeightedOperation + type SimulationState struct + Accounts []simulation.Account + AppParams simulation.AppParams + Cdc codec.JSONCodec + Contents []simulation.WeightedProposalContent + GenState map[string]json.RawMessage + GenTimestamp time.Time + InitialStake int64 + NumBonded int64 + ParamChanges []simulation.ParamChange + Rand *rand.Rand + UnbondTime time.Duration + type VersionMap map[string]uint64