Documentation ¶
Index ¶
- type TxQueueDB
- func (_m *TxQueueDB) GetNonceForChainID(ctx context.Context, fromAddress common.Address, chainID *big.Int) (uint64, error)
- func (_m *TxQueueDB) StoreProcessedTx(ctx context.Context, tx *types.Transaction) error
- func (_m *TxQueueDB) StoreRawTx(ctx context.Context, tx *types.Transaction, chainID *big.Int, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxQueueDB ¶
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 ¶
StoreProcessedTx provides a mock function with given fields: ctx, tx
Click to show internal directories.
Click to hide internal directories.