Documentation
¶
Index ¶
- type EventDB
- func (_m *EventDB) RetrieveLastIndexed(ctx context.Context, contractAddress common.Address, chainID uint32) (uint64, error)
- func (_m *EventDB) RetrieveLogs(ctx context.Context, txHash common.Hash, chainID uint32) ([]*types.Log, error)
- func (_m *EventDB) RetrieveReceipt(ctx context.Context, txHash common.Hash, chainID uint32) (types.Receipt, error)
- func (_m *EventDB) StoreEthTx(ctx context.Context, tx *types.Transaction, chainID uint32, blockNumber uint64) error
- func (_m *EventDB) StoreLastIndexed(ctx context.Context, contractAddress common.Address, chainID uint32, ...) error
- func (_m *EventDB) StoreLog(ctx context.Context, log types.Log, chainID uint32) error
- func (_m *EventDB) StoreReceipt(ctx context.Context, receipt types.Receipt, chainID uint32) error
- func (_m *EventDB) UnsafeRetrieveAllLogs(ctx context.Context, specific bool, chainID uint32, address common.Address) ([]*types.Log, error)
- func (_m *EventDB) UnsafeRetrieveAllReceipts(ctx context.Context, specific bool, chainID uint32) ([]*types.Receipt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventDB ¶
EventDB is an autogenerated mock type for the EventDB type
func (*EventDB) RetrieveLastIndexed ¶
func (_m *EventDB) RetrieveLastIndexed(ctx context.Context, contractAddress common.Address, chainID uint32) (uint64, error)
RetrieveLastIndexed provides a mock function with given fields: ctx, contractAddress, chainID
func (*EventDB) RetrieveLogs ¶
func (_m *EventDB) RetrieveLogs(ctx context.Context, txHash common.Hash, chainID uint32) ([]*types.Log, error)
RetrieveLogs provides a mock function with given fields: ctx, txHash, chainID
func (*EventDB) RetrieveReceipt ¶
func (_m *EventDB) RetrieveReceipt(ctx context.Context, txHash common.Hash, chainID uint32) (types.Receipt, error)
RetrieveReceipt provides a mock function with given fields: ctx, txHash, chainID
func (*EventDB) StoreEthTx ¶
func (_m *EventDB) StoreEthTx(ctx context.Context, tx *types.Transaction, chainID uint32, blockNumber uint64) error
StoreEthTx provides a mock function with given fields: ctx, tx, chainID, blockNumber
func (*EventDB) StoreLastIndexed ¶
func (_m *EventDB) StoreLastIndexed(ctx context.Context, contractAddress common.Address, chainID uint32, blockNumber uint64) error
StoreLastIndexed provides a mock function with given fields: ctx, contractAddress, chainID, blockNumber
func (*EventDB) StoreReceipt ¶
StoreReceipt provides a mock function with given fields: ctx, receipt, chainID
Click to show internal directories.
Click to hide internal directories.