sender

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTransactionReverted = errors.New("transaction published but reverted")

Functions

This section is empty.

Types

type TxSender

type TxSender struct {
	// contains filtered or unexported fields
}

func NewTxSender

func NewTxSender(ctx context.Context, logger log.Logger, txMgr txmgr.TxManager, maxPending uint64) *TxSender

func (*TxSender) From

func (s *TxSender) From() common.Address

func (*TxSender) SendAndWaitDetailed added in v1.7.3

func (s *TxSender) SendAndWaitDetailed(txPurpose string, txs ...txmgr.TxCandidate) []error

func (*TxSender) SendAndWaitSimple added in v1.7.3

func (s *TxSender) SendAndWaitSimple(txPurpose string, txs ...txmgr.TxCandidate) error

Jump to

Keyboard shortcuts

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