mocks

package
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 16 Imported by: 0

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

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

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

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

func (*MockAssetService) GetAll

func (m *MockAssetService) GetAll() ([]vega.Asset, error)

GetAll mocks base method.

func (*MockAssetService) GetByID

func (m *MockAssetService) GetByID(arg0 string) (*vega.Asset, error)

GetByID mocks base method.

type MockAssetServiceMockRecorder

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

MockAssetServiceMockRecorder is the mock recorder for MockAssetService.

func (*MockAssetServiceMockRecorder) GetAll

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

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

func (*MockCandleService) GetCandleSubscribersCount

func (m *MockCandleService) GetCandleSubscribersCount() int32

GetCandleSubscribersCount mocks base method.

func (*MockCandleService) GetCandles

func (m *MockCandleService) GetCandles(arg0 context.Context, arg1 string, arg2 time.Time, arg3 vega.Interval) ([]*vega.Candle, error)

GetCandles mocks base method.

func (*MockCandleService) ObserveCandles

func (m *MockCandleService) ObserveCandles(arg0 context.Context, arg1 int, arg2 *string, arg3 *vega.Interval) (<-chan *vega.Candle, uint64)

ObserveCandles 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

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

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

CheckRawTransaction mocks base method.

func (*MockCoreServiceClient) CheckTransaction

CheckTransaction mocks base method.

func (*MockCoreServiceClient) EXPECT

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

func (*MockCoreServiceClient) GetState added in v0.56.0

GetState mocks base method.

func (*MockCoreServiceClient) GetVegaTime

GetVegaTime mocks base method.

func (*MockCoreServiceClient) LastBlockHeight

LastBlockHeight mocks base method.

func (*MockCoreServiceClient) ObserveEventBus

ObserveEventBus mocks base method.

func (*MockCoreServiceClient) PropagateChainEvent

PropagateChainEvent mocks base method.

func (*MockCoreServiceClient) Statistics

Statistics mocks base method.

func (*MockCoreServiceClient) SubmitRawTransaction

SubmitRawTransaction mocks base method.

func (*MockCoreServiceClient) SubmitTransaction

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) GetState added in v0.56.0

GetState indicates an expected call of GetState.

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 MockDeHistoryService added in v0.60.0

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

MockDeHistoryService is a mock of DeHistoryService interface.

func NewMockDeHistoryService added in v0.60.0

func NewMockDeHistoryService(ctrl *gomock.Controller) *MockDeHistoryService

NewMockDeHistoryService creates a new mock instance.

func (*MockDeHistoryService) EXPECT added in v0.60.0

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

func (*MockDeHistoryService) FetchHistorySegment added in v0.60.0

func (m *MockDeHistoryService) FetchHistorySegment(arg0 context.Context, arg1 string) (store.SegmentIndexEntry, error)

FetchHistorySegment mocks base method.

func (*MockDeHistoryService) GetActivePeerAddresses added in v0.60.0

func (m *MockDeHistoryService) GetActivePeerAddresses() []string

GetActivePeerAddresses mocks base method.

func (*MockDeHistoryService) GetHighestBlockHeightHistorySegment added in v0.60.0

func (m *MockDeHistoryService) GetHighestBlockHeightHistorySegment() (store.SegmentIndexEntry, error)

GetHighestBlockHeightHistorySegment mocks base method.

func (*MockDeHistoryService) ListAllHistorySegments added in v0.60.0

func (m *MockDeHistoryService) ListAllHistorySegments() ([]store.SegmentIndexEntry, error)

ListAllHistorySegments mocks base method.

type MockDeHistoryServiceMockRecorder added in v0.60.0

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

MockDeHistoryServiceMockRecorder is the mock recorder for MockDeHistoryService.

func (*MockDeHistoryServiceMockRecorder) FetchHistorySegment added in v0.60.0

func (mr *MockDeHistoryServiceMockRecorder) FetchHistorySegment(arg0, arg1 interface{}) *gomock.Call

FetchHistorySegment indicates an expected call of FetchHistorySegment.

func (*MockDeHistoryServiceMockRecorder) GetActivePeerAddresses added in v0.60.0

