gflr

package
v0.0.0-...-25eaa32 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2021 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Addresses

func Addresses(tag string) (string, error)

func Balance

func Balance(address string) (*big.Int, error)

func BalanceERC1155

func BalanceERC1155(tokenContract, address string, id *big.Int) (*big.Int, error)

func BalanceERC20

func BalanceERC20(tokenContract, address string) (*big.Float, error)

func BalanceERC721

func BalanceERC721(tokenContract, address string) (*big.Int, error)

func Block

func Block(number int) (*types.Block, error)

func Float2Int

func Float2Int(amount float64, decimals int) *big.Int

func GenerateWallet

func GenerateWallet() (string, string, error)

func GetDir

func GetDir() (string, error)

func GetHost

func GetHost() (string, error)

func InputHidden

func InputHidden(prompt string) (string, error)

func Int2Float

func Int2Float(amount *big.Int, decimals int) *big.Float

func OwnerERC721

func OwnerERC721(tokenContract string, id *big.Int) (string, error)

func Send

func Send(secret, address string, amount float64) (string, error)

func SendERC1155

func SendERC1155(secret, tokenContract, address string, id *big.Int, amount *big.Int) (string, error)

func SendERC20

func SendERC20(secret, tokenContract, address string, amount float64) (string, error)

func SendERC721

func SendERC721(secret, tokenContract, address string, id *big.Int) (string, error)

func SetHost

func SetHost(h string) error

func ToAddress

func ToAddress(secret string) (string, error)

func Unlock

func Unlock(ks, passphrase string) (string, error)

func ValidateAddress

func ValidateAddress(address string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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