utils

package
v0.14.6 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: ISC Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatWala added in v0.14.5

func FormatWala(amount uint64) string

FormatWala takes the amount of leors as uint64, and returns amount of WALA with 8 decimal places

func ReadLine

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

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

func WalaToLeor added in v0.14.5

func WalaToLeor(amount string) (uint64, error)

WalaToLeor takes in a string representation of the Kas value to convert to Sompi

Types

This section is empty.

Jump to

Keyboard shortcuts

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