account

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: Apache-2.0 Imports: 9 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccount

func GetAccount(ctx context.CLIContext, address []byte) (account.Account, error)

func GetAccountFromBech32Addr

func GetAccountFromBech32Addr(ctx context.CLIContext, bech32Addr string) (account.Account, error)

func GetAccountNonce

func GetAccountNonce(ctx context.CLIContext, address []byte) (int64, error)

func GetAddrFromFlag

func GetAddrFromFlag(ctx context.CLIContext, flag string) (types.AccAddress, error)

func GetAddrFromValue

func GetAddrFromValue(ctx context.CLIContext, value string) (types.AccAddress, error)

func GetValidatorAddrFromFlag added in v0.2.4

func GetValidatorAddrFromFlag(ctx context.CLIContext, flag string) (types.ValAddress, error)

func GetValidatorAddrFromValue added in v0.2.4

func GetValidatorAddrFromValue(ctx context.CLIContext, value string) (types.ValAddress, error)

func IsAccountExists

func IsAccountExists(ctx context.CLIContext, address []byte) bool

func QueryAccountCmd

func QueryAccountCmd(cdc *amino.Codec) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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