address

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ZeroAddr = "0000000000000000000000000000000000000000"

ZeroAddr 0

View Source
var ZeroAddrWithPrefix = "0x0000000000000000000000000000000000000000"

ZeroAddrWithPrefix 0x0

Functions

func IsValidAddress

func IsValidAddress(addr string) bool

IsValidAddress validity verification

func IsZeroAddress

func IsZeroAddress(addr string) bool

IsZeroAddress return bool

Types

type Address

type Address [20]byte

Address herbt address

func ParseAddress

func ParseAddress(addrStr string) (*Address, error)

ParseAddress get Address obj from str

func (*Address) ToString

func (addr *Address) ToString() string

ToString Address obj to str

Jump to

Keyboard shortcuts

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