Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdDeclareCandidacy(cdc *wire.Codec) *cobra.Command
- func GetCmdDelegate(cdc *wire.Codec) *cobra.Command
- func GetCmdEditCandidacy(cdc *wire.Codec) *cobra.Command
- func GetCmdQueryCandidate(cdc *wire.Codec, storeName string) *cobra.Command
- func GetCmdQueryCandidates(cdc *wire.Codec, storeName string) *cobra.Command
- func GetCmdQueryDelegatorBond(cdc *wire.Codec, storeName string) *cobra.Command
- func GetCmdQueryDelegatorBonds(cdc *wire.Codec, storeName string) *cobra.Command
- func GetCmdUnbond(cdc *wire.Codec) *cobra.Command
- func GetPubKey(pubKeyStr string) (pk crypto.PubKey, err error)
- func PrefixedKey(app string, key []byte) []byte
Constants ¶
View Source
const ( FlagAddressDelegator = "addressD" FlagAddressCandidate = "addressC" FlagPubKey = "pubkey" FlagAmount = "amount" FlagMoniker = "moniker" FlagIdentity = "keybase-sig" FlagWebsite = "website" FlagDetails = "details" )
nolint
Variables ¶
View Source
var ( FlagValidatorAddr = "address" FlagDelegatorAddr = "delegator-address" )
nolint
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 ¶
create command to query for all candidates
func GetCmdQueryDelegatorBond ¶
get the command to query a single delegator bond
func GetCmdQueryDelegatorBonds ¶
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.