alias

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AliasCmd = &cobra.Command{
	Use:   "alias",
	Short: config.TranslateInLang(_aliasCmdShorts, config.UILanguage),
}

AliasCmd represents the alias command

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

Errors

Functions

func Alias

func Alias(address string) (string, error)

Alias returns the alias corresponding to address

func EtherAddress

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

EtherAddress returns the address in ether _format

func GetAliasMap

func GetAliasMap() map[string]string

GetAliasMap gets the map from address to alias

func IOAddress

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

IOAddress returns the address in IoTeX address _format

Types

This section is empty.

Jump to

Keyboard shortcuts

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