mocks

package
v0.73.7-preview.3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: AGPL-3.0 Imports: 14 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 MockAccountBalanceChecker added in v0.73.0

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

MockAccountBalanceChecker is a mock of AccountBalanceChecker interface.

func NewMockAccountBalanceChecker added in v0.73.0

func NewMockAccountBalanceChecker(ctrl *gomock.Controller) *MockAccountBalanceChecker

NewMockAccountBalanceChecker creates a new mock instance.

func (*MockAccountBalanceChecker) EXPECT added in v0.73.0

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

func (*MockAccountBalanceChecker) GetAvailableBalance added in v0.73.0

func (m *MockAccountBalanceChecker) GetAvailableBalance(arg0 string) (*num.Uint, error)

GetAvailableBalance mocks base method.

type MockAccountBalanceCheckerMockRecorder added in v0.73.0

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

MockAccountBalanceCheckerMockRecorder is the mock recorder for MockAccountBalanceChecker.

func (*MockAccountBalanceCheckerMockRecorder) GetAvailableBalance added in v0.73.0

func (mr *MockAccountBalanceCheckerMockRecorder) GetAvailableBalance(arg0 interface{}) *gomock.Call

GetAvailableBalance indicates an expected call of GetAvailableBalance.

type MockAssets

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

MockAssets is a mock of Assets interface.

func NewMockAssets

func NewMockAssets(ctrl *gomock.Controller) *MockAssets

NewMockAssets creates a new mock instance.

func (*MockAssets) EXPECT

func (m *MockAssets) EXPECT() *MockAssetsMockRecorder

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

func (*MockAssets) Get

func (m *MockAssets) Get(arg0 string) (*assets.Asset, error)

Get mocks base method.

type MockAssetsMockRecorder

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

MockAssetsMockRecorder is the mock recorder for MockAssets.

func (*MockAssetsMockRecorder) Get

