Versions in this module Expand all Collapse all v0 v0.50.9 Jul 10, 2024 Changes in this version + func AddGenesisAccount(cdc codec.Codec, accAddr sdk.AccAddress, appendAcct bool, ...) error + 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(genesis *types.AppGenesis, genFile string) error + func ExportGenesisFileWithTime(genFile, chainID string, validators []cmttypes.GenesisValidator, ...) error + func GenAppStateFromConfig(cdc codec.JSONCodec, txEncodingConfig client.TxEncodingConfig, ...) (appState json.RawMessage, err error) + func InitGenesis(ctx sdk.Context, stakingKeeper types.StakingKeeper, ...) (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.GenesisOnlyAppModule + func ProvideModule(in ModuleInputs) appmodule.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 (AppModule) IsAppModule() + func (AppModule) IsOnePerModuleType() + 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 + GenTxValidator types.MessageValidator + func NewAppModuleBasic(validator types.MessageValidator) AppModuleBasic + func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage + func (AppModuleBasic) Name() string + func (AppModuleBasic) RegisterGRPCGatewayRoutes(_ client.Context, _ *gwruntime.ServeMux) + func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func (b AppModuleBasic) RegisterInterfaces(cdctypes.InterfaceRegistry) + func (b AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, txEncodingConfig client.TxEncodingConfig, ...) error + type ModuleInputs struct + AccountKeeper types.AccountKeeper + Config client.TxConfig + DeliverTx genesis.TxHandler + StakingKeeper types.StakingKeeper Other modules containing this package github.com/T-ragon/cosmos-sdk/v3