mocks

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 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 TxQueueDB

type TxQueueDB struct {
	mock.Mock
}

TxQueueDB is an autogenerated mock type for the TxQueueDB type

func NewTxQueueDB added in v0.0.7

func NewTxQueueDB(t mockConstructorTestingTNewTxQueueDB) *TxQueueDB

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

func (*TxQueueDB) GetNonceForChainID

func (_m *TxQueueDB) GetNonceForChainID(ctx context.Context, fromAddress common.Address, chainID *big.Int) (uint64, error)

GetNonceForChainID provides a mock function with given fields: ctx, fromAddress, chainID

func (*TxQueueDB) StoreProcessedTx

func (_m *TxQueueDB) StoreProcessedTx(ctx context.Context, tx *types.Transaction) error

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

func (*TxQueueDB) StoreRawTx

func (_m *TxQueueDB) StoreRawTx(ctx context.Context, tx *types.Transaction, chainID *big.Int, from common.Address) error

StoreRawTx provides a mock function with given fields: ctx, tx, chainID, from

Jump to

Keyboard shortcuts

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