Documentation ¶
Index ¶
Constants ¶
View Source
const (
// IoAddrLen defines length of IoTeX address
IoAddrLen = 41
)
Variables ¶
View Source
var ( // ErrInvalidAddr indicates error for an invalid address ErrInvalidAddr = errors.New("invalid IoTeX address") // ErrLongName indicates error for a long name more than 40 characters ErrLongName = errors.New("invalid long name that is more than 40 characters") // ErrNonPositiveNumber indicates error for a non-positive number ErrNonPositiveNumber = errors.New("invalid number that is not positive") )
Errors
Functions ¶
func ValidateAddress ¶
ValidateAddress validates IoTeX address
func ValidatePositiveNumber ¶
ValidatePositiveNumber validates positive Number for action
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.