Documentation
¶
Index ¶
- Variables
- func Clear0x(s string) string
- func GetCurrent10MinTimestamp() int64
- func GetSI(number float64) (float64, string)
- func HexStrToBigInt(hexStr string) *big.Int
- func IsInvalidAddress(s string) error
- func MustSoftHexToUint64(s string) uint64
- func PadByteArrayStart(bytearray []byte, totalBytes int) []byte
Constants ¶
This section is empty.
Variables ¶
BigMax256bit represents 2^256
Functions ¶
func GetCurrent10MinTimestamp ¶
func GetCurrent10MinTimestamp() int64
GetCurrent10MinTimestamp returns current timestamp without other 10 min remainder
func HexStrToBigInt ¶
HexStrToBigInt converts hex string to big.Int
func IsInvalidAddress ¶
IsInvalidAddress checks if given address is invalid
func MustSoftHexToUint64 ¶
MustSoftHexToUint64 is a must function that converts Hex to Uint64 without panic
func PadByteArrayStart ¶
PadByteArrayStart pads big endian integer to required amount of bytes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.