Versions in this module Expand all Collapse all v1 v1.0.1 Mar 1, 2020 Changes in this version + const BlocksPerDay + const BlocksPerHour + const BlocksPerMin + const BlocksPerMonth + const BlocksPerWeek + const BlocksPerYear + var CurrencyIndexMap = map[string]uint64 + var CurrencyUnit = []string + var DataSizeMultiplier = map[string]uint64 + var DataSizeUnit = []string + var SpeedMultiplier = map[string]int64 + var SpeedUnit = []string + var TimeUnit = []string + func FormatBool(value bool) string + func FormatCurrency(fund common.BigInt, extra ...string) (formatted string) + func FormatSpeed(speed int64) (formatted string) + func FormatStorage(dataSize uint64, storage bool) (formatted string) + func FormatTime(time uint64) (formatted string) + func ParseBool(str string) (parsed bool, err error) + func ParseCurrency(str string) (parsed common.BigInt, err error) + func ParseSpeed(str string) (parsed int64, err error) + func ParseStorage(str string) (parsed uint64, err error) + func ParseTime(str string) (parsed uint64, err error) + func ParseUint64(data string, factor uint64, unit string) (parsed uint64, err error)