mocks

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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 TxManager

type TxManager struct {
	mock.Mock
}

TxManager is an autogenerated mock type for the TxManager type

func NewTxManager

func NewTxManager(t mockConstructorTestingTNewTxManager) *TxManager

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

func (*TxManager) BlockNumber

func (_m *TxManager) BlockNumber(ctx context.Context) (uint64, error)

BlockNumber provides a mock function with given fields: ctx

func (*TxManager) Close added in v1.3.0

func (_m *TxManager) Close()

Close provides a mock function with given fields:

func (*TxManager) From

func (_m *TxManager) From() common.Address

From provides a mock function with given fields:

func (*TxManager) IsClosed added in v1.4.0

func (_m *TxManager) IsClosed() bool

IsClosed provides a mock function with given fields:

func (*TxManager) Send

func (_m *TxManager) Send(ctx context.Context, candidate txmgr.TxCandidate) (*types.Receipt, error)

Send provides a mock function with given fields: ctx, candidate

Jump to

Keyboard shortcuts

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