mocks

package
v1.12.0-clf-20230214 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchSender

type BatchSender struct {
	mock.Mock
}

BatchSender is an autogenerated mock type for the BatchSender type

func NewBatchSender added in v1.5.0

func NewBatchSender(t mockConstructorTestingTNewBatchSender) *BatchSender

NewBatchSender creates a new instance of BatchSender. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*BatchSender) BatchCallContext

func (_m *BatchSender) BatchCallContext(ctx context.Context, b []rpc.BatchElem) error

BatchCallContext provides a mock function with given fields: ctx, b

type TxSender

type TxSender struct {
	mock.Mock
}

TxSender is an autogenerated mock type for the TxSender type

func NewTxSender added in v1.5.0

func NewTxSender(t mockConstructorTestingTNewTxSender) *TxSender

NewTxSender creates a new instance of TxSender. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*TxSender) ChainID

func (_m *TxSender) ChainID(_a0 context.Context) (*big.Int, error)

ChainID provides a mock function with given fields: _a0

func (*TxSender) SendTransaction

func (_m *TxSender) SendTransaction(ctx context.Context, tx *types.Transaction) error

SendTransaction provides a mock function with given fields: ctx, tx

Jump to

Keyboard shortcuts

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