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 ¶
GetAMMPoolsBySubAccount mocks base method.
func (*MockAMM) GetAllSubAccounts ¶
GetAllSubAccounts mocks base method.
func (*MockAMM) IsAMMPartyID ¶
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.OrderbookShapeResult
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.