utils

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddressAndKey

func GetAddressAndKey(keystoreFilePath, password string) (common.Address, *keystore.Key)

func GetFirstBoolArgument

func GetFirstBoolArgument(ctx *cli.Context) bool

func GetFirstIntArgument

func GetFirstIntArgument(ctx *cli.Context) int64

GetFirstIntArgument returns the value of the first uint64 argument

func GetFirstStringArgument

func GetFirstStringArgument(ctx *cli.Context) string

GetFirstStringArgument returns the value of the first string argument

func GetFirstTwoIntArgument

func GetFirstTwoIntArgument(ctx *cli.Context) (int64, int64)

func GetPassword

func GetPassword() string

func PrepareAll

func PrepareAll(ctx *cli.Context, withTransactor bool) (addr common.Address, client *cpclient.Client, key *keystore.Key)

func PrepareCpclient

func PrepareCpclient(endpoint string) *cpclient.Client

func WaitMined

func WaitMined(client *cpclient.Client, tx *types.Transaction, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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