mocks

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

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

MockCollateral is a mock of Collateral interface.

func NewMockCollateral

func NewMockCollateral(ctrl *gomock.Controller) *MockCollateral

NewMockCollateral creates a new mock instance.

func (*MockCollateral) CreatePartyAMMsSubAccounts

func (m *MockCollateral) CreatePartyAMMsSubAccounts(arg0 context.Context, arg1, arg2, arg3, arg4 string) (*types.Account, *types.Account, error)

CreatePartyAMMsSubAccounts mocks base method.

func (*MockCollateral) EXPECT

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

func (*MockCollateral) GetAssetQuantum

func (m *MockCollateral) GetAssetQuantum(arg0 string) (decimal.Decimal, error)

GetAssetQuantum mocks base method.

func (*MockCollateral) GetPartyGeneralAccount

func (m *MockCollateral) GetPartyGeneralAccount(arg0, arg1 string) (*types.Account, error)

GetPartyGeneralAccount mocks base method.

func (*MockCollateral) GetPartyMarginAccount

func (m *MockCollateral) GetPartyMarginAccount(arg0, arg1, arg2 string) (*types.Account, error)

GetPartyMarginAccount mocks base method.

func (*MockCollateral) SubAccountClosed

func (m *MockCollateral) SubAccountClosed(arg0 context.Context, arg1, arg2, arg3, arg4 string) ([]*types.LedgerMovement, error)

SubAccountClosed mocks base method.

func (*MockCollateral) SubAccountRelease

func (m *MockCollateral) SubAccountRelease(arg0 context.Context, arg1, arg2, arg3, arg4 string, arg5 events.MarketPosition) ([]*types.LedgerMovement, events.Margin, error)

SubAccountRelease mocks base method.

func (*MockCollateral) SubAccountUpdate

func (m *MockCollateral) SubAccountUpdate(arg0 context.Context, arg1, arg2, arg3, arg4 string, arg5 vega.TransferType, arg6 *num.Uint) (*types.LedgerMovement, error)

SubAccountUpdate mocks base method.

type MockCollateralMockRecorder

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

MockCollateralMockRecorder is the mock recorder for MockCollateral.

func (*MockCollateralMockRecorder) CreatePartyAMMsSubAccounts

func (mr *MockCollateralMockRecorder) CreatePartyAMMsSubAccounts(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

CreatePartyAMMsSubAccounts indicates an expected call of CreatePartyAMMsSubAccounts.

func (*MockCollateralMockRecorder) GetAssetQuantum

func (mr *MockCollateralMockRecorder) GetAssetQuantum(arg0 interface{}) *gomock.Call

GetAssetQuantum indicates an expected call of GetAssetQuantum.

func (*MockCollateralMockRecorder) GetPartyGeneralAccount

func (mr *MockCollateralMockRecorder) GetPartyGeneralAccount(arg0, arg1 interface{}) *gomock.Call

GetPartyGeneralAccount indicates an expected call of GetPartyGeneralAccount.

func (*MockCollateralMockRecorder) GetPartyMarginAccount

func (mr *MockCollateralMockRecorder) GetPartyMarginAccount(arg0, arg1, arg2 interface{}) *gomock.Call

GetPartyMarginAccount indicates an expected call of GetPartyMarginAccount.

func (*MockCollateralMockRecorder) SubAccountClosed

func (mr *MockCollateralMockRecorder) SubAccountClosed(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SubAccountClosed indicates an expected call of SubAccountClosed.

func (*MockCollateralMockRecorder) SubAccountRelease

func (mr *MockCollateralMockRecorder) SubAccountRelease(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

SubAccountRelease indicates an expected call of SubAccountRelease.

func (*MockCollateralMockRecorder) SubAccountUpdate

func (mr *MockCollateralMockRecorder) SubAccountUpdate(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

SubAccountUpdate indicates an expected call of SubAccountUpdate.

type MockPosition

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

MockPosition is a mock of Position interface.

func NewMockPosition

func NewMockPosition(ctrl *gomock.Controller) *MockPosition

NewMockPosition creates a new mock instance.

func (*MockPosition) EXPECT

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

func (*MockPosition) GetPositionsByParty

func (m *MockPosition) GetPositionsByParty(arg0 ...string) []events.MarketPosition

GetPositionsByParty mocks base method.

type MockPositionMockRecorder

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

MockPositionMockRecorder is the mock recorder for MockPosition.

func (*MockPositionMockRecorder) GetPositionsByParty

func (mr *MockPositionMockRecorder) GetPositionsByParty(arg0 ...interface{}) *gomock.Call

GetPositionsByParty indicates an expected call of GetPositionsByParty.

Jump to

Keyboard shortcuts

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