utils

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompileSol

func CompileSol(dir string) (string, error)

func EthConversion

func EthConversion(wei uint64, denomination string) (string, error)

func IsHexWithOrWithout0xPrefix

func IsHexWithOrWithout0xPrefix(data string) bool

IsHexWithOrWithout0xPrefix checks if a string is hex with or without `0x` prefix using regular expression: `^(0x)?[0-9a-fA-F]+$`

Types

This section is empty.

Jump to

Keyboard shortcuts

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