Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAMMStore
- type MockAMMStoreMockRecorder
- type MockAccountStore
- func (m *MockAccountStore) EXPECT() *MockAccountStoreMockRecorder
- func (m *MockAccountStore) GetAll(arg0 context.Context) ([]entities.Account, error)
- func (m *MockAccountStore) GetBalancesByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.AccountBalance, error)
- func (m *MockAccountStore) GetByRawID(arg0 context.Context, arg1 string) (entities.Account, error)
- func (m *MockAccountStore) GetByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.Account, error)
- func (m *MockAccountStore) Obtain(arg0 context.Context, arg1 *entities.Account) error
- func (m *MockAccountStore) Query(arg0 context.Context, arg1 entities.AccountFilter) ([]entities.Account, error)
- func (m *MockAccountStore) QueryBalances(arg0 context.Context, arg1 entities.AccountFilter, ...) ([]entities.AccountBalance, entities.PageInfo, error)
- type MockAccountStoreMockRecorder
- func (mr *MockAccountStoreMockRecorder) GetAll(arg0 interface{}) *gomock.Call
- func (mr *MockAccountStoreMockRecorder) GetBalancesByTxHash(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountStoreMockRecorder) GetByRawID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountStoreMockRecorder) GetByTxHash(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountStoreMockRecorder) Obtain(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountStoreMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountStoreMockRecorder) QueryBalances(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockAssetStore
- type MockAssetStoreMockRecorder
- type MockBalanceStore
- func (m *MockBalanceStore) Add(arg0 entities.AccountBalance) error
- func (m *MockBalanceStore) EXPECT() *MockBalanceStoreMockRecorder
- func (m *MockBalanceStore) Flush(arg0 context.Context) ([]entities.AccountBalance, error)
- func (m *MockBalanceStore) Query(arg0 context.Context, arg1 entities.AccountFilter, arg2 entities.DateRange, ...) (*[]entities.AggregatedBalance, entities.PageInfo, error)
- type MockBalanceStoreMockRecorder
- type MockChainStore
- type MockChainStoreMockRecorder
- type MockMarketDataStore
- func (m *MockMarketDataStore) Add(arg0 *entities.MarketData) error
- func (m *MockMarketDataStore) EXPECT() *MockMarketDataStoreMockRecorder
- func (m *MockMarketDataStore) Flush(arg0 context.Context) ([]*entities.MarketData, error)
- func (m *MockMarketDataStore) GetHistoricMarketData(arg0 context.Context, arg1 string, arg2, arg3 *time.Time, ...) ([]entities.MarketData, entities.PageInfo, error)
- func (m *MockMarketDataStore) GetMarketDataByID(arg0 context.Context, arg1 string) (entities.MarketData, error)
- func (m *MockMarketDataStore) GetMarketsData(arg0 context.Context) ([]entities.MarketData, error)
- type MockMarketDataStoreMockRecorder
- func (mr *MockMarketDataStoreMockRecorder) Add(arg0 interface{}) *gomock.Call
- func (mr *MockMarketDataStoreMockRecorder) Flush(arg0 interface{}) *gomock.Call
- func (mr *MockMarketDataStoreMockRecorder) GetHistoricMarketData(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockMarketDataStoreMockRecorder) GetMarketDataByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMarketDataStoreMockRecorder) GetMarketsData(arg0 interface{}) *gomock.Call
- type MockMarketStore
- func (m *MockMarketStore) EXPECT() *MockMarketStoreMockRecorder
- func (m *MockMarketStore) GetAllFees(arg0 context.Context) ([]entities.Market, error)
- func (m *MockMarketStore) GetAllPaged(arg0 context.Context, arg1 string, arg2 entities.CursorPagination, arg3 bool) ([]entities.Market, entities.PageInfo, error)
- func (m *MockMarketStore) GetByID(arg0 context.Context, arg1 string) (entities.Market, error)
- func (m *MockMarketStore) GetByIDs(arg0 context.Context, arg1 []string) ([]entities.Market, error)
- func (m *MockMarketStore) GetByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.Market, error)
- func (m *MockMarketStore) ListSuccessorMarkets(arg0 context.Context, arg1 string, arg2 bool, arg3 entities.CursorPagination) ([]entities.SuccessorMarket, entities.PageInfo, error)
- func (m *MockMarketStore) Upsert(arg0 context.Context, arg1 *entities.Market) error
- type MockMarketStoreMockRecorder
- func (mr *MockMarketStoreMockRecorder) GetAllFees(arg0 interface{}) *gomock.Call
- func (mr *MockMarketStoreMockRecorder) GetAllPaged(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMarketStoreMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMarketStoreMockRecorder) GetByIDs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMarketStoreMockRecorder) GetByTxHash(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMarketStoreMockRecorder) ListSuccessorMarkets(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMarketStoreMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
- type MockOrderStore
- type MockOrderStoreMockRecorder
- type MockPositionStore
- func (m *MockPositionStore) Add(arg0 context.Context, arg1 entities.Position) error
- func (m *MockPositionStore) EXPECT() *MockPositionStoreMockRecorder
- func (m *MockPositionStore) Flush(arg0 context.Context) ([]entities.Position, error)
- func (m *MockPositionStore) GetAll(arg0 context.Context) ([]entities.Position, error)
- func (m *MockPositionStore) GetByMarket(arg0 context.Context, arg1 string) ([]entities.Position, error)
- func (m *MockPositionStore) GetByMarketAndParties(arg0 context.Context, arg1 string, arg2 []string) ([]entities.Position, error)
- func (m *MockPositionStore) GetByMarketAndParty(arg0 context.Context, arg1, arg2 string) (entities.Position, error)
- func (m *MockPositionStore) GetByParty(arg0 context.Context, arg1 string) ([]entities.Position, error)
- func (m *MockPositionStore) GetByPartyConnection(arg0 context.Context, arg1, arg2 []string, arg3 entities.CursorPagination) ([]entities.Position, entities.PageInfo, error)
- func (m *MockPositionStore) GetByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.Position, error)
- type MockPositionStoreMockRecorder
- func (mr *MockPositionStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPositionStoreMockRecorder) Flush(arg0 interface{}) *gomock.Call
- func (mr *MockPositionStoreMockRecorder) GetAll(arg0 interface{}) *gomock.Call
- func (mr *MockPositionStoreMockRecorder) GetByMarket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPositionStoreMockRecorder) GetByMarketAndParties(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPositionStoreMockRecorder) GetByMarketAndParty(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPositionStoreMockRecorder) GetByParty(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPositionStoreMockRecorder) GetByPartyConnection(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockPositionStoreMockRecorder) GetByTxHash(arg0, arg1 interface{}) *gomock.Call
- type MockRewardStore
- func (m *MockRewardStore) Add(arg0 context.Context, arg1 entities.Reward) error
- func (m *MockRewardStore) EXPECT() *MockRewardStoreMockRecorder
- func (m *MockRewardStore) GetAll(arg0 context.Context) ([]entities.Reward, error)
- func (m *MockRewardStore) GetByCursor(arg0 context.Context, arg1 []string, arg2 *string, arg3, arg4 *uint64, ...) ([]entities.Reward, entities.PageInfo, error)
- func (m *MockRewardStore) GetByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.Reward, error)
- func (m *MockRewardStore) GetEpochSummaries(arg0 context.Context, arg1 entities.RewardSummaryFilter, ...) ([]entities.EpochRewardSummary, entities.PageInfo, error)
- func (m *MockRewardStore) GetSummaries(arg0 context.Context, arg1 []string, arg2 *string) ([]entities.RewardSummary, error)
- type MockRewardStoreMockRecorder
- func (mr *MockRewardStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRewardStoreMockRecorder) GetAll(arg0 interface{}) *gomock.Call
- func (mr *MockRewardStoreMockRecorder) GetByCursor(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
- func (mr *MockRewardStoreMockRecorder) GetByTxHash(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRewardStoreMockRecorder) GetEpochSummaries(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRewardStoreMockRecorder) GetSummaries(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAMMStore ¶ added in v0.77.0
type MockAMMStore struct {
// contains filtered or unexported fields
}
MockAMMStore is a mock of AMMStore interface.
func NewMockAMMStore ¶ added in v0.77.0
func NewMockAMMStore(ctrl *gomock.Controller) *MockAMMStore
NewMockAMMStore creates a new mock instance.
func (*MockAMMStore) EXPECT ¶ added in v0.77.0
func (m *MockAMMStore) EXPECT() *MockAMMStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAMMStore) ListActive ¶ added in v0.77.0
ListActive mocks base method.
type MockAMMStoreMockRecorder ¶ added in v0.77.0
type MockAMMStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockAMMStoreMockRecorder is the mock recorder for MockAMMStore.
func (*MockAMMStoreMockRecorder) ListActive ¶ added in v0.77.0
func (mr *MockAMMStoreMockRecorder) ListActive(arg0 interface{}) *gomock.Call
ListActive indicates an expected call of ListActive.
type MockAccountStore ¶ added in v0.77.0
type MockAccountStore struct {
// contains filtered or unexported fields
}
MockAccountStore is a mock of AccountStore interface.
func NewMockAccountStore ¶ added in v0.77.0
func NewMockAccountStore(ctrl *gomock.Controller) *MockAccountStore
NewMockAccountStore creates a new mock instance.
func (*MockAccountStore) EXPECT ¶ added in v0.77.0
func (m *MockAccountStore) EXPECT() *MockAccountStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountStore) GetBalancesByTxHash ¶ added in v0.77.0
func (m *MockAccountStore) GetBalancesByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.AccountBalance, error)
GetBalancesByTxHash mocks base method.
func (*MockAccountStore) GetByRawID ¶ added in v0.77.0
GetByRawID mocks base method.
func (*MockAccountStore) GetByTxHash ¶ added in v0.77.0
func (m *MockAccountStore) GetByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.Account, error)
GetByTxHash mocks base method.
func (*MockAccountStore) Query ¶ added in v0.77.0
func (m *MockAccountStore) Query(arg0 context.Context, arg1 entities.AccountFilter) ([]entities.Account, error)
Query mocks base method.
func (*MockAccountStore) QueryBalances ¶ added in v0.77.0
func (m *MockAccountStore) QueryBalances(arg0 context.Context, arg1 entities.AccountFilter, arg2 entities.CursorPagination) ([]entities.AccountBalance, entities.PageInfo, error)
QueryBalances mocks base method.
type MockAccountStoreMockRecorder ¶ added in v0.77.0
type MockAccountStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountStoreMockRecorder is the mock recorder for MockAccountStore.
func (*MockAccountStoreMockRecorder) GetAll ¶ added in v0.77.0
func (mr *MockAccountStoreMockRecorder) GetAll(arg0 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockAccountStoreMockRecorder) GetBalancesByTxHash ¶ added in v0.77.0
func (mr *MockAccountStoreMockRecorder) GetBalancesByTxHash(arg0, arg1 interface{}) *gomock.Call
GetBalancesByTxHash indicates an expected call of GetBalancesByTxHash.
func (*MockAccountStoreMockRecorder) GetByRawID ¶ added in v0.77.0
func (mr *MockAccountStoreMockRecorder) GetByRawID(arg0, arg1 interface{}) *gomock.Call
GetByRawID indicates an expected call of GetByRawID.
func (*MockAccountStoreMockRecorder) GetByTxHash ¶ added in v0.77.0
func (mr *MockAccountStoreMockRecorder) GetByTxHash(arg0, arg1 interface{}) *gomock.Call
GetByTxHash indicates an expected call of GetByTxHash.
func (*MockAccountStoreMockRecorder) Obtain ¶ added in v0.77.0
func (mr *MockAccountStoreMockRecorder) Obtain(arg0, arg1 interface{}) *gomock.Call
Obtain indicates an expected call of Obtain.
func (*MockAccountStoreMockRecorder) Query ¶ added in v0.77.0
func (mr *MockAccountStoreMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*MockAccountStoreMockRecorder) QueryBalances ¶ added in v0.77.0
func (mr *MockAccountStoreMockRecorder) QueryBalances(arg0, arg1, arg2 interface{}) *gomock.Call
QueryBalances indicates an expected call of QueryBalances.
type MockAssetStore ¶ added in v0.77.0
type MockAssetStore struct {
// contains filtered or unexported fields
}
MockAssetStore is a mock of AssetStore interface.
func NewMockAssetStore ¶ added in v0.77.0
func NewMockAssetStore(ctrl *gomock.Controller) *MockAssetStore
NewMockAssetStore creates a new mock instance.
func (*MockAssetStore) EXPECT ¶ added in v0.77.0
func (m *MockAssetStore) EXPECT() *MockAssetStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAssetStoreMockRecorder ¶ added in v0.77.0
type MockAssetStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockAssetStoreMockRecorder is the mock recorder for MockAssetStore.
func (*MockAssetStoreMockRecorder) GetByID ¶ added in v0.77.0
func (mr *MockAssetStoreMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
type MockBalanceStore ¶ added in v0.77.0
type MockBalanceStore struct {
// contains filtered or unexported fields
}
MockBalanceStore is a mock of BalanceStore interface.
func NewMockBalanceStore ¶ added in v0.77.0
func NewMockBalanceStore(ctrl *gomock.Controller) *MockBalanceStore
NewMockBalanceStore creates a new mock instance.
func (*MockBalanceStore) Add ¶ added in v0.77.0
func (m *MockBalanceStore) Add(arg0 entities.AccountBalance) error
Add mocks base method.
func (*MockBalanceStore) EXPECT ¶ added in v0.77.0
func (m *MockBalanceStore) EXPECT() *MockBalanceStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBalanceStore) Flush ¶ added in v0.77.0
func (m *MockBalanceStore) Flush(arg0 context.Context) ([]entities.AccountBalance, error)
Flush mocks base method.
func (*MockBalanceStore) Query ¶ added in v0.77.0
func (m *MockBalanceStore) Query(arg0 context.Context, arg1 entities.AccountFilter, arg2 entities.DateRange, arg3 entities.CursorPagination) (*[]entities.AggregatedBalance, entities.PageInfo, error)
Query mocks base method.
type MockBalanceStoreMockRecorder ¶ added in v0.77.0
type MockBalanceStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockBalanceStoreMockRecorder is the mock recorder for MockBalanceStore.
func (*MockBalanceStoreMockRecorder) Add ¶ added in v0.77.0
func (mr *MockBalanceStoreMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockBalanceStoreMockRecorder) Flush ¶ added in v0.77.0
func (mr *MockBalanceStoreMockRecorder) Flush(arg0 interface{}) *gomock.Call
Flush indicates an expected call of Flush.
func (*MockBalanceStoreMockRecorder) Query ¶ added in v0.77.0
func (mr *MockBalanceStoreMockRecorder) Query(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Query indicates an expected call of Query.
type MockChainStore ¶
type MockChainStore struct {
// contains filtered or unexported fields
}
MockChainStore is a mock of ChainStore interface.
func NewMockChainStore ¶
func NewMockChainStore(ctrl *gomock.Controller) *MockChainStore
NewMockChainStore creates a new mock instance.
func (*MockChainStore) EXPECT ¶
func (m *MockChainStore) EXPECT() *MockChainStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockChainStoreMockRecorder ¶
type MockChainStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockChainStoreMockRecorder is the mock recorder for MockChainStore.
func (*MockChainStoreMockRecorder) Get ¶
func (mr *MockChainStoreMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockChainStoreMockRecorder) Set ¶
func (mr *MockChainStoreMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
Set indicates an expected call of Set.
type MockMarketDataStore ¶
type MockMarketDataStore struct {
// contains filtered or unexported fields
}
MockMarketDataStore is a mock of MarketDataStore interface.
func NewMockMarketDataStore ¶
func NewMockMarketDataStore(ctrl *gomock.Controller) *MockMarketDataStore
NewMockMarketDataStore creates a new mock instance.
func (*MockMarketDataStore) Add ¶
func (m *MockMarketDataStore) Add(arg0 *entities.MarketData) error
Add mocks base method.
func (*MockMarketDataStore) EXPECT ¶
func (m *MockMarketDataStore) EXPECT() *MockMarketDataStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMarketDataStore) Flush ¶
func (m *MockMarketDataStore) Flush(arg0 context.Context) ([]*entities.MarketData, error)
Flush mocks base method.
func (*MockMarketDataStore) GetHistoricMarketData ¶ added in v0.73.0
func (m *MockMarketDataStore) GetHistoricMarketData(arg0 context.Context, arg1 string, arg2, arg3 *time.Time, arg4 entities.Pagination) ([]entities.MarketData, entities.PageInfo, error)
GetHistoricMarketData mocks base method.
func (*MockMarketDataStore) GetMarketDataByID ¶
func (m *MockMarketDataStore) GetMarketDataByID(arg0 context.Context, arg1 string) (entities.MarketData, error)
GetMarketDataByID mocks base method.
func (*MockMarketDataStore) GetMarketsData ¶
func (m *MockMarketDataStore) GetMarketsData(arg0 context.Context) ([]entities.MarketData, error)
GetMarketsData mocks base method.
type MockMarketDataStoreMockRecorder ¶
type MockMarketDataStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockMarketDataStoreMockRecorder is the mock recorder for MockMarketDataStore.
func (*MockMarketDataStoreMockRecorder) Add ¶
func (mr *MockMarketDataStoreMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockMarketDataStoreMockRecorder) Flush ¶
func (mr *MockMarketDataStoreMockRecorder) Flush(arg0 interface{}) *gomock.Call
Flush indicates an expected call of Flush.
func (*MockMarketDataStoreMockRecorder) GetHistoricMarketData ¶ added in v0.73.0
func (mr *MockMarketDataStoreMockRecorder) GetHistoricMarketData(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetHistoricMarketData indicates an expected call of GetHistoricMarketData.
func (*MockMarketDataStoreMockRecorder) GetMarketDataByID ¶
func (mr *MockMarketDataStoreMockRecorder) GetMarketDataByID(arg0, arg1 interface{}) *gomock.Call
GetMarketDataByID indicates an expected call of GetMarketDataByID.
func (*MockMarketDataStoreMockRecorder) GetMarketsData ¶
func (mr *MockMarketDataStoreMockRecorder) GetMarketsData(arg0 interface{}) *gomock.Call
GetMarketsData indicates an expected call of GetMarketsData.
type MockMarketStore ¶
type MockMarketStore struct {
// contains filtered or unexported fields
}
MockMarketStore is a mock of MarketStore interface.
func NewMockMarketStore ¶
func NewMockMarketStore(ctrl *gomock.Controller) *MockMarketStore
NewMockMarketStore creates a new mock instance.
func (*MockMarketStore) EXPECT ¶
func (m *MockMarketStore) EXPECT() *MockMarketStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMarketStore) GetAllFees ¶ added in v0.78.2
GetAllFees mocks base method.
func (*MockMarketStore) GetAllPaged ¶
func (m *MockMarketStore) GetAllPaged(arg0 context.Context, arg1 string, arg2 entities.CursorPagination, arg3 bool) ([]entities.Market, entities.PageInfo, error)
GetAllPaged mocks base method.
func (*MockMarketStore) GetByTxHash ¶ added in v0.71.0
func (m *MockMarketStore) GetByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.Market, error)
GetByTxHash mocks base method.
func (*MockMarketStore) ListSuccessorMarkets ¶ added in v0.72.0
func (m *MockMarketStore) ListSuccessorMarkets(arg0 context.Context, arg1 string, arg2 bool, arg3 entities.CursorPagination) ([]entities.SuccessorMarket, entities.PageInfo, error)
ListSuccessorMarkets mocks base method.
type MockMarketStoreMockRecorder ¶
type MockMarketStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockMarketStoreMockRecorder is the mock recorder for MockMarketStore.
func (*MockMarketStoreMockRecorder) GetAllFees ¶ added in v0.78.2
func (mr *MockMarketStoreMockRecorder) GetAllFees(arg0 interface{}) *gomock.Call
GetAllFees indicates an expected call of GetAllFees.
func (*MockMarketStoreMockRecorder) GetAllPaged ¶
func (mr *MockMarketStoreMockRecorder) GetAllPaged(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetAllPaged indicates an expected call of GetAllPaged.
func (*MockMarketStoreMockRecorder) GetByID ¶
func (mr *MockMarketStoreMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockMarketStoreMockRecorder) GetByIDs ¶ added in v0.78.0
func (mr *MockMarketStoreMockRecorder) GetByIDs(arg0, arg1 interface{}) *gomock.Call
GetByIDs indicates an expected call of GetByIDs.
func (*MockMarketStoreMockRecorder) GetByTxHash ¶ added in v0.71.0
func (mr *MockMarketStoreMockRecorder) GetByTxHash(arg0, arg1 interface{}) *gomock.Call
GetByTxHash indicates an expected call of GetByTxHash.
func (*MockMarketStoreMockRecorder) ListSuccessorMarkets ¶ added in v0.72.0
func (mr *MockMarketStoreMockRecorder) ListSuccessorMarkets(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListSuccessorMarkets indicates an expected call of ListSuccessorMarkets.
func (*MockMarketStoreMockRecorder) Upsert ¶
func (mr *MockMarketStoreMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
Upsert indicates an expected call of Upsert.
type MockOrderStore ¶
type MockOrderStore struct {
// contains filtered or unexported fields
}
MockOrderStore is a mock of OrderStore interface.
func NewMockOrderStore ¶
func NewMockOrderStore(ctrl *gomock.Controller) *MockOrderStore
NewMockOrderStore creates a new mock instance.
func (*MockOrderStore) EXPECT ¶
func (m *MockOrderStore) EXPECT() *MockOrderStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrderStore) GetLiveOrders ¶
GetLiveOrders mocks base method.
type MockOrderStoreMockRecorder ¶
type MockOrderStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockOrderStoreMockRecorder is the mock recorder for MockOrderStore.
func (*MockOrderStoreMockRecorder) GetLiveOrders ¶
func (mr *MockOrderStoreMockRecorder) GetLiveOrders(arg0 interface{}) *gomock.Call
GetLiveOrders indicates an expected call of GetLiveOrders.
type MockPositionStore ¶
type MockPositionStore struct {
// contains filtered or unexported fields
}
MockPositionStore is a mock of PositionStore interface.
func NewMockPositionStore ¶
func NewMockPositionStore(ctrl *gomock.Controller) *MockPositionStore
NewMockPositionStore creates a new mock instance.
func (*MockPositionStore) EXPECT ¶
func (m *MockPositionStore) EXPECT() *MockPositionStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPositionStore) GetByMarket ¶
func (m *MockPositionStore) GetByMarket(arg0 context.Context, arg1 string) ([]entities.Position, error)
GetByMarket mocks base method.
func (*MockPositionStore) GetByMarketAndParties ¶ added in v0.68.0
func (m *MockPositionStore) GetByMarketAndParties(arg0 context.Context, arg1 string, arg2 []string) ([]entities.Position, error)
GetByMarketAndParties mocks base method.
func (*MockPositionStore) GetByMarketAndParty ¶
func (m *MockPositionStore) GetByMarketAndParty(arg0 context.Context, arg1, arg2 string) (entities.Position, error)
GetByMarketAndParty mocks base method.
func (*MockPositionStore) GetByParty ¶
func (m *MockPositionStore) GetByParty(arg0 context.Context, arg1 string) ([]entities.Position, error)
GetByParty mocks base method.
func (*MockPositionStore) GetByPartyConnection ¶
func (m *MockPositionStore) GetByPartyConnection(arg0 context.Context, arg1, arg2 []string, arg3 entities.CursorPagination) ([]entities.Position, entities.PageInfo, error)
GetByPartyConnection mocks base method.
func (*MockPositionStore) GetByTxHash ¶ added in v0.71.0
func (m *MockPositionStore) GetByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.Position, error)
GetByTxHash mocks base method.
type MockPositionStoreMockRecorder ¶
type MockPositionStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockPositionStoreMockRecorder is the mock recorder for MockPositionStore.
func (*MockPositionStoreMockRecorder) Add ¶
func (mr *MockPositionStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockPositionStoreMockRecorder) Flush ¶
func (mr *MockPositionStoreMockRecorder) Flush(arg0 interface{}) *gomock.Call
Flush indicates an expected call of Flush.
func (*MockPositionStoreMockRecorder) GetAll ¶
func (mr *MockPositionStoreMockRecorder) GetAll(arg0 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockPositionStoreMockRecorder) GetByMarket ¶
func (mr *MockPositionStoreMockRecorder) GetByMarket(arg0, arg1 interface{}) *gomock.Call
GetByMarket indicates an expected call of GetByMarket.
func (*MockPositionStoreMockRecorder) GetByMarketAndParties ¶ added in v0.68.0
func (mr *MockPositionStoreMockRecorder) GetByMarketAndParties(arg0, arg1, arg2 interface{}) *gomock.Call
GetByMarketAndParties indicates an expected call of GetByMarketAndParties.
func (*MockPositionStoreMockRecorder) GetByMarketAndParty ¶
func (mr *MockPositionStoreMockRecorder) GetByMarketAndParty(arg0, arg1, arg2 interface{}) *gomock.Call
GetByMarketAndParty indicates an expected call of GetByMarketAndParty.
func (*MockPositionStoreMockRecorder) GetByParty ¶
func (mr *MockPositionStoreMockRecorder) GetByParty(arg0, arg1 interface{}) *gomock.Call
GetByParty indicates an expected call of GetByParty.
func (*MockPositionStoreMockRecorder) GetByPartyConnection ¶
func (mr *MockPositionStoreMockRecorder) GetByPartyConnection(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetByPartyConnection indicates an expected call of GetByPartyConnection.
func (*MockPositionStoreMockRecorder) GetByTxHash ¶ added in v0.71.0
func (mr *MockPositionStoreMockRecorder) GetByTxHash(arg0, arg1 interface{}) *gomock.Call
GetByTxHash indicates an expected call of GetByTxHash.
type MockRewardStore ¶ added in v0.77.0
type MockRewardStore struct {
// contains filtered or unexported fields
}
MockRewardStore is a mock of RewardStore interface.
func NewMockRewardStore ¶ added in v0.77.0
func NewMockRewardStore(ctrl *gomock.Controller) *MockRewardStore
NewMockRewardStore creates a new mock instance.
func (*MockRewardStore) EXPECT ¶ added in v0.77.0
func (m *MockRewardStore) EXPECT() *MockRewardStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRewardStore) GetByCursor ¶ added in v0.77.0
func (m *MockRewardStore) GetByCursor(arg0 context.Context, arg1 []string, arg2 *string, arg3, arg4 *uint64, arg5 entities.CursorPagination, arg6, arg7, arg8 *string) ([]entities.Reward, entities.PageInfo, error)
GetByCursor mocks base method.
func (*MockRewardStore) GetByTxHash ¶ added in v0.77.0
func (m *MockRewardStore) GetByTxHash(arg0 context.Context, arg1 entities.TxHash) ([]entities.Reward, error)
GetByTxHash mocks base method.
func (*MockRewardStore) GetEpochSummaries ¶ added in v0.77.0
func (m *MockRewardStore) GetEpochSummaries(arg0 context.Context, arg1 entities.RewardSummaryFilter, arg2 entities.CursorPagination) ([]entities.EpochRewardSummary, entities.PageInfo, error)
GetEpochSummaries mocks base method.
func (*MockRewardStore) GetSummaries ¶ added in v0.77.0
func (m *MockRewardStore) GetSummaries(arg0 context.Context, arg1 []string, arg2 *string) ([]entities.RewardSummary, error)
GetSummaries mocks base method.
type MockRewardStoreMockRecorder ¶ added in v0.77.0
type MockRewardStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockRewardStoreMockRecorder is the mock recorder for MockRewardStore.
func (*MockRewardStoreMockRecorder) Add ¶ added in v0.77.0
func (mr *MockRewardStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockRewardStoreMockRecorder) GetAll ¶ added in v0.77.0
func (mr *MockRewardStoreMockRecorder) GetAll(arg0 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockRewardStoreMockRecorder) GetByCursor ¶ added in v0.77.0
func (mr *MockRewardStoreMockRecorder) GetByCursor(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
GetByCursor indicates an expected call of GetByCursor.
func (*MockRewardStoreMockRecorder) GetByTxHash ¶ added in v0.77.0
func (mr *MockRewardStoreMockRecorder) GetByTxHash(arg0, arg1 interface{}) *gomock.Call
GetByTxHash indicates an expected call of GetByTxHash.
func (*MockRewardStoreMockRecorder) GetEpochSummaries ¶ added in v0.77.0
func (mr *MockRewardStoreMockRecorder) GetEpochSummaries(arg0, arg1, arg2 interface{}) *gomock.Call
GetEpochSummaries indicates an expected call of GetEpochSummaries.
func (*MockRewardStoreMockRecorder) GetSummaries ¶ added in v0.77.0
func (mr *MockRewardStoreMockRecorder) GetSummaries(arg0, arg1, arg2 interface{}) *gomock.Call
GetSummaries indicates an expected call of GetSummaries.