alias

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: Apache-2.0 Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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