common

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryParams

func QueryParams(cliCtx context.CLIContext, queryRoute string) (params types.Params, err error)

QueryParams actually queries distribution params

func QueryValidatorCommission

func QueryValidatorCommission(cliCtx context.CLIContext, queryRoute string, validatorAddr sdk.ValAddress) (
	[]byte, error)

QueryValidatorCommission returns a validator's commission.

func WithdrawValidatorRewardsAndCommission

func WithdrawValidatorRewardsAndCommission(validatorAddr sdk.ValAddress) ([]sdk.Msg, error)

WithdrawValidatorRewardsAndCommission builds a two-message message slice to be used to withdraw both validation's commission and self-delegation reward.

Types

This section is empty.

Jump to

Keyboard shortcuts

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