Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Commands ¶
func Commands( genTxValidator func([]transaction.Msg) error, genMM genesisMM, exportable ExportableApp, ) *cobra.Command
Commands adds core sdk's sub-commands into genesis command.
func CommandsWithCustomMigrationMap ¶
func CommandsWithCustomMigrationMap( genTxValidator func([]transaction.Msg) error, genMM genesisMM, exportable ExportableApp, migrationMap genutiltypes.MigrationMap, ) *cobra.Command
CommandsWithCustomMigrationMap adds core sdk's sub-commands into genesis command with custom migration map. This custom migration map can be used by the application to add its own migration map.
func ExportCmd ¶
func ExportCmd(app ExportableApp) *cobra.Command
ExportCmd dumps app state to JSON.
Types ¶
type ExportableApp ¶
Click to show internal directories.
Click to hide internal directories.