Versions in this module Expand all Collapse all v0 v0.0.2 Nov 23, 2021 Changes in this version + type AppModule interface + BeginBlock func(sdk.Context, abci.RequestBeginBlock) + 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.JSONMarshaler) 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.JSONMarshaler, client.TxEncodingConfig, json.RawMessage) error + type AppModuleGenesis interface + ExportGenesis func(sdk.Context, codec.JSONMarshaler) json.RawMessage + InitGenesis func(sdk.Context, codec.JSONMarshaler, 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.JSONMarshaler) 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.JSONMarshaler, txEncCfg client.TxEncodingConfig, ...) error + type Configurator interface + MsgServer func() grpc.Server + QueryServer func() grpc.Server + func NewConfigurator(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) 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.JSONMarshaler) map[string]json.RawMessage + func (m *Manager) InitGenesis(ctx sdk.Context, cdc codec.JSONMarshaler, ...) 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) + 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.JSONMarshaler + Contents []simulation.WeightedProposalContent + GenState map[string]json.RawMessage + GenTimestamp time.Time + InitialStake int64 + NumBonded int64 + ParamChanges []simulation.ParamChange + Rand *rand.Rand + UnbondTime time.Duration