utils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: ISC Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatSdr

func FormatSdr(amount uint64) string

FormatSdr takes the amount of seeps as uint64, and returns amount of SDR 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 SdrToSeep

func SdrToSeep(amount string) (uint64, error)

SdrToSeep takes in a string representation of the Sdr value to convert to Seep

Types

This section is empty.

Jump to

Keyboard shortcuts

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