mocks

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 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 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) BalanceAt added in v0.1.21

func (_m *ConfirmationClient) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error)

BalanceAt provides a mock function with given fields: ctx, account, blockNumber

func (*ConfirmationClient) CodeAt added in v0.1.21

func (_m *ConfirmationClient) CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)

CodeAt provides a mock function with given fields: ctx, account, blockNumber

func (*ConfirmationClient) NonceAt added in v0.1.21

func (_m *ConfirmationClient) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)

NonceAt provides a mock function with given fields: ctx, account, blockNumber

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) StorageAt added in v0.1.21

func (_m *ConfirmationClient) StorageAt(ctx context.Context, account common.Address, key common.Hash, blockNumber *big.Int) ([]byte, error)

StorageAt provides a mock function with given fields: ctx, account, key, blockNumber

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