utils

package
v0.0.0-...-c447edc Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareMethodId

func CompareMethodId(methodBS []byte, data []byte) bool

func CreateSparkline

func CreateSparkline(data []float64, width, height int, backColor color.Color, foreColor color.Color) ([]byte, error)

func FormarValueToGWEI

func FormarValueToGWEI(value *big.Int) string

func FormatIntString

func FormatIntString(str string) string

func IsRoot

func IsRoot() bool

func PackBytes

func PackBytes(data []byte) []byte

func ParseDatabigInt

func ParseDatabigInt(data []byte) *big.Int

func TrFrom

func TrFrom(tx *types.Transaction) *common.Address

func UnpackBytes

func UnpackBytes(zippedData []byte) (result []byte, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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