mocks_amm

package
v0.77.0-preview.6 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks_amm is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAMM

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

MockAMM is a mock of AMM interface.

func NewMockAMM

func NewMockAMM(ctrl *gomock.Controller) *MockAMM

NewMockAMM creates a new mock instance.

func (*MockAMM) EXPECT

func (m *MockAMM) EXPECT() *MockAMMMockRecorder

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

func (*MockAMM) GetAMMPoolsBySubAccount

func (m *MockAMM) GetAMMPoolsBySubAccount() map[string]common.AMMPool

GetAMMPoolsBySubAccount mocks base method.

func (*MockAMM) GetAllSubAccounts

func (m *MockAMM) GetAllSubAccounts() []string

GetAllSubAccounts mocks base method.

func (*MockAMM) IsAMMPartyID

func (m *MockAMM) IsAMMPartyID(arg0 string) bool

IsAMMPartyID mocks base method.

type MockAMMMockRecorder

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

MockAMMMockRecorder is the mock recorder for MockAMM.

func (*MockAMMMockRecorder) GetAMMPoolsBySubAccount

func (mr *MockAMMMockRecorder) GetAMMPoolsBySubAccount() *gomock.Call

GetAMMPoolsBySubAccount indicates an expected call of GetAMMPoolsBySubAccount.

func (*MockAMMMockRecorder) GetAllSubAccounts

func (mr *MockAMMMockRecorder) GetAllSubAccounts() *gomock.Call

GetAllSubAccounts indicates an expected call of GetAllSubAccounts.

func (*MockAMMMockRecorder) IsAMMPartyID

func (mr *MockAMMMockRecorder) IsAMMPartyID(arg0 interface{}) *gomock.Call

IsAMMPartyID indicates an expected call of IsAMMPartyID.

type MockAMMPool

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

MockAMMPool is a mock of AMMPool interface.

func NewMockAMMPool

func NewMockAMMPool(ctrl *gomock.Controller) *MockAMMPool

NewMockAMMPool creates a new mock instance.

func (*MockAMMPool) CommitmentAmount

func (m *MockAMMPool) CommitmentAmount() *num.Uint

CommitmentAmount mocks base method.

func (*MockAMMPool) EXPECT

func (m *MockAMMPool) EXPECT() *MockAMMPoolMockRecorder

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

func (*MockAMMPool) LiquidityFee

func (m *MockAMMPool) LiquidityFee() decimal.Decimal

LiquidityFee mocks base method.

func (*MockAMMPool) OrderbookShape

func (m *MockAMMPool) OrderbookShape(arg0, arg1 *num.Uint, arg2 *idgeneration.IDGenerator) ([]*types.Order, []*types.Order)

OrderbookShape mocks base method.

type MockAMMPoolMockRecorder

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

MockAMMPoolMockRecorder is the mock recorder for MockAMMPool.

func (*MockAMMPoolMockRecorder) CommitmentAmount

func (mr *MockAMMPoolMockRecorder) CommitmentAmount() *gomock.Call

CommitmentAmount indicates an expected call of CommitmentAmount.

func (*MockAMMPoolMockRecorder) LiquidityFee

func (mr *MockAMMPoolMockRecorder) LiquidityFee() *gomock.Call

LiquidityFee indicates an expected call of LiquidityFee.

func (*MockAMMPoolMockRecorder) OrderbookShape

func (mr *MockAMMPoolMockRecorder) OrderbookShape(arg0, arg1, arg2 interface{}) *gomock.Call

OrderbookShape indicates an expected call of OrderbookShape.

Jump to

Keyboard shortcuts

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