precompiled

package
v0.0.0-...-7c0078d Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// non-precompiled contract error code, only used when logic errors occur
	DefaultErrorCode int64 = -1
)

Variables

This section is empty.

Functions

func BigIntToInt64

func BigIntToInt64(bigNum *big.Int) (int64, error)

func BigIntToUint64

func BigIntToUint64(bigNum *big.Int) (uint64, error)

func GetCommonErrorCodeMessage

func GetCommonErrorCodeMessage(errorCode int64) string

GetCommonErrorCodeMessage returns the message of common error code

func ParseBigIntFromOutput

func ParseBigIntFromOutput(abiStr, name string, receipt *types.Receipt) (*big.Int, error)

func Uint64ToInt64

func Uint64ToInt64(num uint64) (int64, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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