utils

package
v1.3.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EthCallFromFlagAction

func EthCallFromFlagAction(ctx *cli.Context, s string) error

func EthCallGasFlagAction added in v1.3.0

func EthCallGasFlagAction(ctx *cli.Context, s string) error

func EthCallHeightFlagAction

func EthCallHeightFlagAction(ctx *cli.Context, s string) error

func EthCallToFlagAction

func EthCallToFlagAction(ctx *cli.Context, s string) error

func EthCallValueFlagAction

func EthCallValueFlagAction(ctx *cli.Context, s string) error

func HexStringValidAction added in v1.3.2

func HexStringValidAction(ctx *cli.Context, s string) error

func IsAddress

func IsAddress(v string) bool

func IsHex added in v1.3.2

func IsHex(p string) bool

func IsNumber

func IsNumber(p string) bool

func ParseArgs

func ParseArgs(args []string) (params []any, err error)

func PrintJson

func PrintJson(w io.Writer, data any, pretty bool) error

func ToBigInt

func ToBigInt(s string) *big.Int

func ToWei

func ToWei(amount float64) *big.Int

func URLToGetABI

func URLToGetABI(base, contAddr, key string) (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