func (mr *MockAssetsMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockAuctionState

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

MockAuctionState is a mock of AuctionState interface.

func NewMockAuctionState

func NewMockAuctionState(ctrl *gomock.Controller) *MockAuctionState

NewMockAuctionState creates a new mock instance.

func (*MockAuctionState) AuctionExtended

func (m *MockAuctionState) AuctionExtended(arg0 context.Context, arg1 time.Time) *events.Auction

AuctionExtended mocks base method.

func (*MockAuctionState) AuctionStart

func (m *MockAuctionState) AuctionStart() bool

AuctionStart mocks base method.

func (*MockAuctionState) AuctionStarted

func (m *MockAuctionState) AuctionStarted(arg0 context.Context, arg1 time.Time) *events.Auction

AuctionStarted mocks base method.

func (*MockAuctionState) CanLeave

func (m *MockAuctionState) CanLeave() bool

CanLeave mocks base method.

func (*MockAuctionState) Changed

func (m *MockAuctionState) Changed() bool

Changed mocks base method.

func (*MockAuctionState) Duration

func (m *MockAuctionState) Duration() types.AuctionDuration

Duration mocks base method.

func (*MockAuctionState) EXPECT

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

func (*MockAuctionState) EndGovernanceSuspensionAuction added in v0.73.0

func (m *MockAuctionState) EndGovernanceSuspensionAuction()

EndGovernanceSuspensionAuction mocks base method.

func (*MockAuctionState) ExceededMaxOpening added in v0.73.0

func (m *MockAuctionState) ExceededMaxOpening(arg0 time.Time) bool

ExceededMaxOpening mocks base method.

func (*MockAuctionState) ExpiresAt

func (m *MockAuctionState) ExpiresAt() *time.Time

ExpiresAt mocks base method.

func (*MockAuctionState) ExtendAuction

func (m *MockAuctionState) ExtendAuction(arg0 types.AuctionDuration)

ExtendAuction mocks base method.

func (*MockAuctionState) ExtendAuctionLiquidityUnmetTarget

func (m *MockAuctionState) ExtendAuctionLiquidityUnmetTarget(arg0 types.AuctionDuration)

ExtendAuctionLiquidityUnmetTarget mocks base method.

func (*MockAuctionState) ExtendAuctionPrice

func (m *MockAuctionState) ExtendAuctionPrice(arg0 types.AuctionDuration)

ExtendAuctionPrice mocks base method.

func (*MockAuctionState) ExtendAuctionSuspension added in v0.73.0

func (m *MockAuctionState) ExtendAuctionSuspension(arg0 types.AuctionDuration)

ExtendAuctionSuspension mocks base method.

func (*MockAuctionState) ExtensionTrigger

func (m *MockAuctionState) ExtensionTrigger() vega.AuctionTrigger

ExtensionTrigger mocks base method.

func (*MockAuctionState) GetState

func (m *MockAuctionState) GetState() *types.AuctionState

GetState mocks base method.

func (*MockAuctionState) InAuction

func (m *MockAuctionState) InAuction() bool

InAuction mocks base method.

func (*MockAuctionState) IsFBA

func (m *MockAuctionState) IsFBA() bool

IsFBA mocks base method.

func (*MockAuctionState) IsLiquidityAuction

func (m *MockAuctionState) IsLiquidityAuction() bool

IsLiquidityAuction mocks base method.

func (*MockAuctionState) IsLiquidityExtension

func (m *MockAuctionState) IsLiquidityExtension() bool

IsLiquidityExtension mocks base method.

func (*MockAuctionState) IsMonitorAuction

func (m *MockAuctionState) IsMonitorAuction() bool

IsMonitorAuction mocks base method.

func (*MockAuctionState) IsOpeningAuction

func (m *MockAuctionState) IsOpeningAuction() bool

IsOpeningAuction mocks base method.

func (*MockAuctionState) IsPriceAuction

func (m *MockAuctionState) IsPriceAuction() bool

IsPriceAuction mocks base method.

func (*MockAuctionState) IsPriceExtension

func (m *MockAuctionState) IsPriceExtension() bool

IsPriceExtension mocks base method.

func (*MockAuctionState) Left

func (m *MockAuctionState) Left(arg0 context.Context, arg1 time.Time) *events.Auction

Left mocks base method.

func (*MockAuctionState) Mode

Mode mocks base method.

func (*MockAuctionState) SetReadyToLeave

func (m *MockAuctionState) SetReadyToLeave()

SetReadyToLeave mocks base method.

func (*MockAuctionState) Start

func (m *MockAuctionState) Start() time.Time

Start mocks base method.

func (*MockAuctionState) StartGovernanceSuspensionAuction added in v0.73.0

func (m *MockAuctionState) StartGovernanceSuspensionAuction(arg0 time.Time)

StartGovernanceSuspensionAuction mocks base method.

func (*MockAuctionState) StartLiquidityAuctionUnmetTarget

func (m *MockAuctionState) StartLiquidityAuctionUnmetTarget(arg0 time.Time, arg1 *types.AuctionDuration)

StartLiquidityAuctionUnmetTarget mocks base method.

func (*MockAuctionState) StartPriceAuction

func (m *MockAuctionState) StartPriceAuction(arg0 time.Time, arg1 *types.AuctionDuration)

StartPriceAuction mocks base method.

func (*MockAuctionState) Trigger

func (m *MockAuctionState) Trigger() vega.AuctionTrigger

Trigger mocks base method.

func (*MockAuctionState) UpdateMaxDuration added in v0.73.0

func (m *MockAuctionState) UpdateMaxDuration(arg0 context.Context, arg1 time.Duration)

UpdateMaxDuration mocks base method.

func (*MockAuctionState) UpdateMinDuration

func (m *MockAuctionState) UpdateMinDuration(arg0 context.Context, arg1 time.Duration) *events.Auction

UpdateMinDuration mocks base method.

type MockAuctionStateMockRecorder

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

MockAuctionStateMockRecorder is the mock recorder for MockAuctionState.

func (*MockAuctionStateMockRecorder) AuctionExtended

func (mr *MockAuctionStateMockRecorder) AuctionExtended(arg0, arg1 interface{}) *gomock.Call

AuctionExtended indicates an expected call of AuctionExtended.

func (*MockAuctionStateMockRecorder) AuctionStart

func (mr *MockAuctionStateMockRecorder) AuctionStart() *gomock.Call

AuctionStart indicates an expected call of AuctionStart.

func (*MockAuctionStateMockRecorder) AuctionStarted

func (mr *MockAuctionStateMockRecorder) AuctionStarted(arg0, arg1 interface{}) *gomock.Call

AuctionStarted indicates an expected call of AuctionStarted.

func (*MockAuctionStateMockRecorder) CanLeave

func (mr *MockAuctionStateMockRecorder) CanLeave() *gomock.Call

CanLeave indicates an expected call of CanLeave.

func (*MockAuctionStateMockRecorder) Changed

func (mr *MockAuctionStateMockRecorder) Changed() *gomock.Call

Changed indicates an expected call of Changed.

func (*MockAuctionStateMockRecorder) Duration

func (mr *MockAuctionStateMockRecorder) Duration() *gomock.Call

Duration indicates an expected call of Duration.

func (*MockAuctionStateMockRecorder) EndGovernanceSuspensionAuction added in v0.73.0

func (mr *MockAuctionStateMockRecorder) EndGovernanceSuspensionAuction() *gomock.Call

EndGovernanceSuspensionAuction indicates an expected call of EndGovernanceSuspensionAuction.

func (*MockAuctionStateMockRecorder) ExceededMaxOpening added in v0.73.0

func (mr *MockAuctionStateMockRecorder) ExceededMaxOpening(arg0 interface{}) *gomock.Call

ExceededMaxOpening indicates an expected call of ExceededMaxOpening.

func (*MockAuctionStateMockRecorder) ExpiresAt

func (mr *MockAuctionStateMockRecorder) ExpiresAt() *gomock.Call

ExpiresAt indicates an expected call of ExpiresAt.

func (*MockAuctionStateMockRecorder) ExtendAuction

func (mr *MockAuctionStateMockRecorder) ExtendAuction(arg0 interface{}) *gomock.Call

ExtendAuction indicates an expected call of ExtendAuction.

func (*MockAuctionStateMockRecorder) ExtendAuctionLiquidityUnmetTarget

func (mr *MockAuctionStateMockRecorder) ExtendAuctionLiquidityUnmetTarget(arg0 interface{}) *gomock.Call

ExtendAuctionLiquidityUnmetTarget indicates an expected call of ExtendAuctionLiquidityUnmetTarget.

func (*MockAuctionStateMockRecorder) ExtendAuctionPrice

func (mr *MockAuctionStateMockRecorder) ExtendAuctionPrice(arg0 interface{}) *gomock.Call

ExtendAuctionPrice indicates an expected call of ExtendAuctionPrice.

func (*MockAuctionStateMockRecorder) ExtendAuctionSuspension added in v0.73.0

func (mr *MockAuctionStateMockRecorder) ExtendAuctionSuspension(arg0 interface{}) *gomock.Call

ExtendAuctionSuspension indicates an expected call of ExtendAuctionSuspension.

func (*MockAuctionStateMockRecorder) ExtensionTrigger

func (mr *MockAuctionStateMockRecorder) ExtensionTrigger() *gomock.Call

ExtensionTrigger indicates an expected call of ExtensionTrigger.

func (*MockAuctionStateMockRecorder) GetState

func (mr *MockAuctionStateMockRecorder) GetState() *gomock.Call

GetState indicates an expected call of GetState.

func (*MockAuctionStateMockRecorder) InAuction

func (mr *MockAuctionStateMockRecorder) InAuction() *gomock.Call

InAuction indicates an expected call of InAuction.

func (*MockAuctionStateMockRecorder) IsFBA

IsFBA indicates an expected call of IsFBA.

func (*MockAuctionStateMockRecorder) IsLiquidityAuction

func (mr *MockAuctionStateMockRecorder) IsLiquidityAuction() *gomock.Call

IsLiquidityAuction indicates an expected call of IsLiquidityAuction.

func (*MockAuctionStateMockRecorder) IsLiquidityExtension

func (mr *MockAuctionStateMockRecorder) IsLiquidityExtension() *gomock.Call

IsLiquidityExtension indicates an expected call of IsLiquidityExtension.

func (*MockAuctionStateMockRecorder) IsMonitorAuction

func (mr *MockAuctionStateMockRecorder) IsMonitorAuction() *gomock.Call

IsMonitorAuction indicates an expected call of IsMonitorAuction.

func (*MockAuctionStateMockRecorder) IsOpeningAuction

func (mr *MockAuctionStateMockRecorder) IsOpeningAuction() *gomock.Call

IsOpeningAuction indicates an expected call of IsOpeningAuction.

func (*MockAuctionStateMockRecorder) IsPriceAuction

func (mr *MockAuctionStateMockRecorder) IsPriceAuction() *gomock.Call

IsPriceAuction indicates an expected call of IsPriceAuction.

func (*MockAuctionStateMockRecorder) IsPriceExtension

func (mr *MockAuctionStateMockRecorder) IsPriceExtension() *gomock.Call

IsPriceExtension indicates an expected call of IsPriceExtension.

func (*MockAuctionStateMockRecorder) Left

func (mr *MockAuctionStateMockRecorder) Left(arg0, arg1 interface{}) *gomock.Call

Left indicates an expected call of Left.

func (*MockAuctionStateMockRecorder) Mode

Mode indicates an expected call of Mode.

func (*MockAuctionStateMockRecorder) SetReadyToLeave

func (mr *MockAuctionStateMockRecorder) SetReadyToLeave() *gomock.Call

SetReadyToLeave indicates an expected call of SetReadyToLeave.

func (*MockAuctionStateMockRecorder) Start

Start indicates an expected call of Start.

func (*MockAuctionStateMockRecorder) StartGovernanceSuspensionAuction added in v0.73.0

func (mr *MockAuctionStateMockRecorder) StartGovernanceSuspensionAuction(arg0 interface{}) *gomock.Call

StartGovernanceSuspensionAuction indicates an expected call of StartGovernanceSuspensionAuction.

func (*MockAuctionStateMockRecorder) StartLiquidityAuctionUnmetTarget

func (mr *MockAuctionStateMockRecorder) StartLiquidityAuctionUnmetTarget(arg0, arg1 interface{}) *gomock.Call

StartLiquidityAuctionUnmetTarget indicates an expected call of StartLiquidityAuctionUnmetTarget.

func (*MockAuctionStateMockRecorder) StartPriceAuction

func (mr *MockAuctionStateMockRecorder) StartPriceAuction(arg0, arg1 interface{}) *gomock.Call

StartPriceAuction indicates an expected call of StartPriceAuction.

func (*MockAuctionStateMockRecorder) Trigger

func (mr *MockAuctionStateMockRecorder) Trigger() *gomock.Call

Trigger indicates an expected call of Trigger.

func (*MockAuctionStateMockRecorder) UpdateMaxDuration added in v0.73.0

func (mr *MockAuctionStateMockRecorder) UpdateMaxDuration(arg0, arg1 interface{}) *gomock.Call

UpdateMaxDuration indicates an expected call of UpdateMaxDuration.

func (*MockAuctionStateMockRecorder) UpdateMinDuration

func (mr *MockAuctionStateMockRecorder) UpdateMinDuration(arg0, arg1 interface{}) *gomock.Call

UpdateMinDuration indicates an expected call of UpdateMinDuration.

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

func (m *MockCollateral) AssetExists(arg0 string) bool

AssetExists mocks base method.

func (*MockCollateral) BondSpotUpdate

func (m *MockCollateral) BondSpotUpdate(arg0 context.Context, arg1 string, arg2 *types.Transfer) (*types.LedgerMovement, error)

BondSpotUpdate mocks base method.

func (*MockCollateral) BondUpdate

func (m *MockCollateral) BondUpdate(arg0 context.Context, arg1 string, arg2 *types.Transfer) (*types.LedgerMovement, error)

BondUpdate mocks base method.

func (*MockCollateral) CanCoverBond

func (m *MockCollateral) CanCoverBond(arg0, arg1, arg2 string, arg3 *num.Uint) bool

CanCoverBond mocks base method.

func (*MockCollateral) ClearInsurancepool

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

ClearInsurancepool mocks base method.

func (*MockCollateral) ClearMarket

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

ClearMarket mocks base method.

func (*MockCollateral) ClearPartyMarginAccount

func (m *MockCollateral) ClearPartyMarginAccount(arg0 context.Context, arg1, arg2, arg3 string) (*types.LedgerMovement, error)

ClearPartyMarginAccount mocks base method.

func (*MockCollateral) ClearSpotMarket added in v0.73.0

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

ClearSpotMarket mocks base method.

func (*MockCollateral) CreateMarketAccounts

func (m *MockCollateral) CreateMarketAccounts(arg0 context.Context, arg1, arg2 string) (string, string, error)

CreateMarketAccounts mocks base method.

func (*MockCollateral) CreatePartyGeneralAccount

func (m *MockCollateral) CreatePartyGeneralAccount(arg0 context.Context, arg1, arg2 string) (string, error)

CreatePartyGeneralAccount mocks base method.

func (*MockCollateral) CreatePartyMarginAccount

func (m *MockCollateral) CreatePartyMarginAccount(arg0 context.Context, arg1, arg2, arg3 string) (string, error)

CreatePartyMarginAccount mocks base method.

func (*MockCollateral) CreateSpotMarketAccounts

func (m *MockCollateral) CreateSpotMarketAccounts(arg0 context.Context, arg1, arg2 string) error

CreateSpotMarketAccounts mocks base method.

func (*MockCollateral) Deposit

func (m *MockCollateral) Deposit(arg0 context.Context, arg1, arg2 string, arg3 *num.Uint) (*types.LedgerMovement, error)

Deposit mocks base method.

func (*MockCollateral) EXPECT

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

func (*MockCollateral) EnableAsset

func (m *MockCollateral) EnableAsset(arg0 context.Context, arg1 types.Asset) error

EnableAsset mocks base method.

func (*MockCollateral) FinalSettlement

func (m *MockCollateral) FinalSettlement(arg0 context.Context, arg1 string, arg2 []*types.Transfer, arg3 *num.Uint) ([]*types.LedgerMovement, error)

FinalSettlement mocks base method.

func (*MockCollateral) GetAssetQuantum

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

GetAssetQuantum mocks base method.

func (*MockCollateral) GetInsurancePoolBalance

func (m *MockCollateral) GetInsurancePoolBalance(arg0, arg1 string) (*num.Uint, bool)

GetInsurancePoolBalance mocks base method.

func (*MockCollateral) GetLiquidityFeesBonusDistributionAccount

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

GetLiquidityFeesBonusDistributionAccount mocks base method.

func (*MockCollateral) GetMarketLiquidityFeeAccount

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

GetMarketLiquidityFeeAccount mocks base method.

func (*MockCollateral) GetOrCreateLiquidityFeesBonusDistributionAccount

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

GetOrCreateLiquidityFeesBonusDistributionAccount mocks base method.

func (*MockCollateral) GetOrCreatePartyBondAccount

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

GetOrCreatePartyBondAccount mocks base method.

func (*MockCollateral) GetOrCreatePartyLiquidityFeeAccount

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

GetOrCreatePartyLiquidityFeeAccount mocks base method.

func (*MockCollateral) GetPartyBondAccount

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

GetPartyBondAccount mocks base method.

func (*MockCollateral) GetPartyGeneralAccount

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

GetPartyGeneralAccount mocks base method.

func (*MockCollateral) GetPartyLiquidityFeeAccount

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

GetPartyLiquidityFeeAccount mocks base method.

func (*MockCollateral) GetPartyMargin

func (m *MockCollateral) GetPartyMargin(arg0 events.MarketPosition, arg1, arg2 string) (events.Margin, error)

GetPartyMargin mocks base method.

func (*MockCollateral) GetPartyMarginAccount

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

GetPartyMarginAccount mocks base method.

func (*MockCollateral) HasGeneralAccount

func (m *MockCollateral) HasGeneralAccount(arg0, arg1 string) bool

HasGeneralAccount mocks base method.

func (*MockCollateral) Hash

func (m *MockCollateral) Hash() []byte

Hash mocks base method.

func (*MockCollateral) MarginUpdate

func (m *MockCollateral) MarginUpdate(arg0 context.Context, arg1 string, arg2 []events.Risk) ([]*types.LedgerMovement, []events.Margin, []events.Margin, error)

MarginUpdate mocks base method.

func (*MockCollateral) MarginUpdateOnOrder

func (m *MockCollateral) MarginUpdateOnOrder(arg0 context.Context, arg1 string, arg2 events.Risk) (*types.LedgerMovement, events.Margin, error)

MarginUpdateOnOrder mocks base method.

func (*MockCollateral) MarkToMarket

func (m *MockCollateral) MarkToMarket(arg0 context.Context, arg1 string, arg2 []events.Transfer, arg3 string) ([]events.Margin, []*types.LedgerMovement, error)

MarkToMarket mocks base method.

func (*MockCollateral) PartyHasSufficientBalance added in v0.73.0

func (m *MockCollateral) PartyHasSufficientBalance(arg0, arg1 string, arg2 *num.Uint) error

PartyHasSufficientBalance mocks base method.

func (*MockCollateral) PerpsFundingSettlement added in v0.73.0

func (m *MockCollateral) PerpsFundingSettlement(arg0 context.Context, arg1 string, arg2 []events.Transfer, arg3 string, arg4 *num.Uint) ([]events.Margin, []*types.LedgerMovement, error)

PerpsFundingSettlement mocks base method.

func (*MockCollateral) ReleaseFromHoldingAccount added in v0.73.0

func (m *MockCollateral) ReleaseFromHoldingAccount(arg0 context.Context, arg1 *types.Transfer) (*types.LedgerMovement, error)

ReleaseFromHoldingAccount mocks base method.

func (*MockCollateral) RemoveBondAccount

func (m *MockCollateral) RemoveBondAccount(arg0, arg1, arg2 string) error

RemoveBondAccount mocks base method.

func (*MockCollateral) RemoveDistressed

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

RemoveDistressed mocks base method.

func (*MockCollateral) RollbackMarginUpdateOnOrder

func (m *MockCollateral) RollbackMarginUpdateOnOrder(arg0 context.Context, arg1, arg2 string, arg3 *types.Transfer) (*types.LedgerMovement, error)

RollbackMarginUpdateOnOrder mocks base method.

func (*MockCollateral) SuccessorInsuranceFraction

func (m *MockCollateral) SuccessorInsuranceFraction(arg0 context.Context, arg1, arg2, arg3 string, arg4 decimal.Decimal) *types.LedgerMovement

SuccessorInsuranceFraction mocks base method.

func (*MockCollateral) TransferFees

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

TransferFees mocks base method.

func (*MockCollateral) TransferFeesContinuousTrading

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

TransferFeesContinuousTrading mocks base method.

func (*MockCollateral) TransferSpot added in v0.73.0

func (m *MockCollateral) TransferSpot(arg0 context.Context, arg1, arg2, arg3 string, arg4 *num.Uint) (*types.LedgerMovement, error)

TransferSpot mocks base method.

func (*MockCollateral) TransferSpotFees

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

TransferSpotFees mocks base method.

func (*MockCollateral) TransferSpotFeesContinuousTrading

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

TransferSpotFeesContinuousTrading mocks base method.

func (*MockCollateral) TransferToHoldingAccount added in v0.73.0

func (m *MockCollateral) TransferToHoldingAccount(arg0 context.Context, arg1 *types.Transfer) (*types.LedgerMovement, error)

TransferToHoldingAccount mocks base method.

func (*MockCollateral) Withdraw

func (m *MockCollateral) Withdraw(arg0 context.Context, arg1, arg2 string, arg3 *num.Uint) (*types.LedgerMovement, error)

Withdraw mocks base method.

type MockCollateralMockRecorder

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

MockCollateralMockRecorder is the mock recorder for MockCollateral.

func (*MockCollateralMockRecorder) AssetExists

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

AssetExists indicates an expected call of AssetExists.

func (*MockCollateralMockRecorder) BondSpotUpdate

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

BondSpotUpdate indicates an expected call of BondSpotUpdate.

func (*MockCollateralMockRecorder) BondUpdate

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

BondUpdate indicates an expected call of BondUpdate.

func (*MockCollateralMockRecorder) CanCoverBond

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

CanCoverBond indicates an expected call of CanCoverBond.

func (*MockCollateralMockRecorder) ClearInsurancepool

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

ClearInsurancepool indicates an expected call of ClearInsurancepool.

func (*MockCollateralMockRecorder) ClearMarket

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

ClearMarket indicates an expected call of ClearMarket.

func (*MockCollateralMockRecorder) ClearPartyMarginAccount

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

ClearPartyMarginAccount indicates an expected call of ClearPartyMarginAccount.

func (*MockCollateralMockRecorder) ClearSpotMarket added in v0.73.0

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

ClearSpotMarket indicates an expected call of ClearSpotMarket.

func (*MockCollateralMockRecorder) CreateMarketAccounts

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

CreateMarketAccounts indicates an expected call of CreateMarketAccounts.

func (*MockCollateralMockRecorder) CreatePartyGeneralAccount

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

CreatePartyGeneralAccount indicates an expected call of CreatePartyGeneralAccount.

func (*MockCollateralMockRecorder) CreatePartyMarginAccount

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

CreatePartyMarginAccount indicates an expected call of CreatePartyMarginAccount.

func (*MockCollateralMockRecorder) CreateSpotMarketAccounts

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

CreateSpotMarketAccounts indicates an expected call of CreateSpotMarketAccounts.

func (*MockCollateralMockRecorder) Deposit

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

Deposit indicates an expected call of Deposit.

func (*MockCollateralMockRecorder) EnableAsset

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

EnableAsset indicates an expected call of EnableAsset.

func (*MockCollateralMockRecorder) FinalSettlement

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

FinalSettlement indicates an expected call of FinalSettlement.

func (*MockCollateralMockRecorder) GetAssetQuantum

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

GetAssetQuantum indicates an expected call of GetAssetQuantum.

func (*MockCollateralMockRecorder) GetInsurancePoolBalance

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

GetInsurancePoolBalance indicates an expected call of GetInsurancePoolBalance.

func (*MockCollateralMockRecorder) GetLiquidityFeesBonusDistributionAccount

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

GetLiquidityFeesBonusDistributionAccount indicates an expected call of GetLiquidityFeesBonusDistributionAccount.

func (*MockCollateralMockRecorder) GetMarketLiquidityFeeAccount

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

GetMarketLiquidityFeeAccount indicates an expected call of GetMarketLiquidityFeeAccount.

func (*MockCollateralMockRecorder) GetOrCreateLiquidityFeesBonusDistributionAccount

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

GetOrCreateLiquidityFeesBonusDistributionAccount indicates an expected call of GetOrCreateLiquidityFeesBonusDistributionAccount.

func (*MockCollateralMockRecorder) GetOrCreatePartyBondAccount

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

GetOrCreatePartyBondAccount indicates an expected call of GetOrCreatePartyBondAccount.

func (*MockCollateralMockRecorder) GetOrCreatePartyLiquidityFeeAccount

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

GetOrCreatePartyLiquidityFeeAccount indicates an expected call of GetOrCreatePartyLiquidityFeeAccount.

func (*MockCollateralMockRecorder) GetPartyBondAccount

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

GetPartyBondAccount indicates an expected call of GetPartyBondAccount.

func (*MockCollateralMockRecorder) GetPartyGeneralAccount

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

GetPartyGeneralAccount indicates an expected call of GetPartyGeneralAccount.

func (*MockCollateralMockRecorder) GetPartyLiquidityFeeAccount

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

GetPartyLiquidityFeeAccount indicates an expected call of GetPartyLiquidityFeeAccount.

func (*MockCollateralMockRecorder) GetPartyMargin

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

GetPartyMargin indicates an expected call of GetPartyMargin.

func (*MockCollateralMockRecorder) GetPartyMarginAccount

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

GetPartyMarginAccount indicates an expected call of GetPartyMarginAccount.

func (*MockCollateralMockRecorder) HasGeneralAccount

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

HasGeneralAccount indicates an expected call of HasGeneralAccount.

func (*MockCollateralMockRecorder) Hash

Hash indicates an expected call of Hash.

func (*MockCollateralMockRecorder) MarginUpdate

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

MarginUpdate indicates an expected call of MarginUpdate.

func (*MockCollateralMockRecorder) MarginUpdateOnOrder

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

MarginUpdateOnOrder indicates an expected call of MarginUpdateOnOrder.

func (*MockCollateralMockRecorder) MarkToMarket

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

MarkToMarket indicates an expected call of MarkToMarket.

func (*MockCollateralMockRecorder) PartyHasSufficientBalance added in v0.73.0

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

PartyHasSufficientBalance indicates an expected call of PartyHasSufficientBalance.

func (*MockCollateralMockRecorder) PerpsFundingSettlement added in v0.73.0

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

PerpsFundingSettlement indicates an expected call of PerpsFundingSettlement.

func (*MockCollateralMockRecorder) ReleaseFromHoldingAccount added in v0.73.0

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

ReleaseFromHoldingAccount indicates an expected call of ReleaseFromHoldingAccount.

func (*MockCollateralMockRecorder) RemoveBondAccount

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

RemoveBondAccount indicates an expected call of RemoveBondAccount.

func (*MockCollateralMockRecorder) RemoveDistressed

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

RemoveDistressed indicates an expected call of RemoveDistressed.

func (*MockCollateralMockRecorder) RollbackMarginUpdateOnOrder

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

RollbackMarginUpdateOnOrder indicates an expected call of RollbackMarginUpdateOnOrder.

func (*MockCollateralMockRecorder) SuccessorInsuranceFraction

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

SuccessorInsuranceFraction indicates an expected call of SuccessorInsuranceFraction.

func (*MockCollateralMockRecorder) TransferFees

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

TransferFees indicates an expected call of TransferFees.

func (*MockCollateralMockRecorder) TransferFeesContinuousTrading

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

TransferFeesContinuousTrading indicates an expected call of TransferFeesContinuousTrading.

func (*MockCollateralMockRecorder) TransferSpot added in v0.73.0

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

TransferSpot indicates an expected call of TransferSpot.

func (*MockCollateralMockRecorder) TransferSpotFees

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

TransferSpotFees indicates an expected call of TransferSpotFees.

func (*MockCollateralMockRecorder) TransferSpotFeesContinuousTrading

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

TransferSpotFeesContinuousTrading indicates an expected call of TransferSpotFeesContinuousTrading.

func (*MockCollateralMockRecorder) TransferToHoldingAccount added in v0.73.0

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

TransferToHoldingAccount indicates an expected call of TransferToHoldingAccount.

func (*MockCollateralMockRecorder) Withdraw

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

Withdraw indicates an expected call of Withdraw.

type MockEpochEngine

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

MockEpochEngine is a mock of EpochEngine interface.

func NewMockEpochEngine

func NewMockEpochEngine(ctrl *gomock.Controller) *MockEpochEngine

NewMockEpochEngine creates a new mock instance.

func (*MockEpochEngine) EXPECT

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

func (*MockEpochEngine) NotifyOnEpoch

func (m *MockEpochEngine) NotifyOnEpoch(arg0, arg1 func(context.Context, types.Epoch))

NotifyOnEpoch mocks base method.

type MockEpochEngineMockRecorder

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

MockEpochEngineMockRecorder is the mock recorder for MockEpochEngine.

func (*MockEpochEngineMockRecorder) NotifyOnEpoch

func (mr *MockEpochEngineMockRecorder) NotifyOnEpoch(arg0, arg1 interface{}) *gomock.Call

NotifyOnEpoch indicates an expected call of NotifyOnEpoch.

type MockEquityLikeShares

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

MockEquityLikeShares is a mock of EquityLikeShares interface.

func NewMockEquityLikeShares

func NewMockEquityLikeShares(ctrl *gomock.Controller) *MockEquityLikeShares

NewMockEquityLikeShares creates a new mock instance.

func (*MockEquityLikeShares) AllShares

func (m *MockEquityLikeShares) AllShares() map[string]decimal.Decimal

AllShares mocks base method.

func (*MockEquityLikeShares) EXPECT

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

func (*MockEquityLikeShares) SetPartyStake

func (m *MockEquityLikeShares) SetPartyStake(arg0 string, arg1 *num.Uint)

SetPartyStake mocks base method.

type MockEquityLikeSharesMockRecorder

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

MockEquityLikeSharesMockRecorder is the mock recorder for MockEquityLikeShares.

func (*MockEquityLikeSharesMockRecorder) AllShares

func (mr *MockEquityLikeSharesMockRecorder) AllShares() *gomock.Call

AllShares indicates an expected call of AllShares.

func (*MockEquityLikeSharesMockRecorder) SetPartyStake

func (mr *MockEquityLikeSharesMockRecorder) SetPartyStake(arg0, arg1 interface{}) *gomock.Call

SetPartyStake indicates an expected call of SetPartyStake.

type MockLiquidityEngine

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

MockLiquidityEngine is a mock of LiquidityEngine interface.

func NewMockLiquidityEngine

func NewMockLiquidityEngine(ctrl *gomock.Controller) *MockLiquidityEngine

NewMockLiquidityEngine creates a new mock instance.

func (*MockLiquidityEngine) AmendLiquidityProvision

func (m *MockLiquidityEngine) AmendLiquidityProvision(arg0 context.Context, arg1 *types.LiquidityProvisionAmendment, arg2 string, arg3 bool) (bool, error)

AmendLiquidityProvision mocks base method.

func (*MockLiquidityEngine) ApplyPendingProvisions

func (m *MockLiquidityEngine) ApplyPendingProvisions(arg0 context.Context, arg1 time.Time) liquidity.Provisions

ApplyPendingProvisions mocks base method.

func (*MockLiquidityEngine) CalculateSLAPenalties

func (m *MockLiquidityEngine) CalculateSLAPenalties(arg0 time.Time) liquidity.SlaPenalties

CalculateSLAPenalties mocks base method.

func (*MockLiquidityEngine) CalculateSuppliedStake

func (m *MockLiquidityEngine) CalculateSuppliedStake() *num.Uint

CalculateSuppliedStake mocks base method.

func (*MockLiquidityEngine) CalculateSuppliedStakeWithoutPending

func (m *MockLiquidityEngine) CalculateSuppliedStakeWithoutPending() *num.Uint

CalculateSuppliedStakeWithoutPending mocks base method.

func (*MockLiquidityEngine) CancelLiquidityProvision added in v0.73.0

func (m *MockLiquidityEngine) CancelLiquidityProvision(arg0 context.Context, arg1 string) error

CancelLiquidityProvision mocks base method.

func (*MockLiquidityEngine) EXPECT

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

func (*MockLiquidityEngine) EndBlock

func (m *MockLiquidityEngine) EndBlock(arg0, arg1 *num.Uint, arg2 decimal.Decimal)

EndBlock mocks base method.

func (*MockLiquidityEngine) GetAverageLiquidityScores

func (m *MockLiquidityEngine) GetAverageLiquidityScores() map[string]decimal.Decimal

GetAverageLiquidityScores mocks base method.

func (*MockLiquidityEngine) GetLegacyOrders added in v0.73.0

func (m *MockLiquidityEngine) GetLegacyOrders() []string

GetLegacyOrders mocks base method.

func (*MockLiquidityEngine) IsLiquidityProvider

func (m *MockLiquidityEngine) IsLiquidityProvider(arg0 string) bool

IsLiquidityProvider mocks base method.

func (*MockLiquidityEngine) IsProbabilityOfTradingInitialised added in v0.73.0

func (m *MockLiquidityEngine) IsProbabilityOfTradingInitialised() bool

IsProbabilityOfTradingInitialised mocks base method.

func (*MockLiquidityEngine) LiquidityProviderSLAStats added in v0.73.0

func (m *MockLiquidityEngine) LiquidityProviderSLAStats(arg0 time.Time) []*vega.LiquidityProviderSLA

LiquidityProviderSLAStats mocks base method.

func (*MockLiquidityEngine) LiquidityProvisionByPartyID

func (m *MockLiquidityEngine) LiquidityProvisionByPartyID(arg0 string) *types.LiquidityProvision

LiquidityProvisionByPartyID mocks base method.

func (*MockLiquidityEngine) OnEpochRestore added in v0.73.0

func (m *MockLiquidityEngine) OnEpochRestore(arg0 types.Epoch)

OnEpochRestore mocks base method.

func (*MockLiquidityEngine) OnMaximumLiquidityFeeFactorLevelUpdate added in v0.73.0

func (m *MockLiquidityEngine) OnMaximumLiquidityFeeFactorLevelUpdate(arg0 decimal.Decimal)

OnMaximumLiquidityFeeFactorLevelUpdate mocks base method.

func (*MockLiquidityEngine) OnMinProbabilityOfTradingLPOrdersUpdate added in v0.73.0

func (m *MockLiquidityEngine) OnMinProbabilityOfTradingLPOrdersUpdate(arg0 decimal.Decimal)

OnMinProbabilityOfTradingLPOrdersUpdate mocks base method.

func (*MockLiquidityEngine) OnNonPerformanceBondPenaltyMaxUpdate added in v0.73.0

func (m *MockLiquidityEngine) OnNonPerformanceBondPenaltyMaxUpdate(arg0 decimal.Decimal)

OnNonPerformanceBondPenaltyMaxUpdate mocks base method.

func (*MockLiquidityEngine) OnNonPerformanceBondPenaltySlopeUpdate added in v0.73.0

func (m *MockLiquidityEngine) OnNonPerformanceBondPenaltySlopeUpdate(arg0 decimal.Decimal)

OnNonPerformanceBondPenaltySlopeUpdate mocks base method.

func (*MockLiquidityEngine) OnProbabilityOfTradingTauScalingUpdate added in v0.73.0

func (m *MockLiquidityEngine) OnProbabilityOfTradingTauScalingUpdate(arg0 decimal.Decimal)

OnProbabilityOfTradingTauScalingUpdate mocks base method.

func (*MockLiquidityEngine) OnProvidersFeeCalculationTimeStep added in v0.73.0

func (m *MockLiquidityEngine) OnProvidersFeeCalculationTimeStep(arg0 time.Duration)

OnProvidersFeeCalculationTimeStep mocks base method.

func (*MockLiquidityEngine) OnStakeToCcyVolumeUpdate added in v0.73.0

func (m *MockLiquidityEngine) OnStakeToCcyVolumeUpdate(arg0 decimal.Decimal)

OnStakeToCcyVolumeUpdate mocks base method.

func (*MockLiquidityEngine) PaidLiquidityFeesStats added in v0.73.0

func (m *MockLiquidityEngine) PaidLiquidityFeesStats() *types.PaidLiquidityFeesStats

PaidLiquidityFeesStats mocks base method.

func (*MockLiquidityEngine) PendingProvision

func (m *MockLiquidityEngine) PendingProvision() liquidity.Provisions

PendingProvision mocks base method.

func (*MockLiquidityEngine) PendingProvisionByPartyID

func (m *MockLiquidityEngine) PendingProvisionByPartyID(arg0 string) *types.LiquidityProvision

PendingProvisionByPartyID mocks base method.

func (*MockLiquidityEngine) ProvisionsPerParty

func (m *MockLiquidityEngine) ProvisionsPerParty() liquidity.ProvisionsPerParty

ProvisionsPerParty mocks base method.

func (*MockLiquidityEngine) ReadyForFeesAllocation added in v0.73.0

func (m *MockLiquidityEngine) ReadyForFeesAllocation(arg0 time.Time) bool

ReadyForFeesAllocation mocks base method.

func (*MockLiquidityEngine) RegisterAllocatedFeesPerParty added in v0.73.0

func (m *MockLiquidityEngine) RegisterAllocatedFeesPerParty(arg0 map[string]*num.Uint)

RegisterAllocatedFeesPerParty mocks base method.

func (*MockLiquidityEngine) RejectLiquidityProvision

func (m *MockLiquidityEngine) RejectLiquidityProvision(arg0 context.Context, arg1 string) error

RejectLiquidityProvision mocks base method.

func (*MockLiquidityEngine) ResetAverageLiquidityScores

func (m *MockLiquidityEngine) ResetAverageLiquidityScores()

ResetAverageLiquidityScores mocks base method.

func (*MockLiquidityEngine) ResetFeeAllocationPeriod added in v0.73.0

func (m *MockLiquidityEngine) ResetFeeAllocationPeriod(arg0 time.Time)

ResetFeeAllocationPeriod mocks base method.

func (*MockLiquidityEngine) ResetSLAEpoch

func (m *MockLiquidityEngine) ResetSLAEpoch(arg0 time.Time, arg1, arg2 *num.Uint, arg3 decimal.Decimal)

ResetSLAEpoch mocks base method.

func (*MockLiquidityEngine) StopLiquidityProvision added in v0.73.0

func (m *MockLiquidityEngine) StopLiquidityProvision(arg0 context.Context, arg1 string) error

StopLiquidityProvision mocks base method.

func (*MockLiquidityEngine) StopSnapshots added in v0.73.0

func (m *MockLiquidityEngine) StopSnapshots()

StopSnapshots mocks base method.

func (*MockLiquidityEngine) SubmitLiquidityProvision

func (m *MockLiquidityEngine) SubmitLiquidityProvision(arg0 context.Context, arg1 *types.LiquidityProvisionSubmission, arg2 string, arg3 liquidity.IDGen) (bool, error)

SubmitLiquidityProvision mocks base method.

func (*MockLiquidityEngine) UpdateAverageLiquidityScores

func (m *MockLiquidityEngine) UpdateAverageLiquidityScores(arg0, arg1 decimal.Decimal, arg2, arg3 *num.Uint)

UpdateAverageLiquidityScores mocks base method.

func (*MockLiquidityEngine) UpdateMarketConfig added in v0.73.0

func (m *MockLiquidityEngine) UpdateMarketConfig(arg0 liquidity.RiskModel, arg1 liquidity.PriceMonitor)

UpdateMarketConfig mocks base method.

func (*MockLiquidityEngine) UpdatePartyCommitment

func (m *MockLiquidityEngine) UpdatePartyCommitment(arg0 string, arg1 *num.Uint) (*types.LiquidityProvision, error)

UpdatePartyCommitment mocks base method.

func (*MockLiquidityEngine) UpdateSLAParameters added in v0.73.0

func (m *MockLiquidityEngine) UpdateSLAParameters(arg0 *types.LiquiditySLAParams)

UpdateSLAParameters mocks base method.

func (*MockLiquidityEngine) V1StateProvider added in v0.73.0

func (m *MockLiquidityEngine) V1StateProvider() types.StateProvider

V1StateProvider mocks base method.

func (*MockLiquidityEngine) V2StateProvider added in v0.73.0

func (m *MockLiquidityEngine) V2StateProvider() types.StateProvider

V2StateProvider mocks base method.

func (*MockLiquidityEngine) ValidateLiquidityProvisionAmendment

func (m *MockLiquidityEngine) ValidateLiquidityProvisionAmendment(arg0 *types.LiquidityProvisionAmendment) error

ValidateLiquidityProvisionAmendment mocks base method.

type MockLiquidityEngineMockRecorder

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

MockLiquidityEngineMockRecorder is the mock recorder for MockLiquidityEngine.

func (*MockLiquidityEngineMockRecorder) AmendLiquidityProvision

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

AmendLiquidityProvision indicates an expected call of AmendLiquidityProvision.

func (*MockLiquidityEngineMockRecorder) ApplyPendingProvisions

func (mr *MockLiquidityEngineMockRecorder) ApplyPendingProvisions(arg0, arg1 interface{}) *gomock.Call

ApplyPendingProvisions indicates an expected call of ApplyPendingProvisions.

func (*MockLiquidityEngineMockRecorder) CalculateSLAPenalties

func (mr *MockLiquidityEngineMockRecorder) CalculateSLAPenalties(arg0 interface{}) *gomock.Call

CalculateSLAPenalties indicates an expected call of CalculateSLAPenalties.

func (*MockLiquidityEngineMockRecorder) CalculateSuppliedStake

func (mr *MockLiquidityEngineMockRecorder) CalculateSuppliedStake() *gomock.Call

CalculateSuppliedStake indicates an expected call of CalculateSuppliedStake.

func (*MockLiquidityEngineMockRecorder) CalculateSuppliedStakeWithoutPending

func (mr *MockLiquidityEngineMockRecorder) CalculateSuppliedStakeWithoutPending() *gomock.Call

CalculateSuppliedStakeWithoutPending indicates an expected call of CalculateSuppliedStakeWithoutPending.

func (*MockLiquidityEngineMockRecorder) CancelLiquidityProvision added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) CancelLiquidityProvision(arg0, arg1 interface{}) *gomock.Call

