utils

package
v0.0.0-...-585dd88 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: LGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const WeiAmount = "1000000000000000000"

Fatalf formats a message to standard error and exits the program. The message is also printed to standard output if standard error is redirected to a different file.

Variables

This section is empty.

Functions

func ConvertDouble2Wei

func ConvertDouble2Wei(str string) (*big.Int, error)

func Fatalf

func Fatalf(format string, args ...interface{})

func IsValidAddress

func IsValidAddress(iaddress interface{}) bool

IsValidAddress validate hex address

func RlpHash

func RlpHash(x interface{}) (h common.Hash)

func SleepDefault

func SleepDefault()

Types

This section is empty.

Jump to

Keyboard shortcuts

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