alias

package
v1.6.2-rc8 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoAliasFound = errors.New("no alias is found")
)

Errors

Functions

func Alias added in v1.1.2

func Alias(address string) (string, error)

Alias returns the alias corresponding to address

func EtherAddress added in v1.1.2

func EtherAddress(in string) (common.Address, error)

EtherAddress returns the address in ether format

func GetAliasMap added in v1.1.2

func GetAliasMap() map[string]string

GetAliasMap gets the map from address to alias

func IOAddress added in v1.1.2

func IOAddress(in string) (address.Address, error)

IOAddress returns the address in IoTeX address format

func NewAliasCmd added in v1.1.2

func NewAliasCmd(client ioctl.Client) *cobra.Command

NewAliasCmd represents the alias command

func NewAliasExport

func NewAliasExport(c ioctl.Client) *cobra.Command

NewAliasExport represents the alias export command

func NewAliasImportCmd added in v1.1.2

func NewAliasImportCmd(c ioctl.Client) *cobra.Command

NewAliasImportCmd represents the alias import command

func NewAliasListCmd

func NewAliasListCmd(c ioctl.Client) *cobra.Command

NewAliasListCmd represents the alias list command

func NewAliasRemove

func NewAliasRemove(c ioctl.Client) *cobra.Command

NewAliasRemove represents the removes alias command

func NewAliasSetCmd added in v1.1.3

func NewAliasSetCmd(c ioctl.Client) *cobra.Command

NewAliasSetCmd represents the alias set command

Types

This section is empty.

Jump to

Keyboard shortcuts

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