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") // ErrMinusAmount indicates error for an monus amount ErrMinusAmount = errors.New("invalid amount that is minus") )
Errors
Functions ¶
func ValidateAddress ¶
ValidateAddress validates IoTeX address
func ValidateAmount ¶
ValidateAmount validates amount for action
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.