chainutils

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ZeroAddrStr = "0x0000000000000000000000000000000000000000"
)

Variables

This section is empty.

Functions

func ConvStrToBigInt

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

func ConvStrToEthAddress

func ConvStrToEthAddress(s string) (gethcommon.Address, error)

func ConvStrToUint32

func ConvStrToUint32(s string) (uint32, error)

func ConvStrToUint64

func ConvStrToUint64(s string) (uint64, error)

func ConvStrToUint8

func ConvStrToUint8(s string) (uint8, error)

func ConvStrsToUint8List

func ConvStrsToUint8List(s string) []uint8

func ConvUint64ToBigInt

func ConvUint64ToBigInt(i uint64) *big.Int

Types

This section is empty.

Jump to

Keyboard shortcuts

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