mock_message

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2025 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_message is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCoordinator

type MockCoordinator struct {
	// contains filtered or unexported fields
}

MockCoordinator is a mock of Coordinator interface.

func NewMockCoordinator

func NewMockCoordinator(ctrl *gomock.Controller) *MockCoordinator

NewMockCoordinator creates a new mock instance.

func (*MockCoordinator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCoordinator) Execute

func (m *MockCoordinator) Execute(ctx context.Context, tssProcesses []tss.TssProcess, resultChn chan any, coordinator peer.ID) error

Execute mocks base method.

type MockCoordinatorMockRecorder

type MockCoordinatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockCoordinatorMockRecorder is the mock recorder for MockCoordinator.

func (*MockCoordinatorMockRecorder) Execute

func (mr *MockCoordinatorMockRecorder) Execute(ctx, tssProcesses, resultChn, coordinator any) *gomock.Call

Execute indicates an expected call of Execute.

type MockEventFilterer

type MockEventFilterer struct {
	// contains filtered or unexported fields
}

MockEventFilterer is a mock of EventFilterer interface.

func NewMockEventFilterer

func NewMockEventFilterer(ctrl *gomock.Controller) *MockEventFilterer

NewMockEventFilterer creates a new mock instance.

func (*MockEventFilterer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEventFilterer) FilterLogs

func (m *MockEventFilterer) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)

FilterLogs mocks base method.

func (*MockEventFilterer) LatestBlock

func (m *MockEventFilterer) LatestBlock() (*big.Int, error)

LatestBlock mocks base method.

func (*MockEventFilterer) TransactionReceipt

func (m *MockEventFilterer) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)

TransactionReceipt mocks base method.

type MockEventFiltererMockRecorder

type MockEventFiltererMockRecorder struct {
	// contains filtered or unexported fields
}

MockEventFiltererMockRecorder is the mock recorder for MockEventFilterer.

func (*MockEventFiltererMockRecorder) FilterLogs

func (mr *MockEventFiltererMockRecorder) FilterLogs(ctx, q any) *gomock.Call

FilterLogs indicates an expected call of FilterLogs.

func (*MockEventFiltererMockRecorder) LatestBlock

func (mr *MockEventFiltererMockRecorder) LatestBlock() *gomock.Call

LatestBlock indicates an expected call of LatestBlock.

func (*MockEventFiltererMockRecorder) TransactionReceipt

func (mr *MockEventFiltererMockRecorder) TransactionReceipt(ctx, txHash any) *gomock.Call

TransactionReceipt indicates an expected call of TransactionReceipt.

type MockTokenMatcher

type MockTokenMatcher struct {
	// contains filtered or unexported fields
}

MockTokenMatcher is a mock of TokenMatcher interface.

func NewMockTokenMatcher

func NewMockTokenMatcher(ctrl *gomock.Controller) *MockTokenMatcher

NewMockTokenMatcher creates a new mock instance.

func (*MockTokenMatcher) DestinationToken

func (m *MockTokenMatcher) DestinationToken(destinationChainId *big.Int, symbol string) (common.Address, error)

DestinationToken mocks base method.

func (*MockTokenMatcher) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockTokenMatcherMockRecorder

type MockTokenMatcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockTokenMatcherMockRecorder is the mock recorder for MockTokenMatcher.

func (*MockTokenMatcherMockRecorder) DestinationToken

func (mr *MockTokenMatcherMockRecorder) DestinationToken(destinationChainId, symbol any) *gomock.Call

DestinationToken indicates an expected call of DestinationToken.

type MockTokenPricer

type MockTokenPricer struct {
	// contains filtered or unexported fields
}

MockTokenPricer is a mock of TokenPricer interface.

func NewMockTokenPricer

func NewMockTokenPricer(ctrl *gomock.Controller) *MockTokenPricer

NewMockTokenPricer creates a new mock instance.

func (*MockTokenPricer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTokenPricer) TokenPrice

func (m *MockTokenPricer) TokenPrice(symbol string) (float64, error)

TokenPrice mocks base method.

type MockTokenPricerMockRecorder

type MockTokenPricerMockRecorder struct {
	// contains filtered or unexported fields
}

MockTokenPricerMockRecorder is the mock recorder for MockTokenPricer.

func (*MockTokenPricerMockRecorder) TokenPrice

func (mr *MockTokenPricerMockRecorder) TokenPrice(symbol any) *gomock.Call

TokenPrice indicates an expected call of TokenPrice.

Jump to

Keyboard shortcuts

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