Documentation ¶
Index ¶
- Constants
- func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command
- func NewRootCmd() *cobra.Command
- func ProvideClientContext(appCodec codec.Codec, interfaceRegistry codectypes.InterfaceRegistry, ...) client.Context
- func ProvideGovKeeper() govkeeper.Keeper
- func ProvideKeyring(clientCtx client.Context, addressCodec address.Codec) (clientv2keyring.Keyring, error)
- func ProvideStakingKeeper() stakingkeeper.Keeper
Constants ¶
View Source
const ( // FlagOverwrite defines a flag to overwrite an existing genesis JSON file. FlagOverwrite = "overwrite" // FlagSeed defines a flag to initialize the private validator key from a specific seed. FlagRecover = "recover" // FlagDefaultBondDenom defines the default denom to use in the genesis file. FlagDefaultBondDenom = "default-denom" )
Variables ¶
This section is empty.
Functions ¶
func InitCmd ¶ added in v0.9.0
func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command
InitCmd returns a command that initializes all files needed for Tendermint and the respective application.
func NewRootCmd ¶
NewRootCmd creates a new root command for fairyringd. It is called once in the main function.
func ProvideClientContext ¶ added in v0.7.0
func ProvideClientContext( appCodec codec.Codec, interfaceRegistry codectypes.InterfaceRegistry, txConfig client.TxConfig, legacyAmino *codec.LegacyAmino, ) client.Context
func ProvideGovKeeper ¶ added in v0.7.0
This is a hack for root.go, needs to be reverted eventually.
func ProvideKeyring ¶ added in v0.7.0
func ProvideStakingKeeper ¶ added in v0.7.0
func ProvideStakingKeeper() stakingkeeper.Keeper
This is a hack for root.go, needs to be reverted eventually.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.