mocks

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: 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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

func (*TxManager) API added in v1.9.1

func (_m *TxManager) API() rpc.API

API provides a mock function with given fields:

func (*TxManager) BlockNumber added in v1.1.2

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

BlockNumber provides a mock function with given fields: ctx

func (*TxManager) Close added in v1.4.2

func (_m *TxManager) Close()

Close provides a mock function with given fields:

func (*TxManager) From added in v1.0.2

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

From provides a mock function with given fields:

func (*TxManager) IsClosed added in v1.7.2

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

func (*TxManager) SendAsync added in v1.9.3

func (_m *TxManager) SendAsync(ctx context.Context, candidate txmgr.TxCandidate, ch chan txmgr.SendResponse)

SendAsync provides a mock function with given fields: ctx, candidate, ch

func (*TxManager) SuggestGasPriceCaps added in v1.9.3

func (_m *TxManager) SuggestGasPriceCaps(ctx context.Context) (*big.Int, *big.Int, *big.Int, error)

SuggestGasPriceCaps provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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