account

package
v1.0.47 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: LGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PrivateKey string
	Pass       string
	Recipient  string
	Amount     string
	Decimals   uint64
)

flag vars

View Source
var (
	RecipientAddress common.Address
	WeiAmount        *big.Int
)

processed flag vars

View Source
var AccountRootCMD = &cobra.Command{
	Use:   "accounts",
	Short: "Set of commands for managing accounts",
	Long:  "Set of commands for managing accounts",
	PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
		var err error

		url, gasLimit, gasPrice, senderKeyPair, _, err = flags.GlobalFlagValues(cmd)
		if err != nil {
			return fmt.Errorf("could not get global flags: %v", err)
		}
		return nil
	},
}

Functions

func BindTransferBaseCurrencyFlags

func BindTransferBaseCurrencyFlags(cmd *cobra.Command)

func ProcessTransferBaseCurrencyFlags

func ProcessTransferBaseCurrencyFlags(cmd *cobra.Command, args []string) error

func TransferBaseCurrency

func TransferBaseCurrency(cmd *cobra.Command, args []string, t transactor.Transactor) error

func ValidateTransferBaseCurrencyFlags

func ValidateTransferBaseCurrencyFlags(cmd *cobra.Command, args []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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