cli

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MPL-2.0 Imports: 21 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"
	FlagOffline       = "offline"
	FlagNodeID        = "node-id"
	FlagIP            = "ip"

	FlagProposalID        = "proposal-id"
	FlagConsAddrValidator = "cons-addr-validator"
	FlagDeposit           = "deposit"
	FlagVotingPeriod      = "voting-period"

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

	FlagSideChainId  = "side-chain-id"
	FlagSideConsAddr = "side-cons-addr"
	FlagSideFeeAddr  = "side-fee-addr"
)

nolint

Variables

This section is empty.

Functions

func AddCommands

func AddCommands(root *cobra.Command, cdc *codec.Codec)

func GetCmdCreateSideChainValidator

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

func GetCmdCreateValidator

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

GetCmdCreateValidator implements the create validator command handler.

func GetCmdCreateValidatorOpen

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

func GetCmdDelegate

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

GetCmdDelegate implements the delegate command.

func GetCmdEditSideChainValidator

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

func GetCmdEditValidator

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

GetCmdEditValidator implements the create edit validator command.

func GetCmdQueryCrossStakeInfoByAxcAddress

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

GetCmdQueryCrossStakeInfoByAxcAddress implements the cross stake reward query command.

func GetCmdQueryDelegation

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

GetCmdQueryDelegation the query delegation command.

func GetCmdQueryDelegations

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

GetCmdQueryParams implements the params query command.

func GetCmdQueryPool

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

GetCmdQueryPool implements the pool query command.

func GetCmdQueryRedelegation

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

GetCmdQueryRedelegation implements the command to query a single redelegation record.

func GetCmdQueryRedelegations

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

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

func GetCmdQuerySideAllValidatorsCount

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

func GetCmdQuerySideChainDelegation

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

func GetCmdQuerySideChainDelegations

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

func GetCmdQuerySideChainPool

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

func GetCmdQuerySideChainReDelegationsByValidator

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

func GetCmdQuerySideChainRedelegation

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

GetCmdQueryRedelegation implements the command to query a single redelegation record.

func GetCmdQuerySideChainRedelegations

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

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

func GetCmdQuerySideChainTopValidators

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

func GetCmdQuerySideChainUnbondingDelegation

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

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

func GetCmdQuerySideChainUnbondingDelegations

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

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

func GetCmdQuerySideChainUnbondingDelegationsByValidator

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

func GetCmdQuerySideParams

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

func GetCmdQuerySideValidator

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

func GetCmdQueryUnbondingDelegation

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

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

func GetCmdQueryUnbondingDelegations

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

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

GetCmdQueryValidator implements the validator query command.

func GetCmdQueryValidators

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

GetCmdQueryValidators implements the query all validators command.

func GetCmdRedelegate

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

GetCmdRedelegate implements the redelegate validator command.

func GetCmdRemoveValidator

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

GetCmdEditValidator implements the create edit validator command.

func GetCmdSideChainDelegate

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

func GetCmdSideChainRedelegate

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

func GetCmdSideChainUnbond

func GetCmdSideChainUnbond(cdc *codec.Codec) *cobra.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