utils

package
v0.0.0-...-ab58f20 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChkErr

func ChkErr(e error)

func GetKeyStore

func GetKeyStore(keyStoreFile string) (string, string)

func GetStringFromStdin

func GetStringFromStdin(hintText string, confidential bool) string

func ParseBackendProfileJSON

func ParseBackendProfileJSON(path string) *common.ProfileJSON

func Wei2BigInt

func Wei2BigInt(wei string) *big.Int

Wei2BigInt convert decimal wei string to big.Int

func WeiToEthStr

func WeiToEthStr(wei *big.Int) string

WeiToEthStr returns easy to read xxx.xxx string in ETH unit

Types

This section is empty.

Jump to

Keyboard shortcuts

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