Documentation ¶
Index ¶
- Constants
- Variables
- func BuildCreateValidatorMsg(cliCtx context.CLIContext) (sdk.Msg, error)
- func GetCmdBonding(cdc *codec.Codec) *cobra.Command
- func GetCmdContractRun(cdc *codec.Codec) *cobra.Command
- func GetCmdCreateValidator(cdc *codec.Codec) *cobra.Command
- func GetCmdDelegate(cdc *codec.Codec) *cobra.Command
- func GetCmdEditValidator(cdc *codec.Codec) *cobra.Command
- func GetCmdQuery(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryBalance(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryDelegator(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryValidator(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryVoter(cdc *codec.Codec) *cobra.Command
- func GetCmdRedelegate(cdc *codec.Codec) *cobra.Command
- func GetCmdTransfer(cdc *codec.Codec) *cobra.Command
- func GetCmdUnbonding(cdc *codec.Codec) *cobra.Command
- func GetCmdUndelegate(cdc *codec.Codec) *cobra.Command
- func GetCmdUnvote(cdc *codec.Codec) *cobra.Command
- func GetCmdVote(cdc *codec.Codec) *cobra.Command
- func GetContractCmd(cdc *codec.Codec) *cobra.Command
- func GetExecutionLayerQueryCmd(cdc *codec.Codec) *cobra.Command
- func GetHdacCustomCmd(cdc *codec.Codec) *cobra.Command
Constants ¶
const ( FlagAddressValidator = "validator" FlagAddressValidatorSrc = "addr-validator-source" FlagAddressValidatorDst = "addr-validator-dest" FlagPubKey = "pubkey" FlagBlockHash = "blockhash" FlagMoniker = "moniker" FlagIdentity = "identity" FlagWebsite = "website" FlagDetails = "details" FlagMinSelfDelegation = "min-self-delegation" FlagGenesisFormat = "genesis-format" FlagNodeID = "node-id" FlagIP = "ip" )
nolint
Variables ¶
var ( FsPk = flag.NewFlagSet("", flag.ContinueOnError) FsAmount = flag.NewFlagSet("", flag.ContinueOnError) DefaultClientHome = os.ExpandEnv("$HOME/.clif") )
common flagsets to add to various functions
Functions ¶
func BuildCreateValidatorMsg ¶ added in v0.3.0
func BuildCreateValidatorMsg(cliCtx context.CLIContext) (sdk.Msg, error)
BuildCreateValidatorMsg implements for adding validator module spec
func GetCmdBonding ¶
GetCmdBonding is the CLI command for bonding
func GetCmdCreateValidator ¶ added in v0.3.0
GetCmdCreateValidator implements the create validator command handler.
func GetCmdEditValidator ¶ added in v0.5.0
GetCmdEditValidator implements the create edit validator command.
func GetCmdQuery ¶
GetCmdQuery is a EE query getter
func GetCmdQueryBalance ¶
GetCmdQueryBalance is a getter of the balance of the address
func GetCmdQueryDelegator ¶ added in v0.8.0
GetCmdQueryDelegator implements the validator query command.
func GetCmdQueryValidator ¶ added in v0.5.0
GetCmdQueryValidator implements the validator query command.
func GetCmdQueryVoter ¶ added in v0.8.0
GetCmdQueryVoter implements the validator query command.
func GetCmdTransfer ¶
GetCmdTransfer is the CLI command for transfer
func GetCmdUnbonding ¶
GetCmdUnbonding is the CLI command for unbonding
func GetContractCmd ¶ added in v0.5.0
GetContractCmd implements custom command especially for contract
func GetExecutionLayerQueryCmd ¶
GetExecutionLayerQueryCmd controls GET type CLI controller
Types ¶
This section is empty.