tx

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleTx

func HandleTx(c *cli.Context, hd *client.HyperdriveClient, txInfo *eth.TransactionInfo, confirmMessage string, identifier string, submissionMessage string) (bool, error)

Handle a transaction, either printing its details, signing it, or submitting it and waiting for it to be included

func HandleTxBatch

func HandleTxBatch(c *cli.Context, hd *client.HyperdriveClient, txInfos []*eth.TransactionInfo, confirmMessage string, identifierFunc func(int) string, submissionMessage string) (bool, error)

Handle a batch of transactions, either printing their details, signing them, or submitting them and waiting for them to be included

func HandleTxWithIAgree added in v1.1.0

func HandleTxWithIAgree(c *cli.Context, hd *client.HyperdriveClient, txInfo *eth.TransactionInfo, confirmMessage string, identifier string, submissionMessage string) (bool, error)

Handle a transaction, either printing its details, signing it, or submitting it and waiting for it to be included, explicitly requiring the user to enter "I Agree" in the confirmation prompt

Types

This section is empty.

Jump to

Keyboard shortcuts

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