validation

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirContainsFiles

func DirContainsFiles(dir string) error

DirContainsFiles returns nil if a directory exists and contains files

func ValidateAddress

func ValidateAddress(s string) error

func ValidateContractAddress

func ValidateContractAddress(ctx *ctx.Context, s string) error

ValidateContractAddress validates the given string is a valid contract address and sets the contract address in the ctx

func ValidateInt

func ValidateInt(s string) error

func ValidatePrivateKey

func ValidatePrivateKey(s string) error

func ValidateRpcURL

func ValidateRpcURL(s string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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