mock

package
v0.0.0-...-0ff5682 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 5 Imported by: 0

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

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

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

func (m *MockDiscoverer) ShouldDiscover(tx state.Tx, startingBlock, lastBlock uint64) (bool, error)

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.

Jump to

Keyboard shortcuts

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