account

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ZeroAddress = common.HexToAddress("0x0000000000000000000000000000000000000000")

	EthAddressRegex = regexp.MustCompile(ethAddressRegexString)
)

Functions

func IsValidAddress

func IsValidAddress(iAddress any) bool

IsValidAddress validate hex address

func IsZeroAddress

func IsZeroAddress(iAddress any) bool

IsZeroAddress validate if it's a 0 address

Types

This section is empty.

Jump to

Keyboard shortcuts

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