mocks

package
v2.15.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogPoller

type LogPoller struct {
	mock.Mock
}

LogPoller is an autogenerated mock type for the LogPoller type

func NewLogPoller

func NewLogPoller(t interface {
	mock.TestingT
	Cleanup(func())
}) *LogPoller

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) Close

func (_m *LogPoller) Close() error

Close provides a mock function with given fields:

func (*LogPoller) DeleteLogsAndBlocksAfter added in v2.12.0

func (_m *LogPoller) DeleteLogsAndBlocksAfter(ctx context.Context, start int64) error

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

func (_m *LogPoller) FindLCA(ctx context.Context) (*logpoller.LogPollerBlock, error)

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

func (_m *LogPoller) GetFilters() map[string]logpoller.Filter

GetFilters provides a mock function with given fields:

func (*LogPoller) HasFilter added in v2.6.0

func (_m *LogPoller) HasFilter(name string) bool

HasFilter provides a mock function with given fields: name

func (*LogPoller) HealthReport

func (_m *LogPoller) HealthReport() map[string]error

HealthReport provides a mock function with given fields:

func (*LogPoller) Healthy added in v2.11.0

func (_m *LogPoller) Healthy() error

Healthy 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

func (_m *LogPoller) LatestBlock(ctx context.Context) (logpoller.LogPollerBlock, error)

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) Name

func (_m *LogPoller) Name() string

Name provides a mock function with given fields:

func (*LogPoller) Ready

func (_m *LogPoller) Ready() error

Ready provides a mock function with given fields:

func (*LogPoller) RegisterFilter

func (_m *LogPoller) RegisterFilter(ctx context.Context, filter logpoller.Filter) error

RegisterFilter provides a mock function with given fields: ctx, filter

func (*LogPoller) Replay

func (_m *LogPoller) Replay(ctx context.Context, fromBlock int64) error

Replay provides a mock function with given fields: ctx, fromBlock

func (*LogPoller) ReplayAsync added in v2.1.0

func (_m *LogPoller) ReplayAsync(fromBlock int64)

ReplayAsync provides a mock function with given fields: fromBlock

func (*LogPoller) Start

func (_m *LogPoller) Start(_a0 context.Context) error

Start provides a mock function with given fields: _a0

func (*LogPoller) UnregisterFilter

func (_m *LogPoller) UnregisterFilter(ctx context.Context, name string) error

UnregisterFilter provides a mock function with given fields: ctx, name

type LogPoller_Close_Call added in v2.15.0

type LogPoller_Close_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_DeleteLogsAndBlocksAfter_Call struct {
	*mock.Call
}

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 (*LogPoller_DeleteLogsAndBlocksAfter_Call) Run added in v2.15.0

func (*LogPoller_DeleteLogsAndBlocksAfter_Call) RunAndReturn added in v2.15.0

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

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

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

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

Name is a helper method to define mock.On call

func (*LogPoller_Expecter) Ready added in v2.15.0

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

type LogPoller_FilteredLogs_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_FindLCA_Call added in v2.15.0

type LogPoller_FindLCA_Call struct {
	*mock.Call
}

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 (*LogPoller_FindLCA_Call) Run added in v2.15.0

func (*LogPoller_FindLCA_Call) RunAndReturn added in v2.15.0

type LogPoller_GetBlocksRange_Call added in v2.15.0

type LogPoller_GetBlocksRange_Call struct {
	*mock.Call
}

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 (*LogPoller_GetBlocksRange_Call) Run added in v2.15.0

func (*LogPoller_GetBlocksRange_Call) RunAndReturn added in v2.15.0

type LogPoller_GetFilters_Call added in v2.15.0

type LogPoller_GetFilters_Call struct {
	*mock.Call
}

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 (*LogPoller_GetFilters_Call) Run added in v2.15.0

func (*LogPoller_GetFilters_Call) RunAndReturn added in v2.15.0

type LogPoller_HasFilter_Call added in v2.15.0

type LogPoller_HasFilter_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_HealthReport_Call struct {
	*mock.Call
}

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 (*LogPoller_HealthReport_Call) Run added in v2.15.0

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

type LogPoller_Healthy_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_IndexedLogsByBlockRange_Call struct {
	*mock.Call
}

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 (*LogPoller_IndexedLogsByBlockRange_Call) Run added in v2.15.0

