Versions in this module Expand all Collapse all v0 v0.48.86 Oct 24, 2023 v0.48.84 Oct 24, 2023 Changes in this version + func DefaultMigrationsOrder(modules []string) []string + type AppModule interface + type AppModuleBasic interface + GetQueryCmd func() *cobra.Command + GetTxCmd func() *cobra.Command + RegisterGRPCGatewayRoutes func(client.Context, *runtime.ServeMux) + RegisterInterfaces func(codectypes.InterfaceRegistry) + RegisterLegacyAminoCodec func(*codec.LegacyAmino) + type AppModuleGenesis interface + type AppModuleSimulation interface + GenerateGenesisState func(input *SimulationState) + ProposalContents func(simState SimulationState) []simulation.WeightedProposalContent + 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) ValidateGenesis(cdc codec.JSONCodec, txEncCfg client.TxEncodingConfig, ...) error + type BeginBlockAppModule interface + BeginBlock func(sdk.Context, abci.RequestBeginBlock) + type Configurator interface + MsgServer func() grpc.Server + QueryServer func() grpc.Server + RegisterMigration func(moduleName string, fromVersion uint64, handler MigrationHandler) error + func NewConfigurator(cdc codec.Codec, msgServer grpc.Server, queryServer grpc.Server) Configurator + type EndBlockAppModule interface + EndBlock func(sdk.Context, abci.RequestEndBlock) []abci.ValidatorUpdate + type GenesisOnlyAppModule struct + func NewGenesisOnlyAppModule(amg AppModuleGenesis) GenesisOnlyAppModule + func (GenesisOnlyAppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate + func (GenesisOnlyAppModule) IsAppModule() + func (GenesisOnlyAppModule) IsOnePerModuleType() + func (GenesisOnlyAppModule) QuerierRoute() string + func (GenesisOnlyAppModule) RegisterInvariants(_ sdk.InvariantRegistry) + func (gam GenesisOnlyAppModule) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) + func (gam GenesisOnlyAppModule) ConsensusVersion() uint64 + func (gam GenesisOnlyAppModule) RegisterServices(Configurator) + type HasConsensusVersion interface + ConsensusVersion func() uint64 + type HasGenesis interface + ExportGenesis func(sdk.Context, codec.JSONCodec) json.RawMessage + InitGenesis func(sdk.Context, codec.JSONCodec, json.RawMessage) []abci.ValidatorUpdate + type HasGenesisBasics interface + DefaultGenesis func(codec.JSONCodec) json.RawMessage + ValidateGenesis func(codec.JSONCodec, client.TxEncodingConfig, json.RawMessage) error + type HasInvariants interface + RegisterInvariants func(sdk.InvariantRegistry) + type HasName interface + Name func() string + type HasServices interface + RegisterServices func(Configurator) + type Manager struct + Modules map[string]interface{} + OrderBeginBlockers []string + OrderEndBlockers []string + OrderExportGenesis []string + OrderInitGenesis []string + OrderMigrations []string + func NewManager(modules ...AppModule) *Manager + func NewManagerFromMap(moduleMap map[string]appmodule.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) ExportGenesisForModules(ctx sdk.Context, cdc codec.JSONCodec, modulesToExport []string) 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) ModuleNames() []string + func (m *Manager) RegisterInvariants(ir sdk.InvariantRegistry) + 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) SetOrderMigrations(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 NewSimulationManagerFromAppModules(modules map[string]interface{}, overrideModules map[string]AppModuleSimulation) *SimulationManager + func (sm *SimulationManager) GenerateGenesisStates(simState *SimulationState) + 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 + BondDenom string + Cdc codec.JSONCodec + Contents []simulation.WeightedProposalContent + GenState map[string]json.RawMessage + GenTimestamp time.Time + InitialStake sdkmath.Int + NumBonded int64 + ParamChanges []simulation.ParamChange + Rand *rand.Rand + UnbondTime time.Duration + type VersionMap map[string]uint64