mocks

package
v0.77.0-preview.7 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: AGPL-3.0 Imports: 8 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 MockAMM added in v0.77.0

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

MockAMM is a mock of AMM interface.

func NewMockAMM added in v0.77.0

func NewMockAMM(ctrl *gomock.Controller) *MockAMM

NewMockAMM creates a new mock instance.

func (*MockAMM) EXPECT added in v0.77.0

func (m *MockAMM) EXPECT() *MockAMMMockRecorder

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

func (*MockAMM) GetVolumeAtPrice added in v0.77.0

func (m *MockAMM) GetVolumeAtPrice(arg0 *num.Uint, arg1 vega.Side) uint64

GetVolumeAtPrice mocks base method.

type MockAMMMockRecorder added in v0.77.0

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

MockAMMMockRecorder is the mock recorder for MockAMM.

func (*MockAMMMockRecorder) GetVolumeAtPrice added in v0.77.0

func (mr *MockAMMMockRecorder) GetVolumeAtPrice(arg0, arg1 interface{}) *gomock.Call

GetVolumeAtPrice indicates an expected call of GetVolumeAtPrice.

type MockBook

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

MockBook is a mock of Book interface.

func NewMockBook

func NewMockBook(ctrl *gomock.Controller) *MockBook

NewMockBook creates a new mock instance.

func (*MockBook) EXPECT

func (m *MockBook) EXPECT() *MockBookMockRecorder

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

func (*MockBook) GetVolumeAtPrice

func (m *MockBook) GetVolumeAtPrice(arg0 *num.Uint, arg1 vega.Side) uint64

GetVolumeAtPrice mocks base method.

type MockBookMockRecorder

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

MockBookMockRecorder is the mock recorder for MockBook.

func (*MockBookMockRecorder) GetVolumeAtPrice

func (mr *MockBookMockRecorder) GetVolumeAtPrice(arg0, arg1 interface{}) *gomock.Call

GetVolumeAtPrice indicates an expected call of GetVolumeAtPrice.

type MockIDGen

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

MockIDGen is a mock of IDGen interface.

func NewMockIDGen

func NewMockIDGen(ctrl *gomock.Controller) *MockIDGen

NewMockIDGen creates a new mock instance.

func (*MockIDGen) EXPECT

func (m *MockIDGen) EXPECT() *MockIDGenMockRecorder

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

func (*MockIDGen) NextID

func (m *MockIDGen) NextID() string

NextID mocks base method.

type MockIDGenMockRecorder

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

MockIDGenMockRecorder is the mock recorder for MockIDGen.

func (*MockIDGenMockRecorder) NextID

func (mr *MockIDGenMockRecorder) NextID() *gomock.Call

NextID indicates an expected call of NextID.

type MockPositions

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

MockPositions is a mock of Positions interface.

func NewMockPositions

func NewMockPositions(ctrl *gomock.Controller) *MockPositions

NewMockPositions creates a new mock instance.

func (*MockPositions) EXPECT

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

func (*MockPositions) RegisterOrder

func (m *MockPositions) RegisterOrder(arg0 context.Context, arg1 *types.Order) *positions.MarketPosition

RegisterOrder mocks base method.

func (*MockPositions) Update

func (m *MockPositions) Update(arg0 context.Context, arg1 *types.Trade, arg2, arg3 *types.Order) []events.MarketPosition

Update mocks base method.

type MockPositionsMockRecorder

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

MockPositionsMockRecorder is the mock recorder for MockPositions.

func (*MockPositionsMockRecorder) RegisterOrder

func (mr *MockPositionsMockRecorder) RegisterOrder(arg0, arg1 interface{}) *gomock.Call

RegisterOrder indicates an expected call of RegisterOrder.

func (*MockPositionsMockRecorder) Update

func (mr *MockPositionsMockRecorder) Update(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockPriceMonitor added in v0.74.7

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

MockPriceMonitor is a mock of PriceMonitor interface.

func NewMockPriceMonitor added in v0.74.7

func NewMockPriceMonitor(ctrl *gomock.Controller) *MockPriceMonitor

NewMockPriceMonitor creates a new mock instance.

func (*MockPriceMonitor) EXPECT added in v0.74.7

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

func (*MockPriceMonitor) GetValidPriceRange added in v0.74.7

func (m *MockPriceMonitor) GetValidPriceRange() (num.WrappedDecimal, num.WrappedDecimal)

GetValidPriceRange mocks base method.

type MockPriceMonitorMockRecorder added in v0.74.7

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

MockPriceMonitorMockRecorder is the mock recorder for MockPriceMonitor.

func (*MockPriceMonitorMockRecorder) GetValidPriceRange added in v0.74.7

func (mr *MockPriceMonitorMockRecorder) GetValidPriceRange() *gomock.Call

GetValidPriceRange indicates an expected call of GetValidPriceRange.

Jump to

Keyboard shortcuts

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