func (_c *LogPoller_IndexedLogsByBlockRange_Call) Run(run func(ctx context.Context, start int64, end int64, eventSig common.Hash, address common.Address, topicIndex int, topicValues []common.Hash)) *LogPoller_IndexedLogsByBlockRange_Call

func (*LogPoller_IndexedLogsByBlockRange_Call) RunAndReturn added in v2.15.0

type LogPoller_IndexedLogsByTxHash_Call added in v2.15.0

type LogPoller_IndexedLogsByTxHash_Call struct {
	*mock.Call
}

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 (*LogPoller_IndexedLogsByTxHash_Call) Run added in v2.15.0

func (*LogPoller_IndexedLogsByTxHash_Call) RunAndReturn added in v2.15.0

type LogPoller_IndexedLogsCreatedAfter_Call added in v2.15.0

type LogPoller_IndexedLogsCreatedAfter_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_IndexedLogsTopicGreaterThan_Call struct {
	*mock.Call
}

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 (*LogPoller_IndexedLogsTopicGreaterThan_Call) Run added in v2.15.0

func (*LogPoller_IndexedLogsTopicGreaterThan_Call) RunAndReturn added in v2.15.0

type LogPoller_IndexedLogsTopicRange_Call added in v2.15.0

type LogPoller_IndexedLogsTopicRange_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_IndexedLogsWithSigsExcluding_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_IndexedLogs_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call struct {
	*mock.Call
}

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 (*LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call) Run added in v2.15.0

func (*LogPoller_LatestBlockByEventSigsAddrsWithConfs_Call) RunAndReturn added in v2.15.0

type LogPoller_LatestBlock_Call added in v2.15.0

type LogPoller_LatestBlock_Call struct {
	*mock.Call
}

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 (*LogPoller_LatestBlock_Call) Run added in v2.15.0

func (*LogPoller_LatestBlock_Call) RunAndReturn added in v2.15.0

type LogPoller_LatestLogByEventSigWithConfs_Call added in v2.15.0

type LogPoller_LatestLogByEventSigWithConfs_Call struct {
	*mock.Call
}

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 (*LogPoller_LatestLogByEventSigWithConfs_Call) Run added in v2.15.0

func (*LogPoller_LatestLogByEventSigWithConfs_Call) RunAndReturn added in v2.15.0

type LogPoller_LatestLogEventSigsAddrsWithConfs_Call added in v2.15.0

type LogPoller_LatestLogEventSigsAddrsWithConfs_Call struct {
	*mock.Call
}

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 (*LogPoller_LatestLogEventSigsAddrsWithConfs_Call) Run added in v2.15.0

func (*LogPoller_LatestLogEventSigsAddrsWithConfs_Call) RunAndReturn added in v2.15.0

type LogPoller_LogsCreatedAfter_Call added in v2.15.0

type LogPoller_LogsCreatedAfter_Call struct {
	*mock.Call
}

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 (*LogPoller_LogsCreatedAfter_Call) Run added in v2.15.0

func (*LogPoller_LogsCreatedAfter_Call) RunAndReturn added in v2.15.0

type LogPoller_LogsDataWordBetween_Call added in v2.15.0

type LogPoller_LogsDataWordBetween_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_LogsDataWordGreaterThan_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_LogsDataWordRange_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_LogsWithSigs_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_Logs_Call struct {
	*mock.Call
}

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

type LogPoller_Name_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_Ready_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_RegisterFilter_Call struct {
	*mock.Call
}

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 (*LogPoller_RegisterFilter_Call) Run added in v2.15.0

func (*LogPoller_RegisterFilter_Call) RunAndReturn added in v2.15.0

type LogPoller_ReplayAsync_Call added in v2.15.0

type LogPoller_ReplayAsync_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_Replay_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_Start_Call struct {
	*mock.Call
}

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 (*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

type LogPoller_UnregisterFilter_Call struct {
	*mock.Call
}

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 (*LogPoller_UnregisterFilter_Call) Run added in v2.15.0

func (*LogPoller_UnregisterFilter_Call) RunAndReturn added in v2.15.0

Jump to

Keyboard shortcuts

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