Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAMMService
- func (m *MockAMMService) EXPECT() *MockAMMServiceMockRecorder
- func (m *MockAMMService) GetSubKeysForParties(arg0 context.Context, arg1, arg2 []string) ([]string, error)
- func (m *MockAMMService) ListAll(arg0 context.Context, arg1 entities.CursorPagination) ([]entities.AMMPool, entities.PageInfo, error)
- func (m *MockAMMService) ListByMarket(arg0 context.Context, arg1 string, arg2 entities.CursorPagination) ([]entities.AMMPool, entities.PageInfo, error)
- func (m *MockAMMService) ListByParty(arg0 context.Context, arg1 string, arg2 entities.CursorPagination) ([]entities.AMMPool, entities.PageInfo, error)
- func (m *MockAMMService) ListByPartyMarketStatus(arg0 context.Context, arg1, arg2 *string, arg3 *entities.AMMStatus, ...) ([]entities.AMMPool, entities.PageInfo, error)
- func (m *MockAMMService) ListByPool(arg0 context.Context, arg1 string, arg2 entities.CursorPagination) ([]entities.AMMPool, entities.PageInfo, error)
- func (m *MockAMMService) ListByStatus(arg0 context.Context, arg1 entities.AMMStatus, arg2 entities.CursorPagination) ([]entities.AMMPool, entities.PageInfo, error)
- func (m *MockAMMService) ListBySubAccount(arg0 context.Context, arg1 string, arg2 entities.CursorPagination) ([]entities.AMMPool, entities.PageInfo, error)
- type MockAMMServiceMockRecorder
- func (mr *MockAMMServiceMockRecorder) GetSubKeysForParties(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAMMServiceMockRecorder) ListAll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAMMServiceMockRecorder) ListByMarket(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAMMServiceMockRecorder) ListByParty(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAMMServiceMockRecorder) ListByPartyMarketStatus(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockAMMServiceMockRecorder) ListByPool(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAMMServiceMockRecorder) ListByStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAMMServiceMockRecorder) ListBySubAccount(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockAssetService
- func (m *MockAssetService) EXPECT() *MockAssetServiceMockRecorder
- func (m *MockAssetService) GetAll(arg0 context.Context) ([]entities.Asset, error)
- func (m *MockAssetService) GetAllWithCursorPagination(arg0 context.Context, arg1 entities.CursorPagination) ([]entities.Asset, entities.PageInfo, error)
- func (m *MockAssetService) GetByID(arg0 context.Context, arg1 string) (entities.Asset, error)
- func (m *MockAssetService) GetByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.Asset, error)
- type MockAssetServiceMockRecorder
- func (mr *MockAssetServiceMockRecorder) GetAll(arg0 interface{}) *gomock.Call
- func (mr *MockAssetServiceMockRecorder) GetAllWithCursorPagination(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAssetServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAssetServiceMockRecorder) GetByTxHash(arg0, arg1 interface{}) *gomock.Call
- type MockBlockService
- type MockBlockServiceMockRecorder
- type MockCoreServiceClient
- func (m *MockCoreServiceClient) CheckRawTransaction(arg0 context.Context, arg1 *v1.CheckRawTransactionRequest, ...) (*v1.CheckRawTransactionResponse, error)
- func (m *MockCoreServiceClient) CheckTransaction(arg0 context.Context, arg1 *v1.CheckTransactionRequest, ...) (*v1.CheckTransactionResponse, error)
- func (m *MockCoreServiceClient) EXPECT() *MockCoreServiceClientMockRecorder
- func (m *MockCoreServiceClient) GetSpamStatistics(arg0 context.Context, arg1 *v1.GetSpamStatisticsRequest, ...) (*v1.GetSpamStatisticsResponse, error)
- func (m *MockCoreServiceClient) GetVegaTime(arg0 context.Context, arg1 *v1.GetVegaTimeRequest, arg2 ...grpc.CallOption) (*v1.GetVegaTimeResponse, error)
- func (m *MockCoreServiceClient) LastBlockHeight(arg0 context.Context, arg1 *v1.LastBlockHeightRequest, arg2 ...grpc.CallOption) (*v1.LastBlockHeightResponse, error)
- func (m *MockCoreServiceClient) ObserveEventBus(arg0 context.Context, arg1 ...grpc.CallOption) (v1.CoreService_ObserveEventBusClient, error)
- func (m *MockCoreServiceClient) PropagateChainEvent(arg0 context.Context, arg1 *v1.PropagateChainEventRequest, ...) (*v1.PropagateChainEventResponse, error)
- func (m *MockCoreServiceClient) Statistics(arg0 context.Context, arg1 *v1.StatisticsRequest, arg2 ...grpc.CallOption) (*v1.StatisticsResponse, error)
- func (m *MockCoreServiceClient) SubmitRawTransaction(arg0 context.Context, arg1 *v1.SubmitRawTransactionRequest, ...) (*v1.SubmitRawTransactionResponse, error)
- func (m *MockCoreServiceClient) SubmitTransaction(arg0 context.Context, arg1 *v1.SubmitTransactionRequest, ...) (*v1.SubmitTransactionResponse, error)
- type MockCoreServiceClientMockRecorder
- func (mr *MockCoreServiceClientMockRecorder) CheckRawTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) CheckTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) GetSpamStatistics(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) GetVegaTime(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) LastBlockHeight(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) ObserveEventBus(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) PropagateChainEvent(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) Statistics(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) SubmitRawTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) SubmitTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockEventService
- type MockEventServiceMockRecorder
- type MockMarketDataService
- func (m *MockMarketDataService) EXPECT() *MockMarketDataServiceMockRecorder
- func (m *MockMarketDataService) GetHistoricMarketData(arg0 context.Context, arg1 string, arg2, arg3 *time.Time, ...) ([]entities.MarketData, entities.PageInfo, error)
- func (m *MockMarketDataService) GetMarketDataByID(arg0 context.Context, arg1 string) (entities.MarketData, error)
- func (m *MockMarketDataService) GetMarketsData(arg0 context.Context) ([]entities.MarketData, error)
- func (m *MockMarketDataService) ObserveMarketData(arg0 context.Context, arg1 int, arg2 []string) (<-chan []*entities.MarketData, uint64)
- type MockMarketDataServiceMockRecorder
- func (mr *MockMarketDataServiceMockRecorder) GetHistoricMarketData(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockMarketDataServiceMockRecorder) GetMarketDataByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMarketDataServiceMockRecorder) GetMarketsData(arg0 interface{}) *gomock.Call
- func (mr *MockMarketDataServiceMockRecorder) ObserveMarketData(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockMarketsService
- func (m *MockMarketsService) EXPECT() *MockMarketsServiceMockRecorder
- func (m *MockMarketsService) GetAllPaged(arg0 context.Context, arg1 string, arg2 entities.CursorPagination, arg3 bool) ([]entities.Market, entities.PageInfo, error)
- func (m *MockMarketsService) GetByID(arg0 context.Context, arg1 string) (entities.Market, error)
- func (m *MockMarketsService) GetByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.Market, error)
- func (m *MockMarketsService) ListSuccessorMarkets(arg0 context.Context, arg1 string, arg2 bool, arg3 entities.CursorPagination) ([]entities.SuccessorMarket, entities.PageInfo, error)
- type MockMarketsServiceMockRecorder
- func (mr *MockMarketsServiceMockRecorder) GetAllPaged(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMarketsServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMarketsServiceMockRecorder) GetByTxHash(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMarketsServiceMockRecorder) ListSuccessorMarkets(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockNetworkHistoryService
- func (m *MockNetworkHistoryService) CopyHistorySegmentToFile(arg0 context.Context, arg1, arg2 string) error
- func (m *MockNetworkHistoryService) EXPECT() *MockNetworkHistoryServiceMockRecorder
- func (m *MockNetworkHistoryService) FetchHistorySegment(arg0 context.Context, arg1 string) (segment.Full, error)
- func (m *MockNetworkHistoryService) GetActivePeerIPAddresses() []string
- func (m *MockNetworkHistoryService) GetBootstrapPeers() []string
- func (m *MockNetworkHistoryService) GetConnectedPeerAddresses() ([]string, error)
- func (m *MockNetworkHistoryService) GetHighestBlockHeightHistorySegment() (segment.Full, error)
- func (m *MockNetworkHistoryService) GetHistorySegmentReader(arg0 context.Context, arg1 string) (io.ReadSeekCloser, int64, error)
- func (m *MockNetworkHistoryService) GetIpfsAddress() (string, error)
- func (m *MockNetworkHistoryService) GetSwarmKey() string
- func (m *MockNetworkHistoryService) GetSwarmKeySeed() string
- func (m *MockNetworkHistoryService) ListAllHistorySegments() (segment.Segments[segment.Full], error)
- type MockNetworkHistoryServiceMockRecorder
- func (mr *MockNetworkHistoryServiceMockRecorder) CopyHistorySegmentToFile(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetworkHistoryServiceMockRecorder) FetchHistorySegment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkHistoryServiceMockRecorder) GetActivePeerIPAddresses() *gomock.Call
- func (mr *MockNetworkHistoryServiceMockRecorder) GetBootstrapPeers() *gomock.Call
- func (mr *MockNetworkHistoryServiceMockRecorder) GetConnectedPeerAddresses() *gomock.Call
- func (mr *MockNetworkHistoryServiceMockRecorder) GetHighestBlockHeightHistorySegment() *gomock.Call
- func (mr *MockNetworkHistoryServiceMockRecorder) GetHistorySegmentReader(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkHistoryServiceMockRecorder) GetIpfsAddress() *gomock.Call
- func (mr *MockNetworkHistoryServiceMockRecorder) GetSwarmKey() *gomock.Call
- func (mr *MockNetworkHistoryServiceMockRecorder) GetSwarmKeySeed() *gomock.Call
- func (mr *MockNetworkHistoryServiceMockRecorder) ListAllHistorySegments() *gomock.Call
- type MockRiskFactorService
- type MockRiskFactorServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAMMService ¶ added in v0.77.0
type MockAMMService struct {
// contains filtered or unexported fields
}
MockAMMService is a mock of AMMService interface.
func NewMockAMMService ¶ added in v0.77.0
func NewMockAMMService(ctrl *gomock.Controller) *MockAMMService
NewMockAMMService creates a new mock instance.
func (*MockAMMService) EXPECT ¶ added in v0.77.0
func (m *MockAMMService) EXPECT() *MockAMMServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAMMService) GetSubKeysForParties ¶ added in v0.77.0
func (m *MockAMMService) GetSubKeysForParties(arg0 context.Context, arg1, arg2 []string) ([]string, error)
GetSubKeysForParties mocks base method.
func (*MockAMMService) ListAll ¶ added in v0.77.0
func (m *MockAMMService) ListAll(arg0 context.Context, arg1 entities.CursorPagination) ([]entities.AMMPool, entities.PageInfo, error)
ListAll mocks base method.
func (*MockAMMService) ListByMarket ¶ added in v0.77.0
func (m *MockAMMService) ListByMarket(arg0 context.Context, arg1 string, arg2 entities.CursorPagination) ([]entities.AMMPool, entities.PageInfo, error)
ListByMarket mocks base method.
func (*MockAMMService) ListByParty ¶ added in v0.77.0
func (m *MockAMMService) ListByParty(arg0 context.Context, arg1 string, arg2 entities.CursorPagination) ([]entities.AMMPool, entities.PageInfo, error)
ListByParty mocks base method.
func (*MockAMMService) ListByPartyMarketStatus ¶ added in v0.77.8
func (m *MockAMMService) ListByPartyMarketStatus(arg0 context.Context, arg1, arg2 *string, arg3 *entities.AMMStatus, arg4 entities.CursorPagination) ([]entities.AMMPool, entities.PageInfo, error)
ListByPartyMarketStatus mocks base method.
func (*MockAMMService) ListByPool ¶ added in v0.77.0
func (m *MockAMMService) ListByPool(arg0 context.Context, arg1 string, arg2 entities.CursorPagination) ([]entities.AMMPool, entities.PageInfo, error)
ListByPool mocks base method.
func (*MockAMMService) ListByStatus ¶ added in v0.77.0
func (m *MockAMMService) ListByStatus(arg0 context.Context, arg1 entities.AMMStatus, arg2 entities.CursorPagination) ([]entities.AMMPool, entities.PageInfo, error)
ListByStatus mocks base method.
func (*MockAMMService) ListBySubAccount ¶ added in v0.77.0
func (m *MockAMMService) ListBySubAccount(arg0 context.Context, arg1 string, arg2 entities.CursorPagination) ([]entities.AMMPool, entities.PageInfo, error)
ListBySubAccount mocks base method.
type MockAMMServiceMockRecorder ¶ added in v0.77.0
type MockAMMServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAMMServiceMockRecorder is the mock recorder for MockAMMService.
func (*MockAMMServiceMockRecorder) GetSubKeysForParties ¶ added in v0.77.0
func (mr *MockAMMServiceMockRecorder) GetSubKeysForParties(arg0, arg1, arg2 interface{}) *gomock.Call
GetSubKeysForParties indicates an expected call of GetSubKeysForParties.
func (*MockAMMServiceMockRecorder) ListAll ¶ added in v0.77.0
func (mr *MockAMMServiceMockRecorder) ListAll(arg0, arg1 interface{}) *gomock.Call
ListAll indicates an expected call of ListAll.
func (*MockAMMServiceMockRecorder) ListByMarket ¶ added in v0.77.0
func (mr *MockAMMServiceMockRecorder) ListByMarket(arg0, arg1, arg2 interface{}) *gomock.Call
ListByMarket indicates an expected call of ListByMarket.
func (*MockAMMServiceMockRecorder) ListByParty ¶ added in v0.77.0
func (mr *MockAMMServiceMockRecorder) ListByParty(arg0, arg1, arg2 interface{}) *gomock.Call
ListByParty indicates an expected call of ListByParty.
func (*MockAMMServiceMockRecorder) ListByPartyMarketStatus ¶ added in v0.77.8
func (mr *MockAMMServiceMockRecorder) ListByPartyMarketStatus(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ListByPartyMarketStatus indicates an expected call of ListByPartyMarketStatus.
func (*MockAMMServiceMockRecorder) ListByPool ¶ added in v0.77.0
func (mr *MockAMMServiceMockRecorder) ListByPool(arg0, arg1, arg2 interface{}) *gomock.Call
ListByPool indicates an expected call of ListByPool.
func (*MockAMMServiceMockRecorder) ListByStatus ¶ added in v0.77.0
func (mr *MockAMMServiceMockRecorder) ListByStatus(arg0, arg1, arg2 interface{}) *gomock.Call
ListByStatus indicates an expected call of ListByStatus.
func (*MockAMMServiceMockRecorder) ListBySubAccount ¶ added in v0.77.0
func (mr *MockAMMServiceMockRecorder) ListBySubAccount(arg0, arg1, arg2 interface{}) *gomock.Call
ListBySubAccount indicates an expected call of ListBySubAccount.
type MockAssetService ¶
type MockAssetService struct {
// contains filtered or unexported fields
}
MockAssetService is a mock of AssetService interface.
func NewMockAssetService ¶
func NewMockAssetService(ctrl *gomock.Controller) *MockAssetService
NewMockAssetService creates a new mock instance.
func (*MockAssetService) EXPECT ¶
func (m *MockAssetService) EXPECT() *MockAssetServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAssetService) GetAllWithCursorPagination ¶ added in v0.74.0
func (m *MockAssetService) GetAllWithCursorPagination(arg0 context.Context, arg1 entities.CursorPagination) ([]entities.Asset, entities.PageInfo, error)
GetAllWithCursorPagination mocks base method.
func (*MockAssetService) GetByTxHash ¶ added in v0.74.0
func (m *MockAssetService) GetByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.Asset, error)
GetByTxHash mocks base method.
type MockAssetServiceMockRecorder ¶
type MockAssetServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAssetServiceMockRecorder is the mock recorder for MockAssetService.
func (*MockAssetServiceMockRecorder) GetAll ¶
func (mr *MockAssetServiceMockRecorder) GetAll(arg0 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockAssetServiceMockRecorder) GetAllWithCursorPagination ¶ added in v0.74.0
func (mr *MockAssetServiceMockRecorder) GetAllWithCursorPagination(arg0, arg1 interface{}) *gomock.Call
GetAllWithCursorPagination indicates an expected call of GetAllWithCursorPagination.
func (*MockAssetServiceMockRecorder) GetByID ¶
func (mr *MockAssetServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockAssetServiceMockRecorder) GetByTxHash ¶ added in v0.74.0
func (mr *MockAssetServiceMockRecorder) GetByTxHash(arg0, arg1 interface{}) *gomock.Call
GetByTxHash indicates an expected call of GetByTxHash.
type MockBlockService ¶ added in v0.56.0
type MockBlockService struct {
// contains filtered or unexported fields
}
MockBlockService is a mock of BlockService interface.
func NewMockBlockService ¶ added in v0.56.0
func NewMockBlockService(ctrl *gomock.Controller) *MockBlockService
NewMockBlockService creates a new mock instance.
func (*MockBlockService) EXPECT ¶ added in v0.56.0
func (m *MockBlockService) EXPECT() *MockBlockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBlockService) GetLastBlock ¶ added in v0.56.0
GetLastBlock mocks base method.
type MockBlockServiceMockRecorder ¶ added in v0.56.0
type MockBlockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockServiceMockRecorder is the mock recorder for MockBlockService.
func (*MockBlockServiceMockRecorder) GetLastBlock ¶ added in v0.56.0
func (mr *MockBlockServiceMockRecorder) GetLastBlock(arg0 interface{}) *gomock.Call
GetLastBlock indicates an expected call of GetLastBlock.
type MockCoreServiceClient ¶
type MockCoreServiceClient struct {
// contains filtered or unexported fields
}
MockCoreServiceClient is a mock of CoreServiceClient interface.
func NewMockCoreServiceClient ¶
func NewMockCoreServiceClient(ctrl *gomock.Controller) *MockCoreServiceClient
NewMockCoreServiceClient creates a new mock instance.
func (*MockCoreServiceClient) CheckRawTransaction ¶
func (m *MockCoreServiceClient) CheckRawTransaction(arg0 context.Context, arg1 *v1.CheckRawTransactionRequest, arg2 ...grpc.CallOption) (*v1.CheckRawTransactionResponse, error)
CheckRawTransaction mocks base method.
func (*MockCoreServiceClient) CheckTransaction ¶
func (m *MockCoreServiceClient) CheckTransaction(arg0 context.Context, arg1 *v1.CheckTransactionRequest, arg2 ...grpc.CallOption) (*v1.CheckTransactionResponse, error)
CheckTransaction mocks base method.
func (*MockCoreServiceClient) EXPECT ¶
func (m *MockCoreServiceClient) EXPECT() *MockCoreServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCoreServiceClient) GetSpamStatistics ¶ added in v0.67.0
func (m *MockCoreServiceClient) GetSpamStatistics(arg0 context.Context, arg1 *v1.GetSpamStatisticsRequest, arg2 ...grpc.CallOption) (*v1.GetSpamStatisticsResponse, error)
GetSpamStatistics mocks base method.
func (*MockCoreServiceClient) GetVegaTime ¶
func (m *MockCoreServiceClient) GetVegaTime(arg0 context.Context, arg1 *v1.GetVegaTimeRequest, arg2 ...grpc.CallOption) (*v1.GetVegaTimeResponse, error)
GetVegaTime mocks base method.
func (*MockCoreServiceClient) LastBlockHeight ¶
func (m *MockCoreServiceClient) LastBlockHeight(arg0 context.Context, arg1 *v1.LastBlockHeightRequest, arg2 ...grpc.CallOption) (*v1.LastBlockHeightResponse, error)
LastBlockHeight mocks base method.
func (*MockCoreServiceClient) ObserveEventBus ¶
func (m *MockCoreServiceClient) ObserveEventBus(arg0 context.Context, arg1 ...grpc.CallOption) (v1.CoreService_ObserveEventBusClient, error)
ObserveEventBus mocks base method.
func (*MockCoreServiceClient) PropagateChainEvent ¶
func (m *MockCoreServiceClient) PropagateChainEvent(arg0 context.Context, arg1 *v1.PropagateChainEventRequest, arg2 ...grpc.CallOption) (*v1.PropagateChainEventResponse, error)
PropagateChainEvent mocks base method.
func (*MockCoreServiceClient) Statistics ¶
func (m *MockCoreServiceClient) Statistics(arg0 context.Context, arg1 *v1.StatisticsRequest, arg2 ...grpc.CallOption) (*v1.StatisticsResponse, error)
Statistics mocks base method.
func (*MockCoreServiceClient) SubmitRawTransaction ¶
func (m *MockCoreServiceClient) SubmitRawTransaction(arg0 context.Context, arg1 *v1.SubmitRawTransactionRequest, arg2 ...grpc.CallOption) (*v1.SubmitRawTransactionResponse, error)
SubmitRawTransaction mocks base method.
func (*MockCoreServiceClient) SubmitTransaction ¶
func (m *MockCoreServiceClient) SubmitTransaction(arg0 context.Context, arg1 *v1.SubmitTransactionRequest, arg2 ...grpc.CallOption) (*v1.SubmitTransactionResponse, error)
SubmitTransaction mocks base method.
type MockCoreServiceClientMockRecorder ¶
type MockCoreServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCoreServiceClientMockRecorder is the mock recorder for MockCoreServiceClient.
func (*MockCoreServiceClientMockRecorder) CheckRawTransaction ¶
func (mr *MockCoreServiceClientMockRecorder) CheckRawTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CheckRawTransaction indicates an expected call of CheckRawTransaction.
func (*MockCoreServiceClientMockRecorder) CheckTransaction ¶
func (mr *MockCoreServiceClientMockRecorder) CheckTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CheckTransaction indicates an expected call of CheckTransaction.
func (*MockCoreServiceClientMockRecorder) GetSpamStatistics ¶ added in v0.67.0
func (mr *MockCoreServiceClientMockRecorder) GetSpamStatistics(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetSpamStatistics indicates an expected call of GetSpamStatistics.
func (*MockCoreServiceClientMockRecorder) GetVegaTime ¶
func (mr *MockCoreServiceClientMockRecorder) GetVegaTime(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetVegaTime indicates an expected call of GetVegaTime.
func (*MockCoreServiceClientMockRecorder) LastBlockHeight ¶
func (mr *MockCoreServiceClientMockRecorder) LastBlockHeight(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
LastBlockHeight indicates an expected call of LastBlockHeight.
func (*MockCoreServiceClientMockRecorder) ObserveEventBus ¶
func (mr *MockCoreServiceClientMockRecorder) ObserveEventBus(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ObserveEventBus indicates an expected call of ObserveEventBus.
func (*MockCoreServiceClientMockRecorder) PropagateChainEvent ¶
func (mr *MockCoreServiceClientMockRecorder) PropagateChainEvent(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
PropagateChainEvent indicates an expected call of PropagateChainEvent.
func (*MockCoreServiceClientMockRecorder) Statistics ¶
func (mr *MockCoreServiceClientMockRecorder) Statistics(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Statistics indicates an expected call of Statistics.
func (*MockCoreServiceClientMockRecorder) SubmitRawTransaction ¶
func (mr *MockCoreServiceClientMockRecorder) SubmitRawTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SubmitRawTransaction indicates an expected call of SubmitRawTransaction.
func (*MockCoreServiceClientMockRecorder) SubmitTransaction ¶
func (mr *MockCoreServiceClientMockRecorder) SubmitTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SubmitTransaction indicates an expected call of SubmitTransaction.
type MockEventService ¶
type MockEventService struct {
// contains filtered or unexported fields
}
MockEventService is a mock of EventService interface.
func NewMockEventService ¶
func NewMockEventService(ctrl *gomock.Controller) *MockEventService
NewMockEventService creates a new mock instance.
func (*MockEventService) EXPECT ¶
func (m *MockEventService) EXPECT() *MockEventServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventService) ObserveEvents ¶
func (m *MockEventService) ObserveEvents(arg0 context.Context, arg1 int, arg2 []events.Type, arg3 int, arg4 ...subscribers.EventFilter) (<-chan []*v1.BusEvent, chan<- int)
ObserveEvents mocks base method.
type MockEventServiceMockRecorder ¶
type MockEventServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockEventServiceMockRecorder is the mock recorder for MockEventService.
func (*MockEventServiceMockRecorder) ObserveEvents ¶
func (mr *MockEventServiceMockRecorder) ObserveEvents(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
ObserveEvents indicates an expected call of ObserveEvents.
type MockMarketDataService ¶ added in v0.74.0
type MockMarketDataService struct {
// contains filtered or unexported fields
}
MockMarketDataService is a mock of MarketDataService interface.
func NewMockMarketDataService ¶ added in v0.74.0
func NewMockMarketDataService(ctrl *gomock.Controller) *MockMarketDataService
NewMockMarketDataService creates a new mock instance.
func (*MockMarketDataService) EXPECT ¶ added in v0.74.0
func (m *MockMarketDataService) EXPECT() *MockMarketDataServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMarketDataService) GetHistoricMarketData ¶ added in v0.74.0
func (m *MockMarketDataService) GetHistoricMarketData(arg0 context.Context, arg1 string, arg2, arg3 *time.Time, arg4 entities.Pagination) ([]entities.MarketData, entities.PageInfo, error)
GetHistoricMarketData mocks base method.
func (*MockMarketDataService) GetMarketDataByID ¶ added in v0.74.0
func (m *MockMarketDataService) GetMarketDataByID(arg0 context.Context, arg1 string) (entities.MarketData, error)
GetMarketDataByID mocks base method.
func (*MockMarketDataService) GetMarketsData ¶ added in v0.74.0
func (m *MockMarketDataService) GetMarketsData(arg0 context.Context) ([]entities.MarketData, error)
GetMarketsData mocks base method.
func (*MockMarketDataService) ObserveMarketData ¶ added in v0.74.0
func (m *MockMarketDataService) ObserveMarketData(arg0 context.Context, arg1 int, arg2 []string) (<-chan []*entities.MarketData, uint64)
ObserveMarketData mocks base method.
type MockMarketDataServiceMockRecorder ¶ added in v0.74.0
type MockMarketDataServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockMarketDataServiceMockRecorder is the mock recorder for MockMarketDataService.
func (*MockMarketDataServiceMockRecorder) GetHistoricMarketData ¶ added in v0.74.0
func (mr *MockMarketDataServiceMockRecorder) GetHistoricMarketData(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetHistoricMarketData indicates an expected call of GetHistoricMarketData.
func (*MockMarketDataServiceMockRecorder) GetMarketDataByID ¶ added in v0.74.0
func (mr *MockMarketDataServiceMockRecorder) GetMarketDataByID(arg0, arg1 interface{}) *gomock.Call
GetMarketDataByID indicates an expected call of GetMarketDataByID.
func (*MockMarketDataServiceMockRecorder) GetMarketsData ¶ added in v0.74.0
func (mr *MockMarketDataServiceMockRecorder) GetMarketsData(arg0 interface{}) *gomock.Call
GetMarketsData indicates an expected call of GetMarketsData.
func (*MockMarketDataServiceMockRecorder) ObserveMarketData ¶ added in v0.74.0
func (mr *MockMarketDataServiceMockRecorder) ObserveMarketData(arg0, arg1, arg2 interface{}) *gomock.Call
ObserveMarketData indicates an expected call of ObserveMarketData.
type MockMarketsService ¶ added in v0.74.0
type MockMarketsService struct {
// contains filtered or unexported fields
}
MockMarketsService is a mock of MarketsService interface.
func NewMockMarketsService ¶ added in v0.74.0
func NewMockMarketsService(ctrl *gomock.Controller) *MockMarketsService
NewMockMarketsService creates a new mock instance.
func (*MockMarketsService) EXPECT ¶ added in v0.74.0
func (m *MockMarketsService) EXPECT() *MockMarketsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMarketsService) GetAllPaged ¶ added in v0.74.0
func (m *MockMarketsService) GetAllPaged(arg0 context.Context, arg1 string, arg2 entities.CursorPagination, arg3 bool) ([]entities.Market, entities.PageInfo, error)
GetAllPaged mocks base method.
func (*MockMarketsService) GetByTxHash ¶ added in v0.74.0
func (m *MockMarketsService) GetByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.Market, error)
GetByTxHash mocks base method.
func (*MockMarketsService) ListSuccessorMarkets ¶ added in v0.74.0
func (m *MockMarketsService) ListSuccessorMarkets(arg0 context.Context, arg1 string, arg2 bool, arg3 entities.CursorPagination) ([]entities.SuccessorMarket, entities.PageInfo, error)
ListSuccessorMarkets mocks base method.
type MockMarketsServiceMockRecorder ¶ added in v0.74.0
type MockMarketsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockMarketsServiceMockRecorder is the mock recorder for MockMarketsService.
func (*MockMarketsServiceMockRecorder) GetAllPaged ¶ added in v0.74.0
func (mr *MockMarketsServiceMockRecorder) GetAllPaged(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetAllPaged indicates an expected call of GetAllPaged.
func (*MockMarketsServiceMockRecorder) GetByID ¶ added in v0.74.0
func (mr *MockMarketsServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockMarketsServiceMockRecorder) GetByTxHash ¶ added in v0.74.0
func (mr *MockMarketsServiceMockRecorder) GetByTxHash(arg0, arg1 interface{}) *gomock.Call
GetByTxHash indicates an expected call of GetByTxHash.
func (*MockMarketsServiceMockRecorder) ListSuccessorMarkets ¶ added in v0.74.0
func (mr *MockMarketsServiceMockRecorder) ListSuccessorMarkets(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListSuccessorMarkets indicates an expected call of ListSuccessorMarkets.
type MockNetworkHistoryService ¶ added in v0.67.0
type MockNetworkHistoryService struct {
// contains filtered or unexported fields
}
MockNetworkHistoryService is a mock of NetworkHistoryService interface.
func NewMockNetworkHistoryService ¶ added in v0.67.0
func NewMockNetworkHistoryService(ctrl *gomock.Controller) *MockNetworkHistoryService
NewMockNetworkHistoryService creates a new mock instance.
func (*MockNetworkHistoryService) CopyHistorySegmentToFile ¶ added in v0.67.0
func (m *MockNetworkHistoryService) CopyHistorySegmentToFile(arg0 context.Context, arg1, arg2 string) error
CopyHistorySegmentToFile mocks base method.
func (*MockNetworkHistoryService) EXPECT ¶ added in v0.67.0
func (m *MockNetworkHistoryService) EXPECT() *MockNetworkHistoryServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetworkHistoryService) FetchHistorySegment ¶ added in v0.67.0
func (m *MockNetworkHistoryService) FetchHistorySegment(arg0 context.Context, arg1 string) (segment.Full, error)
FetchHistorySegment mocks base method.
func (*MockNetworkHistoryService) GetActivePeerIPAddresses ¶ added in v0.68.0
func (m *MockNetworkHistoryService) GetActivePeerIPAddresses() []string
GetActivePeerIPAddresses mocks base method.
func (*MockNetworkHistoryService) GetBootstrapPeers ¶ added in v0.68.0
func (m *MockNetworkHistoryService) GetBootstrapPeers() []string
GetBootstrapPeers mocks base method.
func (*MockNetworkHistoryService) GetConnectedPeerAddresses ¶ added in v0.68.0
func (m *MockNetworkHistoryService) GetConnectedPeerAddresses() ([]string, error)
GetConnectedPeerAddresses mocks base method.
func (*MockNetworkHistoryService) GetHighestBlockHeightHistorySegment ¶ added in v0.67.0
func (m *MockNetworkHistoryService) GetHighestBlockHeightHistorySegment() (segment.Full, error)
GetHighestBlockHeightHistorySegment mocks base method.
func (*MockNetworkHistoryService) GetHistorySegmentReader ¶ added in v0.71.0
func (m *MockNetworkHistoryService) GetHistorySegmentReader(arg0 context.Context, arg1 string) (io.ReadSeekCloser, int64, error)
GetHistorySegmentReader mocks base method.
func (*MockNetworkHistoryService) GetIpfsAddress ¶ added in v0.68.0
func (m *MockNetworkHistoryService) GetIpfsAddress() (string, error)
GetIpfsAddress mocks base method.
func (*MockNetworkHistoryService) GetSwarmKey ¶ added in v0.67.0
func (m *MockNetworkHistoryService) GetSwarmKey() string
GetSwarmKey mocks base method.
func (*MockNetworkHistoryService) GetSwarmKeySeed ¶ added in v0.68.0
func (m *MockNetworkHistoryService) GetSwarmKeySeed() string
GetSwarmKeySeed mocks base method.
func (*MockNetworkHistoryService) ListAllHistorySegments ¶ added in v0.67.0
func (m *MockNetworkHistoryService) ListAllHistorySegments() (segment.Segments[segment.Full], error)
ListAllHistorySegments mocks base method.
type MockNetworkHistoryServiceMockRecorder ¶ added in v0.67.0
type MockNetworkHistoryServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkHistoryServiceMockRecorder is the mock recorder for MockNetworkHistoryService.
func (*MockNetworkHistoryServiceMockRecorder) CopyHistorySegmentToFile ¶ added in v0.67.0
func (mr *MockNetworkHistoryServiceMockRecorder) CopyHistorySegmentToFile(arg0, arg1, arg2 interface{}) *gomock.Call
CopyHistorySegmentToFile indicates an expected call of CopyHistorySegmentToFile.
func (*MockNetworkHistoryServiceMockRecorder) FetchHistorySegment ¶ added in v0.67.0
func (mr *MockNetworkHistoryServiceMockRecorder) FetchHistorySegment(arg0, arg1 interface{}) *gomock.Call
FetchHistorySegment indicates an expected call of FetchHistorySegment.
func (*MockNetworkHistoryServiceMockRecorder) GetActivePeerIPAddresses ¶ added in v0.68.0
func (mr *MockNetworkHistoryServiceMockRecorder) GetActivePeerIPAddresses() *gomock.Call
GetActivePeerIPAddresses indicates an expected call of GetActivePeerIPAddresses.
func (*MockNetworkHistoryServiceMockRecorder) GetBootstrapPeers ¶ added in v0.68.0
func (mr *MockNetworkHistoryServiceMockRecorder) GetBootstrapPeers() *gomock.Call
GetBootstrapPeers indicates an expected call of GetBootstrapPeers.
func (*MockNetworkHistoryServiceMockRecorder) GetConnectedPeerAddresses ¶ added in v0.68.0
func (mr *MockNetworkHistoryServiceMockRecorder) GetConnectedPeerAddresses() *gomock.Call
GetConnectedPeerAddresses indicates an expected call of GetConnectedPeerAddresses.
func (*MockNetworkHistoryServiceMockRecorder) GetHighestBlockHeightHistorySegment ¶ added in v0.67.0
func (mr *MockNetworkHistoryServiceMockRecorder) GetHighestBlockHeightHistorySegment() *gomock.Call
GetHighestBlockHeightHistorySegment indicates an expected call of GetHighestBlockHeightHistorySegment.
func (*MockNetworkHistoryServiceMockRecorder) GetHistorySegmentReader ¶ added in v0.71.0
func (mr *MockNetworkHistoryServiceMockRecorder) GetHistorySegmentReader(arg0, arg1 interface{}) *gomock.Call
GetHistorySegmentReader indicates an expected call of GetHistorySegmentReader.
func (*MockNetworkHistoryServiceMockRecorder) GetIpfsAddress ¶ added in v0.68.0
func (mr *MockNetworkHistoryServiceMockRecorder) GetIpfsAddress() *gomock.Call
GetIpfsAddress indicates an expected call of GetIpfsAddress.
func (*MockNetworkHistoryServiceMockRecorder) GetSwarmKey ¶ added in v0.67.0
func (mr *MockNetworkHistoryServiceMockRecorder) GetSwarmKey() *gomock.Call
GetSwarmKey indicates an expected call of GetSwarmKey.
func (*MockNetworkHistoryServiceMockRecorder) GetSwarmKeySeed ¶ added in v0.68.0
func (mr *MockNetworkHistoryServiceMockRecorder) GetSwarmKeySeed() *gomock.Call
GetSwarmKeySeed indicates an expected call of GetSwarmKeySeed.
func (*MockNetworkHistoryServiceMockRecorder) ListAllHistorySegments ¶ added in v0.67.0
func (mr *MockNetworkHistoryServiceMockRecorder) ListAllHistorySegments() *gomock.Call
ListAllHistorySegments indicates an expected call of ListAllHistorySegments.
type MockRiskFactorService ¶ added in v0.74.0
type MockRiskFactorService struct {
// contains filtered or unexported fields
}
MockRiskFactorService is a mock of RiskFactorService interface.
func NewMockRiskFactorService ¶ added in v0.74.0
func NewMockRiskFactorService(ctrl *gomock.Controller) *MockRiskFactorService
NewMockRiskFactorService creates a new mock instance.
func (*MockRiskFactorService) EXPECT ¶ added in v0.74.0
func (m *MockRiskFactorService) EXPECT() *MockRiskFactorServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRiskFactorService) GetMarketRiskFactors ¶ added in v0.74.0
func (m *MockRiskFactorService) GetMarketRiskFactors(arg0 context.Context, arg1 string) (entities.RiskFactor, error)
GetMarketRiskFactors mocks base method.
type MockRiskFactorServiceMockRecorder ¶ added in v0.74.0
type MockRiskFactorServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRiskFactorServiceMockRecorder is the mock recorder for MockRiskFactorService.
func (*MockRiskFactorServiceMockRecorder) GetMarketRiskFactors ¶ added in v0.74.0
func (mr *MockRiskFactorServiceMockRecorder) GetMarketRiskFactors(arg0, arg1 interface{}) *gomock.Call
GetMarketRiskFactors indicates an expected call of GetMarketRiskFactors.