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 ¶
- type MockConfirmationWatcher
- type MockConfirmationWatcherMockRecorder
- type MockCoordinator
- type MockCoordinatorMockRecorder
- type MockEventFilterer
- func (m *MockEventFilterer) EXPECT() *MockEventFiltererMockRecorder
- func (m *MockEventFilterer) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
- func (m *MockEventFilterer) LatestBlock() (*big.Int, error)
- func (m *MockEventFilterer) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- type MockEventFiltererMockRecorder
- type MockMayanContract
- func (m *MockMayanContract) DecodeFulfillCall(calldata []byte) (*contracts.MayanFulfillParams, *contracts.MayanFulfillMsg, error)
- func (m *MockMayanContract) EXPECT() *MockMayanContractMockRecorder
- func (m *MockMayanContract) GetOrder(msg *contracts.MayanFulfillMsg, swap *mayan.MayanSwap, srcTokenDecimals uint8) (*contracts.MayanOrder, error)
- type MockMayanContractMockRecorder
- type MockSwapFetcher
- type MockSwapFetcherMockRecorder
- type MockTokenMatcher
- type MockTokenMatcherMockRecorder
- type MockTokenPricer
- type MockTokenPricerMockRecorder
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
func (m *MockConfirmationWatcher) EXPECT() *MockConfirmationWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockCoordinator) EXPECT() *MockCoordinatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCoordinatorMockRecorder ¶
type MockCoordinatorMockRecorder struct {
// contains filtered or unexported fields
}
MockCoordinatorMockRecorder is the mock recorder for MockCoordinator.
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 ¶
func (m *MockEventFilterer) EXPECT() *MockEventFiltererMockRecorder
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
func (m *MockMayanContract) EXPECT() *MockMayanContractMockRecorder
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.
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
func (m *MockSwapFetcher) EXPECT() *MockSwapFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSwapFetcherMockRecorder ¶ added in v0.2.0
type MockSwapFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockSwapFetcherMockRecorder is the mock recorder for MockSwapFetcher.
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 ¶
func (m *MockTokenMatcher) EXPECT() *MockTokenMatcherMockRecorder
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 ¶
func (m *MockTokenPricer) EXPECT() *MockTokenPricerMockRecorder
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.