func (mr *MockDeHistoryServiceMockRecorder) GetActivePeerAddresses() *gomock.Call

GetActivePeerAddresses indicates an expected call of GetActivePeerAddresses.

func (*MockDeHistoryServiceMockRecorder) GetHighestBlockHeightHistorySegment added in v0.60.0

func (mr *MockDeHistoryServiceMockRecorder) GetHighestBlockHeightHistorySegment() *gomock.Call

GetHighestBlockHeightHistorySegment indicates an expected call of GetHighestBlockHeightHistorySegment.

func (*MockDeHistoryServiceMockRecorder) ListAllHistorySegments added in v0.60.0

func (mr *MockDeHistoryServiceMockRecorder) ListAllHistorySegments() *gomock.Call

ListAllHistorySegments indicates an expected call of ListAllHistorySegments.

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

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

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

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

func (*MockEpochService) GetEpoch

func (m *MockEpochService) GetEpoch(arg0 context.Context) (*vega.Epoch, error)

GetEpoch mocks base method.

func (*MockEpochService) GetEpochByID

func (m *MockEpochService) GetEpochByID(arg0 context.Context, arg1 string) (*vega.Epoch, error)

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

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

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

func (*MockFeeService) EstimateFee

func (m *MockFeeService) EstimateFee(arg0 context.Context, arg1 *vega.Order) (*vega.Fee, error)

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

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

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

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

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

func (*MockMarketService) GetAll

func (m *MockMarketService) GetAll(arg0 context.Context) ([]*vega.Market, error)

GetAll mocks base method.

func (*MockMarketService) GetByID

func (m *MockMarketService) GetByID(arg0 context.Context, arg1 string) (*vega.Market, error)

GetByID mocks base method.

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

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

func (*MockNetParamsService) GetAll

GetAll mocks base method.

type MockNetParamsServiceMockRecorder

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

MockNetParamsServiceMockRecorder is the mock recorder for MockNetParamsService.

func (*MockNetParamsServiceMockRecorder) GetAll

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

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

func (m *MockNodeService) GetNodeByID(arg0 context.Context, arg1 string) (*vega.Node, error)

GetNodeByID mocks base method.

func (*MockNodeService) GetNodeData

func (m *MockNodeService) GetNodeData(arg0 context.Context) (*vega.NodeData, error)

GetNodeData mocks base method.

func (*MockNodeService) GetNodes

func (m *MockNodeService) GetNodes(arg0 context.Context) ([]*vega.Node, error)

GetNodes 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

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

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

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

func (m *MockOrderService) GetByReference(arg0 context.Context, arg1 string) (*vega.Order, error)

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

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

func (*MockPartyService) GetAll

func (m *MockPartyService) GetAll(arg0 context.Context) ([]*vega.Party, error)

GetAll mocks base method.

func (*MockPartyService) GetByID

func (m *MockPartyService) GetByID(arg0 context.Context, arg1 string) (*vega.Party, error)

GetByID mocks base method.

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

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

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

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

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

func (m *MockTradeService) GetByOrderID(arg0 context.Context, arg1 string) ([]*vega.Trade, error)

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 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

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

func (*MockValidatorService) GetEpoch

func (m *MockValidatorService) GetEpoch(arg0 context.Context) (*vega.Epoch, error)

GetEpoch mocks base method

func (*MockValidatorService) GetEpochByID

func (m *MockValidatorService) GetEpochByID(arg0 context.Context, arg1 uint64) (*vega.Epoch, error)

GetEpochByID mocks base method

func (*MockValidatorService) GetNodeByID

func (m *MockValidatorService) GetNodeByID(arg0 context.Context, arg1 string) (*vega.Node, error)

GetNodeByID mocks base method

func (*MockValidatorService) GetNodeData

func (m *MockValidatorService) GetNodeData(arg0 context.Context) (*vega.NodeData, error)

GetNodeData mocks base method

func (*MockValidatorService) GetNodes

func (m *MockValidatorService) GetNodes(arg0 context.Context) ([]*vega.Node, error)

GetNodes 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

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

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.

Jump to

Keyboard shortcuts

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