common

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: GPL-3.0, LGPL-3.0, LGPL-3.0-or-later Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddressFromText

func GetAddressFromText(whatAddr, addrStr string) (address common.Address)

func GetAddressSlice

func GetAddressSlice(whatAddr string, addresses []string) []common.Address

func GetBigIntFromText

func GetBigIntFromText(whatValue, bigIntStr string) *big.Int

func GetBlockNumberFromText

func GetBlockNumberFromText(numStr string) *big.Int

func GetHashFromText

func GetHashFromText(whatHash, hashStr string) (hash common.Hash)

func GetHashSlice

func GetHashSlice(whatHash string, hashes []string) []common.Hash

func GetHexBigIntFromText

func GetHexBigIntFromText(whatValue, bigIntStr string) *hexutil.Big

func GetHexBigIntSlice

func GetHexBigIntSlice(whatValue string, bigInts []string) []*hexutil.Big

func GetHexUint64

func GetHexUint64(value uint64) *hexutil.Uint64

func GetHexUint64Slice

func GetHexUint64Slice(whatValue string, nums []int64) []*hexutil.Uint64

func GetUint64FromText

func GetUint64FromText(whatValue, str string) uint64

func PrintTx

func PrintTx(tx *types.Transaction, json bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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