CancelLiquidityProvision indicates an expected call of CancelLiquidityProvision.

func (*MockLiquidityEngineMockRecorder) EndBlock

func (mr *MockLiquidityEngineMockRecorder) EndBlock(arg0, arg1, arg2 interface{}) *gomock.Call

EndBlock indicates an expected call of EndBlock.

func (*MockLiquidityEngineMockRecorder) GetAverageLiquidityScores

func (mr *MockLiquidityEngineMockRecorder) GetAverageLiquidityScores() *gomock.Call

GetAverageLiquidityScores indicates an expected call of GetAverageLiquidityScores.

func (*MockLiquidityEngineMockRecorder) GetLegacyOrders added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) GetLegacyOrders() *gomock.Call

GetLegacyOrders indicates an expected call of GetLegacyOrders.

func (*MockLiquidityEngineMockRecorder) IsLiquidityProvider

func (mr *MockLiquidityEngineMockRecorder) IsLiquidityProvider(arg0 interface{}) *gomock.Call

IsLiquidityProvider indicates an expected call of IsLiquidityProvider.

func (*MockLiquidityEngineMockRecorder) IsProbabilityOfTradingInitialised added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) IsProbabilityOfTradingInitialised() *gomock.Call

IsProbabilityOfTradingInitialised indicates an expected call of IsProbabilityOfTradingInitialised.

