mocks

package
v0.0.130 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfirmationClient

type ConfirmationClient struct {
	mock.Mock
}

ConfirmationClient is an autogenerated mock type for the ConfirmationClient type

func NewConfirmationClient added in v0.0.14

func NewConfirmationClient(t mockConstructorTestingTNewConfirmationClient) *ConfirmationClient

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

func (*ConfirmationClient) SendTransaction

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

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

func (*ConfirmationClient) TransactionByHash

func (_m *ConfirmationClient) TransactionByHash(ctx context.Context, txHash common.Hash) (*types.Transaction, bool, error)

TransactionByHash provides a mock function with given fields: ctx, txHash

func (*ConfirmationClient) TransactionReceipt

func (_m *ConfirmationClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)

TransactionReceipt provides a mock function with given fields: ctx, txHash

Jump to

Keyboard shortcuts

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