commands

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagAddressDelegator = "addressD"
	FlagAddressCandidate = "addressC"
	FlagPubKey           = "pubkey"
	FlagAmount           = "amount"
	FlagShares           = "shares"

	FlagMoniker  = "moniker"
	FlagIdentity = "keybase-sig"
	FlagWebsite  = "website"
	FlagDetails  = "details"
)

nolint

Variables

View Source
var (
	FlagValidatorAddr = "address"
	FlagDelegatorAddr = "delegator-address"
)

nolint

Functions

func GetCmdDeclareCandidacy

func GetCmdDeclareCandidacy(cdc *wire.Codec) *cobra.Command

create declare candidacy command

func GetCmdDelegate

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

create edit candidacy command

func GetCmdEditCandidacy

func GetCmdEditCandidacy(cdc *wire.Codec) *cobra.Command

create edit candidacy command

func GetCmdQueryCandidate

func GetCmdQueryCandidate(cdc *wire.Codec, storeName string) *cobra.Command

get the command to query a candidate

func GetCmdQueryCandidates

func GetCmdQueryCandidates(cdc *wire.Codec, storeName string) *cobra.Command

create command to query for all candidates

func GetCmdQueryDelegatorBond

func GetCmdQueryDelegatorBond(cdc *wire.Codec, storeName string) *cobra.Command

get the command to query a single delegator bond

func GetCmdQueryDelegatorBonds

func GetCmdQueryDelegatorBonds(cdc *wire.Codec, storeName string) *cobra.Command

get the command to query all the candidates bonded to a delegator

func GetCmdUnbond

func GetCmdUnbond(cdc *wire.Codec) *cobra.Command

create edit candidacy command

func GetPubKey

func GetPubKey(pubKeyStr string) (pk crypto.PubKey, err error)

create the pubkey from a pubkey string TODO move to a better reusable place

func PrefixedKey

func PrefixedKey(app string, key []byte) []byte

XXX remove dependancy

Types

This section is empty.

Jump to

Keyboard shortcuts

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