func (*MockLiquidityEngineMockRecorder) LiquidityProviderSLAStats added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) LiquidityProviderSLAStats(arg0 interface{}) *gomock.Call

LiquidityProviderSLAStats indicates an expected call of LiquidityProviderSLAStats.

func (*MockLiquidityEngineMockRecorder) LiquidityProvisionByPartyID

func (mr *MockLiquidityEngineMockRecorder) LiquidityProvisionByPartyID(arg0 interface{}) *gomock.Call

LiquidityProvisionByPartyID indicates an expected call of LiquidityProvisionByPartyID.

func (*MockLiquidityEngineMockRecorder) OnEpochRestore added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) OnEpochRestore(arg0 interface{}) *gomock.Call

OnEpochRestore indicates an expected call of OnEpochRestore.

func (*MockLiquidityEngineMockRecorder) OnMaximumLiquidityFeeFactorLevelUpdate added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) OnMaximumLiquidityFeeFactorLevelUpdate(arg0 interface{}) *gomock.Call

OnMaximumLiquidityFeeFactorLevelUpdate indicates an expected call of OnMaximumLiquidityFeeFactorLevelUpdate.

func (*MockLiquidityEngineMockRecorder) OnMinProbabilityOfTradingLPOrdersUpdate added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) OnMinProbabilityOfTradingLPOrdersUpdate(arg0 interface{}) *gomock.Call

