cli

package
v0.30.0-dev1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCmdQueryDelegatorRewards added in v0.30.0

func GetCmdQueryDelegatorRewards(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryDelegatorRewards implements the query delegator rewards command.

func GetCmdQueryOutstandingRewards added in v0.30.0

func GetCmdQueryOutstandingRewards(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryOutstandingRewards implements the query outstanding rewards command.

func GetCmdQueryParams added in v0.30.0

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

GetCmdQueryParams implements the query params command.

func GetCmdQueryValidatorCommission added in v0.30.0

func GetCmdQueryValidatorCommission(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryValidatorCommission implements the query validator commission command.

func GetCmdQueryValidatorSlashes added in v0.30.0

func GetCmdQueryValidatorSlashes(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryValidatorSlashes implements the query validator slashes command.

func GetCmdSetWithdrawAddr

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

GetCmdDelegate implements the delegate command.

func GetCmdWithdrawRewards

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

command to withdraw rewards

func GetTxCmd added in v0.27.0

func GetTxCmd(storeKey string, cdc *amino.Codec) *cobra.Command

GetTxCmd returns the transaction commands for this module

Types

type PrettyParams added in v0.30.0

type PrettyParams struct {
	CommunityTax        json.RawMessage `json:"community_tax"`
	BaseProposerReward  json.RawMessage `json:"base_proposer_reward"`
	BonusProposerReward json.RawMessage `json:"bonus_proposer_reward"`
	WithdrawAddrEnabled json.RawMessage `json:"withdraw_addr_enabled"`
}

Convenience struct for CLI output

func NewPrettyParams added in v0.30.0

func NewPrettyParams(communityTax json.RawMessage, baseProposerReward json.RawMessage, bonusProposerReward json.RawMessage, withdrawAddrEnabled json.RawMessage) PrettyParams

Construct a new PrettyParams

func (PrettyParams) String added in v0.30.0

func (pp PrettyParams) String() string

Jump to

Keyboard shortcuts

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