Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: internal/core/processor/universal/discoverer/discoverer.go
Generated by this command:
mockgen -source=internal/core/processor/universal/discoverer/discoverer.go -destination=internal/core/processor/universal/discoverer/mock/discoverer.go -package=mock
Package mock is a generated GoMock package.
Index ¶
- type MockDiscoverer
- func (m *MockDiscoverer) DiscoverContracts(ctx context.Context, tx state.Tx, startingBlock, lastBlock uint64) (map[common.Address]uint64, error)
- func (m *MockDiscoverer) EXPECT() *MockDiscovererMockRecorder
- func (m *MockDiscoverer) GetContracts(tx state.Tx) ([]string, error)
- func (m *MockDiscoverer) ShouldDiscover(tx state.Tx, startingBlock, lastBlock uint64) (bool, error)
- type MockDiscovererMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDiscoverer ¶
type MockDiscoverer struct {
// contains filtered or unexported fields
}
MockDiscoverer is a mock of Discoverer interface.
func NewMockDiscoverer ¶
func NewMockDiscoverer(ctrl *gomock.Controller) *MockDiscoverer
NewMockDiscoverer creates a new mock instance.
func (*MockDiscoverer) DiscoverContracts ¶
func (m *MockDiscoverer) DiscoverContracts(ctx context.Context, tx state.Tx, startingBlock, lastBlock uint64) (map[common.Address]uint64, error)
DiscoverContracts mocks base method.
func (*MockDiscoverer) EXPECT ¶
func (m *MockDiscoverer) EXPECT() *MockDiscovererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiscoverer) GetContracts ¶
func (m *MockDiscoverer) GetContracts(tx state.Tx) ([]string, error)
GetContracts mocks base method.
func (*MockDiscoverer) ShouldDiscover ¶
ShouldDiscover mocks base method.
type MockDiscovererMockRecorder ¶
type MockDiscovererMockRecorder struct {
// contains filtered or unexported fields
}
MockDiscovererMockRecorder is the mock recorder for MockDiscoverer.
func (*MockDiscovererMockRecorder) DiscoverContracts ¶
func (mr *MockDiscovererMockRecorder) DiscoverContracts(ctx, tx, startingBlock, lastBlock any) *gomock.Call
DiscoverContracts indicates an expected call of DiscoverContracts.
func (*MockDiscovererMockRecorder) GetContracts ¶
func (mr *MockDiscovererMockRecorder) GetContracts(tx any) *gomock.Call
GetContracts indicates an expected call of GetContracts.
func (*MockDiscovererMockRecorder) ShouldDiscover ¶
func (mr *MockDiscovererMockRecorder) ShouldDiscover(tx, startingBlock, lastBlock any) *gomock.Call
ShouldDiscover indicates an expected call of ShouldDiscover.