helpers

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: MIT Imports: 3 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BipToPip

func BipToPip(bip *big.Int) *big.Int

BipToPip converts BIP to PIP (multiplies input by 1e18)

func IsValidBigInt added in v1.1.0

func IsValidBigInt(s string) bool

IsValidBigInt verifies that string is a valid int

func StringToBigInt added in v1.1.0

func StringToBigInt(s string) *big.Int

StringToBigInt converts string to BigInt, panics on empty strings and errors

Types

This section is empty.

Jump to

Keyboard shortcuts

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