mock_message

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package mock_message is a generated GoMock package.

Package mock_message is a generated GoMock package.

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 MockConfirmationWatcher added in v0.2.0

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

MockConfirmationWatcher is a mock of ConfirmationWatcher interface.

func NewMockConfirmationWatcher added in v0.2.0

func NewMockConfirmationWatcher(ctrl *gomock.Controller) *MockConfirmationWatcher

NewMockConfirmationWatcher creates a new mock instance.

func (*MockConfirmationWatcher) EXPECT added in v0.2.0

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

func (*MockConfirmationWatcher) WaitForConfirmations added in v0.2.0

func (m *MockConfirmationWatcher) WaitForConfirmations(ctx context.Context, chainID uint64, txHash common.Hash, token common.Address, amount *big.Int) error

WaitForConfirmations mocks base method.

type MockConfirmationWatcherMockRecorder added in v0.2.0

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

MockConfirmationWatcherMockRecorder is the mock recorder for MockConfirmationWatcher.

func (*MockConfirmationWatcherMockRecorder) WaitForConfirmations added in v0.2.0

func (mr *MockConfirmationWatcherMockRecorder) WaitForConfirmations(ctx, chainID, txHash, token, amount any) *gomock.Call

WaitForConfirmations indicates an expected call of WaitForConfirmations.

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 MockMayanContract added in v0.2.0

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

MockMayanContract is a mock of MayanContract interface.

func NewMockMayanContract added in v0.2.0

func NewMockMayanContract(ctrl *gomock.Controller) *MockMayanContract

NewMockMayanContract creates a new mock instance.

func (*MockMayanContract) DecodeFulfillCall added in v0.2.0

func (m *MockMayanContract) DecodeFulfillCall(calldata []byte) (*contracts.MayanFulfillParams, *contracts.MayanFulfillMsg, error)

DecodeFulfillCall mocks base method.

func (*MockMayanContract) EXPECT added in v0.2.0

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

func (*MockMayanContract) GetOrder added in v0.2.0

func (m *MockMayanContract) GetOrder(msg *contracts.MayanFulfillMsg, swap *mayan.MayanSwap, srcTokenDecimals uint8) (*contracts.MayanOrder, error)

GetOrder mocks base method.

type MockMayanContractMockRecorder added in v0.2.0

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

MockMayanContractMockRecorder is the mock recorder for MockMayanContract.

func (*MockMayanContractMockRecorder) DecodeFulfillCall added in v0.2.0

func (mr *MockMayanContractMockRecorder) DecodeFulfillCall(calldata any) *gomock.Call

DecodeFulfillCall indicates an expected call of DecodeFulfillCall.

func (*MockMayanContractMockRecorder) GetOrder added in v0.2.0

func (mr *MockMayanContractMockRecorder) GetOrder(msg, swap, srcTokenDecimals any) *gomock.Call

GetOrder indicates an expected call of GetOrder.

type MockSwapFetcher added in v0.2.0

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

MockSwapFetcher is a mock of SwapFetcher interface.

func NewMockSwapFetcher added in v0.2.0

func NewMockSwapFetcher(ctrl *gomock.Controller) *MockSwapFetcher

NewMockSwapFetcher creates a new mock instance.

func (*MockSwapFetcher) EXPECT added in v0.2.0

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

func (*MockSwapFetcher) GetSwap added in v0.2.0

func (m *MockSwapFetcher) GetSwap(hash string) (*mayan.MayanSwap, error)

GetSwap mocks base method.

type MockSwapFetcherMockRecorder added in v0.2.0

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

MockSwapFetcherMockRecorder is the mock recorder for MockSwapFetcher.

func (*MockSwapFetcherMockRecorder) GetSwap added in v0.2.0

func (mr *MockSwapFetcherMockRecorder) GetSwap(hash any) *gomock.Call

GetSwap indicates an expected call of GetSwap.

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