cli

package
v0.25.0-binance.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagAddressDelegator    = "address-delegator"
	FlagAddressValidator    = "validator"
	FlagAddressValidatorSrc = "addr-validator-source"
	FlagAddressValidatorDst = "addr-validator-dest"
	FlagPubKey              = "pubkey"
	FlagAmount              = "amount"
	FlagSharesAmount        = "shares-amount"
	FlagSharesPercent       = "shares-percent"

	FlagMoniker  = "moniker"
	FlagIdentity = "identity"
	FlagWebsite  = "website"
	FlagDetails  = "details"

	FlagCommissionRate          = "commission-rate"
	FlagCommissionMaxRate       = "commission-max-rate"
	FlagCommissionMaxChangeRate = "commission-max-change-rate"

	FlagGenesisFormat = "genesis-format"
	FlagNodeID        = "node-id"
	FlagIP            = "ip"

	FlagProposalID = "proposal-id"

	FlagOutputDocument = "output-document" // inspired by wget -O
)

nolint

Variables

This section is empty.

Functions

func GetCmdBeginRedelegate added in v0.20.0

func GetCmdBeginRedelegate(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdBeginRedelegate the begin redelegation command.

func GetCmdBeginUnbonding added in v0.20.0

func GetCmdBeginUnbonding(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdBeginUnbonding implements the begin unbonding validator command.

func GetCmdCreateValidator added in v0.18.0

func GetCmdCreateValidator(cdc *codec.Codec) *cobra.Command

GetCmdCreateValidator implements the create validator command handler.

func GetCmdDelegate

func GetCmdDelegate(cdc *codec.Codec) *cobra.Command

GetCmdDelegate implements the delegate command.

func GetCmdEditValidator added in v0.18.0

func GetCmdEditValidator(cdc *codec.Codec) *cobra.Command

GetCmdEditValidator implements the create edit validator command.

func GetCmdQueryDelegation added in v0.18.0

func GetCmdQueryDelegation(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdQueryDelegation the query delegation command.

func GetCmdQueryDelegations added in v0.18.0

func GetCmdQueryDelegations(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdQueryDelegations implements the command to query all the delegations made from one delegator.

func GetCmdQueryParams

func GetCmdQueryParams(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdQueryPool implements the params query command.

func GetCmdQueryPool

func GetCmdQueryPool(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdQueryPool implements the pool query command.

func GetCmdQueryRedelegation added in v0.20.0

func GetCmdQueryRedelegation(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdQueryRedelegation implements the command to query a single redelegation record.

func GetCmdQueryRedelegations added in v0.20.0

func GetCmdQueryRedelegations(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdQueryRedelegations implements the command to query all the redelegation records for a delegator.

func GetCmdQueryUnbondingDelegation added in v0.20.0

func GetCmdQueryUnbondingDelegation(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdQueryUnbondingDelegation implements the command to query a single unbonding-delegation record.

func GetCmdQueryUnbondingDelegations added in v0.20.0

func GetCmdQueryUnbondingDelegations(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdQueryUnbondingDelegations implements the command to query all the unbonding-delegation records for a delegator.

func GetCmdQueryValidator added in v0.18.0

func GetCmdQueryValidator(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdQueryValidator implements the validator query command.

func GetCmdQueryValidators added in v0.18.0

func GetCmdQueryValidators(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdQueryValidators implements the query all validators command.

func GetCmdRedelegate added in v0.20.0

func GetCmdRedelegate(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdRedelegate implements the redelegate validator command.

func GetCmdUnbond

func GetCmdUnbond(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdUnbond implements the unbond validator command.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL