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.
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.
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 MockAccountsService
- func (m *MockAccountsService) EXPECT() *MockAccountsServiceMockRecorder
- func (m *MockAccountsService) GetAccountSubscribersCount() int32
- func (m *MockAccountsService) GetFeeInfrastructureAccounts(arg0 string) ([]*vega.Account, error)
- func (m *MockAccountsService) GetGlobalRewardPoolAccounts(arg0 string) ([]*vega.Account, error)
- func (m *MockAccountsService) GetMarketAccounts(arg0, arg1 string) ([]*vega.Account, error)
- func (m *MockAccountsService) GetPartyAccounts(arg0, arg1, arg2 string, arg3 vega.AccountType) ([]*vega.Account, error)
- func (m *MockAccountsService) ObserveAccounts(arg0 context.Context, arg1 int, arg2, arg3, arg4 string, arg5 vega.AccountType) (<-chan []*vega.Account, uint64)
- type MockAccountsServiceMockRecorder
- func (mr *MockAccountsServiceMockRecorder) GetAccountSubscribersCount() *gomock.Call
- func (mr *MockAccountsServiceMockRecorder) GetFeeInfrastructureAccounts(arg0 interface{}) *gomock.Call
- func (mr *MockAccountsServiceMockRecorder) GetGlobalRewardPoolAccounts(arg0 interface{}) *gomock.Call
- func (mr *MockAccountsServiceMockRecorder) GetMarketAccounts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountsServiceMockRecorder) GetPartyAccounts(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAccountsServiceMockRecorder) ObserveAccounts(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- type MockAssetService
- type MockAssetServiceMockRecorder
- type MockCandleService
- func (m *MockCandleService) EXPECT() *MockCandleServiceMockRecorder
- func (m *MockCandleService) GetCandleSubscribersCount() int32
- func (m *MockCandleService) GetCandles(arg0 context.Context, arg1 string, arg2 time.Time, arg3 vega.Interval) ([]*vega.Candle, error)
- func (m *MockCandleService) ObserveCandles(arg0 context.Context, arg1 int, arg2 *string, arg3 *vega.Interval) (<-chan *vega.Candle, uint64)
- type MockCandleServiceMockRecorder
- type MockCheckpointService
- type MockCheckpointServiceMockRecorder
- 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) 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) 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 MockDelegationService
- func (m *MockDelegationService) EXPECT() *MockDelegationServiceMockRecorder
- func (m *MockDelegationService) GetAllDelegations(arg0, arg1 uint64, arg2 bool) ([]*vega.Delegation, error)
- func (m *MockDelegationService) GetAllDelegationsOnEpoch(arg0 string, arg1, arg2 uint64, arg3 bool) ([]*vega.Delegation, error)
- func (m *MockDelegationService) GetNodeDelegations(arg0 string, arg1, arg2 uint64, arg3 bool) ([]*vega.Delegation, error)
- func (m *MockDelegationService) GetNodeDelegationsOnEpoch(arg0, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Delegation, error)
- func (m *MockDelegationService) GetPartyDelegations(arg0 string, arg1, arg2 uint64, arg3 bool) ([]*vega.Delegation, error)
- func (m *MockDelegationService) GetPartyDelegationsOnEpoch(arg0, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Delegation, error)
- func (m *MockDelegationService) GetPartyNodeDelegations(arg0, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Delegation, error)
- func (m *MockDelegationService) GetPartyNodeDelegationsOnEpoch(arg0, arg1, arg2 string) ([]*vega.Delegation, error)
- func (m *MockDelegationService) ObserveDelegations(arg0 context.Context, arg1 int, arg2, arg3 string) (<-chan vega.Delegation, uint64)
- type MockDelegationServiceMockRecorder
- func (mr *MockDelegationServiceMockRecorder) GetAllDelegations(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDelegationServiceMockRecorder) GetAllDelegationsOnEpoch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDelegationServiceMockRecorder) GetNodeDelegations(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDelegationServiceMockRecorder) GetNodeDelegationsOnEpoch(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDelegationServiceMockRecorder) GetPartyDelegations(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDelegationServiceMockRecorder) GetPartyDelegationsOnEpoch(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDelegationServiceMockRecorder) GetPartyNodeDelegations(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDelegationServiceMockRecorder) GetPartyNodeDelegationsOnEpoch(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDelegationServiceMockRecorder) ObserveDelegations(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockDepositService
- type MockDepositServiceMockRecorder
- type MockEpochService
- type MockEpochServiceMockRecorder
- type MockEventService
- type MockEventServiceMockRecorder
- type MockFeeService
- type MockFeeServiceMockRecorder
- type MockGovernanceDataService
- func (m *MockGovernanceDataService) EXPECT() *MockGovernanceDataServiceMockRecorder
- func (m *MockGovernanceDataService) GetNetworkParametersProposals(arg0 *vega.Proposal_State) []*vega.GovernanceData
- func (m *MockGovernanceDataService) GetNewAssetProposals(arg0 *vega.Proposal_State) []*vega.GovernanceData
- func (m *MockGovernanceDataService) GetNewFreeformProposals(arg0 *vega.Proposal_State) []*vega.GovernanceData
- func (m *MockGovernanceDataService) GetNewMarketProposals(arg0 *vega.Proposal_State) []*vega.GovernanceData
- func (m *MockGovernanceDataService) GetProposalByID(arg0 string) (*vega.GovernanceData, error)
- func (m *MockGovernanceDataService) GetProposalByReference(arg0 string) (*vega.GovernanceData, error)
- func (m *MockGovernanceDataService) GetProposals(arg0 *vega.Proposal_State) []*vega.GovernanceData
- func (m *MockGovernanceDataService) GetProposalsByParty(arg0 string, arg1 *vega.Proposal_State) []*vega.GovernanceData
- func (m *MockGovernanceDataService) GetUpdateMarketProposals(arg0 string, arg1 *vega.Proposal_State) []*vega.GovernanceData
- func (m *MockGovernanceDataService) GetVotesByParty(arg0 string) []*vega.Vote
- func (m *MockGovernanceDataService) ObserveGovernance(arg0 context.Context, arg1 int) <-chan []vega.GovernanceData
- func (m *MockGovernanceDataService) ObservePartyProposals(arg0 context.Context, arg1 int, arg2 string) <-chan []vega.GovernanceData
- func (m *MockGovernanceDataService) ObservePartyVotes(arg0 context.Context, arg1 int, arg2 string) <-chan []vega.Vote
- func (m *MockGovernanceDataService) ObserveProposalVotes(arg0 context.Context, arg1 int, arg2 string) <-chan []vega.Vote
- type MockGovernanceDataServiceMockRecorder
- func (mr *MockGovernanceDataServiceMockRecorder) GetNetworkParametersProposals(arg0 interface{}) *gomock.Call
- func (mr *MockGovernanceDataServiceMockRecorder) GetNewAssetProposals(arg0 interface{}) *gomock.Call
- func (mr *MockGovernanceDataServiceMockRecorder) GetNewFreeformProposals(arg0 interface{}) *gomock.Call
- func (mr *MockGovernanceDataServiceMockRecorder) GetNewMarketProposals(arg0 interface{}) *gomock.Call
- func (mr *MockGovernanceDataServiceMockRecorder) GetProposalByID(arg0 interface{}) *gomock.Call
- func (mr *MockGovernanceDataServiceMockRecorder) GetProposalByReference(arg0 interface{}) *gomock.Call
- func (mr *MockGovernanceDataServiceMockRecorder) GetProposals(arg0 interface{}) *gomock.Call
- func (mr *MockGovernanceDataServiceMockRecorder) GetProposalsByParty(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGovernanceDataServiceMockRecorder) GetUpdateMarketProposals(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGovernanceDataServiceMockRecorder) GetVotesByParty(arg0 interface{}) *gomock.Call
- func (mr *MockGovernanceDataServiceMockRecorder) ObserveGovernance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGovernanceDataServiceMockRecorder) ObservePartyProposals(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGovernanceDataServiceMockRecorder) ObservePartyVotes(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGovernanceDataServiceMockRecorder) ObserveProposalVotes(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockLiquidityService
- type MockLiquidityServiceMockRecorder
- type MockMarketService
- func (m *MockMarketService) EXPECT() *MockMarketServiceMockRecorder
- func (m *MockMarketService) GetAll(arg0 context.Context) ([]*vega.Market, error)
- func (m *MockMarketService) GetByID(arg0 context.Context, arg1 string) (*vega.Market, error)
- func (m *MockMarketService) GetDepth(arg0 context.Context, arg1 string, arg2 uint64) (*vega.MarketDepth, error)
- func (m *MockMarketService) GetMarketDataByID(arg0 string) (vega.MarketData, error)
- func (m *MockMarketService) GetMarketDataSubscribersCount() int32
- func (m *MockMarketService) GetMarketDepthSubscribersCount() int32
- func (m *MockMarketService) GetMarketsData() []vega.MarketData
- func (m *MockMarketService) ObserveDepth(arg0 context.Context, arg1 int, arg2 string) (<-chan *vega.MarketDepth, uint64)
- func (m *MockMarketService) ObserveDepthUpdates(arg0 context.Context, arg1 int, arg2 string) (<-chan *vega.MarketDepthUpdate, uint64)
- func (m *MockMarketService) ObserveMarketsData(arg0 context.Context, arg1 int, arg2 string) (<-chan []vega.MarketData, uint64)
- type MockMarketServiceMockRecorder
- func (mr *MockMarketServiceMockRecorder) GetAll(arg0 interface{}) *gomock.Call
- func (mr *MockMarketServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMarketServiceMockRecorder) GetDepth(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMarketServiceMockRecorder) GetMarketDataByID(arg0 interface{}) *gomock.Call
- func (mr *MockMarketServiceMockRecorder) GetMarketDataSubscribersCount() *gomock.Call
- func (mr *MockMarketServiceMockRecorder) GetMarketDepthSubscribersCount() *gomock.Call
- func (mr *MockMarketServiceMockRecorder) GetMarketsData() *gomock.Call
- func (mr *MockMarketServiceMockRecorder) ObserveDepth(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMarketServiceMockRecorder) ObserveDepthUpdates(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMarketServiceMockRecorder) ObserveMarketsData(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockNetParamsService
- type MockNetParamsServiceMockRecorder
- type MockNodeService
- func (m *MockNodeService) EXPECT() *MockNodeServiceMockRecorder
- func (m *MockNodeService) GetAllPubKeyRotations(arg0 context.Context) ([]*v1.KeyRotation, error)
- func (m *MockNodeService) GetNodeByID(arg0 context.Context, arg1 string) (*vega.Node, error)
- func (m *MockNodeService) GetNodeData(arg0 context.Context) (*vega.NodeData, error)
- func (m *MockNodeService) GetNodes(arg0 context.Context) ([]*vega.Node, error)
- func (m *MockNodeService) GetPubKeyRotationsPerNode(arg0 context.Context, arg1 string) ([]*v1.KeyRotation, error)
- type MockNodeServiceMockRecorder
- func (mr *MockNodeServiceMockRecorder) GetAllPubKeyRotations(arg0 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) GetNodeByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) GetNodeData(arg0 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) GetNodes(arg0 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) GetPubKeyRotationsPerNode(arg0, arg1 interface{}) *gomock.Call
- type MockNotaryService
- type MockNotaryServiceMockRecorder
- type MockOracleService
- func (m *MockOracleService) EXPECT() *MockOracleServiceMockRecorder
- func (m *MockOracleService) GetOracleDataBySpecID(arg0 string, arg1 v1.Pagination) ([]v10.OracleData, error)
- func (m *MockOracleService) GetSpecByID(arg0 string) (v10.OracleSpec, error)
- func (m *MockOracleService) ListOracleData(arg0 v1.Pagination) []v10.OracleData
- func (m *MockOracleService) ListOracleSpecs(arg0 v1.Pagination) []v10.OracleSpec
- type MockOracleServiceMockRecorder
- func (mr *MockOracleServiceMockRecorder) GetOracleDataBySpecID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOracleServiceMockRecorder) GetSpecByID(arg0 interface{}) *gomock.Call
- func (mr *MockOracleServiceMockRecorder) ListOracleData(arg0 interface{}) *gomock.Call
- func (mr *MockOracleServiceMockRecorder) ListOracleSpecs(arg0 interface{}) *gomock.Call
- type MockOrderService
- func (m *MockOrderService) EXPECT() *MockOrderServiceMockRecorder
- func (m *MockOrderService) GetAllVersionsByOrderID(arg0 context.Context, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Order, error)
- func (m *MockOrderService) GetByMarket(arg0 context.Context, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Order, error)
- func (m *MockOrderService) GetByMarketAndID(arg0 context.Context, arg1, arg2 string) (*vega.Order, error)
- func (m *MockOrderService) GetByOrderID(arg0 context.Context, arg1 string, arg2 uint64) (*vega.Order, error)
- func (m *MockOrderService) GetByParty(arg0 context.Context, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Order, error)
- func (m *MockOrderService) GetByReference(arg0 context.Context, arg1 string) (*vega.Order, error)
- func (m *MockOrderService) GetOrderSubscribersCount() int32
- func (m *MockOrderService) ObserveOrders(arg0 context.Context, arg1 int, arg2, arg3 *string) (<-chan []vega.Order, uint64)
- type MockOrderServiceMockRecorder
- func (mr *MockOrderServiceMockRecorder) GetAllVersionsByOrderID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockOrderServiceMockRecorder) GetByMarket(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockOrderServiceMockRecorder) GetByMarketAndID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrderServiceMockRecorder) GetByOrderID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrderServiceMockRecorder) GetByParty(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockOrderServiceMockRecorder) GetByReference(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrderServiceMockRecorder) GetOrderSubscribersCount() *gomock.Call
- func (mr *MockOrderServiceMockRecorder) ObserveOrders(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockPartyService
- type MockPartyServiceMockRecorder
- type MockRewardsService
- func (m *MockRewardsService) EXPECT() *MockRewardsServiceMockRecorder
- func (m *MockRewardsService) GetRewardSummaries(arg0 context.Context, arg1 string, arg2 *string) []*vega.RewardSummary
- func (m *MockRewardsService) GetRewards(arg0 context.Context, arg1 string, arg2, arg3 uint64, arg4 bool) []*vega.Reward
- func (m *MockRewardsService) GetRewardsForAsset(arg0 context.Context, arg1, arg2 string, arg3, arg4 uint64, arg5 bool) []*vega.Reward
- func (m *MockRewardsService) ObserveRewards(arg0 context.Context, arg1 int, arg2, arg3 string) (<-chan vega.Reward, uint64)
- type MockRewardsServiceMockRecorder
- func (mr *MockRewardsServiceMockRecorder) GetRewardSummaries(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRewardsServiceMockRecorder) GetRewards(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockRewardsServiceMockRecorder) GetRewardsForAsset(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockRewardsServiceMockRecorder) ObserveRewards(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockRiskService
- func (m *MockRiskService) EXPECT() *MockRiskServiceMockRecorder
- func (m *MockRiskService) EstimateMargin(arg0 context.Context, arg1 *vega.Order) (*vega.MarginLevels, error)
- func (m *MockRiskService) GetMarginLevelsByID(arg0, arg1 string) ([]vega.MarginLevels, error)
- func (m *MockRiskService) GetMarginLevelsSubscribersCount() int32
- func (m *MockRiskService) GetMarketRiskFactors(arg0 string) (vega.RiskFactor, error)
- func (m *MockRiskService) ObserveMarginLevels(arg0 context.Context, arg1 int, arg2, arg3 string) (<-chan []vega.MarginLevels, uint64)
- type MockRiskServiceMockRecorder
- func (mr *MockRiskServiceMockRecorder) EstimateMargin(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRiskServiceMockRecorder) GetMarginLevelsByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRiskServiceMockRecorder) GetMarginLevelsSubscribersCount() *gomock.Call
- func (mr *MockRiskServiceMockRecorder) GetMarketRiskFactors(arg0 interface{}) *gomock.Call
- func (mr *MockRiskServiceMockRecorder) ObserveMarginLevels(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockStakingService
- type MockStakingServiceMockRecorder
- type MockTradeService
- func (m *MockTradeService) EXPECT() *MockTradeServiceMockRecorder
- func (m *MockTradeService) GetByMarket(arg0 context.Context, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Trade, error)
- func (m *MockTradeService) GetByOrderID(arg0 context.Context, arg1 string) ([]*vega.Trade, error)
- func (m *MockTradeService) GetByParty(arg0 context.Context, arg1 string, arg2, arg3 uint64, arg4 bool, arg5 *string) ([]*vega.Trade, error)
- func (m *MockTradeService) GetPositionsByParty(arg0 context.Context, arg1, arg2 string) ([]*vega.Position, error)
- func (m *MockTradeService) GetPositionsSubscribersCount() int32
- func (m *MockTradeService) GetTradeSubscribersCount() int32
- func (m *MockTradeService) ObservePositions(arg0 context.Context, arg1 int, arg2, arg3 string) (<-chan *vega.Position, uint64)
- func (m *MockTradeService) ObserveTrades(arg0 context.Context, arg1 int, arg2, arg3 *string) (<-chan []vega.Trade, uint64)
- type MockTradeServiceMockRecorder
- func (mr *MockTradeServiceMockRecorder) GetByMarket(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockTradeServiceMockRecorder) GetByOrderID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTradeServiceMockRecorder) GetByParty(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockTradeServiceMockRecorder) GetPositionsByParty(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTradeServiceMockRecorder) GetPositionsSubscribersCount() *gomock.Call
- func (mr *MockTradeServiceMockRecorder) GetTradeSubscribersCount() *gomock.Call
- func (mr *MockTradeServiceMockRecorder) ObservePositions(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTradeServiceMockRecorder) ObserveTrades(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockTransferResponseService
- func (m *MockTransferResponseService) EXPECT() *MockTransferResponseServiceMockRecorder
- func (m *MockTransferResponseService) GetAllTransfers(arg0 context.Context, arg1 string, arg2, arg3 bool) []*v1.Transfer
- func (m *MockTransferResponseService) ObserveTransferResponses(arg0 context.Context, arg1 int) (<-chan []*vega.TransferResponse, uint64)
- type MockTransferResponseServiceMockRecorder
- type MockValidatorService
- func (m *MockValidatorService) EXPECT() *MockValidatorServiceMockRecorder
- func (m *MockValidatorService) GetEpoch(arg0 context.Context) (*vega.Epoch, error)
- func (m *MockValidatorService) GetEpochByID(arg0 context.Context, arg1 uint64) (*vega.Epoch, error)
- func (m *MockValidatorService) GetNodeByID(arg0 context.Context, arg1 string) (*vega.Node, error)
- func (m *MockValidatorService) GetNodeData(arg0 context.Context) (*vega.NodeData, error)
- func (m *MockValidatorService) GetNodes(arg0 context.Context) ([]*vega.Node, error)
- type MockValidatorServiceMockRecorder
- func (mr *MockValidatorServiceMockRecorder) GetEpoch(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorServiceMockRecorder) GetEpochByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorServiceMockRecorder) GetNodeByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorServiceMockRecorder) GetNodeData(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorServiceMockRecorder) GetNodes(arg0 interface{}) *gomock.Call
- type MockVegaTime
- type MockVegaTimeMockRecorder
- type MockWithdrawalService
- type MockWithdrawalServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountsService ¶
type MockAccountsService struct {
// contains filtered or unexported fields
}
MockAccountsService is a mock of AccountsService interface.
func NewMockAccountsService ¶
func NewMockAccountsService(ctrl *gomock.Controller) *MockAccountsService
NewMockAccountsService creates a new mock instance.
func (*MockAccountsService) EXPECT ¶
func (m *MockAccountsService) EXPECT() *MockAccountsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountsService) GetAccountSubscribersCount ¶
func (m *MockAccountsService) GetAccountSubscribersCount() int32
GetAccountSubscribersCount mocks base method.
func (*MockAccountsService) GetFeeInfrastructureAccounts ¶
func (m *MockAccountsService) GetFeeInfrastructureAccounts(arg0 string) ([]*vega.Account, error)
GetFeeInfrastructureAccounts mocks base method.
func (*MockAccountsService) GetGlobalRewardPoolAccounts ¶
func (m *MockAccountsService) GetGlobalRewardPoolAccounts(arg0 string) ([]*vega.Account, error)
GetGlobalRewardPoolAccounts mocks base method.
func (*MockAccountsService) GetMarketAccounts ¶
func (m *MockAccountsService) GetMarketAccounts(arg0, arg1 string) ([]*vega.Account, error)
GetMarketAccounts mocks base method.
func (*MockAccountsService) GetPartyAccounts ¶
func (m *MockAccountsService) GetPartyAccounts(arg0, arg1, arg2 string, arg3 vega.AccountType) ([]*vega.Account, error)
GetPartyAccounts mocks base method.
func (*MockAccountsService) ObserveAccounts ¶
func (m *MockAccountsService) ObserveAccounts(arg0 context.Context, arg1 int, arg2, arg3, arg4 string, arg5 vega.AccountType) (<-chan []*vega.Account, uint64)
ObserveAccounts mocks base method.
type MockAccountsServiceMockRecorder ¶
type MockAccountsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountsServiceMockRecorder is the mock recorder for MockAccountsService.
func (*MockAccountsServiceMockRecorder) GetAccountSubscribersCount ¶
func (mr *MockAccountsServiceMockRecorder) GetAccountSubscribersCount() *gomock.Call
GetAccountSubscribersCount indicates an expected call of GetAccountSubscribersCount.
func (*MockAccountsServiceMockRecorder) GetFeeInfrastructureAccounts ¶
func (mr *MockAccountsServiceMockRecorder) GetFeeInfrastructureAccounts(arg0 interface{}) *gomock.Call
GetFeeInfrastructureAccounts indicates an expected call of GetFeeInfrastructureAccounts.
func (*MockAccountsServiceMockRecorder) GetGlobalRewardPoolAccounts ¶
func (mr *MockAccountsServiceMockRecorder) GetGlobalRewardPoolAccounts(arg0 interface{}) *gomock.Call
GetGlobalRewardPoolAccounts indicates an expected call of GetGlobalRewardPoolAccounts.
func (*MockAccountsServiceMockRecorder) GetMarketAccounts ¶
func (mr *MockAccountsServiceMockRecorder) GetMarketAccounts(arg0, arg1 interface{}) *gomock.Call
GetMarketAccounts indicates an expected call of GetMarketAccounts.
func (*MockAccountsServiceMockRecorder) GetPartyAccounts ¶
func (mr *MockAccountsServiceMockRecorder) GetPartyAccounts(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetPartyAccounts indicates an expected call of GetPartyAccounts.
func (*MockAccountsServiceMockRecorder) ObserveAccounts ¶
func (mr *MockAccountsServiceMockRecorder) ObserveAccounts(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
ObserveAccounts indicates an expected call of ObserveAccounts.
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.
type MockAssetServiceMockRecorder ¶
type MockAssetServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAssetServiceMockRecorder is the mock recorder for MockAssetService.
func (*MockAssetServiceMockRecorder) GetAll ¶
func (mr *MockAssetServiceMockRecorder) GetAll() *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockAssetServiceMockRecorder) GetByID ¶
func (mr *MockAssetServiceMockRecorder) GetByID(arg0 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
type MockCandleService ¶
type MockCandleService struct {
// contains filtered or unexported fields
}
MockCandleService is a mock of CandleService interface.
func NewMockCandleService ¶
func NewMockCandleService(ctrl *gomock.Controller) *MockCandleService
NewMockCandleService creates a new mock instance.
func (*MockCandleService) EXPECT ¶
func (m *MockCandleService) EXPECT() *MockCandleServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCandleService) GetCandleSubscribersCount ¶
func (m *MockCandleService) GetCandleSubscribersCount() int32
GetCandleSubscribersCount mocks base method.
type MockCandleServiceMockRecorder ¶
type MockCandleServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCandleServiceMockRecorder is the mock recorder for MockCandleService.
func (*MockCandleServiceMockRecorder) GetCandleSubscribersCount ¶
func (mr *MockCandleServiceMockRecorder) GetCandleSubscribersCount() *gomock.Call
GetCandleSubscribersCount indicates an expected call of GetCandleSubscribersCount.
func (*MockCandleServiceMockRecorder) GetCandles ¶
func (mr *MockCandleServiceMockRecorder) GetCandles(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetCandles indicates an expected call of GetCandles.
func (*MockCandleServiceMockRecorder) ObserveCandles ¶
func (mr *MockCandleServiceMockRecorder) ObserveCandles(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ObserveCandles indicates an expected call of ObserveCandles.
type MockCheckpointService ¶
type MockCheckpointService struct {
// contains filtered or unexported fields
}
MockCheckpointService is a mock of CheckpointService interface.
func NewMockCheckpointService ¶
func NewMockCheckpointService(ctrl *gomock.Controller) *MockCheckpointService
NewMockCheckpointService creates a new mock instance.
func (*MockCheckpointService) EXPECT ¶
func (m *MockCheckpointService) EXPECT() *MockCheckpointServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCheckpointService) GetAll ¶
func (m *MockCheckpointService) GetAll() ([]*v1.Checkpoint, error)
GetAll mocks base method.
type MockCheckpointServiceMockRecorder ¶
type MockCheckpointServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCheckpointServiceMockRecorder is the mock recorder for MockCheckpointService.
func (*MockCheckpointServiceMockRecorder) GetAll ¶
func (mr *MockCheckpointServiceMockRecorder) GetAll() *gomock.Call
GetAll indicates an expected call of GetAll.
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) 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) 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 MockDelegationService ¶
type MockDelegationService struct {
// contains filtered or unexported fields
}
MockDelegationService is a mock of DelegationService interface.
func NewMockDelegationService ¶
func NewMockDelegationService(ctrl *gomock.Controller) *MockDelegationService
NewMockDelegationService creates a new mock instance.
func (*MockDelegationService) EXPECT ¶
func (m *MockDelegationService) EXPECT() *MockDelegationServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDelegationService) GetAllDelegations ¶
func (m *MockDelegationService) GetAllDelegations(arg0, arg1 uint64, arg2 bool) ([]*vega.Delegation, error)
GetAllDelegations mocks base method.
func (*MockDelegationService) GetAllDelegationsOnEpoch ¶
func (m *MockDelegationService) GetAllDelegationsOnEpoch(arg0 string, arg1, arg2 uint64, arg3 bool) ([]*vega.Delegation, error)
GetAllDelegationsOnEpoch mocks base method.
func (*MockDelegationService) GetNodeDelegations ¶
func (m *MockDelegationService) GetNodeDelegations(arg0 string, arg1, arg2 uint64, arg3 bool) ([]*vega.Delegation, error)
GetNodeDelegations mocks base method.
func (*MockDelegationService) GetNodeDelegationsOnEpoch ¶
func (m *MockDelegationService) GetNodeDelegationsOnEpoch(arg0, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Delegation, error)
GetNodeDelegationsOnEpoch mocks base method.
func (*MockDelegationService) GetPartyDelegations ¶
func (m *MockDelegationService) GetPartyDelegations(arg0 string, arg1, arg2 uint64, arg3 bool) ([]*vega.Delegation, error)
GetPartyDelegations mocks base method.
func (*MockDelegationService) GetPartyDelegationsOnEpoch ¶
func (m *MockDelegationService) GetPartyDelegationsOnEpoch(arg0, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Delegation, error)
GetPartyDelegationsOnEpoch mocks base method.
func (*MockDelegationService) GetPartyNodeDelegations ¶
func (m *MockDelegationService) GetPartyNodeDelegations(arg0, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Delegation, error)
GetPartyNodeDelegations mocks base method.
func (*MockDelegationService) GetPartyNodeDelegationsOnEpoch ¶
func (m *MockDelegationService) GetPartyNodeDelegationsOnEpoch(arg0, arg1, arg2 string) ([]*vega.Delegation, error)
GetPartyNodeDelegationsOnEpoch mocks base method.
func (*MockDelegationService) ObserveDelegations ¶
func (m *MockDelegationService) ObserveDelegations(arg0 context.Context, arg1 int, arg2, arg3 string) (<-chan vega.Delegation, uint64)
ObserveDelegations mocks base method.
type MockDelegationServiceMockRecorder ¶
type MockDelegationServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDelegationServiceMockRecorder is the mock recorder for MockDelegationService.
func (*MockDelegationServiceMockRecorder) GetAllDelegations ¶
func (mr *MockDelegationServiceMockRecorder) GetAllDelegations(arg0, arg1, arg2 interface{}) *gomock.Call
GetAllDelegations indicates an expected call of GetAllDelegations.
func (*MockDelegationServiceMockRecorder) GetAllDelegationsOnEpoch ¶
func (mr *MockDelegationServiceMockRecorder) GetAllDelegationsOnEpoch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetAllDelegationsOnEpoch indicates an expected call of GetAllDelegationsOnEpoch.
func (*MockDelegationServiceMockRecorder) GetNodeDelegations ¶
func (mr *MockDelegationServiceMockRecorder) GetNodeDelegations(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetNodeDelegations indicates an expected call of GetNodeDelegations.
func (*MockDelegationServiceMockRecorder) GetNodeDelegationsOnEpoch ¶
func (mr *MockDelegationServiceMockRecorder) GetNodeDelegationsOnEpoch(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetNodeDelegationsOnEpoch indicates an expected call of GetNodeDelegationsOnEpoch.
func (*MockDelegationServiceMockRecorder) GetPartyDelegations ¶
func (mr *MockDelegationServiceMockRecorder) GetPartyDelegations(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetPartyDelegations indicates an expected call of GetPartyDelegations.
func (*MockDelegationServiceMockRecorder) GetPartyDelegationsOnEpoch ¶
func (mr *MockDelegationServiceMockRecorder) GetPartyDelegationsOnEpoch(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetPartyDelegationsOnEpoch indicates an expected call of GetPartyDelegationsOnEpoch.
func (*MockDelegationServiceMockRecorder) GetPartyNodeDelegations ¶
func (mr *MockDelegationServiceMockRecorder) GetPartyNodeDelegations(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetPartyNodeDelegations indicates an expected call of GetPartyNodeDelegations.
func (*MockDelegationServiceMockRecorder) GetPartyNodeDelegationsOnEpoch ¶
func (mr *MockDelegationServiceMockRecorder) GetPartyNodeDelegationsOnEpoch(arg0, arg1, arg2 interface{}) *gomock.Call
GetPartyNodeDelegationsOnEpoch indicates an expected call of GetPartyNodeDelegationsOnEpoch.
func (*MockDelegationServiceMockRecorder) ObserveDelegations ¶
func (mr *MockDelegationServiceMockRecorder) ObserveDelegations(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ObserveDelegations indicates an expected call of ObserveDelegations.
type MockDepositService ¶
type MockDepositService struct {
// contains filtered or unexported fields
}
MockDepositService is a mock of DepositService interface.
func NewMockDepositService ¶
func NewMockDepositService(ctrl *gomock.Controller) *MockDepositService
NewMockDepositService creates a new mock instance.
func (*MockDepositService) EXPECT ¶
func (m *MockDepositService) EXPECT() *MockDepositServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDepositService) GetByID ¶
func (m *MockDepositService) GetByID(arg0 string) (vega.Deposit, error)
GetByID mocks base method.
func (*MockDepositService) GetByParty ¶
func (m *MockDepositService) GetByParty(arg0 string, arg1 bool) []vega.Deposit
GetByParty mocks base method.
type MockDepositServiceMockRecorder ¶
type MockDepositServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDepositServiceMockRecorder is the mock recorder for MockDepositService.
func (*MockDepositServiceMockRecorder) GetByID ¶
func (mr *MockDepositServiceMockRecorder) GetByID(arg0 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockDepositServiceMockRecorder) GetByParty ¶
func (mr *MockDepositServiceMockRecorder) GetByParty(arg0, arg1 interface{}) *gomock.Call
GetByParty indicates an expected call of GetByParty.
type MockEpochService ¶
type MockEpochService struct {
// contains filtered or unexported fields
}
MockEpochService is a mock of EpochService interface.
func NewMockEpochService ¶
func NewMockEpochService(ctrl *gomock.Controller) *MockEpochService
NewMockEpochService creates a new mock instance.
func (*MockEpochService) EXPECT ¶
func (m *MockEpochService) EXPECT() *MockEpochServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEpochService) GetEpochByID ¶
GetEpochByID mocks base method.
type MockEpochServiceMockRecorder ¶
type MockEpochServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockEpochServiceMockRecorder is the mock recorder for MockEpochService.
func (*MockEpochServiceMockRecorder) GetEpoch ¶
func (mr *MockEpochServiceMockRecorder) GetEpoch(arg0 interface{}) *gomock.Call
GetEpoch indicates an expected call of GetEpoch.
func (*MockEpochServiceMockRecorder) GetEpochByID ¶
func (mr *MockEpochServiceMockRecorder) GetEpochByID(arg0, arg1 interface{}) *gomock.Call
GetEpochByID indicates an expected call of GetEpochByID.
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 MockFeeService ¶
type MockFeeService struct {
// contains filtered or unexported fields
}
MockFeeService is a mock of FeeService interface.
func NewMockFeeService ¶
func NewMockFeeService(ctrl *gomock.Controller) *MockFeeService
NewMockFeeService creates a new mock instance.
func (*MockFeeService) EXPECT ¶
func (m *MockFeeService) EXPECT() *MockFeeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFeeService) EstimateFee ¶
EstimateFee mocks base method.
type MockFeeServiceMockRecorder ¶
type MockFeeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockFeeServiceMockRecorder is the mock recorder for MockFeeService.
func (*MockFeeServiceMockRecorder) EstimateFee ¶
func (mr *MockFeeServiceMockRecorder) EstimateFee(arg0, arg1 interface{}) *gomock.Call
EstimateFee indicates an expected call of EstimateFee.
type MockGovernanceDataService ¶
type MockGovernanceDataService struct {
// contains filtered or unexported fields
}
MockGovernanceDataService is a mock of GovernanceDataService interface.
func NewMockGovernanceDataService ¶
func NewMockGovernanceDataService(ctrl *gomock.Controller) *MockGovernanceDataService
NewMockGovernanceDataService creates a new mock instance.
func (*MockGovernanceDataService) EXPECT ¶
func (m *MockGovernanceDataService) EXPECT() *MockGovernanceDataServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGovernanceDataService) GetNetworkParametersProposals ¶
func (m *MockGovernanceDataService) GetNetworkParametersProposals(arg0 *vega.Proposal_State) []*vega.GovernanceData
GetNetworkParametersProposals mocks base method.
func (*MockGovernanceDataService) GetNewAssetProposals ¶
func (m *MockGovernanceDataService) GetNewAssetProposals(arg0 *vega.Proposal_State) []*vega.GovernanceData
GetNewAssetProposals mocks base method.
func (*MockGovernanceDataService) GetNewFreeformProposals ¶
func (m *MockGovernanceDataService) GetNewFreeformProposals(arg0 *vega.Proposal_State) []*vega.GovernanceData
GetNewFreeformProposals mocks base method.
func (*MockGovernanceDataService) GetNewMarketProposals ¶
func (m *MockGovernanceDataService) GetNewMarketProposals(arg0 *vega.Proposal_State) []*vega.GovernanceData
GetNewMarketProposals mocks base method.
func (*MockGovernanceDataService) GetProposalByID ¶
func (m *MockGovernanceDataService) GetProposalByID(arg0 string) (*vega.GovernanceData, error)
GetProposalByID mocks base method.
func (*MockGovernanceDataService) GetProposalByReference ¶
func (m *MockGovernanceDataService) GetProposalByReference(arg0 string) (*vega.GovernanceData, error)
GetProposalByReference mocks base method.
func (*MockGovernanceDataService) GetProposals ¶
func (m *MockGovernanceDataService) GetProposals(arg0 *vega.Proposal_State) []*vega.GovernanceData
GetProposals mocks base method.
func (*MockGovernanceDataService) GetProposalsByParty ¶
func (m *MockGovernanceDataService) GetProposalsByParty(arg0 string, arg1 *vega.Proposal_State) []*vega.GovernanceData
GetProposalsByParty mocks base method.
func (*MockGovernanceDataService) GetUpdateMarketProposals ¶
func (m *MockGovernanceDataService) GetUpdateMarketProposals(arg0 string, arg1 *vega.Proposal_State) []*vega.GovernanceData
GetUpdateMarketProposals mocks base method.
func (*MockGovernanceDataService) GetVotesByParty ¶
func (m *MockGovernanceDataService) GetVotesByParty(arg0 string) []*vega.Vote
GetVotesByParty mocks base method.
func (*MockGovernanceDataService) ObserveGovernance ¶
func (m *MockGovernanceDataService) ObserveGovernance(arg0 context.Context, arg1 int) <-chan []vega.GovernanceData
ObserveGovernance mocks base method.
func (*MockGovernanceDataService) ObservePartyProposals ¶
func (m *MockGovernanceDataService) ObservePartyProposals(arg0 context.Context, arg1 int, arg2 string) <-chan []vega.GovernanceData
ObservePartyProposals mocks base method.
func (*MockGovernanceDataService) ObservePartyVotes ¶
func (m *MockGovernanceDataService) ObservePartyVotes(arg0 context.Context, arg1 int, arg2 string) <-chan []vega.Vote
ObservePartyVotes mocks base method.
func (*MockGovernanceDataService) ObserveProposalVotes ¶
func (m *MockGovernanceDataService) ObserveProposalVotes(arg0 context.Context, arg1 int, arg2 string) <-chan []vega.Vote
ObserveProposalVotes mocks base method.
type MockGovernanceDataServiceMockRecorder ¶
type MockGovernanceDataServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockGovernanceDataServiceMockRecorder is the mock recorder for MockGovernanceDataService.
func (*MockGovernanceDataServiceMockRecorder) GetNetworkParametersProposals ¶
func (mr *MockGovernanceDataServiceMockRecorder) GetNetworkParametersProposals(arg0 interface{}) *gomock.Call
GetNetworkParametersProposals indicates an expected call of GetNetworkParametersProposals.
func (*MockGovernanceDataServiceMockRecorder) GetNewAssetProposals ¶
func (mr *MockGovernanceDataServiceMockRecorder) GetNewAssetProposals(arg0 interface{}) *gomock.Call
GetNewAssetProposals indicates an expected call of GetNewAssetProposals.
func (*MockGovernanceDataServiceMockRecorder) GetNewFreeformProposals ¶
func (mr *MockGovernanceDataServiceMockRecorder) GetNewFreeformProposals(arg0 interface{}) *gomock.Call
GetNewFreeformProposals indicates an expected call of GetNewFreeformProposals.
func (*MockGovernanceDataServiceMockRecorder) GetNewMarketProposals ¶
func (mr *MockGovernanceDataServiceMockRecorder) GetNewMarketProposals(arg0 interface{}) *gomock.Call
GetNewMarketProposals indicates an expected call of GetNewMarketProposals.
func (*MockGovernanceDataServiceMockRecorder) GetProposalByID ¶
func (mr *MockGovernanceDataServiceMockRecorder) GetProposalByID(arg0 interface{}) *gomock.Call
GetProposalByID indicates an expected call of GetProposalByID.
func (*MockGovernanceDataServiceMockRecorder) GetProposalByReference ¶
func (mr *MockGovernanceDataServiceMockRecorder) GetProposalByReference(arg0 interface{}) *gomock.Call
GetProposalByReference indicates an expected call of GetProposalByReference.
func (*MockGovernanceDataServiceMockRecorder) GetProposals ¶
func (mr *MockGovernanceDataServiceMockRecorder) GetProposals(arg0 interface{}) *gomock.Call
GetProposals indicates an expected call of GetProposals.
func (*MockGovernanceDataServiceMockRecorder) GetProposalsByParty ¶
func (mr *MockGovernanceDataServiceMockRecorder) GetProposalsByParty(arg0, arg1 interface{}) *gomock.Call
GetProposalsByParty indicates an expected call of GetProposalsByParty.
func (*MockGovernanceDataServiceMockRecorder) GetUpdateMarketProposals ¶
func (mr *MockGovernanceDataServiceMockRecorder) GetUpdateMarketProposals(arg0, arg1 interface{}) *gomock.Call
GetUpdateMarketProposals indicates an expected call of GetUpdateMarketProposals.
func (*MockGovernanceDataServiceMockRecorder) GetVotesByParty ¶
func (mr *MockGovernanceDataServiceMockRecorder) GetVotesByParty(arg0 interface{}) *gomock.Call
GetVotesByParty indicates an expected call of GetVotesByParty.
func (*MockGovernanceDataServiceMockRecorder) ObserveGovernance ¶
func (mr *MockGovernanceDataServiceMockRecorder) ObserveGovernance(arg0, arg1 interface{}) *gomock.Call
ObserveGovernance indicates an expected call of ObserveGovernance.
func (*MockGovernanceDataServiceMockRecorder) ObservePartyProposals ¶
func (mr *MockGovernanceDataServiceMockRecorder) ObservePartyProposals(arg0, arg1, arg2 interface{}) *gomock.Call
ObservePartyProposals indicates an expected call of ObservePartyProposals.
func (*MockGovernanceDataServiceMockRecorder) ObservePartyVotes ¶
func (mr *MockGovernanceDataServiceMockRecorder) ObservePartyVotes(arg0, arg1, arg2 interface{}) *gomock.Call
ObservePartyVotes indicates an expected call of ObservePartyVotes.
func (*MockGovernanceDataServiceMockRecorder) ObserveProposalVotes ¶
func (mr *MockGovernanceDataServiceMockRecorder) ObserveProposalVotes(arg0, arg1, arg2 interface{}) *gomock.Call
ObserveProposalVotes indicates an expected call of ObserveProposalVotes.
type MockLiquidityService ¶
type MockLiquidityService struct {
// contains filtered or unexported fields
}
MockLiquidityService is a mock of LiquidityService interface.
func NewMockLiquidityService ¶
func NewMockLiquidityService(ctrl *gomock.Controller) *MockLiquidityService
NewMockLiquidityService creates a new mock instance.
func (*MockLiquidityService) EXPECT ¶
func (m *MockLiquidityService) EXPECT() *MockLiquidityServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLiquidityService) Get ¶
func (m *MockLiquidityService) Get(arg0, arg1 string) ([]*vega.LiquidityProvision, error)
Get mocks base method.
type MockLiquidityServiceMockRecorder ¶
type MockLiquidityServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockLiquidityServiceMockRecorder is the mock recorder for MockLiquidityService.
func (*MockLiquidityServiceMockRecorder) Get ¶
func (mr *MockLiquidityServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockMarketService ¶
type MockMarketService struct {
// contains filtered or unexported fields
}
MockMarketService is a mock of MarketService interface.
func NewMockMarketService ¶
func NewMockMarketService(ctrl *gomock.Controller) *MockMarketService
NewMockMarketService creates a new mock instance.
func (*MockMarketService) EXPECT ¶
func (m *MockMarketService) EXPECT() *MockMarketServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMarketService) GetDepth ¶
func (m *MockMarketService) GetDepth(arg0 context.Context, arg1 string, arg2 uint64) (*vega.MarketDepth, error)
GetDepth mocks base method.
func (*MockMarketService) GetMarketDataByID ¶
func (m *MockMarketService) GetMarketDataByID(arg0 string) (vega.MarketData, error)
GetMarketDataByID mocks base method.
func (*MockMarketService) GetMarketDataSubscribersCount ¶
func (m *MockMarketService) GetMarketDataSubscribersCount() int32
GetMarketDataSubscribersCount mocks base method.
func (*MockMarketService) GetMarketDepthSubscribersCount ¶
func (m *MockMarketService) GetMarketDepthSubscribersCount() int32
GetMarketDepthSubscribersCount mocks base method.
func (*MockMarketService) GetMarketsData ¶
func (m *MockMarketService) GetMarketsData() []vega.MarketData
GetMarketsData mocks base method.
func (*MockMarketService) ObserveDepth ¶
func (m *MockMarketService) ObserveDepth(arg0 context.Context, arg1 int, arg2 string) (<-chan *vega.MarketDepth, uint64)
ObserveDepth mocks base method.
func (*MockMarketService) ObserveDepthUpdates ¶
func (m *MockMarketService) ObserveDepthUpdates(arg0 context.Context, arg1 int, arg2 string) (<-chan *vega.MarketDepthUpdate, uint64)
ObserveDepthUpdates mocks base method.
func (*MockMarketService) ObserveMarketsData ¶
func (m *MockMarketService) ObserveMarketsData(arg0 context.Context, arg1 int, arg2 string) (<-chan []vega.MarketData, uint64)
ObserveMarketsData mocks base method.
type MockMarketServiceMockRecorder ¶
type MockMarketServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockMarketServiceMockRecorder is the mock recorder for MockMarketService.
func (*MockMarketServiceMockRecorder) GetAll ¶
func (mr *MockMarketServiceMockRecorder) GetAll(arg0 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockMarketServiceMockRecorder) GetByID ¶
func (mr *MockMarketServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockMarketServiceMockRecorder) GetDepth ¶
func (mr *MockMarketServiceMockRecorder) GetDepth(arg0, arg1, arg2 interface{}) *gomock.Call
GetDepth indicates an expected call of GetDepth.
func (*MockMarketServiceMockRecorder) GetMarketDataByID ¶
func (mr *MockMarketServiceMockRecorder) GetMarketDataByID(arg0 interface{}) *gomock.Call
GetMarketDataByID indicates an expected call of GetMarketDataByID.
func (*MockMarketServiceMockRecorder) GetMarketDataSubscribersCount ¶
func (mr *MockMarketServiceMockRecorder) GetMarketDataSubscribersCount() *gomock.Call
GetMarketDataSubscribersCount indicates an expected call of GetMarketDataSubscribersCount.
func (*MockMarketServiceMockRecorder) GetMarketDepthSubscribersCount ¶
func (mr *MockMarketServiceMockRecorder) GetMarketDepthSubscribersCount() *gomock.Call
GetMarketDepthSubscribersCount indicates an expected call of GetMarketDepthSubscribersCount.
func (*MockMarketServiceMockRecorder) GetMarketsData ¶
func (mr *MockMarketServiceMockRecorder) GetMarketsData() *gomock.Call
GetMarketsData indicates an expected call of GetMarketsData.
func (*MockMarketServiceMockRecorder) ObserveDepth ¶
func (mr *MockMarketServiceMockRecorder) ObserveDepth(arg0, arg1, arg2 interface{}) *gomock.Call
ObserveDepth indicates an expected call of ObserveDepth.
func (*MockMarketServiceMockRecorder) ObserveDepthUpdates ¶
func (mr *MockMarketServiceMockRecorder) ObserveDepthUpdates(arg0, arg1, arg2 interface{}) *gomock.Call
ObserveDepthUpdates indicates an expected call of ObserveDepthUpdates.
func (*MockMarketServiceMockRecorder) ObserveMarketsData ¶
func (mr *MockMarketServiceMockRecorder) ObserveMarketsData(arg0, arg1, arg2 interface{}) *gomock.Call
ObserveMarketsData indicates an expected call of ObserveMarketsData.
type MockNetParamsService ¶
type MockNetParamsService struct {
// contains filtered or unexported fields
}
MockNetParamsService is a mock of NetParamsService interface.
func NewMockNetParamsService ¶
func NewMockNetParamsService(ctrl *gomock.Controller) *MockNetParamsService
NewMockNetParamsService creates a new mock instance.
func (*MockNetParamsService) EXPECT ¶
func (m *MockNetParamsService) EXPECT() *MockNetParamsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetParamsService) GetAll ¶
func (m *MockNetParamsService) GetAll() []vega.NetworkParameter
GetAll mocks base method.
type MockNetParamsServiceMockRecorder ¶
type MockNetParamsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockNetParamsServiceMockRecorder is the mock recorder for MockNetParamsService.
func (*MockNetParamsServiceMockRecorder) GetAll ¶
func (mr *MockNetParamsServiceMockRecorder) GetAll() *gomock.Call
GetAll indicates an expected call of GetAll.
type MockNodeService ¶
type MockNodeService struct {
// contains filtered or unexported fields
}
MockNodeService is a mock of NodeService interface.
func NewMockNodeService ¶
func NewMockNodeService(ctrl *gomock.Controller) *MockNodeService
NewMockNodeService creates a new mock instance.
func (*MockNodeService) EXPECT ¶
func (m *MockNodeService) EXPECT() *MockNodeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNodeService) GetAllPubKeyRotations ¶
func (m *MockNodeService) GetAllPubKeyRotations(arg0 context.Context) ([]*v1.KeyRotation, error)
GetAllPubKeyRotations mocks base method.
func (*MockNodeService) GetNodeByID ¶
GetNodeByID mocks base method.
func (*MockNodeService) GetNodeData ¶
GetNodeData mocks base method.
func (*MockNodeService) GetPubKeyRotationsPerNode ¶
func (m *MockNodeService) GetPubKeyRotationsPerNode(arg0 context.Context, arg1 string) ([]*v1.KeyRotation, error)
GetPubKeyRotationsPerNode mocks base method.
type MockNodeServiceMockRecorder ¶
type MockNodeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeServiceMockRecorder is the mock recorder for MockNodeService.
func (*MockNodeServiceMockRecorder) GetAllPubKeyRotations ¶
func (mr *MockNodeServiceMockRecorder) GetAllPubKeyRotations(arg0 interface{}) *gomock.Call
GetAllPubKeyRotations indicates an expected call of GetAllPubKeyRotations.
func (*MockNodeServiceMockRecorder) GetNodeByID ¶
func (mr *MockNodeServiceMockRecorder) GetNodeByID(arg0, arg1 interface{}) *gomock.Call
GetNodeByID indicates an expected call of GetNodeByID.
func (*MockNodeServiceMockRecorder) GetNodeData ¶
func (mr *MockNodeServiceMockRecorder) GetNodeData(arg0 interface{}) *gomock.Call
GetNodeData indicates an expected call of GetNodeData.
func (*MockNodeServiceMockRecorder) GetNodes ¶
func (mr *MockNodeServiceMockRecorder) GetNodes(arg0 interface{}) *gomock.Call
GetNodes indicates an expected call of GetNodes.
func (*MockNodeServiceMockRecorder) GetPubKeyRotationsPerNode ¶
func (mr *MockNodeServiceMockRecorder) GetPubKeyRotationsPerNode(arg0, arg1 interface{}) *gomock.Call
GetPubKeyRotationsPerNode indicates an expected call of GetPubKeyRotationsPerNode.
type MockNotaryService ¶
type MockNotaryService struct {
// contains filtered or unexported fields
}
MockNotaryService is a mock of NotaryService interface.
func NewMockNotaryService ¶
func NewMockNotaryService(ctrl *gomock.Controller) *MockNotaryService
NewMockNotaryService creates a new mock instance.
func (*MockNotaryService) EXPECT ¶
func (m *MockNotaryService) EXPECT() *MockNotaryServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNotaryService) GetByID ¶
func (m *MockNotaryService) GetByID(arg0 string) ([]v1.NodeSignature, error)
GetByID mocks base method.
type MockNotaryServiceMockRecorder ¶
type MockNotaryServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockNotaryServiceMockRecorder is the mock recorder for MockNotaryService.
func (*MockNotaryServiceMockRecorder) GetByID ¶
func (mr *MockNotaryServiceMockRecorder) GetByID(arg0 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
type MockOracleService ¶
type MockOracleService struct {
// contains filtered or unexported fields
}
MockOracleService is a mock of OracleService interface.
func NewMockOracleService ¶
func NewMockOracleService(ctrl *gomock.Controller) *MockOracleService
NewMockOracleService creates a new mock instance.
func (*MockOracleService) EXPECT ¶
func (m *MockOracleService) EXPECT() *MockOracleServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOracleService) GetOracleDataBySpecID ¶
func (m *MockOracleService) GetOracleDataBySpecID(arg0 string, arg1 v1.Pagination) ([]v10.OracleData, error)
GetOracleDataBySpecID mocks base method.
func (*MockOracleService) GetSpecByID ¶
func (m *MockOracleService) GetSpecByID(arg0 string) (v10.OracleSpec, error)
GetSpecByID mocks base method.
func (*MockOracleService) ListOracleData ¶
func (m *MockOracleService) ListOracleData(arg0 v1.Pagination) []v10.OracleData
ListOracleData mocks base method.
func (*MockOracleService) ListOracleSpecs ¶
func (m *MockOracleService) ListOracleSpecs(arg0 v1.Pagination) []v10.OracleSpec
ListOracleSpecs mocks base method.
type MockOracleServiceMockRecorder ¶
type MockOracleServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockOracleServiceMockRecorder is the mock recorder for MockOracleService.
func (*MockOracleServiceMockRecorder) GetOracleDataBySpecID ¶
func (mr *MockOracleServiceMockRecorder) GetOracleDataBySpecID(arg0, arg1 interface{}) *gomock.Call
GetOracleDataBySpecID indicates an expected call of GetOracleDataBySpecID.
func (*MockOracleServiceMockRecorder) GetSpecByID ¶
func (mr *MockOracleServiceMockRecorder) GetSpecByID(arg0 interface{}) *gomock.Call
GetSpecByID indicates an expected call of GetSpecByID.
func (*MockOracleServiceMockRecorder) ListOracleData ¶
func (mr *MockOracleServiceMockRecorder) ListOracleData(arg0 interface{}) *gomock.Call
ListOracleData indicates an expected call of ListOracleData.
func (*MockOracleServiceMockRecorder) ListOracleSpecs ¶
func (mr *MockOracleServiceMockRecorder) ListOracleSpecs(arg0 interface{}) *gomock.Call
ListOracleSpecs indicates an expected call of ListOracleSpecs.
type MockOrderService ¶
type MockOrderService struct {
// contains filtered or unexported fields
}
MockOrderService is a mock of OrderService interface.
func NewMockOrderService ¶
func NewMockOrderService(ctrl *gomock.Controller) *MockOrderService
NewMockOrderService creates a new mock instance.
func (*MockOrderService) EXPECT ¶
func (m *MockOrderService) EXPECT() *MockOrderServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrderService) GetAllVersionsByOrderID ¶
func (m *MockOrderService) GetAllVersionsByOrderID(arg0 context.Context, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Order, error)
GetAllVersionsByOrderID mocks base method.
func (*MockOrderService) GetByMarket ¶
func (m *MockOrderService) GetByMarket(arg0 context.Context, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Order, error)
GetByMarket mocks base method.
func (*MockOrderService) GetByMarketAndID ¶
func (m *MockOrderService) GetByMarketAndID(arg0 context.Context, arg1, arg2 string) (*vega.Order, error)
GetByMarketAndID mocks base method.
func (*MockOrderService) GetByOrderID ¶
func (m *MockOrderService) GetByOrderID(arg0 context.Context, arg1 string, arg2 uint64) (*vega.Order, error)
GetByOrderID mocks base method.
func (*MockOrderService) GetByParty ¶
func (m *MockOrderService) GetByParty(arg0 context.Context, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Order, error)
GetByParty mocks base method.
func (*MockOrderService) GetByReference ¶
GetByReference mocks base method.
func (*MockOrderService) GetOrderSubscribersCount ¶
func (m *MockOrderService) GetOrderSubscribersCount() int32
GetOrderSubscribersCount mocks base method.
func (*MockOrderService) ObserveOrders ¶
func (m *MockOrderService) ObserveOrders(arg0 context.Context, arg1 int, arg2, arg3 *string) (<-chan []vega.Order, uint64)
ObserveOrders mocks base method.
type MockOrderServiceMockRecorder ¶
type MockOrderServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockOrderServiceMockRecorder is the mock recorder for MockOrderService.
func (*MockOrderServiceMockRecorder) GetAllVersionsByOrderID ¶
func (mr *MockOrderServiceMockRecorder) GetAllVersionsByOrderID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetAllVersionsByOrderID indicates an expected call of GetAllVersionsByOrderID.
func (*MockOrderServiceMockRecorder) GetByMarket ¶
func (mr *MockOrderServiceMockRecorder) GetByMarket(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetByMarket indicates an expected call of GetByMarket.
func (*MockOrderServiceMockRecorder) GetByMarketAndID ¶
func (mr *MockOrderServiceMockRecorder) GetByMarketAndID(arg0, arg1, arg2 interface{}) *gomock.Call
GetByMarketAndID indicates an expected call of GetByMarketAndID.
func (*MockOrderServiceMockRecorder) GetByOrderID ¶
func (mr *MockOrderServiceMockRecorder) GetByOrderID(arg0, arg1, arg2 interface{}) *gomock.Call
GetByOrderID indicates an expected call of GetByOrderID.
func (*MockOrderServiceMockRecorder) GetByParty ¶
func (mr *MockOrderServiceMockRecorder) GetByParty(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetByParty indicates an expected call of GetByParty.
func (*MockOrderServiceMockRecorder) GetByReference ¶
func (mr *MockOrderServiceMockRecorder) GetByReference(arg0, arg1 interface{}) *gomock.Call
GetByReference indicates an expected call of GetByReference.
func (*MockOrderServiceMockRecorder) GetOrderSubscribersCount ¶
func (mr *MockOrderServiceMockRecorder) GetOrderSubscribersCount() *gomock.Call
GetOrderSubscribersCount indicates an expected call of GetOrderSubscribersCount.
func (*MockOrderServiceMockRecorder) ObserveOrders ¶
func (mr *MockOrderServiceMockRecorder) ObserveOrders(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ObserveOrders indicates an expected call of ObserveOrders.
type MockPartyService ¶
type MockPartyService struct {
// contains filtered or unexported fields
}
MockPartyService is a mock of PartyService interface.
func NewMockPartyService ¶
func NewMockPartyService(ctrl *gomock.Controller) *MockPartyService
NewMockPartyService creates a new mock instance.
func (*MockPartyService) EXPECT ¶
func (m *MockPartyService) EXPECT() *MockPartyServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPartyServiceMockRecorder ¶
type MockPartyServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPartyServiceMockRecorder is the mock recorder for MockPartyService.
func (*MockPartyServiceMockRecorder) GetAll ¶
func (mr *MockPartyServiceMockRecorder) GetAll(arg0 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockPartyServiceMockRecorder) GetByID ¶
func (mr *MockPartyServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
type MockRewardsService ¶
type MockRewardsService struct {
// contains filtered or unexported fields
}
MockRewardsService is a mock of RewardsService interface.
func NewMockRewardsService ¶
func NewMockRewardsService(ctrl *gomock.Controller) *MockRewardsService
NewMockRewardsService creates a new mock instance.
func (*MockRewardsService) EXPECT ¶
func (m *MockRewardsService) EXPECT() *MockRewardsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRewardsService) GetRewardSummaries ¶
func (m *MockRewardsService) GetRewardSummaries(arg0 context.Context, arg1 string, arg2 *string) []*vega.RewardSummary
GetRewardSummaries mocks base method.
func (*MockRewardsService) GetRewards ¶
func (m *MockRewardsService) GetRewards(arg0 context.Context, arg1 string, arg2, arg3 uint64, arg4 bool) []*vega.Reward
GetRewards mocks base method.
func (*MockRewardsService) GetRewardsForAsset ¶
func (m *MockRewardsService) GetRewardsForAsset(arg0 context.Context, arg1, arg2 string, arg3, arg4 uint64, arg5 bool) []*vega.Reward
GetRewardsForAsset mocks base method.
func (*MockRewardsService) ObserveRewards ¶
func (m *MockRewardsService) ObserveRewards(arg0 context.Context, arg1 int, arg2, arg3 string) (<-chan vega.Reward, uint64)
ObserveRewards mocks base method.
type MockRewardsServiceMockRecorder ¶
type MockRewardsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRewardsServiceMockRecorder is the mock recorder for MockRewardsService.
func (*MockRewardsServiceMockRecorder) GetRewardSummaries ¶
func (mr *MockRewardsServiceMockRecorder) GetRewardSummaries(arg0, arg1, arg2 interface{}) *gomock.Call
GetRewardSummaries indicates an expected call of GetRewardSummaries.
func (*MockRewardsServiceMockRecorder) GetRewards ¶
func (mr *MockRewardsServiceMockRecorder) GetRewards(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetRewards indicates an expected call of GetRewards.
func (*MockRewardsServiceMockRecorder) GetRewardsForAsset ¶
func (mr *MockRewardsServiceMockRecorder) GetRewardsForAsset(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
GetRewardsForAsset indicates an expected call of GetRewardsForAsset.
func (*MockRewardsServiceMockRecorder) ObserveRewards ¶
func (mr *MockRewardsServiceMockRecorder) ObserveRewards(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ObserveRewards indicates an expected call of ObserveRewards.
type MockRiskService ¶
type MockRiskService struct {
// contains filtered or unexported fields
}
MockRiskService is a mock of RiskService interface.
func NewMockRiskService ¶
func NewMockRiskService(ctrl *gomock.Controller) *MockRiskService
NewMockRiskService creates a new mock instance.
func (*MockRiskService) EXPECT ¶
func (m *MockRiskService) EXPECT() *MockRiskServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRiskService) EstimateMargin ¶
func (m *MockRiskService) EstimateMargin(arg0 context.Context, arg1 *vega.Order) (*vega.MarginLevels, error)
EstimateMargin mocks base method.
func (*MockRiskService) GetMarginLevelsByID ¶
func (m *MockRiskService) GetMarginLevelsByID(arg0, arg1 string) ([]vega.MarginLevels, error)
GetMarginLevelsByID mocks base method.
func (*MockRiskService) GetMarginLevelsSubscribersCount ¶
func (m *MockRiskService) GetMarginLevelsSubscribersCount() int32
GetMarginLevelsSubscribersCount mocks base method.
func (*MockRiskService) GetMarketRiskFactors ¶
func (m *MockRiskService) GetMarketRiskFactors(arg0 string) (vega.RiskFactor, error)
GetMarketRiskFactors mocks base method.
func (*MockRiskService) ObserveMarginLevels ¶
func (m *MockRiskService) ObserveMarginLevels(arg0 context.Context, arg1 int, arg2, arg3 string) (<-chan []vega.MarginLevels, uint64)
ObserveMarginLevels mocks base method.
type MockRiskServiceMockRecorder ¶
type MockRiskServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRiskServiceMockRecorder is the mock recorder for MockRiskService.
func (*MockRiskServiceMockRecorder) EstimateMargin ¶
func (mr *MockRiskServiceMockRecorder) EstimateMargin(arg0, arg1 interface{}) *gomock.Call
EstimateMargin indicates an expected call of EstimateMargin.
func (*MockRiskServiceMockRecorder) GetMarginLevelsByID ¶
func (mr *MockRiskServiceMockRecorder) GetMarginLevelsByID(arg0, arg1 interface{}) *gomock.Call
GetMarginLevelsByID indicates an expected call of GetMarginLevelsByID.
func (*MockRiskServiceMockRecorder) GetMarginLevelsSubscribersCount ¶
func (mr *MockRiskServiceMockRecorder) GetMarginLevelsSubscribersCount() *gomock.Call
GetMarginLevelsSubscribersCount indicates an expected call of GetMarginLevelsSubscribersCount.
func (*MockRiskServiceMockRecorder) GetMarketRiskFactors ¶
func (mr *MockRiskServiceMockRecorder) GetMarketRiskFactors(arg0 interface{}) *gomock.Call
GetMarketRiskFactors indicates an expected call of GetMarketRiskFactors.
func (*MockRiskServiceMockRecorder) ObserveMarginLevels ¶
func (mr *MockRiskServiceMockRecorder) ObserveMarginLevels(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ObserveMarginLevels indicates an expected call of ObserveMarginLevels.
type MockStakingService ¶
type MockStakingService struct {
// contains filtered or unexported fields
}
MockStakingService is a mock of StakingService interface.
func NewMockStakingService ¶
func NewMockStakingService(ctrl *gomock.Controller) *MockStakingService
NewMockStakingService creates a new mock instance.
func (*MockStakingService) EXPECT ¶
func (m *MockStakingService) EXPECT() *MockStakingServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStakingService) GetStake ¶
func (m *MockStakingService) GetStake(arg0 string) (*num.Uint, []v1.StakeLinking)
GetStake mocks base method.
type MockStakingServiceMockRecorder ¶
type MockStakingServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockStakingServiceMockRecorder is the mock recorder for MockStakingService.
func (*MockStakingServiceMockRecorder) GetStake ¶
func (mr *MockStakingServiceMockRecorder) GetStake(arg0 interface{}) *gomock.Call
GetStake indicates an expected call of GetStake.
type MockTradeService ¶
type MockTradeService struct {
// contains filtered or unexported fields
}
MockTradeService is a mock of TradeService interface.
func NewMockTradeService ¶
func NewMockTradeService(ctrl *gomock.Controller) *MockTradeService
NewMockTradeService creates a new mock instance.
func (*MockTradeService) EXPECT ¶
func (m *MockTradeService) EXPECT() *MockTradeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTradeService) GetByMarket ¶
func (m *MockTradeService) GetByMarket(arg0 context.Context, arg1 string, arg2, arg3 uint64, arg4 bool) ([]*vega.Trade, error)
GetByMarket mocks base method.
func (*MockTradeService) GetByOrderID ¶
GetByOrderID mocks base method.
func (*MockTradeService) GetByParty ¶
func (m *MockTradeService) GetByParty(arg0 context.Context, arg1 string, arg2, arg3 uint64, arg4 bool, arg5 *string) ([]*vega.Trade, error)
GetByParty mocks base method.
func (*MockTradeService) GetPositionsByParty ¶
func (m *MockTradeService) GetPositionsByParty(arg0 context.Context, arg1, arg2 string) ([]*vega.Position, error)
GetPositionsByParty mocks base method.
func (*MockTradeService) GetPositionsSubscribersCount ¶
func (m *MockTradeService) GetPositionsSubscribersCount() int32
GetPositionsSubscribersCount mocks base method.
func (*MockTradeService) GetTradeSubscribersCount ¶
func (m *MockTradeService) GetTradeSubscribersCount() int32
GetTradeSubscribersCount mocks base method.
func (*MockTradeService) ObservePositions ¶
func (m *MockTradeService) ObservePositions(arg0 context.Context, arg1 int, arg2, arg3 string) (<-chan *vega.Position, uint64)
ObservePositions mocks base method.
func (*MockTradeService) ObserveTrades ¶
func (m *MockTradeService) ObserveTrades(arg0 context.Context, arg1 int, arg2, arg3 *string) (<-chan []vega.Trade, uint64)
ObserveTrades mocks base method.
type MockTradeServiceMockRecorder ¶
type MockTradeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTradeServiceMockRecorder is the mock recorder for MockTradeService.
func (*MockTradeServiceMockRecorder) GetByMarket ¶
func (mr *MockTradeServiceMockRecorder) GetByMarket(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetByMarket indicates an expected call of GetByMarket.
func (*MockTradeServiceMockRecorder) GetByOrderID ¶
func (mr *MockTradeServiceMockRecorder) GetByOrderID(arg0, arg1 interface{}) *gomock.Call
GetByOrderID indicates an expected call of GetByOrderID.
func (*MockTradeServiceMockRecorder) GetByParty ¶
func (mr *MockTradeServiceMockRecorder) GetByParty(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
GetByParty indicates an expected call of GetByParty.
func (*MockTradeServiceMockRecorder) GetPositionsByParty ¶
func (mr *MockTradeServiceMockRecorder) GetPositionsByParty(arg0, arg1, arg2 interface{}) *gomock.Call
GetPositionsByParty indicates an expected call of GetPositionsByParty.
func (*MockTradeServiceMockRecorder) GetPositionsSubscribersCount ¶
func (mr *MockTradeServiceMockRecorder) GetPositionsSubscribersCount() *gomock.Call
GetPositionsSubscribersCount indicates an expected call of GetPositionsSubscribersCount.
func (*MockTradeServiceMockRecorder) GetTradeSubscribersCount ¶
func (mr *MockTradeServiceMockRecorder) GetTradeSubscribersCount() *gomock.Call
GetTradeSubscribersCount indicates an expected call of GetTradeSubscribersCount.
func (*MockTradeServiceMockRecorder) ObservePositions ¶
func (mr *MockTradeServiceMockRecorder) ObservePositions(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ObservePositions indicates an expected call of ObservePositions.
func (*MockTradeServiceMockRecorder) ObserveTrades ¶
func (mr *MockTradeServiceMockRecorder) ObserveTrades(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ObserveTrades indicates an expected call of ObserveTrades.
type MockTransferResponseService ¶
type MockTransferResponseService struct {
// contains filtered or unexported fields
}
MockTransferResponseService is a mock of TransferResponseService interface.
func NewMockTransferResponseService ¶
func NewMockTransferResponseService(ctrl *gomock.Controller) *MockTransferResponseService
NewMockTransferResponseService creates a new mock instance.
func (*MockTransferResponseService) EXPECT ¶
func (m *MockTransferResponseService) EXPECT() *MockTransferResponseServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransferResponseService) GetAllTransfers ¶
func (m *MockTransferResponseService) GetAllTransfers(arg0 context.Context, arg1 string, arg2, arg3 bool) []*v1.Transfer
GetAllTransfers mocks base method.
func (*MockTransferResponseService) ObserveTransferResponses ¶
func (m *MockTransferResponseService) ObserveTransferResponses(arg0 context.Context, arg1 int) (<-chan []*vega.TransferResponse, uint64)
ObserveTransferResponses mocks base method.
type MockTransferResponseServiceMockRecorder ¶
type MockTransferResponseServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTransferResponseServiceMockRecorder is the mock recorder for MockTransferResponseService.
func (*MockTransferResponseServiceMockRecorder) GetAllTransfers ¶
func (mr *MockTransferResponseServiceMockRecorder) GetAllTransfers(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetAllTransfers indicates an expected call of GetAllTransfers.
func (*MockTransferResponseServiceMockRecorder) ObserveTransferResponses ¶
func (mr *MockTransferResponseServiceMockRecorder) ObserveTransferResponses(arg0, arg1 interface{}) *gomock.Call
ObserveTransferResponses indicates an expected call of ObserveTransferResponses.
type MockValidatorService ¶
type MockValidatorService struct {
// contains filtered or unexported fields
}
MockValidatorService is a mock of ValidatorService interface
func NewMockValidatorService ¶
func NewMockValidatorService(ctrl *gomock.Controller) *MockValidatorService
NewMockValidatorService creates a new mock instance
func (*MockValidatorService) EXPECT ¶
func (m *MockValidatorService) EXPECT() *MockValidatorServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockValidatorService) GetEpochByID ¶
GetEpochByID mocks base method
func (*MockValidatorService) GetNodeByID ¶
GetNodeByID mocks base method
func (*MockValidatorService) GetNodeData ¶
GetNodeData mocks base method
type MockValidatorServiceMockRecorder ¶
type MockValidatorServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorServiceMockRecorder is the mock recorder for MockValidatorService
func (*MockValidatorServiceMockRecorder) GetEpoch ¶
func (mr *MockValidatorServiceMockRecorder) GetEpoch(arg0 interface{}) *gomock.Call
GetEpoch indicates an expected call of GetEpoch
func (*MockValidatorServiceMockRecorder) GetEpochByID ¶
func (mr *MockValidatorServiceMockRecorder) GetEpochByID(arg0, arg1 interface{}) *gomock.Call
GetEpochByID indicates an expected call of GetEpochByID
func (*MockValidatorServiceMockRecorder) GetNodeByID ¶
func (mr *MockValidatorServiceMockRecorder) GetNodeByID(arg0, arg1 interface{}) *gomock.Call
GetNodeByID indicates an expected call of GetNodeByID
func (*MockValidatorServiceMockRecorder) GetNodeData ¶
func (mr *MockValidatorServiceMockRecorder) GetNodeData(arg0 interface{}) *gomock.Call
GetNodeData indicates an expected call of GetNodeData
func (*MockValidatorServiceMockRecorder) GetNodes ¶
func (mr *MockValidatorServiceMockRecorder) GetNodes(arg0 interface{}) *gomock.Call
GetNodes indicates an expected call of GetNodes
type MockVegaTime ¶
type MockVegaTime struct {
// contains filtered or unexported fields
}
MockVegaTime is a mock of VegaTime interface.
func NewMockVegaTime ¶
func NewMockVegaTime(ctrl *gomock.Controller) *MockVegaTime
NewMockVegaTime creates a new mock instance.
func (*MockVegaTime) EXPECT ¶
func (m *MockVegaTime) EXPECT() *MockVegaTimeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVegaTime) GetTimeNow ¶
func (m *MockVegaTime) GetTimeNow() (time.Time, error)
GetTimeNow mocks base method.
type MockVegaTimeMockRecorder ¶
type MockVegaTimeMockRecorder struct {
// contains filtered or unexported fields
}
MockVegaTimeMockRecorder is the mock recorder for MockVegaTime.
func (*MockVegaTimeMockRecorder) GetTimeNow ¶
func (mr *MockVegaTimeMockRecorder) GetTimeNow() *gomock.Call
GetTimeNow indicates an expected call of GetTimeNow.
type MockWithdrawalService ¶
type MockWithdrawalService struct {
// contains filtered or unexported fields
}
MockWithdrawalService is a mock of WithdrawalService interface.
func NewMockWithdrawalService ¶
func NewMockWithdrawalService(ctrl *gomock.Controller) *MockWithdrawalService
NewMockWithdrawalService creates a new mock instance.
func (*MockWithdrawalService) EXPECT ¶
func (m *MockWithdrawalService) EXPECT() *MockWithdrawalServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWithdrawalService) GetByID ¶
func (m *MockWithdrawalService) GetByID(arg0 string) (vega.Withdrawal, error)
GetByID mocks base method.
func (*MockWithdrawalService) GetByParty ¶
func (m *MockWithdrawalService) GetByParty(arg0 string, arg1 bool) []vega.Withdrawal
GetByParty mocks base method.
type MockWithdrawalServiceMockRecorder ¶
type MockWithdrawalServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockWithdrawalServiceMockRecorder is the mock recorder for MockWithdrawalService.
func (*MockWithdrawalServiceMockRecorder) GetByID ¶
func (mr *MockWithdrawalServiceMockRecorder) GetByID(arg0 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockWithdrawalServiceMockRecorder) GetByParty ¶
func (mr *MockWithdrawalServiceMockRecorder) GetByParty(arg0, arg1 interface{}) *gomock.Call
GetByParty indicates an expected call of GetByParty.
Source Files ¶
- accounts_service_mock.go
- asset_service_mock.go
- candle_service_mock.go
- checkpoint_service_mock.go
- core_service_client_mock.go
- delegation_service_mock.go
- deposit_service_mock.go
- epoch_service_mock.go
- event_service_mock.go
- fee_service_mock.go
- governance_data_service_mock.go
- liquidity_service_mock.go
- market_service_mock.go
- net_params_service_mock.go
- node_service_mock.go
- notary_service_mock.go
- oracle_service_mock.go
- order_service_mock.go
- party_service_mock.go
- rewards_service_mock.go
- risk_service_mock.go
- staking_service_mock.go
- trade_service_mock.go
- transfer_response_service_mock.go
- validator_service_mock.go
- vega_time_mock.go
- withdrawal_service_mock.go