utils

package
v0.0.0-...-61460eb Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoinToFloat

func CoinToFloat(val *big.Int, decimalnum int32) float64

func DoubleSha256

func DoubleSha256(data []byte) []byte

func FloatToCoin

func FloatToCoin(val float64, decimalnum int32) *big.Int

FloatToCoin coverts float64 to coin.

func GetTokenCoinNum

func GetTokenCoinNum(decimal int32) *big.Int

func MathAdd

func MathAdd(temp float64, temp2 float64, de int32) float64

func MathSub

func MathSub(temp float64, temp2 float64, de int32) float64

func ValidHeliumAddress

func ValidHeliumAddress(address string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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