utils

package
v0.0.0-...-127b1e4 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: OSL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AmountToString

func AmountToString(amount *big.Int) string

func Byte32ToString

func Byte32ToString(b [32]byte) string

func BytesToBytes32

func BytesToBytes32(b []byte) [32]byte

func BytesToString

func BytesToString(b []byte) string

func FindLogEvent

func FindLogEvent(logs []*types.Log, event string) *types.Log

func IsDecimalValid

func IsDecimalValid(s decimal.Decimal) bool

func ParseRevertMessage

func ParseRevertMessage(untrimmedBytes []byte) string

func StringToAmount

func StringToAmount(number string) (*big.Int, error)

func StringToByte32

func StringToByte32(s string) [32]byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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