OnMinProbabilityOfTradingLPOrdersUpdate indicates an expected call of OnMinProbabilityOfTradingLPOrdersUpdate.

func (*MockLiquidityEngineMockRecorder) OnNonPerformanceBondPenaltyMaxUpdate added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) OnNonPerformanceBondPenaltyMaxUpdate(arg0 interface{}) *gomock.Call

OnNonPerformanceBondPenaltyMaxUpdate indicates an expected call of OnNonPerformanceBondPenaltyMaxUpdate.

func (*MockLiquidityEngineMockRecorder) OnNonPerformanceBondPenaltySlopeUpdate added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) OnNonPerformanceBondPenaltySlopeUpdate(arg0 interface{}) *gomock.Call

OnNonPerformanceBondPenaltySlopeUpdate indicates an expected call of OnNonPerformanceBondPenaltySlopeUpdate.

func (*MockLiquidityEngineMockRecorder) OnProbabilityOfTradingTauScalingUpdate added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) OnProbabilityOfTradingTauScalingUpdate(arg0 interface{}) *gomock.Call

OnProbabilityOfTradingTauScalingUpdate indicates an expected call of OnProbabilityOfTradingTauScalingUpdate.

func (*MockLiquidityEngineMockRecorder) OnProvidersFeeCalculationTimeStep added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) OnProvidersFeeCalculationTimeStep(arg0 interface{}) *gomock.Call

