Documentation ¶
Index ¶
- type LogPoller
- func (_m *LogPoller) Close() error
- func (_m *LogPoller) DeleteLogsAndBlocksAfter(ctx context.Context, start int64) error
- func (_m *LogPoller) EXPECT() *LogPoller_Expecter
- func (_m *LogPoller) FilteredLogs(ctx context.Context, filter query.KeyFilter, limitAndSort query.LimitAndSort, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) FindLCA(ctx context.Context) (*logpoller.LogPollerBlock, error)
- func (_m *LogPoller) GetBlocksRange(ctx context.Context, numbers []uint64) ([]logpoller.LogPollerBlock, error)
- func (_m *LogPoller) GetFilters() map[string]logpoller.Filter
- func (_m *LogPoller) HasFilter(name string) bool
- func (_m *LogPoller) HealthReport() map[string]error
- func (_m *LogPoller) Healthy() error
- func (_m *LogPoller) IndexedLogs(ctx context.Context, eventSig common.Hash, address common.Address, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) IndexedLogsByBlockRange(ctx context.Context, start int64, end int64, eventSig common.Hash, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) IndexedLogsByTxHash(ctx context.Context, eventSig common.Hash, address common.Address, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) IndexedLogsCreatedAfter(ctx context.Context, eventSig common.Hash, address common.Address, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) IndexedLogsTopicGreaterThan(ctx context.Context, eventSig common.Hash, address common.Address, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) IndexedLogsTopicRange(ctx context.Context, eventSig common.Hash, address common.Address, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) IndexedLogsWithSigsExcluding(ctx context.Context, address common.Address, eventSigA common.Hash, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) LatestBlock(ctx context.Context) (logpoller.LogPollerBlock, error)
- func (_m *LogPoller) LatestBlockByEventSigsAddrsWithConfs(ctx context.Context, fromBlock int64, eventSigs []common.Hash, ...) (int64, error)
- func (_m *LogPoller) LatestLogByEventSigWithConfs(ctx context.Context, eventSig common.Hash, address common.Address, ...) (*logpoller.Log, error)
- func (_m *LogPoller) LatestLogEventSigsAddrsWithConfs(ctx context.Context, fromBlock int64, eventSigs []common.Hash, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) Logs(ctx context.Context, start int64, end int64, eventSig common.Hash, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) LogsCreatedAfter(ctx context.Context, eventSig common.Hash, address common.Address, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) LogsDataWordBetween(ctx context.Context, eventSig common.Hash, address common.Address, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) LogsDataWordGreaterThan(ctx context.Context, eventSig common.Hash, address common.Address, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) LogsDataWordRange(ctx context.Context, eventSig common.Hash, address common.Address, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) LogsWithSigs(ctx context.Context, start int64, end int64, eventSigs []common.Hash, ...) ([]logpoller.Log, error)
- func (_m *LogPoller) Name() string
- func (_m *LogPoller) Ready() error
- func (_m *LogPoller) RegisterFilter(ctx context.Context, filter logpoller.Filter) error
- func (_m *LogPoller) Replay(ctx context.Context, fromBlock int64) error
- func (_m *LogPoller) ReplayAsync(fromBlock int64)
- func (_m *LogPoller) Start(_a0 context.Context) error
- func (_m *LogPoller) UnregisterFilter(ctx context.Context, name string) error
- type LogPoller_Close_Call
- type LogPoller_DeleteLogsAndBlocksAfter_Call
- func (_c *LogPoller_DeleteLogsAndBlocksAfter_Call) Return(_a0 error) *LogPoller_DeleteLogsAndBlocksAfter_Call
- func (_c *LogPoller_DeleteLogsAndBlocksAfter_Call) Run(run func(ctx context.Context, start int64)) *LogPoller_DeleteLogsAndBlocksAfter_Call
- func (_c *LogPoller_DeleteLogsAndBlocksAfter_Call) RunAndReturn(run func(context.Context, int64) error) *LogPoller_DeleteLogsAndBlocksAfter_Call
- type LogPoller_Expecter
- func (_e *LogPoller_Expecter) Close() *LogPoller_Close_Call
- func (_e *LogPoller_Expecter) DeleteLogsAndBlocksAfter(ctx interface{}, start interface{}) *LogPoller_DeleteLogsAndBlocksAfter_Call
- func (_e *LogPoller_Expecter) FilteredLogs(ctx interface{}, filter interface{}, limitAndSort interface{}, ...) *LogPoller_FilteredLogs_Call
- func (_e *LogPoller_Expecter) FindLCA(ctx interface{}) *LogPoller_FindLCA_Call
- func (_e *LogPoller_Expecter) GetBlocksRange(ctx interface{}, numbers interface{}) *LogPoller_GetBlocksRange_Call
- func (_e *LogPoller_Expecter) GetFilters() *LogPoller_GetFilters_Call
- func (_e *LogPoller_Expecter) HasFilter(name interface{}) *LogPoller_HasFilter_Call
- func (_e *LogPoller_Expecter) HealthReport() *LogPoller_HealthReport_Call
- func (_e *LogPoller_Expecter) Healthy() *LogPoller_Healthy_Call
- func (_e *LogPoller_Expecter) IndexedLogs(ctx interface{}, eventSig interface{}, address interface{}, ...) *LogPoller_IndexedLogs_Call
- func (_e *LogPoller_Expecter) IndexedLogsByBlockRange(ctx interface{}, start interface{}, end interface{}, eventSig interface{}, ...) *LogPoller_IndexedLogsByBlockRange_Call
- func (_e *LogPoller_Expecter) IndexedLogsByTxHash(ctx interface{}, eventSig interface{}, address interface{}, txHash interface{}) *LogPoller_IndexedLogsByTxHash_Call
- func (_e *LogPoller_Expecter) IndexedLogsCreatedAfter(ctx interface{}, eventSig interface{}, address interface{}, ...) *LogPoller_IndexedLogsCreatedAfter_Call
- func (_e *LogPoller_Expecter) IndexedLogsTopicGreaterThan(ctx interface{}, eventSig interface{}, address interface{}, ...) *LogPoller_IndexedLogsTopicGreaterThan_Call
- func (_e *LogPoller_Expecter) IndexedLogsTopicRange(ctx interface{}, eventSig interface{}, address interface{}, ...) *LogPoller_IndexedLogsTopicRange_Call
- func (_e *LogPoller_Expecter) IndexedLogsWithSigsExcluding(ctx interface{}, address interface{}, eventSigA interface{}, ...) *LogPoller_IndexedLogsWithSigsExcluding_Call
- func (_e *LogPoller_Expecter) LatestBlock(ctx interface{}) *LogPoller_LatestBlock_Call
- func (_e *LogPoller_Expecter) LatestBlockByEventSigsAddrsWithConfs(ctx interface{}, fromBlock interface{}, eventSigs interface{}, ...) *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call
- func (_e *LogPoller_Expecter) LatestLogByEventSigWithConfs(ctx interface{}, eventSig interface{}, address interface{}, confs interface{}) *LogPoller_LatestLogByEventSigWithConfs_Call
- func (_e *LogPoller_Expecter) LatestLogEventSigsAddrsWithConfs(ctx interface{}, fromBlock interface{}, eventSigs interface{}, ...) *LogPoller_LatestLogEventSigsAddrsWithConfs_Call
- func (_e *LogPoller_Expecter) Logs(ctx interface{}, start interface{}, end interface{}, eventSig interface{}, ...) *LogPoller_Logs_Call
- func (_e *LogPoller_Expecter) LogsCreatedAfter(ctx interface{}, eventSig interface{}, address interface{}, _a3 interface{}, ...) *LogPoller_LogsCreatedAfter_Call
- func (_e *LogPoller_Expecter) LogsDataWordBetween(ctx interface{}, eventSig interface{}, address interface{}, ...) *LogPoller_LogsDataWordBetween_Call
- func (_e *LogPoller_Expecter) LogsDataWordGreaterThan(ctx interface{}, eventSig interface{}, address interface{}, ...) *LogPoller_LogsDataWordGreaterThan_Call
- func (_e *LogPoller_Expecter) LogsDataWordRange(ctx interface{}, eventSig interface{}, address interface{}, ...) *LogPoller_LogsDataWordRange_Call
- func (_e *LogPoller_Expecter) LogsWithSigs(ctx interface{}, start interface{}, end interface{}, eventSigs interface{}, ...) *LogPoller_LogsWithSigs_Call
- func (_e *LogPoller_Expecter) Name() *LogPoller_Name_Call
- func (_e *LogPoller_Expecter) Ready() *LogPoller_Ready_Call
- func (_e *LogPoller_Expecter) RegisterFilter(ctx interface{}, filter interface{}) *LogPoller_RegisterFilter_Call
- func (_e *LogPoller_Expecter) Replay(ctx interface{}, fromBlock interface{}) *LogPoller_Replay_Call
- func (_e *LogPoller_Expecter) ReplayAsync(fromBlock interface{}) *LogPoller_ReplayAsync_Call
- func (_e *LogPoller_Expecter) Start(_a0 interface{}) *LogPoller_Start_Call
- func (_e *LogPoller_Expecter) UnregisterFilter(ctx interface{}, name interface{}) *LogPoller_UnregisterFilter_Call
- type LogPoller_FilteredLogs_Call
- type LogPoller_FindLCA_Call
- func (_c *LogPoller_FindLCA_Call) Return(_a0 *logpoller.LogPollerBlock, _a1 error) *LogPoller_FindLCA_Call
- func (_c *LogPoller_FindLCA_Call) Run(run func(ctx context.Context)) *LogPoller_FindLCA_Call
- func (_c *LogPoller_FindLCA_Call) RunAndReturn(run func(context.Context) (*logpoller.LogPollerBlock, error)) *LogPoller_FindLCA_Call
- type LogPoller_GetBlocksRange_Call
- func (_c *LogPoller_GetBlocksRange_Call) Return(_a0 []logpoller.LogPollerBlock, _a1 error) *LogPoller_GetBlocksRange_Call
- func (_c *LogPoller_GetBlocksRange_Call) Run(run func(ctx context.Context, numbers []uint64)) *LogPoller_GetBlocksRange_Call
- func (_c *LogPoller_GetBlocksRange_Call) RunAndReturn(run func(context.Context, []uint64) ([]logpoller.LogPollerBlock, error)) *LogPoller_GetBlocksRange_Call
- type LogPoller_GetFilters_Call
- func (_c *LogPoller_GetFilters_Call) Return(_a0 map[string]logpoller.Filter) *LogPoller_GetFilters_Call
- func (_c *LogPoller_GetFilters_Call) Run(run func()) *LogPoller_GetFilters_Call
- func (_c *LogPoller_GetFilters_Call) RunAndReturn(run func() map[string]logpoller.Filter) *LogPoller_GetFilters_Call
- type LogPoller_HasFilter_Call
- type LogPoller_HealthReport_Call
- type LogPoller_Healthy_Call
- type LogPoller_IndexedLogsByBlockRange_Call
- func (_c *LogPoller_IndexedLogsByBlockRange_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_IndexedLogsByBlockRange_Call
- func (_c *LogPoller_IndexedLogsByBlockRange_Call) Run(...) *LogPoller_IndexedLogsByBlockRange_Call
- func (_c *LogPoller_IndexedLogsByBlockRange_Call) RunAndReturn(...) *LogPoller_IndexedLogsByBlockRange_Call
- type LogPoller_IndexedLogsByTxHash_Call
- func (_c *LogPoller_IndexedLogsByTxHash_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_IndexedLogsByTxHash_Call
- func (_c *LogPoller_IndexedLogsByTxHash_Call) Run(...) *LogPoller_IndexedLogsByTxHash_Call
- func (_c *LogPoller_IndexedLogsByTxHash_Call) RunAndReturn(...) *LogPoller_IndexedLogsByTxHash_Call
- type LogPoller_IndexedLogsCreatedAfter_Call
- func (_c *LogPoller_IndexedLogsCreatedAfter_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_IndexedLogsCreatedAfter_Call
- func (_c *LogPoller_IndexedLogsCreatedAfter_Call) Run(...) *LogPoller_IndexedLogsCreatedAfter_Call
- func (_c *LogPoller_IndexedLogsCreatedAfter_Call) RunAndReturn(...) *LogPoller_IndexedLogsCreatedAfter_Call
- type LogPoller_IndexedLogsTopicGreaterThan_Call
- func (_c *LogPoller_IndexedLogsTopicGreaterThan_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_IndexedLogsTopicGreaterThan_Call
- func (_c *LogPoller_IndexedLogsTopicGreaterThan_Call) Run(...) *LogPoller_IndexedLogsTopicGreaterThan_Call
- func (_c *LogPoller_IndexedLogsTopicGreaterThan_Call) RunAndReturn(...) *LogPoller_IndexedLogsTopicGreaterThan_Call
- type LogPoller_IndexedLogsTopicRange_Call
- func (_c *LogPoller_IndexedLogsTopicRange_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_IndexedLogsTopicRange_Call
- func (_c *LogPoller_IndexedLogsTopicRange_Call) Run(...) *LogPoller_IndexedLogsTopicRange_Call
- func (_c *LogPoller_IndexedLogsTopicRange_Call) RunAndReturn(...) *LogPoller_IndexedLogsTopicRange_Call
- type LogPoller_IndexedLogsWithSigsExcluding_Call
- func (_c *LogPoller_IndexedLogsWithSigsExcluding_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_IndexedLogsWithSigsExcluding_Call
- func (_c *LogPoller_IndexedLogsWithSigsExcluding_Call) Run(...) *LogPoller_IndexedLogsWithSigsExcluding_Call
- func (_c *LogPoller_IndexedLogsWithSigsExcluding_Call) RunAndReturn(...) *LogPoller_IndexedLogsWithSigsExcluding_Call
- type LogPoller_IndexedLogs_Call
- type LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call
- func (_c *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call) Return(_a0 int64, _a1 error) *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call
- func (_c *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call) Run(run func(ctx context.Context, fromBlock int64, eventSigs []common.Hash, ...)) *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call
- func (_c *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call) RunAndReturn(...) *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call
- type LogPoller_LatestBlock_Call
- func (_c *LogPoller_LatestBlock_Call) Return(_a0 logpoller.LogPollerBlock, _a1 error) *LogPoller_LatestBlock_Call
- func (_c *LogPoller_LatestBlock_Call) Run(run func(ctx context.Context)) *LogPoller_LatestBlock_Call
- func (_c *LogPoller_LatestBlock_Call) RunAndReturn(run func(context.Context) (logpoller.LogPollerBlock, error)) *LogPoller_LatestBlock_Call
- type LogPoller_LatestLogByEventSigWithConfs_Call
- func (_c *LogPoller_LatestLogByEventSigWithConfs_Call) Return(_a0 *logpoller.Log, _a1 error) *LogPoller_LatestLogByEventSigWithConfs_Call
- func (_c *LogPoller_LatestLogByEventSigWithConfs_Call) Run(...) *LogPoller_LatestLogByEventSigWithConfs_Call
- func (_c *LogPoller_LatestLogByEventSigWithConfs_Call) RunAndReturn(...) *LogPoller_LatestLogByEventSigWithConfs_Call
- type LogPoller_LatestLogEventSigsAddrsWithConfs_Call
- func (_c *LogPoller_LatestLogEventSigsAddrsWithConfs_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_LatestLogEventSigsAddrsWithConfs_Call
- func (_c *LogPoller_LatestLogEventSigsAddrsWithConfs_Call) Run(run func(ctx context.Context, fromBlock int64, eventSigs []common.Hash, ...)) *LogPoller_LatestLogEventSigsAddrsWithConfs_Call
- func (_c *LogPoller_LatestLogEventSigsAddrsWithConfs_Call) RunAndReturn(...) *LogPoller_LatestLogEventSigsAddrsWithConfs_Call
- type LogPoller_LogsCreatedAfter_Call
- type LogPoller_LogsDataWordBetween_Call
- func (_c *LogPoller_LogsDataWordBetween_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_LogsDataWordBetween_Call
- func (_c *LogPoller_LogsDataWordBetween_Call) Run(...) *LogPoller_LogsDataWordBetween_Call
- func (_c *LogPoller_LogsDataWordBetween_Call) RunAndReturn(...) *LogPoller_LogsDataWordBetween_Call
- type LogPoller_LogsDataWordGreaterThan_Call
- func (_c *LogPoller_LogsDataWordGreaterThan_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_LogsDataWordGreaterThan_Call
- func (_c *LogPoller_LogsDataWordGreaterThan_Call) Run(...) *LogPoller_LogsDataWordGreaterThan_Call
- func (_c *LogPoller_LogsDataWordGreaterThan_Call) RunAndReturn(...) *LogPoller_LogsDataWordGreaterThan_Call
- type LogPoller_LogsDataWordRange_Call
- type LogPoller_LogsWithSigs_Call
- type LogPoller_Logs_Call
- type LogPoller_Name_Call
- type LogPoller_Ready_Call
- type LogPoller_RegisterFilter_Call
- func (_c *LogPoller_RegisterFilter_Call) Return(_a0 error) *LogPoller_RegisterFilter_Call
- func (_c *LogPoller_RegisterFilter_Call) Run(run func(ctx context.Context, filter logpoller.Filter)) *LogPoller_RegisterFilter_Call
- func (_c *LogPoller_RegisterFilter_Call) RunAndReturn(run func(context.Context, logpoller.Filter) error) *LogPoller_RegisterFilter_Call
- type LogPoller_ReplayAsync_Call
- type LogPoller_Replay_Call
- type LogPoller_Start_Call
- type LogPoller_UnregisterFilter_Call
- func (_c *LogPoller_UnregisterFilter_Call) Return(_a0 error) *LogPoller_UnregisterFilter_Call
- func (_c *LogPoller_UnregisterFilter_Call) Run(run func(ctx context.Context, name string)) *LogPoller_UnregisterFilter_Call
- func (_c *LogPoller_UnregisterFilter_Call) RunAndReturn(run func(context.Context, string) error) *LogPoller_UnregisterFilter_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogPoller ¶
LogPoller is an autogenerated mock type for the LogPoller type
func NewLogPoller ¶
NewLogPoller creates a new instance of LogPoller. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LogPoller) DeleteLogsAndBlocksAfter ¶ added in v2.12.0
DeleteLogsAndBlocksAfter provides a mock function with given fields: ctx, start
func (*LogPoller) EXPECT ¶ added in v2.15.0
func (_m *LogPoller) EXPECT() *LogPoller_Expecter
func (*LogPoller) FilteredLogs ¶ added in v2.13.0
func (_m *LogPoller) FilteredLogs(ctx context.Context, filter query.KeyFilter, limitAndSort query.LimitAndSort, queryName string) ([]logpoller.Log, error)
FilteredLogs provides a mock function with given fields: ctx, filter, limitAndSort, queryName
func (*LogPoller) FindLCA ¶ added in v2.12.0
FindLCA provides a mock function with given fields: ctx
func (*LogPoller) GetBlocksRange ¶
func (_m *LogPoller) GetBlocksRange(ctx context.Context, numbers []uint64) ([]logpoller.LogPollerBlock, error)
GetBlocksRange provides a mock function with given fields: ctx, numbers
func (*LogPoller) GetFilters ¶ added in v2.11.0
GetFilters provides a mock function with given fields:
func (*LogPoller) HasFilter ¶ added in v2.6.0
HasFilter provides a mock function with given fields: name
func (*LogPoller) HealthReport ¶
HealthReport provides a mock function with given fields:
func (*LogPoller) IndexedLogs ¶
func (_m *LogPoller) IndexedLogs(ctx context.Context, eventSig common.Hash, address common.Address, topicIndex int, topicValues []common.Hash, confs types.Confirmations) ([]logpoller.Log, error)
IndexedLogs provides a mock function with given fields: ctx, eventSig, address, topicIndex, topicValues, confs
func (*LogPoller) IndexedLogsByBlockRange ¶
func (_m *LogPoller) IndexedLogsByBlockRange(ctx context.Context, start int64, end int64, eventSig common.Hash, address common.Address, topicIndex int, topicValues []common.Hash) ([]logpoller.Log, error)
IndexedLogsByBlockRange provides a mock function with given fields: ctx, start, end, eventSig, address, topicIndex, topicValues
func (*LogPoller) IndexedLogsByTxHash ¶ added in v2.6.0
func (_m *LogPoller) IndexedLogsByTxHash(ctx context.Context, eventSig common.Hash, address common.Address, txHash common.Hash) ([]logpoller.Log, error)
IndexedLogsByTxHash provides a mock function with given fields: ctx, eventSig, address, txHash
func (*LogPoller) IndexedLogsCreatedAfter ¶ added in v2.3.0
func (_m *LogPoller) IndexedLogsCreatedAfter(ctx context.Context, eventSig common.Hash, address common.Address, topicIndex int, topicValues []common.Hash, after time.Time, confs types.Confirmations) ([]logpoller.Log, error)
IndexedLogsCreatedAfter provides a mock function with given fields: ctx, eventSig, address, topicIndex, topicValues, after, confs
func (*LogPoller) IndexedLogsTopicGreaterThan ¶
func (_m *LogPoller) IndexedLogsTopicGreaterThan(ctx context.Context, eventSig common.Hash, address common.Address, topicIndex int, topicValueMin common.Hash, confs types.Confirmations) ([]logpoller.Log, error)
IndexedLogsTopicGreaterThan provides a mock function with given fields: ctx, eventSig, address, topicIndex, topicValueMin, confs
func (*LogPoller) IndexedLogsTopicRange ¶
func (_m *LogPoller) IndexedLogsTopicRange(ctx context.Context, eventSig common.Hash, address common.Address, topicIndex int, topicValueMin common.Hash, topicValueMax common.Hash, confs types.Confirmations) ([]logpoller.Log, error)
IndexedLogsTopicRange provides a mock function with given fields: ctx, eventSig, address, topicIndex, topicValueMin, topicValueMax, confs
func (*LogPoller) IndexedLogsWithSigsExcluding ¶ added in v2.1.0
func (_m *LogPoller) IndexedLogsWithSigsExcluding(ctx context.Context, address common.Address, eventSigA common.Hash, eventSigB common.Hash, topicIndex int, fromBlock int64, toBlock int64, confs types.Confirmations) ([]logpoller.Log, error)
IndexedLogsWithSigsExcluding provides a mock function with given fields: ctx, address, eventSigA, eventSigB, topicIndex, fromBlock, toBlock, confs
func (*LogPoller) LatestBlock ¶
LatestBlock provides a mock function with given fields: ctx
func (*LogPoller) LatestBlockByEventSigsAddrsWithConfs ¶ added in v2.4.0
func (_m *LogPoller) LatestBlockByEventSigsAddrsWithConfs(ctx context.Context, fromBlock int64, eventSigs []common.Hash, addresses []common.Address, confs types.Confirmations) (int64, error)
LatestBlockByEventSigsAddrsWithConfs provides a mock function with given fields: ctx, fromBlock, eventSigs, addresses, confs
func (*LogPoller) LatestLogByEventSigWithConfs ¶
func (_m *LogPoller) LatestLogByEventSigWithConfs(ctx context.Context, eventSig common.Hash, address common.Address, confs types.Confirmations) (*logpoller.Log, error)
LatestLogByEventSigWithConfs provides a mock function with given fields: ctx, eventSig, address, confs
func (*LogPoller) LatestLogEventSigsAddrsWithConfs ¶
func (_m *LogPoller) LatestLogEventSigsAddrsWithConfs(ctx context.Context, fromBlock int64, eventSigs []common.Hash, addresses []common.Address, confs types.Confirmations) ([]logpoller.Log, error)
LatestLogEventSigsAddrsWithConfs provides a mock function with given fields: ctx, fromBlock, eventSigs, addresses, confs
func (*LogPoller) Logs ¶
func (_m *LogPoller) Logs(ctx context.Context, start int64, end int64, eventSig common.Hash, address common.Address) ([]logpoller.Log, error)
Logs provides a mock function with given fields: ctx, start, end, eventSig, address
func (*LogPoller) LogsCreatedAfter ¶ added in v2.3.0
func (_m *LogPoller) LogsCreatedAfter(ctx context.Context, eventSig common.Hash, address common.Address, _a3 time.Time, confs types.Confirmations) ([]logpoller.Log, error)
LogsCreatedAfter provides a mock function with given fields: ctx, eventSig, address, _a3, confs
func (*LogPoller) LogsDataWordBetween ¶ added in v2.8.0
func (_m *LogPoller) LogsDataWordBetween(ctx context.Context, eventSig common.Hash, address common.Address, wordIndexMin int, wordIndexMax int, wordValue common.Hash, confs types.Confirmations) ([]logpoller.Log, error)
LogsDataWordBetween provides a mock function with given fields: ctx, eventSig, address, wordIndexMin, wordIndexMax, wordValue, confs
func (*LogPoller) LogsDataWordGreaterThan ¶
func (_m *LogPoller) LogsDataWordGreaterThan(ctx context.Context, eventSig common.Hash, address common.Address, wordIndex int, wordValueMin common.Hash, confs types.Confirmations) ([]logpoller.Log, error)
LogsDataWordGreaterThan provides a mock function with given fields: ctx, eventSig, address, wordIndex, wordValueMin, confs
func (*LogPoller) LogsDataWordRange ¶
func (_m *LogPoller) LogsDataWordRange(ctx context.Context, eventSig common.Hash, address common.Address, wordIndex int, wordValueMin common.Hash, wordValueMax common.Hash, confs types.Confirmations) ([]logpoller.Log, error)
LogsDataWordRange provides a mock function with given fields: ctx, eventSig, address, wordIndex, wordValueMin, wordValueMax, confs
func (*LogPoller) LogsWithSigs ¶
func (_m *LogPoller) LogsWithSigs(ctx context.Context, start int64, end int64, eventSigs []common.Hash, address common.Address) ([]logpoller.Log, error)
LogsWithSigs provides a mock function with given fields: ctx, start, end, eventSigs, address
func (*LogPoller) RegisterFilter ¶
RegisterFilter provides a mock function with given fields: ctx, filter
func (*LogPoller) ReplayAsync ¶ added in v2.1.0
ReplayAsync provides a mock function with given fields: fromBlock
type LogPoller_Close_Call ¶ added in v2.15.0
LogPoller_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*LogPoller_Close_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_Close_Call) Return(_a0 error) *LogPoller_Close_Call
func (*LogPoller_Close_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_Close_Call) Run(run func()) *LogPoller_Close_Call
func (*LogPoller_Close_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_Close_Call) RunAndReturn(run func() error) *LogPoller_Close_Call
type LogPoller_DeleteLogsAndBlocksAfter_Call ¶ added in v2.15.0
LogPoller_DeleteLogsAndBlocksAfter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogsAndBlocksAfter'
func (*LogPoller_DeleteLogsAndBlocksAfter_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_DeleteLogsAndBlocksAfter_Call) Return(_a0 error) *LogPoller_DeleteLogsAndBlocksAfter_Call
func (*LogPoller_DeleteLogsAndBlocksAfter_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_DeleteLogsAndBlocksAfter_Call) Run(run func(ctx context.Context, start int64)) *LogPoller_DeleteLogsAndBlocksAfter_Call
func (*LogPoller_DeleteLogsAndBlocksAfter_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_DeleteLogsAndBlocksAfter_Call) RunAndReturn(run func(context.Context, int64) error) *LogPoller_DeleteLogsAndBlocksAfter_Call
type LogPoller_Expecter ¶ added in v2.15.0
type LogPoller_Expecter struct {
// contains filtered or unexported fields
}
func (*LogPoller_Expecter) Close ¶ added in v2.15.0
func (_e *LogPoller_Expecter) Close() *LogPoller_Close_Call
Close is a helper method to define mock.On call
func (*LogPoller_Expecter) DeleteLogsAndBlocksAfter ¶ added in v2.15.0
func (_e *LogPoller_Expecter) DeleteLogsAndBlocksAfter(ctx interface{}, start interface{}) *LogPoller_DeleteLogsAndBlocksAfter_Call
DeleteLogsAndBlocksAfter is a helper method to define mock.On call
- ctx context.Context
- start int64
func (*LogPoller_Expecter) FilteredLogs ¶ added in v2.15.0
func (_e *LogPoller_Expecter) FilteredLogs(ctx interface{}, filter interface{}, limitAndSort interface{}, queryName interface{}) *LogPoller_FilteredLogs_Call
FilteredLogs is a helper method to define mock.On call
- ctx context.Context
- filter query.KeyFilter
- limitAndSort query.LimitAndSort
- queryName string
func (*LogPoller_Expecter) FindLCA ¶ added in v2.15.0
func (_e *LogPoller_Expecter) FindLCA(ctx interface{}) *LogPoller_FindLCA_Call
FindLCA is a helper method to define mock.On call
- ctx context.Context
func (*LogPoller_Expecter) GetBlocksRange ¶ added in v2.15.0
func (_e *LogPoller_Expecter) GetBlocksRange(ctx interface{}, numbers interface{}) *LogPoller_GetBlocksRange_Call
GetBlocksRange is a helper method to define mock.On call
- ctx context.Context
- numbers []uint64
func (*LogPoller_Expecter) GetFilters ¶ added in v2.15.0
func (_e *LogPoller_Expecter) GetFilters() *LogPoller_GetFilters_Call
GetFilters is a helper method to define mock.On call
func (*LogPoller_Expecter) HasFilter ¶ added in v2.15.0
func (_e *LogPoller_Expecter) HasFilter(name interface{}) *LogPoller_HasFilter_Call
HasFilter is a helper method to define mock.On call
- name string
func (*LogPoller_Expecter) HealthReport ¶ added in v2.15.0
func (_e *LogPoller_Expecter) HealthReport() *LogPoller_HealthReport_Call
HealthReport is a helper method to define mock.On call
func (*LogPoller_Expecter) Healthy ¶ added in v2.15.0
func (_e *LogPoller_Expecter) Healthy() *LogPoller_Healthy_Call
Healthy is a helper method to define mock.On call
func (*LogPoller_Expecter) IndexedLogs ¶ added in v2.15.0
func (_e *LogPoller_Expecter) IndexedLogs(ctx interface{}, eventSig interface{}, address interface{}, topicIndex interface{}, topicValues interface{}, confs interface{}) *LogPoller_IndexedLogs_Call
IndexedLogs is a helper method to define mock.On call
- ctx context.Context
- eventSig common.Hash
- address common.Address
- topicIndex int
- topicValues []common.Hash
- confs types.Confirmations
func (*LogPoller_Expecter) IndexedLogsByBlockRange ¶ added in v2.15.0
func (_e *LogPoller_Expecter) IndexedLogsByBlockRange(ctx interface{}, start interface{}, end interface{}, eventSig interface{}, address interface{}, topicIndex interface{}, topicValues interface{}) *LogPoller_IndexedLogsByBlockRange_Call
IndexedLogsByBlockRange is a helper method to define mock.On call
- ctx context.Context
- start int64
- end int64
- eventSig common.Hash
- address common.Address
- topicIndex int
- topicValues []common.Hash
func (*LogPoller_Expecter) IndexedLogsByTxHash ¶ added in v2.15.0
func (_e *LogPoller_Expecter) IndexedLogsByTxHash(ctx interface{}, eventSig interface{}, address interface{}, txHash interface{}) *LogPoller_IndexedLogsByTxHash_Call
IndexedLogsByTxHash is a helper method to define mock.On call
- ctx context.Context
- eventSig common.Hash
- address common.Address
- txHash common.Hash
func (*LogPoller_Expecter) IndexedLogsCreatedAfter ¶ added in v2.15.0
func (_e *LogPoller_Expecter) IndexedLogsCreatedAfter(ctx interface{}, eventSig interface{}, address interface{}, topicIndex interface{}, topicValues interface{}, after interface{}, confs interface{}) *LogPoller_IndexedLogsCreatedAfter_Call
IndexedLogsCreatedAfter is a helper method to define mock.On call
- ctx context.Context
- eventSig common.Hash
- address common.Address
- topicIndex int
- topicValues []common.Hash
- after time.Time
- confs types.Confirmations
func (*LogPoller_Expecter) IndexedLogsTopicGreaterThan ¶ added in v2.15.0
func (_e *LogPoller_Expecter) IndexedLogsTopicGreaterThan(ctx interface{}, eventSig interface{}, address interface{}, topicIndex interface{}, topicValueMin interface{}, confs interface{}) *LogPoller_IndexedLogsTopicGreaterThan_Call
IndexedLogsTopicGreaterThan is a helper method to define mock.On call
- ctx context.Context
- eventSig common.Hash
- address common.Address
- topicIndex int
- topicValueMin common.Hash
- confs types.Confirmations
func (*LogPoller_Expecter) IndexedLogsTopicRange ¶ added in v2.15.0
func (_e *LogPoller_Expecter) IndexedLogsTopicRange(ctx interface{}, eventSig interface{}, address interface{}, topicIndex interface{}, topicValueMin interface{}, topicValueMax interface{}, confs interface{}) *LogPoller_IndexedLogsTopicRange_Call
IndexedLogsTopicRange is a helper method to define mock.On call
- ctx context.Context
- eventSig common.Hash
- address common.Address
- topicIndex int
- topicValueMin common.Hash
- topicValueMax common.Hash
- confs types.Confirmations
func (*LogPoller_Expecter) IndexedLogsWithSigsExcluding ¶ added in v2.15.0
func (_e *LogPoller_Expecter) IndexedLogsWithSigsExcluding(ctx interface{}, address interface{}, eventSigA interface{}, eventSigB interface{}, topicIndex interface{}, fromBlock interface{}, toBlock interface{}, confs interface{}) *LogPoller_IndexedLogsWithSigsExcluding_Call
IndexedLogsWithSigsExcluding is a helper method to define mock.On call
- ctx context.Context
- address common.Address
- eventSigA common.Hash
- eventSigB common.Hash
- topicIndex int
- fromBlock int64
- toBlock int64
- confs types.Confirmations
func (*LogPoller_Expecter) LatestBlock ¶ added in v2.15.0
func (_e *LogPoller_Expecter) LatestBlock(ctx interface{}) *LogPoller_LatestBlock_Call
LatestBlock is a helper method to define mock.On call
- ctx context.Context
func (*LogPoller_Expecter) LatestBlockByEventSigsAddrsWithConfs ¶ added in v2.15.0
func (_e *LogPoller_Expecter) LatestBlockByEventSigsAddrsWithConfs(ctx interface{}, fromBlock interface{}, eventSigs interface{}, addresses interface{}, confs interface{}) *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call
LatestBlockByEventSigsAddrsWithConfs is a helper method to define mock.On call
- ctx context.Context
- fromBlock int64
- eventSigs []common.Hash
- addresses []common.Address
- confs types.Confirmations
func (*LogPoller_Expecter) LatestLogByEventSigWithConfs ¶ added in v2.15.0
func (_e *LogPoller_Expecter) LatestLogByEventSigWithConfs(ctx interface{}, eventSig interface{}, address interface{}, confs interface{}) *LogPoller_LatestLogByEventSigWithConfs_Call
LatestLogByEventSigWithConfs is a helper method to define mock.On call
- ctx context.Context
- eventSig common.Hash
- address common.Address
- confs types.Confirmations
func (*LogPoller_Expecter) LatestLogEventSigsAddrsWithConfs ¶ added in v2.15.0
func (_e *LogPoller_Expecter) LatestLogEventSigsAddrsWithConfs(ctx interface{}, fromBlock interface{}, eventSigs interface{}, addresses interface{}, confs interface{}) *LogPoller_LatestLogEventSigsAddrsWithConfs_Call
LatestLogEventSigsAddrsWithConfs is a helper method to define mock.On call
- ctx context.Context
- fromBlock int64
- eventSigs []common.Hash
- addresses []common.Address
- confs types.Confirmations
func (*LogPoller_Expecter) Logs ¶ added in v2.15.0
func (_e *LogPoller_Expecter) Logs(ctx interface{}, start interface{}, end interface{}, eventSig interface{}, address interface{}) *LogPoller_Logs_Call
Logs is a helper method to define mock.On call
- ctx context.Context
- start int64
- end int64
- eventSig common.Hash
- address common.Address
func (*LogPoller_Expecter) LogsCreatedAfter ¶ added in v2.15.0
func (_e *LogPoller_Expecter) LogsCreatedAfter(ctx interface{}, eventSig interface{}, address interface{}, _a3 interface{}, confs interface{}) *LogPoller_LogsCreatedAfter_Call
LogsCreatedAfter is a helper method to define mock.On call
- ctx context.Context
- eventSig common.Hash
- address common.Address
- _a3 time.Time
- confs types.Confirmations
func (*LogPoller_Expecter) LogsDataWordBetween ¶ added in v2.15.0
func (_e *LogPoller_Expecter) LogsDataWordBetween(ctx interface{}, eventSig interface{}, address interface{}, wordIndexMin interface{}, wordIndexMax interface{}, wordValue interface{}, confs interface{}) *LogPoller_LogsDataWordBetween_Call
LogsDataWordBetween is a helper method to define mock.On call
- ctx context.Context
- eventSig common.Hash
- address common.Address
- wordIndexMin int
- wordIndexMax int
- wordValue common.Hash
- confs types.Confirmations
func (*LogPoller_Expecter) LogsDataWordGreaterThan ¶ added in v2.15.0
func (_e *LogPoller_Expecter) LogsDataWordGreaterThan(ctx interface{}, eventSig interface{}, address interface{}, wordIndex interface{}, wordValueMin interface{}, confs interface{}) *LogPoller_LogsDataWordGreaterThan_Call
LogsDataWordGreaterThan is a helper method to define mock.On call
- ctx context.Context
- eventSig common.Hash
- address common.Address
- wordIndex int
- wordValueMin common.Hash
- confs types.Confirmations
func (*LogPoller_Expecter) LogsDataWordRange ¶ added in v2.15.0
func (_e *LogPoller_Expecter) LogsDataWordRange(ctx interface{}, eventSig interface{}, address interface{}, wordIndex interface{}, wordValueMin interface{}, wordValueMax interface{}, confs interface{}) *LogPoller_LogsDataWordRange_Call
LogsDataWordRange is a helper method to define mock.On call
- ctx context.Context
- eventSig common.Hash
- address common.Address
- wordIndex int
- wordValueMin common.Hash
- wordValueMax common.Hash
- confs types.Confirmations
func (*LogPoller_Expecter) LogsWithSigs ¶ added in v2.15.0
func (_e *LogPoller_Expecter) LogsWithSigs(ctx interface{}, start interface{}, end interface{}, eventSigs interface{}, address interface{}) *LogPoller_LogsWithSigs_Call
LogsWithSigs is a helper method to define mock.On call
- ctx context.Context
- start int64
- end int64
- eventSigs []common.Hash
- address common.Address
func (*LogPoller_Expecter) Name ¶ added in v2.15.0
func (_e *LogPoller_Expecter) Name() *LogPoller_Name_Call
Name is a helper method to define mock.On call
func (*LogPoller_Expecter) Ready ¶ added in v2.15.0
func (_e *LogPoller_Expecter) Ready() *LogPoller_Ready_Call
Ready is a helper method to define mock.On call
func (*LogPoller_Expecter) RegisterFilter ¶ added in v2.15.0
func (_e *LogPoller_Expecter) RegisterFilter(ctx interface{}, filter interface{}) *LogPoller_RegisterFilter_Call
RegisterFilter is a helper method to define mock.On call
- ctx context.Context
- filter logpoller.Filter
func (*LogPoller_Expecter) Replay ¶ added in v2.15.0
func (_e *LogPoller_Expecter) Replay(ctx interface{}, fromBlock interface{}) *LogPoller_Replay_Call
Replay is a helper method to define mock.On call
- ctx context.Context
- fromBlock int64
func (*LogPoller_Expecter) ReplayAsync ¶ added in v2.15.0
func (_e *LogPoller_Expecter) ReplayAsync(fromBlock interface{}) *LogPoller_ReplayAsync_Call
ReplayAsync is a helper method to define mock.On call
- fromBlock int64
func (*LogPoller_Expecter) Start ¶ added in v2.15.0
func (_e *LogPoller_Expecter) Start(_a0 interface{}) *LogPoller_Start_Call
Start is a helper method to define mock.On call
- _a0 context.Context
func (*LogPoller_Expecter) UnregisterFilter ¶ added in v2.15.0
func (_e *LogPoller_Expecter) UnregisterFilter(ctx interface{}, name interface{}) *LogPoller_UnregisterFilter_Call
UnregisterFilter is a helper method to define mock.On call
- ctx context.Context
- name string
type LogPoller_FilteredLogs_Call ¶ added in v2.15.0
LogPoller_FilteredLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilteredLogs'
func (*LogPoller_FilteredLogs_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_FilteredLogs_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_FilteredLogs_Call
func (*LogPoller_FilteredLogs_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_FilteredLogs_Call) Run(run func(ctx context.Context, filter query.KeyFilter, limitAndSort query.LimitAndSort, queryName string)) *LogPoller_FilteredLogs_Call
func (*LogPoller_FilteredLogs_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_FilteredLogs_Call) RunAndReturn(run func(context.Context, query.KeyFilter, query.LimitAndSort, string) ([]logpoller.Log, error)) *LogPoller_FilteredLogs_Call
type LogPoller_FindLCA_Call ¶ added in v2.15.0
LogPoller_FindLCA_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindLCA'
func (*LogPoller_FindLCA_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_FindLCA_Call) Return(_a0 *logpoller.LogPollerBlock, _a1 error) *LogPoller_FindLCA_Call
func (*LogPoller_FindLCA_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_FindLCA_Call) Run(run func(ctx context.Context)) *LogPoller_FindLCA_Call
func (*LogPoller_FindLCA_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_FindLCA_Call) RunAndReturn(run func(context.Context) (*logpoller.LogPollerBlock, error)) *LogPoller_FindLCA_Call
type LogPoller_GetBlocksRange_Call ¶ added in v2.15.0
LogPoller_GetBlocksRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlocksRange'
func (*LogPoller_GetBlocksRange_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_GetBlocksRange_Call) Return(_a0 []logpoller.LogPollerBlock, _a1 error) *LogPoller_GetBlocksRange_Call
func (*LogPoller_GetBlocksRange_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_GetBlocksRange_Call) Run(run func(ctx context.Context, numbers []uint64)) *LogPoller_GetBlocksRange_Call
func (*LogPoller_GetBlocksRange_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_GetBlocksRange_Call) RunAndReturn(run func(context.Context, []uint64) ([]logpoller.LogPollerBlock, error)) *LogPoller_GetBlocksRange_Call
type LogPoller_GetFilters_Call ¶ added in v2.15.0
LogPoller_GetFilters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFilters'
func (*LogPoller_GetFilters_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_GetFilters_Call) Return(_a0 map[string]logpoller.Filter) *LogPoller_GetFilters_Call
func (*LogPoller_GetFilters_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_GetFilters_Call) Run(run func()) *LogPoller_GetFilters_Call
func (*LogPoller_GetFilters_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_GetFilters_Call) RunAndReturn(run func() map[string]logpoller.Filter) *LogPoller_GetFilters_Call
type LogPoller_HasFilter_Call ¶ added in v2.15.0
LogPoller_HasFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasFilter'
func (*LogPoller_HasFilter_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_HasFilter_Call) Return(_a0 bool) *LogPoller_HasFilter_Call
func (*LogPoller_HasFilter_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_HasFilter_Call) Run(run func(name string)) *LogPoller_HasFilter_Call
func (*LogPoller_HasFilter_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_HasFilter_Call) RunAndReturn(run func(string) bool) *LogPoller_HasFilter_Call
type LogPoller_HealthReport_Call ¶ added in v2.15.0
LogPoller_HealthReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthReport'
func (*LogPoller_HealthReport_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_HealthReport_Call) Return(_a0 map[string]error) *LogPoller_HealthReport_Call
func (*LogPoller_HealthReport_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_HealthReport_Call) Run(run func()) *LogPoller_HealthReport_Call
func (*LogPoller_HealthReport_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_HealthReport_Call) RunAndReturn(run func() map[string]error) *LogPoller_HealthReport_Call
type LogPoller_Healthy_Call ¶ added in v2.15.0
LogPoller_Healthy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Healthy'
func (*LogPoller_Healthy_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_Healthy_Call) Return(_a0 error) *LogPoller_Healthy_Call
func (*LogPoller_Healthy_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_Healthy_Call) Run(run func()) *LogPoller_Healthy_Call
func (*LogPoller_Healthy_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_Healthy_Call) RunAndReturn(run func() error) *LogPoller_Healthy_Call
type LogPoller_IndexedLogsByBlockRange_Call ¶ added in v2.15.0
LogPoller_IndexedLogsByBlockRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IndexedLogsByBlockRange'
func (*LogPoller_IndexedLogsByBlockRange_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_IndexedLogsByBlockRange_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_IndexedLogsByBlockRange_Call
type LogPoller_IndexedLogsByTxHash_Call ¶ added in v2.15.0
LogPoller_IndexedLogsByTxHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IndexedLogsByTxHash'
func (*LogPoller_IndexedLogsByTxHash_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_IndexedLogsByTxHash_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_IndexedLogsByTxHash_Call
func (*LogPoller_IndexedLogsByTxHash_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_IndexedLogsByTxHash_Call) Run(run func(ctx context.Context, eventSig common.Hash, address common.Address, txHash common.Hash)) *LogPoller_IndexedLogsByTxHash_Call
func (*LogPoller_IndexedLogsByTxHash_Call) RunAndReturn ¶ added in v2.15.0
type LogPoller_IndexedLogsCreatedAfter_Call ¶ added in v2.15.0
LogPoller_IndexedLogsCreatedAfter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IndexedLogsCreatedAfter'
func (*LogPoller_IndexedLogsCreatedAfter_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_IndexedLogsCreatedAfter_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_IndexedLogsCreatedAfter_Call
func (*LogPoller_IndexedLogsCreatedAfter_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_IndexedLogsCreatedAfter_Call) Run(run func(ctx context.Context, eventSig common.Hash, address common.Address, topicIndex int, topicValues []common.Hash, after time.Time, confs types.Confirmations)) *LogPoller_IndexedLogsCreatedAfter_Call
func (*LogPoller_IndexedLogsCreatedAfter_Call) RunAndReturn ¶ added in v2.15.0
type LogPoller_IndexedLogsTopicGreaterThan_Call ¶ added in v2.15.0
LogPoller_IndexedLogsTopicGreaterThan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IndexedLogsTopicGreaterThan'
func (*LogPoller_IndexedLogsTopicGreaterThan_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_IndexedLogsTopicGreaterThan_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_IndexedLogsTopicGreaterThan_Call
func (*LogPoller_IndexedLogsTopicGreaterThan_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_IndexedLogsTopicGreaterThan_Call) Run(run func(ctx context.Context, eventSig common.Hash, address common.Address, topicIndex int, topicValueMin common.Hash, confs types.Confirmations)) *LogPoller_IndexedLogsTopicGreaterThan_Call
func (*LogPoller_IndexedLogsTopicGreaterThan_Call) RunAndReturn ¶ added in v2.15.0
type LogPoller_IndexedLogsTopicRange_Call ¶ added in v2.15.0
LogPoller_IndexedLogsTopicRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IndexedLogsTopicRange'
func (*LogPoller_IndexedLogsTopicRange_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_IndexedLogsTopicRange_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_IndexedLogsTopicRange_Call
func (*LogPoller_IndexedLogsTopicRange_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_IndexedLogsTopicRange_Call) Run(run func(ctx context.Context, eventSig common.Hash, address common.Address, topicIndex int, topicValueMin common.Hash, topicValueMax common.Hash, confs types.Confirmations)) *LogPoller_IndexedLogsTopicRange_Call
func (*LogPoller_IndexedLogsTopicRange_Call) RunAndReturn ¶ added in v2.15.0
type LogPoller_IndexedLogsWithSigsExcluding_Call ¶ added in v2.15.0
LogPoller_IndexedLogsWithSigsExcluding_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IndexedLogsWithSigsExcluding'
func (*LogPoller_IndexedLogsWithSigsExcluding_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_IndexedLogsWithSigsExcluding_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_IndexedLogsWithSigsExcluding_Call
func (*LogPoller_IndexedLogsWithSigsExcluding_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_IndexedLogsWithSigsExcluding_Call) Run(run func(ctx context.Context, address common.Address, eventSigA common.Hash, eventSigB common.Hash, topicIndex int, fromBlock int64, toBlock int64, confs types.Confirmations)) *LogPoller_IndexedLogsWithSigsExcluding_Call
func (*LogPoller_IndexedLogsWithSigsExcluding_Call) RunAndReturn ¶ added in v2.15.0
type LogPoller_IndexedLogs_Call ¶ added in v2.15.0
LogPoller_IndexedLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IndexedLogs'
func (*LogPoller_IndexedLogs_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_IndexedLogs_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_IndexedLogs_Call
func (*LogPoller_IndexedLogs_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_IndexedLogs_Call) Run(run func(ctx context.Context, eventSig common.Hash, address common.Address, topicIndex int, topicValues []common.Hash, confs types.Confirmations)) *LogPoller_IndexedLogs_Call
func (*LogPoller_IndexedLogs_Call) RunAndReturn ¶ added in v2.15.0
type LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call ¶ added in v2.15.0
LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestBlockByEventSigsAddrsWithConfs'
func (*LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call) Return(_a0 int64, _a1 error) *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call
func (*LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call) Run(run func(ctx context.Context, fromBlock int64, eventSigs []common.Hash, addresses []common.Address, confs types.Confirmations)) *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call
func (*LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call) RunAndReturn(run func(context.Context, int64, []common.Hash, []common.Address, types.Confirmations) (int64, error)) *LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call
type LogPoller_LatestBlock_Call ¶ added in v2.15.0
LogPoller_LatestBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestBlock'
func (*LogPoller_LatestBlock_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_LatestBlock_Call) Return(_a0 logpoller.LogPollerBlock, _a1 error) *LogPoller_LatestBlock_Call
func (*LogPoller_LatestBlock_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_LatestBlock_Call) Run(run func(ctx context.Context)) *LogPoller_LatestBlock_Call
func (*LogPoller_LatestBlock_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_LatestBlock_Call) RunAndReturn(run func(context.Context) (logpoller.LogPollerBlock, error)) *LogPoller_LatestBlock_Call
type LogPoller_LatestLogByEventSigWithConfs_Call ¶ added in v2.15.0
LogPoller_LatestLogByEventSigWithConfs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestLogByEventSigWithConfs'
func (*LogPoller_LatestLogByEventSigWithConfs_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_LatestLogByEventSigWithConfs_Call) Return(_a0 *logpoller.Log, _a1 error) *LogPoller_LatestLogByEventSigWithConfs_Call
func (*LogPoller_LatestLogByEventSigWithConfs_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_LatestLogByEventSigWithConfs_Call) Run(run func(ctx context.Context, eventSig common.Hash, address common.Address, confs types.Confirmations)) *LogPoller_LatestLogByEventSigWithConfs_Call
func (*LogPoller_LatestLogByEventSigWithConfs_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_LatestLogByEventSigWithConfs_Call) RunAndReturn(run func(context.Context, common.Hash, common.Address, types.Confirmations) (*logpoller.Log, error)) *LogPoller_LatestLogByEventSigWithConfs_Call
type LogPoller_LatestLogEventSigsAddrsWithConfs_Call ¶ added in v2.15.0
LogPoller_LatestLogEventSigsAddrsWithConfs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestLogEventSigsAddrsWithConfs'
func (*LogPoller_LatestLogEventSigsAddrsWithConfs_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_LatestLogEventSigsAddrsWithConfs_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_LatestLogEventSigsAddrsWithConfs_Call
func (*LogPoller_LatestLogEventSigsAddrsWithConfs_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_LatestLogEventSigsAddrsWithConfs_Call) Run(run func(ctx context.Context, fromBlock int64, eventSigs []common.Hash, addresses []common.Address, confs types.Confirmations)) *LogPoller_LatestLogEventSigsAddrsWithConfs_Call
func (*LogPoller_LatestLogEventSigsAddrsWithConfs_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_LatestLogEventSigsAddrsWithConfs_Call) RunAndReturn(run func(context.Context, int64, []common.Hash, []common.Address, types.Confirmations) ([]logpoller.Log, error)) *LogPoller_LatestLogEventSigsAddrsWithConfs_Call
type LogPoller_LogsCreatedAfter_Call ¶ added in v2.15.0
LogPoller_LogsCreatedAfter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogsCreatedAfter'
func (*LogPoller_LogsCreatedAfter_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_LogsCreatedAfter_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_LogsCreatedAfter_Call
func (*LogPoller_LogsCreatedAfter_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_LogsCreatedAfter_Call) Run(run func(ctx context.Context, eventSig common.Hash, address common.Address, _a3 time.Time, confs types.Confirmations)) *LogPoller_LogsCreatedAfter_Call
func (*LogPoller_LogsCreatedAfter_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_LogsCreatedAfter_Call) RunAndReturn(run func(context.Context, common.Hash, common.Address, time.Time, types.Confirmations) ([]logpoller.Log, error)) *LogPoller_LogsCreatedAfter_Call
type LogPoller_LogsDataWordBetween_Call ¶ added in v2.15.0
LogPoller_LogsDataWordBetween_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogsDataWordBetween'
func (*LogPoller_LogsDataWordBetween_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_LogsDataWordBetween_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_LogsDataWordBetween_Call
func (*LogPoller_LogsDataWordBetween_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_LogsDataWordBetween_Call) Run(run func(ctx context.Context, eventSig common.Hash, address common.Address, wordIndexMin int, wordIndexMax int, wordValue common.Hash, confs types.Confirmations)) *LogPoller_LogsDataWordBetween_Call
func (*LogPoller_LogsDataWordBetween_Call) RunAndReturn ¶ added in v2.15.0
type LogPoller_LogsDataWordGreaterThan_Call ¶ added in v2.15.0
LogPoller_LogsDataWordGreaterThan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogsDataWordGreaterThan'
func (*LogPoller_LogsDataWordGreaterThan_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_LogsDataWordGreaterThan_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_LogsDataWordGreaterThan_Call
func (*LogPoller_LogsDataWordGreaterThan_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_LogsDataWordGreaterThan_Call) Run(run func(ctx context.Context, eventSig common.Hash, address common.Address, wordIndex int, wordValueMin common.Hash, confs types.Confirmations)) *LogPoller_LogsDataWordGreaterThan_Call
func (*LogPoller_LogsDataWordGreaterThan_Call) RunAndReturn ¶ added in v2.15.0
type LogPoller_LogsDataWordRange_Call ¶ added in v2.15.0
LogPoller_LogsDataWordRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogsDataWordRange'
func (*LogPoller_LogsDataWordRange_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_LogsDataWordRange_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_LogsDataWordRange_Call
func (*LogPoller_LogsDataWordRange_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_LogsDataWordRange_Call) Run(run func(ctx context.Context, eventSig common.Hash, address common.Address, wordIndex int, wordValueMin common.Hash, wordValueMax common.Hash, confs types.Confirmations)) *LogPoller_LogsDataWordRange_Call
func (*LogPoller_LogsDataWordRange_Call) RunAndReturn ¶ added in v2.15.0
type LogPoller_LogsWithSigs_Call ¶ added in v2.15.0
LogPoller_LogsWithSigs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogsWithSigs'
func (*LogPoller_LogsWithSigs_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_LogsWithSigs_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_LogsWithSigs_Call
func (*LogPoller_LogsWithSigs_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_LogsWithSigs_Call) Run(run func(ctx context.Context, start int64, end int64, eventSigs []common.Hash, address common.Address)) *LogPoller_LogsWithSigs_Call
func (*LogPoller_LogsWithSigs_Call) RunAndReturn ¶ added in v2.15.0
type LogPoller_Logs_Call ¶ added in v2.15.0
LogPoller_Logs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Logs'
func (*LogPoller_Logs_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_Logs_Call) Return(_a0 []logpoller.Log, _a1 error) *LogPoller_Logs_Call
func (*LogPoller_Logs_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_Logs_Call) Run(run func(ctx context.Context, start int64, end int64, eventSig common.Hash, address common.Address)) *LogPoller_Logs_Call
func (*LogPoller_Logs_Call) RunAndReturn ¶ added in v2.15.0
type LogPoller_Name_Call ¶ added in v2.15.0
LogPoller_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*LogPoller_Name_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_Name_Call) Return(_a0 string) *LogPoller_Name_Call
func (*LogPoller_Name_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_Name_Call) Run(run func()) *LogPoller_Name_Call
func (*LogPoller_Name_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_Name_Call) RunAndReturn(run func() string) *LogPoller_Name_Call
type LogPoller_Ready_Call ¶ added in v2.15.0
LogPoller_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*LogPoller_Ready_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_Ready_Call) Return(_a0 error) *LogPoller_Ready_Call
func (*LogPoller_Ready_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_Ready_Call) Run(run func()) *LogPoller_Ready_Call
func (*LogPoller_Ready_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_Ready_Call) RunAndReturn(run func() error) *LogPoller_Ready_Call
type LogPoller_RegisterFilter_Call ¶ added in v2.15.0
LogPoller_RegisterFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterFilter'
func (*LogPoller_RegisterFilter_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_RegisterFilter_Call) Return(_a0 error) *LogPoller_RegisterFilter_Call
func (*LogPoller_RegisterFilter_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_RegisterFilter_Call) Run(run func(ctx context.Context, filter logpoller.Filter)) *LogPoller_RegisterFilter_Call
func (*LogPoller_RegisterFilter_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_RegisterFilter_Call) RunAndReturn(run func(context.Context, logpoller.Filter) error) *LogPoller_RegisterFilter_Call
type LogPoller_ReplayAsync_Call ¶ added in v2.15.0
LogPoller_ReplayAsync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReplayAsync'
func (*LogPoller_ReplayAsync_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_ReplayAsync_Call) Return() *LogPoller_ReplayAsync_Call
func (*LogPoller_ReplayAsync_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_ReplayAsync_Call) Run(run func(fromBlock int64)) *LogPoller_ReplayAsync_Call
func (*LogPoller_ReplayAsync_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_ReplayAsync_Call) RunAndReturn(run func(int64)) *LogPoller_ReplayAsync_Call
type LogPoller_Replay_Call ¶ added in v2.15.0
LogPoller_Replay_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Replay'
func (*LogPoller_Replay_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_Replay_Call) Return(_a0 error) *LogPoller_Replay_Call
func (*LogPoller_Replay_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_Replay_Call) Run(run func(ctx context.Context, fromBlock int64)) *LogPoller_Replay_Call
func (*LogPoller_Replay_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_Replay_Call) RunAndReturn(run func(context.Context, int64) error) *LogPoller_Replay_Call
type LogPoller_Start_Call ¶ added in v2.15.0
LogPoller_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*LogPoller_Start_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_Start_Call) Return(_a0 error) *LogPoller_Start_Call
func (*LogPoller_Start_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_Start_Call) Run(run func(_a0 context.Context)) *LogPoller_Start_Call
func (*LogPoller_Start_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_Start_Call) RunAndReturn(run func(context.Context) error) *LogPoller_Start_Call
type LogPoller_UnregisterFilter_Call ¶ added in v2.15.0
LogPoller_UnregisterFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnregisterFilter'
func (*LogPoller_UnregisterFilter_Call) Return ¶ added in v2.15.0
func (_c *LogPoller_UnregisterFilter_Call) Return(_a0 error) *LogPoller_UnregisterFilter_Call
func (*LogPoller_UnregisterFilter_Call) Run ¶ added in v2.15.0
func (_c *LogPoller_UnregisterFilter_Call) Run(run func(ctx context.Context, name string)) *LogPoller_UnregisterFilter_Call
func (*LogPoller_UnregisterFilter_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LogPoller_UnregisterFilter_Call) RunAndReturn(run func(context.Context, string) error) *LogPoller_UnregisterFilter_Call