Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdCreateValidator(cdc *codec.Codec) *cobra.Command
- func GetCmdDelegate(cdc *codec.Codec) *cobra.Command
- func GetCmdEditValidator(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryDelegation(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryDelegations(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryParams(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryPool(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryRedelegation(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryRedelegations(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryUnbondingDelegation(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryUnbondingDelegations(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryValidator(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryValidatorDelegations(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryValidatorRedelegations(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryValidatorUnbondingDelegations(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryValidators(cdc *codec.Codec) *cobra.Command
- func GetCmdRedelegate(cdc *codec.Codec) *cobra.Command
- func GetCmdUnbond(cdc *codec.Codec) *cobra.Command
Constants ¶
const ( FlagAddressDelegator = "address-delegator" FlagAddressValidator = "address-validator" FlagAddressValidatorSrc = "address-validator-source" FlagAddressValidatorDst = "address-validator-dest" FlagPubKey = "pubkey" FlagAmount = "amount" FlagMoniker = "moniker" FlagIdentity = "identity" FlagWebsite = "website" FlagDetails = "details" FlagCommissionRate = "commission-rate" FlagGenesisFormat = "genesis-format" FlagNodeID = "node-id" FlagIP = "ip" FlagOutputDocument = "output-document" // inspired by wget -O )
nolint
Variables ¶
var ( FsPk = flag.NewFlagSet("", flag.ContinueOnError) FsAmount = flag.NewFlagSet("", flag.ContinueOnError) FsCommissionCreate = flag.NewFlagSet("", flag.ContinueOnError) )
common flagsets to add to various functions
Functions ¶
func GetCmdCreateValidator ¶
GetCmdCreateValidator implements the create validator command handler.
func GetCmdDelegate ¶
GetCmdDelegate implements the delegate command.
func GetCmdEditValidator ¶
GetCmdEditValidator implements the create edit validator command.
func GetCmdQueryDelegation ¶
GetCmdQueryDelegation the query delegation command.
func GetCmdQueryDelegations ¶
GetCmdQueryDelegations implements the command to query all the delegations made from one delegator.
func GetCmdQueryParams ¶ added in v0.7.0
GetCmdQueryPool implements the params query command.
func GetCmdQueryPool ¶ added in v0.7.0
GetCmdQueryPool implements the pool query command.
func GetCmdQueryRedelegation ¶
GetCmdQueryRedelegation implements the command to query a single redelegation record.
func GetCmdQueryRedelegations ¶
GetCmdQueryRedelegations implements the command to query all the redelegation records for a delegator.
func GetCmdQueryUnbondingDelegation ¶
GetCmdQueryUnbondingDelegation implements the command to query a single unbonding-delegation record.
func GetCmdQueryUnbondingDelegations ¶
GetCmdQueryUnbondingDelegations implements the command to query all the unbonding-delegation records for a delegator.
func GetCmdQueryValidator ¶
GetCmdQueryValidator implements the validator query command.
func GetCmdQueryValidatorDelegations ¶ added in v0.9.0
GetCmdQueryValidatorDelegations implements the command to query all the delegations to a specific validator.
func GetCmdQueryValidatorRedelegations ¶ added in v0.7.0
GetCmdQueryValidatorRedelegations implements the query all redelegatations from a validator command.
func GetCmdQueryValidatorUnbondingDelegations ¶ added in v0.7.0
GetCmdQueryValidatorUnbondingDelegations implements the query all unbonding delegatations from a validator command.
func GetCmdQueryValidators ¶
GetCmdQueryValidators implements the query all validators command.
func GetCmdRedelegate ¶
GetCmdRedelegate implements the redelegate validator command.
Types ¶
This section is empty.