OnProvidersFeeCalculationTimeStep indicates an expected call of OnProvidersFeeCalculationTimeStep.

func (*MockLiquidityEngineMockRecorder) OnStakeToCcyVolumeUpdate added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) OnStakeToCcyVolumeUpdate(arg0 interface{}) *gomock.Call

OnStakeToCcyVolumeUpdate indicates an expected call of OnStakeToCcyVolumeUpdate.

func (*MockLiquidityEngineMockRecorder) PaidLiquidityFeesStats added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) PaidLiquidityFeesStats() *gomock.Call

PaidLiquidityFeesStats indicates an expected call of PaidLiquidityFeesStats.

func (*MockLiquidityEngineMockRecorder) PendingProvision

func (mr *MockLiquidityEngineMockRecorder) PendingProvision() *gomock.Call

PendingProvision indicates an expected call of PendingProvision.

func (*MockLiquidityEngineMockRecorder) PendingProvisionByPartyID

func (mr *MockLiquidityEngineMockRecorder) PendingProvisionByPartyID(arg0 interface{}) *gomock.Call

PendingProvisionByPartyID indicates an expected call of PendingProvisionByPartyID.

func (*MockLiquidityEngineMockRecorder) ProvisionsPerParty

func (mr *MockLiquidityEngineMockRecorder) ProvisionsPerParty() *gomock.Call

ProvisionsPerParty indicates an expected call of ProvisionsPerParty.

func (*MockLiquidityEngineMockRecorder) ReadyForFeesAllocation added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) ReadyForFeesAllocation(arg0 interface{}) *gomock.Call

ReadyForFeesAllocation indicates an expected call of ReadyForFeesAllocation.

func (*MockLiquidityEngineMockRecorder) RegisterAllocatedFeesPerParty added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) RegisterAllocatedFeesPerParty(arg0 interface{}) *gomock.Call

RegisterAllocatedFeesPerParty indicates an expected call of RegisterAllocatedFeesPerParty.

func (*MockLiquidityEngineMockRecorder) RejectLiquidityProvision

func (mr *MockLiquidityEngineMockRecorder) RejectLiquidityProvision(arg0, arg1 interface{}) *gomock.Call

RejectLiquidityProvision indicates an expected call of RejectLiquidityProvision.

func (*MockLiquidityEngineMockRecorder) ResetAverageLiquidityScores

func (mr *MockLiquidityEngineMockRecorder) ResetAverageLiquidityScores() *gomock.Call

ResetAverageLiquidityScores indicates an expected call of ResetAverageLiquidityScores.

func (*MockLiquidityEngineMockRecorder) ResetFeeAllocationPeriod added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) ResetFeeAllocationPeriod(arg0 interface{}) *gomock.Call

ResetFeeAllocationPeriod indicates an expected call of ResetFeeAllocationPeriod.

func (*MockLiquidityEngineMockRecorder) ResetSLAEpoch

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

ResetSLAEpoch indicates an expected call of ResetSLAEpoch.

func (*MockLiquidityEngineMockRecorder) StopLiquidityProvision added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) StopLiquidityProvision(arg0, arg1 interface{}) *gomock.Call

StopLiquidityProvision indicates an expected call of StopLiquidityProvision.

func (*MockLiquidityEngineMockRecorder) StopSnapshots added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) StopSnapshots() *gomock.Call

StopSnapshots indicates an expected call of StopSnapshots.

func (*MockLiquidityEngineMockRecorder) SubmitLiquidityProvision

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

SubmitLiquidityProvision indicates an expected call of SubmitLiquidityProvision.

func (*MockLiquidityEngineMockRecorder) UpdateAverageLiquidityScores

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

UpdateAverageLiquidityScores indicates an expected call of UpdateAverageLiquidityScores.

func (*MockLiquidityEngineMockRecorder) UpdateMarketConfig added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) UpdateMarketConfig(arg0, arg1 interface{}) *gomock.Call

UpdateMarketConfig indicates an expected call of UpdateMarketConfig.

func (*MockLiquidityEngineMockRecorder) UpdatePartyCommitment

func (mr *MockLiquidityEngineMockRecorder) UpdatePartyCommitment(arg0, arg1 interface{}) *gomock.Call

UpdatePartyCommitment indicates an expected call of UpdatePartyCommitment.

func (*MockLiquidityEngineMockRecorder) UpdateSLAParameters added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) UpdateSLAParameters(arg0 interface{}) *gomock.Call

UpdateSLAParameters indicates an expected call of UpdateSLAParameters.

func (*MockLiquidityEngineMockRecorder) V1StateProvider added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) V1StateProvider() *gomock.Call

V1StateProvider indicates an expected call of V1StateProvider.

func (*MockLiquidityEngineMockRecorder) V2StateProvider added in v0.73.0

func (mr *MockLiquidityEngineMockRecorder) V2StateProvider() *gomock.Call

V2StateProvider indicates an expected call of V2StateProvider.

func (*MockLiquidityEngineMockRecorder) ValidateLiquidityProvisionAmendment

func (mr *MockLiquidityEngineMockRecorder) ValidateLiquidityProvisionAmendment(arg0 interface{}) *gomock.Call

ValidateLiquidityProvisionAmendment indicates an expected call of ValidateLiquidityProvisionAmendment.

type MockMarketLiquidityEngine added in v0.73.0

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

MockMarketLiquidityEngine is a mock of MarketLiquidityEngine interface.

func NewMockMarketLiquidityEngine added in v0.73.0

func NewMockMarketLiquidityEngine(ctrl *gomock.Controller) *MockMarketLiquidityEngine

NewMockMarketLiquidityEngine creates a new mock instance.

func (*MockMarketLiquidityEngine) AmendLiquidityProvision added in v0.73.0

func (m *MockMarketLiquidityEngine) AmendLiquidityProvision(arg0 context.Context, arg1 *types.LiquidityProvisionAmendment, arg2, arg3 string, arg4 vega.Market_State) error

AmendLiquidityProvision mocks base method.

func (*MockMarketLiquidityEngine) CalculateSuppliedStake added in v0.73.0

func (m *MockMarketLiquidityEngine) CalculateSuppliedStake() *num.Uint

CalculateSuppliedStake mocks base method.

func (*MockMarketLiquidityEngine) CancelLiquidityProvision added in v0.73.0

func (m *MockMarketLiquidityEngine) CancelLiquidityProvision(arg0 context.Context, arg1 string) error

CancelLiquidityProvision mocks base method.

func (*MockMarketLiquidityEngine) EXPECT added in v0.73.0

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

func (*MockMarketLiquidityEngine) EndBlock added in v0.73.0

func (m *MockMarketLiquidityEngine) EndBlock(arg0, arg1 *num.Uint, arg2 decimal.Decimal)

EndBlock mocks base method.

func (*MockMarketLiquidityEngine) GetAverageLiquidityScores added in v0.73.0

func (m *MockMarketLiquidityEngine) GetAverageLiquidityScores() map[string]decimal.Decimal

GetAverageLiquidityScores mocks base method.

func (*MockMarketLiquidityEngine) IsProbabilityOfTradingInitialised added in v0.73.0

func (m *MockMarketLiquidityEngine) IsProbabilityOfTradingInitialised() bool

