mocks

package
v0.77.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

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

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

func (*MockAMMStore) ListActive added in v0.77.0

func (m *MockAMMStore) ListActive(arg0 context.Context) ([]entities.AMMPool, error)

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

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

func (*MockAccountStore) GetAll added in v0.77.0

func (m *MockAccountStore) GetAll(arg0 context.Context) ([]entities.Account, error)

GetAll mocks base method.

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

func (m *MockAccountStore) GetByRawID(arg0 context.Context, arg1 string) (entities.Account, error)

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) Obtain added in v0.77.0

func (m *MockAccountStore) Obtain(arg0 context.Context, arg1 *entities.Account) error

Obtain mocks base method.

func (*MockAccountStore) Query added in v0.77.0

Query mocks base method.

func (*MockAccountStore) QueryBalances added in v0.77.0

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

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

func (*MockAssetStore) GetByID added in v0.77.0

func (m *MockAssetStore) GetByID(arg0 context.Context, arg1 string) (entities.Asset, error)

GetByID mocks base method.

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

Add mocks base method.

func (*MockBalanceStore) EXPECT added in v0.77.0

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

func (*MockBalanceStore) Flush added in v0.77.0

Flush mocks base method.

func (*MockBalanceStore) Query added in v0.77.0

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

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

func (*MockChainStore) Get

Get mocks base method.

func (*MockChainStore) Set

func (m *MockChainStore) Set(arg0 context.Context, arg1 entities.Chain) error

Set mocks base method.

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

Add mocks base method.

func (*MockMarketDataStore) EXPECT

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

func (*MockMarketDataStore) Flush

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

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

func (*MockMarketStore) GetAllPaged

GetAllPaged mocks base method.

func (*MockMarketStore) GetByID

func (m *MockMarketStore) GetByID(arg0 context.Context, arg1 string) (entities.Market, error)

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

func (*MockMarketStore) Upsert

func (m *MockMarketStore) Upsert(arg0 context.Context, arg1 *entities.Market) error

Upsert mocks base method.

type MockMarketStoreMockRecorder

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

MockMarketStoreMockRecorder is the mock recorder for MockMarketStore.

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

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

func (*MockOrderStore) GetLiveOrders

func (m *MockOrderStore) GetLiveOrders(arg0 context.Context) ([]entities.Order, error)

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

Add mocks base method.

func (*MockPositionStore) EXPECT

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

func (*MockPositionStore) Flush

Flush mocks base method.

func (*MockPositionStore) GetAll

func (m *MockPositionStore) GetAll(arg0 context.Context) ([]entities.Position, error)

GetAll mocks base method.

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) Add added in v0.77.0

func (m *MockRewardStore) Add(arg0 context.Context, arg1 entities.Reward) error

Add mocks base method.

func (*MockRewardStore) EXPECT added in v0.77.0

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

func (*MockRewardStore) GetAll added in v0.77.0

func (m *MockRewardStore) GetAll(arg0 context.Context) ([]entities.Reward, error)

GetAll mocks base method.

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

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.

Jump to

Keyboard shortcuts

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