Documentation ¶
Index ¶
- Constants
- func GetCmdDeclareCandidacy(cdc *wire.Codec) *cobra.Command
- func GetCmdDelegate(cdc *wire.Codec) *cobra.Command
- func GetCmdEditCandidacy(cdc *wire.Codec) *cobra.Command
- func GetCmdQueryCandidate(storeName string, cdc *wire.Codec) *cobra.Command
- func GetCmdQueryCandidates(storeName string, cdc *wire.Codec) *cobra.Command
- func GetCmdQueryDelegatorBond(storeName string, cdc *wire.Codec) *cobra.Command
- func GetCmdQueryDelegatorBonds(storeName string, cdc *wire.Codec) *cobra.Command
- func GetCmdUnbond(cdc *wire.Codec) *cobra.Command
Constants ¶
View Source
const ( FlagAddressDelegator = "address-delegator" FlagAddressCandidate = "address-candidate" FlagPubKey = "pubkey" FlagAmount = "amount" FlagMoniker = "moniker" FlagIdentity = "keybase-sig" FlagWebsite = "website" FlagDetails = "details" )
nolint
Variables ¶
This section is empty.
Functions ¶
func GetCmdDeclareCandidacy ¶
create declare candidacy command
func GetCmdDelegate ¶
create edit candidacy command
func GetCmdEditCandidacy ¶
create edit candidacy command
func GetCmdQueryCandidate ¶
get the command to query a candidate
func GetCmdQueryCandidates ¶ added in v0.17.0
get the command to query a candidate
func GetCmdQueryDelegatorBond ¶
get the command to query a single delegator bond
func GetCmdQueryDelegatorBonds ¶ added in v0.17.0
get the command to query all the candidates bonded to a delegator
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.