IsProbabilityOfTradingInitialised mocks base method.

func (*MockMarketLiquidityEngine) OnBondPenaltyFactorUpdate added in v0.73.0

func (m *MockMarketLiquidityEngine) OnBondPenaltyFactorUpdate(arg0 decimal.Decimal)

OnBondPenaltyFactorUpdate mocks base method.

func (*MockMarketLiquidityEngine) OnEarlyExitPenalty added in v0.73.0

func (m *MockMarketLiquidityEngine) OnEarlyExitPenalty(arg0 decimal.Decimal)

OnEarlyExitPenalty mocks base method.

func (*MockMarketLiquidityEngine) OnEpochEnd added in v0.73.0

func (m *MockMarketLiquidityEngine) OnEpochEnd(arg0 context.Context, arg1 time.Time, arg2 types.Epoch)

OnEpochEnd mocks base method.

func (*MockMarketLiquidityEngine) OnEpochStart added in v0.73.0

func (m *MockMarketLiquidityEngine) OnEpochStart(arg0 context.Context, arg1 time.Time, arg2, arg3, arg4 *num.Uint, arg5 decimal.Decimal)

OnEpochStart mocks base method.

func (*MockMarketLiquidityEngine) OnMarketClosed added in v0.73.0

func (m *MockMarketLiquidityEngine) OnMarketClosed(arg0 context.Context, arg1 time.Time)

OnMarketClosed mocks base method.

func (*MockMarketLiquidityEngine) OnMaximumLiquidityFeeFactorLevelUpdate added in v0.73.0

func (m *MockMarketLiquidityEngine) OnMaximumLiquidityFeeFactorLevelUpdate(arg0 decimal.Decimal)

OnMaximumLiquidityFeeFactorLevelUpdate mocks base method.

func (*MockMarketLiquidityEngine) OnMinLPStakeQuantumMultiple added in v0.73.0

func (m *MockMarketLiquidityEngine) OnMinLPStakeQuantumMultiple(arg0 decimal.Decimal)

OnMinLPStakeQuantumMultiple mocks base method.

func (*MockMarketLiquidityEngine) OnMinProbabilityOfTradingLPOrdersUpdate added in v0.73.0

func (m *MockMarketLiquidityEngine) OnMinProbabilityOfTradingLPOrdersUpdate(arg0 decimal.Decimal)

OnMinProbabilityOfTradingLPOrdersUpdate mocks base method.

func (*MockMarketLiquidityEngine) OnNonPerformanceBondPenaltyMaxUpdate added in v0.73.0

func (m *MockMarketLiquidityEngine) OnNonPerformanceBondPenaltyMaxUpdate(arg0 decimal.Decimal)

OnNonPerformanceBondPenaltyMaxUpdate mocks base method.

func (*MockMarketLiquidityEngine) OnNonPerformanceBondPenaltySlopeUpdate added in v0.73.0

func (m *MockMarketLiquidityEngine) OnNonPerformanceBondPenaltySlopeUpdate(arg0 decimal.Decimal)

OnNonPerformanceBondPenaltySlopeUpdate mocks base method.

func (*MockMarketLiquidityEngine) OnProbabilityOfTradingTauScalingUpdate added in v0.73.0

func (m *MockMarketLiquidityEngine) OnProbabilityOfTradingTauScalingUpdate(arg0 decimal.Decimal)

OnProbabilityOfTradingTauScalingUpdate mocks base method.

func (*MockMarketLiquidityEngine) OnProvidersFeeCalculationTimeStep added in v0.73.0

func (m *MockMarketLiquidityEngine) OnProvidersFeeCalculationTimeStep(arg0 time.Duration)

OnProvidersFeeCalculationTimeStep mocks base method.

func (*MockMarketLiquidityEngine) OnStakeToCcyVolumeUpdate added in v0.73.0

func (m *MockMarketLiquidityEngine) OnStakeToCcyVolumeUpdate(arg0 decimal.Decimal)

OnStakeToCcyVolumeUpdate mocks base method.

func (*MockMarketLiquidityEngine) OnTick added in v0.73.0

func (m *MockMarketLiquidityEngine) OnTick(arg0 context.Context, arg1 time.Time)

OnTick mocks base method.

func (*MockMarketLiquidityEngine) ProvisionsPerParty added in v0.73.0

func (m *MockMarketLiquidityEngine) ProvisionsPerParty() liquidity.ProvisionsPerParty

ProvisionsPerParty mocks base method.

func (*MockMarketLiquidityEngine) StopAllLiquidityProvision added in v0.73.0

func (m *MockMarketLiquidityEngine) StopAllLiquidityProvision(arg0 context.Context)

StopAllLiquidityProvision mocks base method.

func (*MockMarketLiquidityEngine) SubmitLiquidityProvision added in v0.73.0

func (m *MockMarketLiquidityEngine) SubmitLiquidityProvision(arg0 context.Context, arg1 *types.LiquidityProvisionSubmission, arg2, arg3 string, arg4 vega.Market_State) error

SubmitLiquidityProvision mocks base method.

func (*MockMarketLiquidityEngine) UpdateMarketConfig added in v0.73.0

func (m *MockMarketLiquidityEngine) UpdateMarketConfig(arg0 liquidity.RiskModel, arg1 liquidity.PriceMonitor)

UpdateMarketConfig mocks base method.

func (*MockMarketLiquidityEngine) UpdateSLAParameters added in v0.73.0

func (m *MockMarketLiquidityEngine) UpdateSLAParameters(arg0 *types.LiquiditySLAParams)

UpdateSLAParameters mocks base method.

type MockMarketLiquidityEngineMockRecorder added in v0.73.0

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

MockMarketLiquidityEngineMockRecorder is the mock recorder for MockMarketLiquidityEngine.

func (*MockMarketLiquidityEngineMockRecorder) AmendLiquidityProvision added in v0.73.0

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

AmendLiquidityProvision indicates an expected call of AmendLiquidityProvision.

func (*MockMarketLiquidityEngineMockRecorder) CalculateSuppliedStake added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) CalculateSuppliedStake() *gomock.Call

CalculateSuppliedStake indicates an expected call of CalculateSuppliedStake.

func (*MockMarketLiquidityEngineMockRecorder) CancelLiquidityProvision added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) CancelLiquidityProvision(arg0, arg1 interface{}) *gomock.Call

CancelLiquidityProvision indicates an expected call of CancelLiquidityProvision.

func (*MockMarketLiquidityEngineMockRecorder) EndBlock added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) EndBlock(arg0, arg1, arg2 interface{}) *gomock.Call

EndBlock indicates an expected call of EndBlock.

func (*MockMarketLiquidityEngineMockRecorder) GetAverageLiquidityScores added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) GetAverageLiquidityScores() *gomock.Call

GetAverageLiquidityScores indicates an expected call of GetAverageLiquidityScores.

func (*MockMarketLiquidityEngineMockRecorder) IsProbabilityOfTradingInitialised added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) IsProbabilityOfTradingInitialised() *gomock.Call

IsProbabilityOfTradingInitialised indicates an expected call of IsProbabilityOfTradingInitialised.

func (*MockMarketLiquidityEngineMockRecorder) OnBondPenaltyFactorUpdate added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) OnBondPenaltyFactorUpdate(arg0 interface{}) *gomock.Call

OnBondPenaltyFactorUpdate indicates an expected call of OnBondPenaltyFactorUpdate.

func (*MockMarketLiquidityEngineMockRecorder) OnEarlyExitPenalty added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) OnEarlyExitPenalty(arg0 interface{}) *gomock.Call

OnEarlyExitPenalty indicates an expected call of OnEarlyExitPenalty.

func (*MockMarketLiquidityEngineMockRecorder) OnEpochEnd added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) OnEpochEnd(arg0, arg1, arg2 interface{}) *gomock.Call

OnEpochEnd indicates an expected call of OnEpochEnd.

func (*MockMarketLiquidityEngineMockRecorder) OnEpochStart added in v0.73.0

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

OnEpochStart indicates an expected call of OnEpochStart.

func (*MockMarketLiquidityEngineMockRecorder) OnMarketClosed added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) OnMarketClosed(arg0, arg1 interface{}) *gomock.Call

OnMarketClosed indicates an expected call of OnMarketClosed.

func (*MockMarketLiquidityEngineMockRecorder) OnMaximumLiquidityFeeFactorLevelUpdate added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) OnMaximumLiquidityFeeFactorLevelUpdate(arg0 interface{}) *gomock.Call

OnMaximumLiquidityFeeFactorLevelUpdate indicates an expected call of OnMaximumLiquidityFeeFactorLevelUpdate.

func (*MockMarketLiquidityEngineMockRecorder) OnMinLPStakeQuantumMultiple added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) OnMinLPStakeQuantumMultiple(arg0 interface{}) *gomock.Call

OnMinLPStakeQuantumMultiple indicates an expected call of OnMinLPStakeQuantumMultiple.

func (*MockMarketLiquidityEngineMockRecorder) OnMinProbabilityOfTradingLPOrdersUpdate added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) OnMinProbabilityOfTradingLPOrdersUpdate(arg0 interface{}) *gomock.Call

OnMinProbabilityOfTradingLPOrdersUpdate indicates an expected call of OnMinProbabilityOfTradingLPOrdersUpdate.

func (*MockMarketLiquidityEngineMockRecorder) OnNonPerformanceBondPenaltyMaxUpdate added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) OnNonPerformanceBondPenaltyMaxUpdate(arg0 interface{}) *gomock.Call

