utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: ISC Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatKali

func FormatKali(amount uint64) string

FormatKali takes the amount of equils as uint64, and returns amount of KALI with 8 decimal places

func KaliToEquil

func KaliToEquil(amount string) (uint64, error)

KaliToEquil takes in a string representation of the KALI value to convert to Equil

func ReadLine

func ReadLine(reader *bufio.Reader) (string, error)

ReadLine reads one line from the given reader with trimmed white space.

Types

This section is empty.

Jump to

Keyboard shortcuts

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