Documentation ¶
Overview ¶
File: internal/mock_blockchain_client.go
File: internal/mock_chain_poller.go
File: internal/tools.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBlockchainClient ¶
MockBlockchainClient implements the internal.BlockchainClient interface for testing.
func (*MockBlockchainClient) BlockNumber ¶
func (m *MockBlockchainClient) BlockNumber(ctx context.Context) (uint64, error)
func (*MockBlockchainClient) FilterLogs ¶
func (m *MockBlockchainClient) FilterLogs(ctx context.Context, query api.FilterQuery) ([]api.Log, error)
type MockChainPoller ¶
MockChainPoller implements the ChainPollerInterface for testing.
func (*MockChainPoller) FilterLogs ¶
func (m *MockChainPoller) FilterLogs(ctx context.Context, filterQueries []api.FilterQuery) ([]api.Log, error)
Directories ¶
Path | Synopsis |
---|---|
File: internal/chain_poller/chain_poller.go
|
File: internal/chain_poller/chain_poller.go |
File: internal/chain_poller_service/chain_poller_service.go
|
File: internal/chain_poller_service/chain_poller_service.go |
File: internal/subscription_manager/subscription_manager.go
|
File: internal/subscription_manager/subscription_manager.go |
Click to show internal directories.
Click to hide internal directories.