OnNonPerformanceBondPenaltyMaxUpdate indicates an expected call of OnNonPerformanceBondPenaltyMaxUpdate.

func (*MockMarketLiquidityEngineMockRecorder) OnNonPerformanceBondPenaltySlopeUpdate added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) OnNonPerformanceBondPenaltySlopeUpdate(arg0 interface{}) *gomock.Call

OnNonPerformanceBondPenaltySlopeUpdate indicates an expected call of OnNonPerformanceBondPenaltySlopeUpdate.

func (*MockMarketLiquidityEngineMockRecorder) OnProbabilityOfTradingTauScalingUpdate added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) OnProbabilityOfTradingTauScalingUpdate(arg0 interface{}) *gomock.Call

OnProbabilityOfTradingTauScalingUpdate indicates an expected call of OnProbabilityOfTradingTauScalingUpdate.

func (*MockMarketLiquidityEngineMockRecorder) OnProvidersFeeCalculationTimeStep added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) OnProvidersFeeCalculationTimeStep(arg0 interface{}) *gomock.Call

OnProvidersFeeCalculationTimeStep indicates an expected call of OnProvidersFeeCalculationTimeStep.

func (*MockMarketLiquidityEngineMockRecorder) OnStakeToCcyVolumeUpdate added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) OnStakeToCcyVolumeUpdate(arg0 interface{}) *gomock.Call

OnStakeToCcyVolumeUpdate indicates an expected call of OnStakeToCcyVolumeUpdate.

func (*MockMarketLiquidityEngineMockRecorder) OnTick added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) OnTick(arg0, arg1 interface{}) *gomock.Call

OnTick indicates an expected call of OnTick.

func (*MockMarketLiquidityEngineMockRecorder) ProvisionsPerParty added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) ProvisionsPerParty() *gomock.Call

ProvisionsPerParty indicates an expected call of ProvisionsPerParty.

func (*MockMarketLiquidityEngineMockRecorder) StopAllLiquidityProvision added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) StopAllLiquidityProvision(arg0 interface{}) *gomock.Call

StopAllLiquidityProvision indicates an expected call of StopAllLiquidityProvision.

func (*MockMarketLiquidityEngineMockRecorder) SubmitLiquidityProvision added in v0.73.0

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

SubmitLiquidityProvision indicates an expected call of SubmitLiquidityProvision.

func (*MockMarketLiquidityEngineMockRecorder) UpdateMarketConfig added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) UpdateMarketConfig(arg0, arg1 interface{}) *gomock.Call

UpdateMarketConfig indicates an expected call of UpdateMarketConfig.

func (*MockMarketLiquidityEngineMockRecorder) UpdateSLAParameters added in v0.73.0

func (mr *MockMarketLiquidityEngineMockRecorder) UpdateSLAParameters(arg0 interface{}) *gomock.Call

UpdateSLAParameters indicates an expected call of UpdateSLAParameters.

type MockOracleEngine

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

MockOracleEngine is a mock of OracleEngine interface.

func NewMockOracleEngine

func NewMockOracleEngine(ctrl *gomock.Controller) *MockOracleEngine

NewMockOracleEngine creates a new mock instance.

func (*MockOracleEngine) EXPECT

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

func (*MockOracleEngine) ListensToSigners

func (m *MockOracleEngine) ListensToSigners(arg0 common.Data) bool

ListensToSigners mocks base method.

func (*MockOracleEngine) Subscribe

Subscribe mocks base method.

func (*MockOracleEngine) Unsubscribe

func (m *MockOracleEngine) Unsubscribe(arg0 context.Context, arg1 spec.SubscriptionID)

Unsubscribe mocks base method.

type MockOracleEngineMockRecorder

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

MockOracleEngineMockRecorder is the mock recorder for MockOracleEngine.

func (*MockOracleEngineMockRecorder) ListensToSigners

func (mr *MockOracleEngineMockRecorder) ListensToSigners(arg0 interface{}) *gomock.Call

ListensToSigners indicates an expected call of ListensToSigners.

func (*MockOracleEngineMockRecorder) Subscribe

func (mr *MockOracleEngineMockRecorder) Subscribe(arg0, arg1, arg2 interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

func (*MockOracleEngineMockRecorder) Unsubscribe

func (mr *MockOracleEngineMockRecorder) Unsubscribe(arg0, arg1 interface{}) *gomock.Call

Unsubscribe indicates an expected call of Unsubscribe.

type MockStateVarEngine

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

MockStateVarEngine is a mock of StateVarEngine interface.

func NewMockStateVarEngine

func NewMockStateVarEngine(ctrl *gomock.Controller) *MockStateVarEngine

NewMockStateVarEngine creates a new mock instance.

func (*MockStateVarEngine) EXPECT

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

func (*MockStateVarEngine) NewEvent

func (m *MockStateVarEngine) NewEvent(arg0, arg1 string, arg2 statevar.EventType)

NewEvent mocks base method.

func (*MockStateVarEngine) ReadyForTimeTrigger

func (m *MockStateVarEngine) ReadyForTimeTrigger(arg0, arg1 string)

ReadyForTimeTrigger mocks base method.

func (*MockStateVarEngine) RegisterStateVariable

func (m *MockStateVarEngine) RegisterStateVariable(arg0, arg1, arg2 string, arg3 statevar.Converter, arg4 func(string, statevar.FinaliseCalculation), arg5 []statevar.EventType, arg6 func(context.Context, statevar.StateVariableResult) error) error

RegisterStateVariable mocks base method.

func (*MockStateVarEngine) UnregisterStateVariable

func (m *MockStateVarEngine) UnregisterStateVariable(arg0, arg1 string)

UnregisterStateVariable mocks base method.

type MockStateVarEngineMockRecorder

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

MockStateVarEngineMockRecorder is the mock recorder for MockStateVarEngine.

func (*MockStateVarEngineMockRecorder) NewEvent

func (mr *MockStateVarEngineMockRecorder) NewEvent(arg0, arg1, arg2 interface{}) *gomock.Call

NewEvent indicates an expected call of NewEvent.

func (*MockStateVarEngineMockRecorder) ReadyForTimeTrigger

func (mr *MockStateVarEngineMockRecorder) ReadyForTimeTrigger(arg0, arg1 interface{}) *gomock.Call

ReadyForTimeTrigger indicates an expected call of ReadyForTimeTrigger.

func (*MockStateVarEngineMockRecorder) RegisterStateVariable

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

RegisterStateVariable indicates an expected call of RegisterStateVariable.

func (*MockStateVarEngineMockRecorder) UnregisterStateVariable

func (mr *MockStateVarEngineMockRecorder) UnregisterStateVariable(arg0, arg1 interface{}) *gomock.Call

UnregisterStateVariable indicates an expected call of UnregisterStateVariable.

type MockTeams added in v0.73.0

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

MockTeams is a mock of Teams interface.

func NewMockTeams added in v0.73.0

func NewMockTeams(ctrl *gomock.Controller) *MockTeams

NewMockTeams creates a new mock instance.

func (*MockTeams) EXPECT added in v0.73.0

func (m *MockTeams) EXPECT() *MockTeamsMockRecorder

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

func (*MockTeams) GetAllPartiesInTeams added in v0.73.0

func (m *MockTeams) GetAllPartiesInTeams(arg0 uint64) []string

GetAllPartiesInTeams mocks base method.

func (*MockTeams) GetAllTeamsWithParties added in v0.73.0

func (m *MockTeams) GetAllTeamsWithParties(arg0 uint64) map[string][]string

GetAllTeamsWithParties mocks base method.

func (*MockTeams) GetTeamMembers added in v0.73.0

func (m *MockTeams) GetTeamMembers(arg0 string, arg1 uint64) []string

GetTeamMembers mocks base method.

type MockTeamsMockRecorder added in v0.73.0

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

MockTeamsMockRecorder is the mock recorder for MockTeams.

func (*MockTeamsMockRecorder) GetAllPartiesInTeams added in v0.73.0

func (mr *MockTeamsMockRecorder) GetAllPartiesInTeams(arg0 interface{}) *gomock.Call

GetAllPartiesInTeams indicates an expected call of GetAllPartiesInTeams.

func (*MockTeamsMockRecorder) GetAllTeamsWithParties added in v0.73.0

func (mr *MockTeamsMockRecorder) GetAllTeamsWithParties(arg0 interface{}) *gomock.Call

GetAllTeamsWithParties indicates an expected call of GetAllTeamsWithParties.

func (*MockTeamsMockRecorder) GetTeamMembers added in v0.73.0

func (mr *MockTeamsMockRecorder) GetTeamMembers(arg0, arg1 interface{}) *gomock.Call

GetTeamMembers indicates an expected call of GetTeamMembers.

type MockTimeService

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

MockTimeService is a mock of TimeService interface.

func NewMockTimeService

func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService

NewMockTimeService creates a new mock instance.

func (*MockTimeService) EXPECT

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

func (*MockTimeService) GetTimeNow

func (m *MockTimeService) GetTimeNow() time.Time

GetTimeNow mocks base method.

type MockTimeServiceMockRecorder

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

MockTimeServiceMockRecorder is the mock recorder for MockTimeService.

func (*MockTimeServiceMockRecorder) GetTimeNow

func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call

GetTimeNow indicates an expected call of GetTimeNow.

Jump to

Keyboard shortcuts

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