mocks

package
v0.72.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 13 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 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) 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) ExtendAuctionLiquidityNoOrders

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

ExtendAuctionLiquidityNoOrders 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) 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) StartLiquidityAuctionNoOrders

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

StartLiquidityAuctionNoOrders 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) 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) 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) ExtendAuctionLiquidityNoOrders

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

ExtendAuctionLiquidityNoOrders indicates an expected call of ExtendAuctionLiquidityNoOrders.

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

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

StartLiquidityAuctionNoOrders indicates an expected call of StartLiquidityAuctionNoOrders.

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) 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) 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) ([]*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) 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) 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) 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) 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 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) 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) 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) 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) error

AmendLiquidityProvision mocks base method.

func (*MockLiquidityEngine) ApplyPendingProvisions

func (m *MockLiquidityEngine) ApplyPendingProvisions(arg0 context.Context, arg1 time.Time) map[string]*types.LiquidityProvision

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

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

func (*MockLiquidityEngine) EndBlock

func (m *MockLiquidityEngine) EndBlock()

EndBlock mocks base method.

func (*MockLiquidityEngine) GetAverageLiquidityScores

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

GetAverageLiquidityScores mocks base method.

func (*MockLiquidityEngine) IsLiquidityProvider

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

IsLiquidityProvider mocks base method.

func (*MockLiquidityEngine) LiquidityProvisionByPartyID

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

LiquidityProvisionByPartyID mocks base method.

func (*MockLiquidityEngine) PendingProvision

func (m *MockLiquidityEngine) PendingProvision() map[string]*types.LiquidityProvision

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

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

ResetSLAEpoch 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) TxProcessed

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

TxProcessed mocks base method.

func (*MockLiquidityEngine) UpdateAverageLiquidityScores

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

UpdateAverageLiquidityScores mocks base method.

func (*MockLiquidityEngine) UpdatePartyCommitment

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

UpdatePartyCommitment 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 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) EndBlock

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

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

IsLiquidityProvider indicates an expected call of IsLiquidityProvider.

func (*MockLiquidityEngineMockRecorder) LiquidityProvisionByPartyID

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

LiquidityProvisionByPartyID indicates an expected call of LiquidityProvisionByPartyID.

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

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

ResetSLAEpoch indicates an expected call of ResetSLAEpoch.

func (*MockLiquidityEngineMockRecorder) SubmitLiquidityProvision

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

SubmitLiquidityProvision indicates an expected call of SubmitLiquidityProvision.

func (*MockLiquidityEngineMockRecorder) TxProcessed

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

TxProcessed indicates an expected call of TxProcessed.

func (*MockLiquidityEngineMockRecorder) UpdateAverageLiquidityScores

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

UpdateAverageLiquidityScores indicates an expected call of UpdateAverageLiquidityScores.

func (*MockLiquidityEngineMockRecorder) UpdatePartyCommitment

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

UpdatePartyCommitment indicates an expected call of UpdatePartyCommitment.

func (*MockLiquidityEngineMockRecorder) ValidateLiquidityProvisionAmendment

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

ValidateLiquidityProvisionAmendment indicates an expected call of ValidateLiquidityProvisionAmendment.

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 oracles.OracleData) bool

ListensToSigners mocks base method.

func (*MockOracleEngine) Subscribe

Subscribe mocks base method.

func (*MockOracleEngine) Unsubscribe

func (m *MockOracleEngine) Unsubscribe(arg0 context.Context, arg1 oracles.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 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