Versions in this module Expand all Collapse all v0 v0.400.3 Oct 18, 2021 v0.400.1 Oct 18, 2021 Changes in this version + func CollectTxs(cdc codec.JSONCodec, txJSONDecoder sdk.TxDecoder, moniker, genTxsDir string, ...) (appGenTxs []sdk.Tx, persistentPeers string, err error) + func DeliverGenTxs(ctx sdk.Context, genTxs []json.RawMessage, stakingKeeper types.StakingKeeper, ...) ([]abci.ValidatorUpdate, error) + func ExportGenesisFile(genDoc *tmtypes.GenesisDoc, genFile string) error + func ExportGenesisFileWithTime(genFile, chainID string, validators []tmtypes.GenesisValidator, ...) error + func GenAppStateFromConfig(cdc codec.JSONCodec, txEncodingConfig client.TxEncodingConfig, ...) (appState json.RawMessage, err error) + func InitGenesis(ctx sdk.Context, stakingKeeper types.StakingKeeper, deliverTx deliverTxfn, ...) (validators []abci.ValidatorUpdate, err error) + func InitializeNodeValidatorFiles(config *cfg.Config) (nodeID string, valPubKey cryptotypes.PubKey, err error) + func InitializeNodeValidatorFilesFromMnemonic(config *cfg.Config, mnemonic string) (nodeID string, valPubKey cryptotypes.PubKey, err error) + func NewAppModule(accountKeeper types.AccountKeeper, stakingKeeper types.StakingKeeper, ...) module.AppModule + func SetGenTxsInAppGenesisState(cdc codec.JSONCodec, txJSONEncoder sdk.TxEncoder, ...) (map[string]json.RawMessage, error) + func ValidateAccountInGenesis(appGenesisState map[string]json.RawMessage, ...) error + type AppModule struct + func (AppModule) ConsensusVersion() uint64 + func (am AppModule) ExportGenesis(_ sdk.Context, cdc codec.JSONCodec) json.RawMessage + func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, data json.RawMessage) []abci.ValidatorUpdate + type AppModuleBasic struct + func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage + func (AppModuleBasic) GetQueryCmd() *cobra.Command + func (AppModuleBasic) GetTxCmd() *cobra.Command + func (AppModuleBasic) Name() string + func (AppModuleBasic) RegisterGRPCGatewayRoutes(_ client.Context, _ *runtime.ServeMux) + func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) + func (b AppModuleBasic) RegisterInterfaces(_ cdctypes.InterfaceRegistry) + func (b AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, txEncodingConfig client.TxEncodingConfig, ...) error