Documentation ¶
Index ¶
- Constants
- Variables
- func Bech32Cmd() *cobra.Command
- func Bech32DecodeCmd() *cobra.Command
- func Bech32EncodeCmd() *cobra.Command
- func CheckLibwasmVersion(_ *cobra.Command, _ []string) error
- func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command
- func NewRootCmd() *cobra.Command
- func NewTestnetCmd(mbm module.BasicManager) *cobra.Command
- func PrepareGenesis(clientCtx client.Context, appState map[string]json.RawMessage, ...) map[string]json.RawMessage
- type GenesisParams
- type TestnetNode
Constants ¶
View Source
const ( HumanCoinUnit = "stars" BaseCoinUnit = "ustars" StarsExponent = 6 Bech32PrefixAccAddr = "stars" )
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" )
View Source
const EnvironmentPrefix = "STARGAZE"
Variables ¶
View Source
var LibwasmVersion = "1.5.2"
Functions ¶
func Bech32DecodeCmd ¶
func Bech32EncodeCmd ¶
func InitCmd ¶
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 wasmd. It is called once in the main function.
func NewTestnetCmd ¶
func NewTestnetCmd(mbm module.BasicManager) *cobra.Command
func PrepareGenesis ¶
func PrepareGenesis( clientCtx client.Context, appState map[string]json.RawMessage, genesisParams GenesisParams, ) map[string]json.RawMessage
Types ¶
type GenesisParams ¶
type GenesisParams struct { GenesisTime time.Time NativeCoinMetadatas []banktypes.Metadata StakingParams stakingtypes.Params DistributionParams distributiontypes.Params SlashingParams slashingtypes.Params AllocParams alloctypes.Params MintParams minttypes.Params GlobalFeeParams globalfeetypes.Params WasmParams wasmtypes.Params GovParams govtypes.Params TokenFactoryParams tokenfactorytypes.Params ConsensusParams *cmtproto.ConsensusParams CrisisConstantFee sdk.Coin }
Click to show internal directories.
Click to hide internal directories.