utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringToBigInt

func StringToBigInt(s string) (*big.Int, error)

func Uint64ToEthBytes

func Uint64ToEthBytes(u uint64) []byte

Types

type Hash

type Hash [32]byte

func EthHash

func EthHash(b []byte) Hash

func HashBytes

func HashBytes(b ...[]byte) (hash Hash)

Jump to

Keyboard shortcuts

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