mocks

package
v0.73.0-preview.16 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 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 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) EnactPendingAsset added in v0.55.0

func (m *MockAssets) EnactPendingAsset(arg0 string)

EnactPendingAsset mocks base method.

func (*MockAssets) Get

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

Get mocks base method.

func (*MockAssets) IsEnabled

func (m *MockAssets) IsEnabled(arg0 string) bool

IsEnabled mocks base method.

func (*MockAssets) NewAsset

func (m *MockAssets) NewAsset(arg0 context.Context, arg1 string, arg2 *types.AssetDetails) (string, error)

NewAsset mocks base method.

func (*MockAssets) StageAssetUpdate

func (m *MockAssets) StageAssetUpdate(arg0 *types.Asset) error

StageAssetUpdate mocks base method.

type MockAssetsMockRecorder

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

MockAssetsMockRecorder is the mock recorder for MockAssets.

func (*MockAssetsMockRecorder) EnactPendingAsset added in v0.55.0

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

EnactPendingAsset indicates an expected call of EnactPendingAsset.

func (*MockAssetsMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockAssetsMockRecorder) IsEnabled

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

IsEnabled indicates an expected call of IsEnabled.

func (*MockAssetsMockRecorder) NewAsset

func (mr *MockAssetsMockRecorder) NewAsset(arg0, arg1, arg2 interface{}) *gomock.Call

NewAsset indicates an expected call of NewAsset.

func (*MockAssetsMockRecorder) StageAssetUpdate

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

StageAssetUpdate indicates an expected call of StageAssetUpdate.

type MockBanking

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

MockBanking is a mock of Banking interface.

func NewMockBanking

func NewMockBanking(ctrl *gomock.Controller) *MockBanking

NewMockBanking creates a new mock instance.

func (*MockBanking) BridgeResumed

func (m *MockBanking) BridgeResumed(arg0 context.Context, arg1 bool, arg2 string, arg3, arg4 uint64, arg5 string) error

BridgeResumed mocks base method.

func (*MockBanking) BridgeStopped

func (m *MockBanking) BridgeStopped(arg0 context.Context, arg1 bool, arg2 string, arg3, arg4 uint64, arg5 string) error

BridgeStopped mocks base method.

func (*MockBanking) CancelGovTransfer added in v0.72.0

func (m *MockBanking) CancelGovTransfer(arg0 context.Context, arg1 string) error

CancelGovTransfer mocks base method.

func (*MockBanking) CancelTransferFunds

func (m *MockBanking) CancelTransferFunds(arg0 context.Context, arg1 *types.CancelTransferFunds) error

CancelTransferFunds mocks base method.

func (*MockBanking) CheckTransfer added in v0.68.0

func (m *MockBanking) CheckTransfer(arg0 *types.TransferBase) error

CheckTransfer mocks base method.

func (*MockBanking) DepositBuiltinAsset

func (m *MockBanking) DepositBuiltinAsset(arg0 context.Context, arg1 *types.BuiltinAssetDeposit, arg2 string, arg3 uint64) error

DepositBuiltinAsset mocks base method.

func (*MockBanking) DepositERC20

func (m *MockBanking) DepositERC20(arg0 context.Context, arg1 *types.ERC20Deposit, arg2 string, arg3, arg4 uint64, arg5 string) error

DepositERC20 mocks base method.

func (*MockBanking) ERC20WithdrawalEvent

func (m *MockBanking) ERC20WithdrawalEvent(arg0 context.Context, arg1 *types.ERC20Withdrawal, arg2, arg3 uint64, arg4 string) error

ERC20WithdrawalEvent mocks base method.

func (*MockBanking) EXPECT

func (m *MockBanking) EXPECT() *MockBankingMockRecorder

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

func (*MockBanking) EnableBuiltinAsset

func (m *MockBanking) EnableBuiltinAsset(arg0 context.Context, arg1 string) error

EnableBuiltinAsset mocks base method.

func (*MockBanking) EnableERC20

func (m *MockBanking) EnableERC20(arg0 context.Context, arg1 *types.ERC20AssetList, arg2 string, arg3, arg4 uint64, arg5 string) error

EnableERC20 mocks base method.

func (*MockBanking) NewGovernanceTransfer added in v0.72.0

func (m *MockBanking) NewGovernanceTransfer(arg0 context.Context, arg1, arg2 string, arg3 *types.NewTransferConfiguration) error

NewGovernanceTransfer mocks base method.

func (*MockBanking) TransferFunds

func (m *MockBanking) TransferFunds(arg0 context.Context, arg1 *types.TransferFunds) error

TransferFunds mocks base method.

func (*MockBanking) UpdateERC20

func (m *MockBanking) UpdateERC20(arg0 context.Context, arg1 *types.ERC20AssetLimitsUpdated, arg2 string, arg3, arg4 uint64, arg5 string) error

UpdateERC20 mocks base method.

func (*MockBanking) VerifyCancelGovernanceTransfer added in v0.72.0

func (m *MockBanking) VerifyCancelGovernanceTransfer(arg0 string) error

VerifyCancelGovernanceTransfer mocks base method.

func (*MockBanking) VerifyGovernanceTransfer added in v0.72.0

func (m *MockBanking) VerifyGovernanceTransfer(arg0 *types.NewTransferConfiguration) error

VerifyGovernanceTransfer mocks base method.

func (*MockBanking) WithdrawBuiltinAsset

func (m *MockBanking) WithdrawBuiltinAsset(arg0 context.Context, arg1, arg2, arg3 string, arg4 *num.Uint) error

WithdrawBuiltinAsset mocks base method.

func (*MockBanking) WithdrawERC20

func (m *MockBanking) WithdrawERC20(arg0 context.Context, arg1, arg2, arg3 string, arg4 *num.Uint, arg5 *types.Erc20WithdrawExt) error

WithdrawERC20 mocks base method.

type MockBankingMockRecorder

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

MockBankingMockRecorder is the mock recorder for MockBanking.

func (*MockBankingMockRecorder) BridgeResumed

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

BridgeResumed indicates an expected call of BridgeResumed.

func (*MockBankingMockRecorder) BridgeStopped

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

BridgeStopped indicates an expected call of BridgeStopped.

func (*MockBankingMockRecorder) CancelGovTransfer added in v0.72.0

func (mr *MockBankingMockRecorder) CancelGovTransfer(arg0, arg1 interface{}) *gomock.Call

CancelGovTransfer indicates an expected call of CancelGovTransfer.

func (*MockBankingMockRecorder) CancelTransferFunds

func (mr *MockBankingMockRecorder) CancelTransferFunds(arg0, arg1 interface{}) *gomock.Call

CancelTransferFunds indicates an expected call of CancelTransferFunds.

func (*MockBankingMockRecorder) CheckTransfer added in v0.68.0

func (mr *MockBankingMockRecorder) CheckTransfer(arg0 interface{}) *gomock.Call

CheckTransfer indicates an expected call of CheckTransfer.

func (*MockBankingMockRecorder) DepositBuiltinAsset

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

DepositBuiltinAsset indicates an expected call of DepositBuiltinAsset.

func (*MockBankingMockRecorder) DepositERC20

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

DepositERC20 indicates an expected call of DepositERC20.

func (*MockBankingMockRecorder) ERC20WithdrawalEvent

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

ERC20WithdrawalEvent indicates an expected call of ERC20WithdrawalEvent.

func (*MockBankingMockRecorder) EnableBuiltinAsset

func (mr *MockBankingMockRecorder) EnableBuiltinAsset(arg0, arg1 interface{}) *gomock.Call

EnableBuiltinAsset indicates an expected call of EnableBuiltinAsset.

func (*MockBankingMockRecorder) EnableERC20

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

EnableERC20 indicates an expected call of EnableERC20.

func (*MockBankingMockRecorder) NewGovernanceTransfer added in v0.72.0

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

NewGovernanceTransfer indicates an expected call of NewGovernanceTransfer.

func (*MockBankingMockRecorder) TransferFunds

func (mr *MockBankingMockRecorder) TransferFunds(arg0, arg1 interface{}) *gomock.Call

TransferFunds indicates an expected call of TransferFunds.

func (*MockBankingMockRecorder) UpdateERC20

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

UpdateERC20 indicates an expected call of UpdateERC20.

func (*MockBankingMockRecorder) VerifyCancelGovernanceTransfer added in v0.72.0

func (mr *MockBankingMockRecorder) VerifyCancelGovernanceTransfer(arg0 interface{}) *gomock.Call

VerifyCancelGovernanceTransfer indicates an expected call of VerifyCancelGovernanceTransfer.

func (*MockBankingMockRecorder) VerifyGovernanceTransfer added in v0.72.0

func (mr *MockBankingMockRecorder) VerifyGovernanceTransfer(arg0 interface{}) *gomock.Call

VerifyGovernanceTransfer indicates an expected call of VerifyGovernanceTransfer.

func (*MockBankingMockRecorder) WithdrawBuiltinAsset

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

WithdrawBuiltinAsset indicates an expected call of WithdrawBuiltinAsset.

func (*MockBankingMockRecorder) WithdrawERC20

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

WithdrawERC20 indicates an expected call of WithdrawERC20.

type MockCheckpoint

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

MockCheckpoint is a mock of Checkpoint interface.

func NewMockCheckpoint

func NewMockCheckpoint(ctrl *gomock.Controller) *MockCheckpoint

NewMockCheckpoint creates a new mock instance.

func (*MockCheckpoint) BalanceCheckpoint

func (m *MockCheckpoint) BalanceCheckpoint(arg0 context.Context) (*types.CheckpointState, error)

BalanceCheckpoint mocks base method.

func (*MockCheckpoint) Checkpoint

func (m *MockCheckpoint) Checkpoint(arg0 context.Context, arg1 time.Time) (*types.CheckpointState, error)

Checkpoint mocks base method.

func (*MockCheckpoint) EXPECT

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

type MockCheckpointMockRecorder

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

MockCheckpointMockRecorder is the mock recorder for MockCheckpoint.

func (*MockCheckpointMockRecorder) BalanceCheckpoint

func (mr *MockCheckpointMockRecorder) BalanceCheckpoint(arg0 interface{}) *gomock.Call

BalanceCheckpoint indicates an expected call of BalanceCheckpoint.

func (*MockCheckpointMockRecorder) Checkpoint

func (mr *MockCheckpointMockRecorder) Checkpoint(arg0, arg1 interface{}) *gomock.Call

Checkpoint indicates an expected call of Checkpoint.

type MockDelegationEngine

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

MockDelegationEngine is a mock of DelegationEngine interface.

func NewMockDelegationEngine

func NewMockDelegationEngine(ctrl *gomock.Controller) *MockDelegationEngine

NewMockDelegationEngine creates a new mock instance.

func (*MockDelegationEngine) Delegate

func (m *MockDelegationEngine) Delegate(arg0 context.Context, arg1, arg2 string, arg3 *num.Uint) error

Delegate mocks base method.

func (*MockDelegationEngine) EXPECT

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

func (*MockDelegationEngine) Hash

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

Hash mocks base method.

func (*MockDelegationEngine) ProcessEpochDelegations

func (m *MockDelegationEngine) ProcessEpochDelegations(arg0 context.Context, arg1 types.Epoch) []*types.ValidatorData

ProcessEpochDelegations mocks base method.

func (*MockDelegationEngine) UndelegateAtEndOfEpoch

func (m *MockDelegationEngine) UndelegateAtEndOfEpoch(arg0 context.Context, arg1, arg2 string, arg3 *num.Uint) error

UndelegateAtEndOfEpoch mocks base method.

func (*MockDelegationEngine) UndelegateNow

func (m *MockDelegationEngine) UndelegateNow(arg0 context.Context, arg1, arg2 string, arg3 *num.Uint) error

UndelegateNow mocks base method.

type MockDelegationEngineMockRecorder

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

MockDelegationEngineMockRecorder is the mock recorder for MockDelegationEngine.

func (*MockDelegationEngineMockRecorder) Delegate

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

Delegate indicates an expected call of Delegate.

func (*MockDelegationEngineMockRecorder) Hash

Hash indicates an expected call of Hash.

func (*MockDelegationEngineMockRecorder) ProcessEpochDelegations

func (mr *MockDelegationEngineMockRecorder) ProcessEpochDelegations(arg0, arg1 interface{}) *gomock.Call

ProcessEpochDelegations indicates an expected call of ProcessEpochDelegations.

func (*MockDelegationEngineMockRecorder) UndelegateAtEndOfEpoch

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

UndelegateAtEndOfEpoch indicates an expected call of UndelegateAtEndOfEpoch.

func (*MockDelegationEngineMockRecorder) UndelegateNow

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

UndelegateNow indicates an expected call of UndelegateNow.

type MockERC20MultiSigTopology

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

MockERC20MultiSigTopology is a mock of ERC20MultiSigTopology interface.

func NewMockERC20MultiSigTopology

func NewMockERC20MultiSigTopology(ctrl *gomock.Controller) *MockERC20MultiSigTopology

NewMockERC20MultiSigTopology creates a new mock instance.

func (*MockERC20MultiSigTopology) EXPECT

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

func (*MockERC20MultiSigTopology) ProcessSignerEvent

func (m *MockERC20MultiSigTopology) ProcessSignerEvent(arg0 *types.SignerEvent) error

ProcessSignerEvent mocks base method.

func (*MockERC20MultiSigTopology) ProcessThresholdEvent

func (m *MockERC20MultiSigTopology) ProcessThresholdEvent(arg0 *types.SignerThresholdSetEvent) error

ProcessThresholdEvent mocks base method.

type MockERC20MultiSigTopologyMockRecorder

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

MockERC20MultiSigTopologyMockRecorder is the mock recorder for MockERC20MultiSigTopology.

func (*MockERC20MultiSigTopologyMockRecorder) ProcessSignerEvent

func (mr *MockERC20MultiSigTopologyMockRecorder) ProcessSignerEvent(arg0 interface{}) *gomock.Call

ProcessSignerEvent indicates an expected call of ProcessSignerEvent.

func (*MockERC20MultiSigTopologyMockRecorder) ProcessThresholdEvent

func (mr *MockERC20MultiSigTopologyMockRecorder) ProcessThresholdEvent(arg0 interface{}) *gomock.Call

ProcessThresholdEvent indicates an expected call of ProcessThresholdEvent.

type MockEpochService

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

MockEpochService is a mock of EpochService interface.

func NewMockEpochService

func NewMockEpochService(ctrl *gomock.Controller) *MockEpochService

NewMockEpochService creates a new mock instance.

func (*MockEpochService) EXPECT

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

func (*MockEpochService) NotifyOnEpoch

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

NotifyOnEpoch mocks base method.

func (*MockEpochService) OnBlockEnd

func (m *MockEpochService) OnBlockEnd(arg0 context.Context)

OnBlockEnd mocks base method.

type MockEpochServiceMockRecorder

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

MockEpochServiceMockRecorder is the mock recorder for MockEpochService.

func (*MockEpochServiceMockRecorder) NotifyOnEpoch

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

NotifyOnEpoch indicates an expected call of NotifyOnEpoch.

func (*MockEpochServiceMockRecorder) OnBlockEnd

func (mr *MockEpochServiceMockRecorder) OnBlockEnd(arg0 interface{}) *gomock.Call

OnBlockEnd indicates an expected call of OnBlockEnd.

type MockEvtForwarder

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

MockEvtForwarder is a mock of EvtForwarder interface.

func NewMockEvtForwarder

func NewMockEvtForwarder(ctrl *gomock.Controller) *MockEvtForwarder

NewMockEvtForwarder creates a new mock instance.

func (*MockEvtForwarder) Ack

func (m *MockEvtForwarder) Ack(arg0 *v1.ChainEvent) bool

Ack mocks base method.

func (*MockEvtForwarder) EXPECT

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

type MockEvtForwarderMockRecorder

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

MockEvtForwarderMockRecorder is the mock recorder for MockEvtForwarder.

func (*MockEvtForwarderMockRecorder) Ack

func (mr *MockEvtForwarderMockRecorder) Ack(arg0 interface{}) *gomock.Call

Ack indicates an expected call of Ack.

type MockExecutionEngine

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

MockExecutionEngine is a mock of ExecutionEngine interface.

func NewMockExecutionEngine

func NewMockExecutionEngine(ctrl *gomock.Controller) *MockExecutionEngine

NewMockExecutionEngine creates a new mock instance.

func (*MockExecutionEngine) AmendLiquidityProvision

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

AmendLiquidityProvision mocks base method.

func (*MockExecutionEngine) AmendOrder

AmendOrder mocks base method.

func (*MockExecutionEngine) BeginBlock added in v0.73.0

func (m *MockExecutionEngine) BeginBlock(arg0 context.Context)

BeginBlock mocks base method.

func (*MockExecutionEngine) BlockEnd added in v0.63.0

func (m *MockExecutionEngine) BlockEnd(arg0 context.Context)

BlockEnd mocks base method.

func (*MockExecutionEngine) CancelLiquidityProvision

func (m *MockExecutionEngine) CancelLiquidityProvision(arg0 context.Context, arg1 *types.LiquidityProvisionCancellation, arg2 string) error

CancelLiquidityProvision mocks base method.

func (*MockExecutionEngine) CancelOrder

CancelOrder mocks base method.

func (*MockExecutionEngine) CancelStopOrders added in v0.72.0

func (m *MockExecutionEngine) CancelStopOrders(arg0 context.Context, arg1 *types.StopOrdersCancellation, arg2 string, arg3 common0.IDGenerator) error

CancelStopOrders mocks base method.

func (*MockExecutionEngine) EXPECT

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

func (*MockExecutionEngine) Hash

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

Hash mocks base method.

func (*MockExecutionEngine) RejectMarket

func (m *MockExecutionEngine) RejectMarket(arg0 context.Context, arg1 string) error

RejectMarket mocks base method.

func (*MockExecutionEngine) StartOpeningAuction

func (m *MockExecutionEngine) StartOpeningAuction(arg0 context.Context, arg1 string) error

StartOpeningAuction mocks base method.

func (*MockExecutionEngine) SubmitLiquidityProvision

func (m *MockExecutionEngine) SubmitLiquidityProvision(arg0 context.Context, arg1 *types.LiquidityProvisionSubmission, arg2, arg3 string) error

SubmitLiquidityProvision mocks base method.

func (*MockExecutionEngine) SubmitMarket

func (m *MockExecutionEngine) SubmitMarket(arg0 context.Context, arg1 *types.Market, arg2 string, arg3 time.Time) error

SubmitMarket mocks base method.

func (*MockExecutionEngine) SubmitOrder

SubmitOrder mocks base method.

func (*MockExecutionEngine) SubmitSpotMarket added in v0.73.0

func (m *MockExecutionEngine) SubmitSpotMarket(arg0 context.Context, arg1 *types.Market, arg2 string, arg3 time.Time) error

SubmitSpotMarket mocks base method.

func (*MockExecutionEngine) SubmitStopOrders added in v0.72.0

func (m *MockExecutionEngine) SubmitStopOrders(arg0 context.Context, arg1 *types.StopOrdersSubmission, arg2 string, arg3 common0.IDGenerator, arg4, arg5 *string) (*types.OrderConfirmation, error)

SubmitStopOrders mocks base method.

func (*MockExecutionEngine) SucceedMarket added in v0.72.0

func (m *MockExecutionEngine) SucceedMarket(arg0 context.Context, arg1, arg2 string) error

SucceedMarket mocks base method.

func (*MockExecutionEngine) UpdateMarket

func (m *MockExecutionEngine) UpdateMarket(arg0 context.Context, arg1 *types.Market) error

UpdateMarket mocks base method.

func (*MockExecutionEngine) UpdateMarketState added in v0.73.0

UpdateMarketState mocks base method.

func (*MockExecutionEngine) UpdateSpotMarket added in v0.73.0

func (m *MockExecutionEngine) UpdateSpotMarket(arg0 context.Context, arg1 *types.Market) error

UpdateSpotMarket mocks base method.

func (*MockExecutionEngine) VerifyUpdateMarketState added in v0.73.0

func (m *MockExecutionEngine) VerifyUpdateMarketState(arg0 *types.MarketStateUpdateConfiguration) error

VerifyUpdateMarketState mocks base method.

type MockExecutionEngineMockRecorder

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

MockExecutionEngineMockRecorder is the mock recorder for MockExecutionEngine.

func (*MockExecutionEngineMockRecorder) AmendLiquidityProvision

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

AmendLiquidityProvision indicates an expected call of AmendLiquidityProvision.

func (*MockExecutionEngineMockRecorder) AmendOrder

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

AmendOrder indicates an expected call of AmendOrder.

func (*MockExecutionEngineMockRecorder) BeginBlock added in v0.73.0

func (mr *MockExecutionEngineMockRecorder) BeginBlock(arg0 interface{}) *gomock.Call

BeginBlock indicates an expected call of BeginBlock.

func (*MockExecutionEngineMockRecorder) BlockEnd added in v0.63.0

func (mr *MockExecutionEngineMockRecorder) BlockEnd(arg0 interface{}) *gomock.Call

BlockEnd indicates an expected call of BlockEnd.

func (*MockExecutionEngineMockRecorder) CancelLiquidityProvision

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

CancelLiquidityProvision indicates an expected call of CancelLiquidityProvision.

func (*MockExecutionEngineMockRecorder) CancelOrder

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

CancelOrder indicates an expected call of CancelOrder.

func (*MockExecutionEngineMockRecorder) CancelStopOrders added in v0.72.0

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

CancelStopOrders indicates an expected call of CancelStopOrders.

func (*MockExecutionEngineMockRecorder) Hash

Hash indicates an expected call of Hash.

func (*MockExecutionEngineMockRecorder) RejectMarket

func (mr *MockExecutionEngineMockRecorder) RejectMarket(arg0, arg1 interface{}) *gomock.Call

RejectMarket indicates an expected call of RejectMarket.

func (*MockExecutionEngineMockRecorder) StartOpeningAuction

func (mr *MockExecutionEngineMockRecorder) StartOpeningAuction(arg0, arg1 interface{}) *gomock.Call

StartOpeningAuction indicates an expected call of StartOpeningAuction.

func (*MockExecutionEngineMockRecorder) SubmitLiquidityProvision

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

SubmitLiquidityProvision indicates an expected call of SubmitLiquidityProvision.

func (*MockExecutionEngineMockRecorder) SubmitMarket

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

SubmitMarket indicates an expected call of SubmitMarket.

func (*MockExecutionEngineMockRecorder) SubmitOrder

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

SubmitOrder indicates an expected call of SubmitOrder.

func (*MockExecutionEngineMockRecorder) SubmitSpotMarket added in v0.73.0

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

SubmitSpotMarket indicates an expected call of SubmitSpotMarket.

func (*MockExecutionEngineMockRecorder) SubmitStopOrders added in v0.72.0

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

SubmitStopOrders indicates an expected call of SubmitStopOrders.

func (*MockExecutionEngineMockRecorder) SucceedMarket added in v0.72.0

func (mr *MockExecutionEngineMockRecorder) SucceedMarket(arg0, arg1, arg2 interface{}) *gomock.Call

SucceedMarket indicates an expected call of SucceedMarket.

func (*MockExecutionEngineMockRecorder) UpdateMarket

func (mr *MockExecutionEngineMockRecorder) UpdateMarket(arg0, arg1 interface{}) *gomock.Call

UpdateMarket indicates an expected call of UpdateMarket.

func (*MockExecutionEngineMockRecorder) UpdateMarketState added in v0.73.0

func (mr *MockExecutionEngineMockRecorder) UpdateMarketState(arg0, arg1 interface{}) *gomock.Call

UpdateMarketState indicates an expected call of UpdateMarketState.

func (*MockExecutionEngineMockRecorder) UpdateSpotMarket added in v0.73.0

func (mr *MockExecutionEngineMockRecorder) UpdateSpotMarket(arg0, arg1 interface{}) *gomock.Call

UpdateSpotMarket indicates an expected call of UpdateSpotMarket.

func (*MockExecutionEngineMockRecorder) VerifyUpdateMarketState added in v0.73.0

func (mr *MockExecutionEngineMockRecorder) VerifyUpdateMarketState(arg0 interface{}) *gomock.Call

VerifyUpdateMarketState indicates an expected call of VerifyUpdateMarketState.

type MockGovernanceEngine

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

MockGovernanceEngine is a mock of GovernanceEngine interface.

func NewMockGovernanceEngine

func NewMockGovernanceEngine(ctrl *gomock.Controller) *MockGovernanceEngine

NewMockGovernanceEngine creates a new mock instance.

func (*MockGovernanceEngine) AddVote

func (m *MockGovernanceEngine) AddVote(arg0 context.Context, arg1 types.VoteSubmission, arg2 string) error

AddVote mocks base method.

func (*MockGovernanceEngine) EXPECT

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

func (*MockGovernanceEngine) FinaliseEnactment

func (m *MockGovernanceEngine) FinaliseEnactment(arg0 context.Context, arg1 *types.Proposal)

FinaliseEnactment mocks base method.

func (*MockGovernanceEngine) Hash

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

Hash mocks base method.

func (*MockGovernanceEngine) OnTick

OnTick mocks base method.

func (*MockGovernanceEngine) RejectProposal

func (m *MockGovernanceEngine) RejectProposal(arg0 context.Context, arg1 *types.Proposal, arg2 vega.ProposalError, arg3 error) error

RejectProposal mocks base method.

func (*MockGovernanceEngine) SubmitProposal

func (m *MockGovernanceEngine) SubmitProposal(arg0 context.Context, arg1 types.ProposalSubmission, arg2, arg3 string) (*governance.ToSubmit, error)

SubmitProposal mocks base method.

type MockGovernanceEngineMockRecorder

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

MockGovernanceEngineMockRecorder is the mock recorder for MockGovernanceEngine.

func (*MockGovernanceEngineMockRecorder) AddVote

func (mr *MockGovernanceEngineMockRecorder) AddVote(arg0, arg1, arg2 interface{}) *gomock.Call

AddVote indicates an expected call of AddVote.

func (*MockGovernanceEngineMockRecorder) FinaliseEnactment

func (mr *MockGovernanceEngineMockRecorder) FinaliseEnactment(arg0, arg1 interface{}) *gomock.Call

FinaliseEnactment indicates an expected call of FinaliseEnactment.

func (*MockGovernanceEngineMockRecorder) Hash

Hash indicates an expected call of Hash.

func (*MockGovernanceEngineMockRecorder) OnTick

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

OnTick indicates an expected call of OnTick.

func (*MockGovernanceEngineMockRecorder) RejectProposal

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

RejectProposal indicates an expected call of RejectProposal.

func (*MockGovernanceEngineMockRecorder) SubmitProposal

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

SubmitProposal indicates an expected call of SubmitProposal.

type MockLimits

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

MockLimits is a mock of Limits interface.

func NewMockLimits

func NewMockLimits(ctrl *gomock.Controller) *MockLimits

NewMockLimits creates a new mock instance.

func (*MockLimits) CanProposeAsset

func (m *MockLimits) CanProposeAsset() bool

CanProposeAsset mocks base method.

func (*MockLimits) CanProposeMarket

func (m *MockLimits) CanProposeMarket() bool

CanProposeMarket mocks base method.

func (*MockLimits) CanProposePerpsMarket added in v0.73.0

func (m *MockLimits) CanProposePerpsMarket() bool

CanProposePerpsMarket mocks base method.

func (*MockLimits) CanProposeSpotMarket added in v0.73.0

func (m *MockLimits) CanProposeSpotMarket() bool

CanProposeSpotMarket mocks base method.

func (*MockLimits) CanTrade

func (m *MockLimits) CanTrade() bool

CanTrade mocks base method.

func (*MockLimits) EXPECT

func (m *MockLimits) EXPECT() *MockLimitsMockRecorder

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

type MockLimitsMockRecorder

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

MockLimitsMockRecorder is the mock recorder for MockLimits.

func (*MockLimitsMockRecorder) CanProposeAsset

func (mr *MockLimitsMockRecorder) CanProposeAsset() *gomock.Call

CanProposeAsset indicates an expected call of CanProposeAsset.

func (*MockLimitsMockRecorder) CanProposeMarket

func (mr *MockLimitsMockRecorder) CanProposeMarket() *gomock.Call

CanProposeMarket indicates an expected call of CanProposeMarket.

func (*MockLimitsMockRecorder) CanProposePerpsMarket added in v0.73.0

func (mr *MockLimitsMockRecorder) CanProposePerpsMarket() *gomock.Call

CanProposePerpsMarket indicates an expected call of CanProposePerpsMarket.

func (*MockLimitsMockRecorder) CanProposeSpotMarket added in v0.73.0

func (mr *MockLimitsMockRecorder) CanProposeSpotMarket() *gomock.Call

CanProposeSpotMarket indicates an expected call of CanProposeSpotMarket.

func (*MockLimitsMockRecorder) CanTrade

func (mr *MockLimitsMockRecorder) CanTrade() *gomock.Call

CanTrade indicates an expected call of CanTrade.

type MockNetworkParameters

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

MockNetworkParameters is a mock of NetworkParameters interface.

func NewMockNetworkParameters

func NewMockNetworkParameters(ctrl *gomock.Controller) *MockNetworkParameters

NewMockNetworkParameters creates a new mock instance.

func (*MockNetworkParameters) DispatchChanges

func (m *MockNetworkParameters) DispatchChanges(arg0 context.Context)

DispatchChanges mocks base method.

func (*MockNetworkParameters) EXPECT

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

func (*MockNetworkParameters) GetInt added in v0.73.0

func (m *MockNetworkParameters) GetInt(arg0 string) (int64, error)

GetInt mocks base method.

func (*MockNetworkParameters) IsUpdateAllowed added in v0.56.0

func (m *MockNetworkParameters) IsUpdateAllowed(arg0 string) error

IsUpdateAllowed mocks base method.

func (*MockNetworkParameters) Update

func (m *MockNetworkParameters) Update(arg0 context.Context, arg1, arg2 string) error

Update mocks base method.

type MockNetworkParametersMockRecorder

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

MockNetworkParametersMockRecorder is the mock recorder for MockNetworkParameters.

func (*MockNetworkParametersMockRecorder) DispatchChanges

func (mr *MockNetworkParametersMockRecorder) DispatchChanges(arg0 interface{}) *gomock.Call

DispatchChanges indicates an expected call of DispatchChanges.

func (*MockNetworkParametersMockRecorder) GetInt added in v0.73.0

func (mr *MockNetworkParametersMockRecorder) GetInt(arg0 interface{}) *gomock.Call

GetInt indicates an expected call of GetInt.

func (*MockNetworkParametersMockRecorder) IsUpdateAllowed added in v0.56.0

func (mr *MockNetworkParametersMockRecorder) IsUpdateAllowed(arg0 interface{}) *gomock.Call

IsUpdateAllowed indicates an expected call of IsUpdateAllowed.

func (*MockNetworkParametersMockRecorder) Update

func (mr *MockNetworkParametersMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockNotary

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

MockNotary is a mock of Notary interface.

func NewMockNotary

func NewMockNotary(ctrl *gomock.Controller) *MockNotary

NewMockNotary creates a new mock instance.

func (*MockNotary) EXPECT

func (m *MockNotary) EXPECT() *MockNotaryMockRecorder

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

func (*MockNotary) IsSigned

func (m *MockNotary) IsSigned(arg0 context.Context, arg1 string, arg2 v1.NodeSignatureKind) ([]v1.NodeSignature, bool)

IsSigned mocks base method.

func (*MockNotary) RegisterSignature

func (m *MockNotary) RegisterSignature(arg0 context.Context, arg1 string, arg2 v1.NodeSignature) error

RegisterSignature mocks base method.

func (*MockNotary) StartAggregate

func (m *MockNotary) StartAggregate(arg0 string, arg1 v1.NodeSignatureKind, arg2 []byte)

StartAggregate mocks base method.

type MockNotaryMockRecorder

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

MockNotaryMockRecorder is the mock recorder for MockNotary.

func (*MockNotaryMockRecorder) IsSigned

func (mr *MockNotaryMockRecorder) IsSigned(arg0, arg1, arg2 interface{}) *gomock.Call

IsSigned indicates an expected call of IsSigned.

func (*MockNotaryMockRecorder) RegisterSignature

func (mr *MockNotaryMockRecorder) RegisterSignature(arg0, arg1, arg2 interface{}) *gomock.Call

RegisterSignature indicates an expected call of RegisterSignature.

func (*MockNotaryMockRecorder) StartAggregate

func (mr *MockNotaryMockRecorder) StartAggregate(arg0, arg1, arg2 interface{}) *gomock.Call

StartAggregate indicates an expected call of StartAggregate.

type MockOracleAdaptors

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

MockOracleAdaptors is a mock of OracleAdaptors interface.

func NewMockOracleAdaptors

func NewMockOracleAdaptors(ctrl *gomock.Controller) *MockOracleAdaptors

NewMockOracleAdaptors creates a new mock instance.

func (*MockOracleAdaptors) EXPECT

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

func (*MockOracleAdaptors) Normalise

Normalise mocks base method.

type MockOracleAdaptorsMockRecorder

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

MockOracleAdaptorsMockRecorder is the mock recorder for MockOracleAdaptors.

func (*MockOracleAdaptorsMockRecorder) Normalise

func (mr *MockOracleAdaptorsMockRecorder) Normalise(arg0, arg1 interface{}) *gomock.Call

Normalise indicates an expected call of Normalise.

type MockOraclesEngine

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

MockOraclesEngine is a mock of OraclesEngine interface.

func NewMockOraclesEngine

func NewMockOraclesEngine(ctrl *gomock.Controller) *MockOraclesEngine

NewMockOraclesEngine creates a new mock instance.

func (*MockOraclesEngine) BroadcastData

func (m *MockOraclesEngine) BroadcastData(arg0 context.Context, arg1 common.Data) error

BroadcastData mocks base method.

func (*MockOraclesEngine) EXPECT

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

func (*MockOraclesEngine) HasMatch added in v0.55.0

func (m *MockOraclesEngine) HasMatch(arg0 common.Data) (bool, error)

HasMatch mocks base method.

func (*MockOraclesEngine) ListensToSigners added in v0.61.0

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

ListensToSigners mocks base method.

type MockOraclesEngineMockRecorder

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

MockOraclesEngineMockRecorder is the mock recorder for MockOraclesEngine.

func (*MockOraclesEngineMockRecorder) BroadcastData

func (mr *MockOraclesEngineMockRecorder) BroadcastData(arg0, arg1 interface{}) *gomock.Call

BroadcastData indicates an expected call of BroadcastData.

func (*MockOraclesEngineMockRecorder) HasMatch added in v0.55.0

func (mr *MockOraclesEngineMockRecorder) HasMatch(arg0 interface{}) *gomock.Call

HasMatch indicates an expected call of HasMatch.

func (*MockOraclesEngineMockRecorder) ListensToSigners added in v0.61.0

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

ListensToSigners indicates an expected call of ListensToSigners.

type MockStakeVerifier

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

MockStakeVerifier is a mock of StakeVerifier interface.

func NewMockStakeVerifier

func NewMockStakeVerifier(ctrl *gomock.Controller) *MockStakeVerifier

NewMockStakeVerifier creates a new mock instance.

func (*MockStakeVerifier) EXPECT

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

func (*MockStakeVerifier) ProcessStakeDeposited

func (m *MockStakeVerifier) ProcessStakeDeposited(arg0 context.Context, arg1 *types.StakeDeposited) error

ProcessStakeDeposited mocks base method.

func (*MockStakeVerifier) ProcessStakeRemoved

func (m *MockStakeVerifier) ProcessStakeRemoved(arg0 context.Context, arg1 *types.StakeRemoved) error

ProcessStakeRemoved mocks base method.

type MockStakeVerifierMockRecorder

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

MockStakeVerifierMockRecorder is the mock recorder for MockStakeVerifier.

func (*MockStakeVerifierMockRecorder) ProcessStakeDeposited

func (mr *MockStakeVerifierMockRecorder) ProcessStakeDeposited(arg0, arg1 interface{}) *gomock.Call

ProcessStakeDeposited indicates an expected call of ProcessStakeDeposited.

func (*MockStakeVerifierMockRecorder) ProcessStakeRemoved

func (mr *MockStakeVerifierMockRecorder) ProcessStakeRemoved(arg0, arg1 interface{}) *gomock.Call

ProcessStakeRemoved indicates an expected call of ProcessStakeRemoved.

type MockStakingAccounts

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

MockStakingAccounts is a mock of StakingAccounts interface.

func NewMockStakingAccounts

func NewMockStakingAccounts(ctrl *gomock.Controller) *MockStakingAccounts

NewMockStakingAccounts creates a new mock instance.

func (*MockStakingAccounts) EXPECT

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

func (*MockStakingAccounts) Hash

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

Hash mocks base method.

func (*MockStakingAccounts) ProcessStakeTotalSupply

func (m *MockStakingAccounts) ProcessStakeTotalSupply(arg0 context.Context, arg1 *types.StakeTotalSupply) error

ProcessStakeTotalSupply mocks base method.

type MockStakingAccountsMockRecorder

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

MockStakingAccountsMockRecorder is the mock recorder for MockStakingAccounts.

func (*MockStakingAccountsMockRecorder) Hash

Hash indicates an expected call of Hash.

func (*MockStakingAccountsMockRecorder) ProcessStakeTotalSupply

func (mr *MockStakingAccountsMockRecorder) ProcessStakeTotalSupply(arg0, arg1 interface{}) *gomock.Call

ProcessStakeTotalSupply indicates an expected call of ProcessStakeTotalSupply.

type MockStats

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

MockStats is a mock of Stats interface.

func NewMockStats

func NewMockStats(ctrl *gomock.Controller) *MockStats

NewMockStats creates a new mock instance.

func (*MockStats) AddCurrentTradesInBatch

func (m *MockStats) AddCurrentTradesInBatch(arg0 uint64)

AddCurrentTradesInBatch mocks base method.

func (*MockStats) AddTotalTrades

func (m *MockStats) AddTotalTrades(arg0 uint64) uint64

AddTotalTrades mocks base method.

func (*MockStats) CurrentEventsInBatch added in v0.68.0

func (m *MockStats) CurrentEventsInBatch() uint64

CurrentEventsInBatch mocks base method.

func (*MockStats) CurrentOrdersInBatch

func (m *MockStats) CurrentOrdersInBatch() uint64

CurrentOrdersInBatch mocks base method.

func (*MockStats) CurrentTradesInBatch

func (m *MockStats) CurrentTradesInBatch() uint64

CurrentTradesInBatch mocks base method.

func (*MockStats) EXPECT

func (m *MockStats) EXPECT() *MockStatsMockRecorder

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

func (*MockStats) Height

func (m *MockStats) Height() uint64

Height mocks base method.

func (*MockStats) IncCurrentOrdersInBatch

func (m *MockStats) IncCurrentOrdersInBatch()

IncCurrentOrdersInBatch mocks base method.

func (*MockStats) IncHeight

func (m *MockStats) IncHeight()

IncHeight mocks base method.

func (*MockStats) IncTotalAmendOrder

func (m *MockStats) IncTotalAmendOrder()

IncTotalAmendOrder mocks base method.

func (*MockStats) IncTotalBatches

func (m *MockStats) IncTotalBatches()

IncTotalBatches mocks base method.

func (*MockStats) IncTotalCancelOrder

func (m *MockStats) IncTotalCancelOrder()

IncTotalCancelOrder mocks base method.

func (*MockStats) IncTotalCreateOrder

func (m *MockStats) IncTotalCreateOrder()

IncTotalCreateOrder mocks base method.

func (*MockStats) IncTotalOrders

func (m *MockStats) IncTotalOrders()

IncTotalOrders mocks base method.

func (*MockStats) IncTotalTxCurrentBatch

func (m *MockStats) IncTotalTxCurrentBatch()

IncTotalTxCurrentBatch mocks base method.

func (*MockStats) NewBatch

func (m *MockStats) NewBatch()

NewBatch mocks base method.

func (*MockStats) SetAverageOrdersPerBatch

func (m *MockStats) SetAverageOrdersPerBatch(arg0 uint64)

SetAverageOrdersPerBatch mocks base method.

func (*MockStats) SetAverageTxPerBatch

func (m *MockStats) SetAverageTxPerBatch(arg0 uint64)

SetAverageTxPerBatch mocks base method.

func (*MockStats) SetAverageTxSizeBytes

func (m *MockStats) SetAverageTxSizeBytes(arg0 uint64)

SetAverageTxSizeBytes mocks base method.

func (*MockStats) SetBlockDuration

func (m *MockStats) SetBlockDuration(arg0 uint64)

SetBlockDuration mocks base method.

func (*MockStats) SetEventsPerSecond added in v0.68.0

func (m *MockStats) SetEventsPerSecond(arg0 uint64)

SetEventsPerSecond mocks base method.

func (*MockStats) SetHash

func (m *MockStats) SetHash(arg0 string)

SetHash mocks base method.

func (*MockStats) SetHeight

func (m *MockStats) SetHeight(arg0 uint64)

SetHeight mocks base method.

func (*MockStats) SetOrdersPerSecond

func (m *MockStats) SetOrdersPerSecond(arg0 uint64)

SetOrdersPerSecond mocks base method.

func (*MockStats) SetTotalTxCurrentBatch

func (m *MockStats) SetTotalTxCurrentBatch(arg0 uint64)

SetTotalTxCurrentBatch mocks base method.

func (*MockStats) SetTotalTxLastBatch

func (m *MockStats) SetTotalTxLastBatch(arg0 uint64)

SetTotalTxLastBatch mocks base method.

func (*MockStats) SetTradesPerSecond

func (m *MockStats) SetTradesPerSecond(arg0 uint64)

SetTradesPerSecond mocks base method.

func (*MockStats) TotalBatches

func (m *MockStats) TotalBatches() uint64

TotalBatches mocks base method.

func (*MockStats) TotalOrders

func (m *MockStats) TotalOrders() uint64

TotalOrders mocks base method.

func (*MockStats) TotalTxCurrentBatch

func (m *MockStats) TotalTxCurrentBatch() uint64

TotalTxCurrentBatch mocks base method.

func (*MockStats) TotalTxLastBatch

func (m *MockStats) TotalTxLastBatch() uint64

TotalTxLastBatch mocks base method.

type MockStatsMockRecorder

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

MockStatsMockRecorder is the mock recorder for MockStats.

func (*MockStatsMockRecorder) AddCurrentTradesInBatch

func (mr *MockStatsMockRecorder) AddCurrentTradesInBatch(arg0 interface{}) *gomock.Call

AddCurrentTradesInBatch indicates an expected call of AddCurrentTradesInBatch.

func (*MockStatsMockRecorder) AddTotalTrades

func (mr *MockStatsMockRecorder) AddTotalTrades(arg0 interface{}) *gomock.Call

AddTotalTrades indicates an expected call of AddTotalTrades.

func (*MockStatsMockRecorder) CurrentEventsInBatch added in v0.68.0

func (mr *MockStatsMockRecorder) CurrentEventsInBatch() *gomock.Call

CurrentEventsInBatch indicates an expected call of CurrentEventsInBatch.

func (*MockStatsMockRecorder) CurrentOrdersInBatch

func (mr *MockStatsMockRecorder) CurrentOrdersInBatch() *gomock.Call

CurrentOrdersInBatch indicates an expected call of CurrentOrdersInBatch.

func (*MockStatsMockRecorder) CurrentTradesInBatch

func (mr *MockStatsMockRecorder) CurrentTradesInBatch() *gomock.Call

CurrentTradesInBatch indicates an expected call of CurrentTradesInBatch.

func (*MockStatsMockRecorder) Height

func (mr *MockStatsMockRecorder) Height() *gomock.Call

Height indicates an expected call of Height.

func (*MockStatsMockRecorder) IncCurrentOrdersInBatch

func (mr *MockStatsMockRecorder) IncCurrentOrdersInBatch() *gomock.Call

IncCurrentOrdersInBatch indicates an expected call of IncCurrentOrdersInBatch.

func (*MockStatsMockRecorder) IncHeight

func (mr *MockStatsMockRecorder) IncHeight() *gomock.Call

IncHeight indicates an expected call of IncHeight.

func (*MockStatsMockRecorder) IncTotalAmendOrder

func (mr *MockStatsMockRecorder) IncTotalAmendOrder() *gomock.Call

IncTotalAmendOrder indicates an expected call of IncTotalAmendOrder.

func (*MockStatsMockRecorder) IncTotalBatches

func (mr *MockStatsMockRecorder) IncTotalBatches() *gomock.Call

IncTotalBatches indicates an expected call of IncTotalBatches.

func (*MockStatsMockRecorder) IncTotalCancelOrder

func (mr *MockStatsMockRecorder) IncTotalCancelOrder() *gomock.Call

IncTotalCancelOrder indicates an expected call of IncTotalCancelOrder.

func (*MockStatsMockRecorder) IncTotalCreateOrder

func (mr *MockStatsMockRecorder) IncTotalCreateOrder() *gomock.Call

IncTotalCreateOrder indicates an expected call of IncTotalCreateOrder.

func (*MockStatsMockRecorder) IncTotalOrders

func (mr *MockStatsMockRecorder) IncTotalOrders() *gomock.Call

IncTotalOrders indicates an expected call of IncTotalOrders.

func (*MockStatsMockRecorder) IncTotalTxCurrentBatch

func (mr *MockStatsMockRecorder) IncTotalTxCurrentBatch() *gomock.Call

IncTotalTxCurrentBatch indicates an expected call of IncTotalTxCurrentBatch.

func (*MockStatsMockRecorder) NewBatch

func (mr *MockStatsMockRecorder) NewBatch() *gomock.Call

NewBatch indicates an expected call of NewBatch.

func (*MockStatsMockRecorder) SetAverageOrdersPerBatch

func (mr *MockStatsMockRecorder) SetAverageOrdersPerBatch(arg0 interface{}) *gomock.Call

SetAverageOrdersPerBatch indicates an expected call of SetAverageOrdersPerBatch.

func (*MockStatsMockRecorder) SetAverageTxPerBatch

func (mr *MockStatsMockRecorder) SetAverageTxPerBatch(arg0 interface{}) *gomock.Call

SetAverageTxPerBatch indicates an expected call of SetAverageTxPerBatch.

func (*MockStatsMockRecorder) SetAverageTxSizeBytes

func (mr *MockStatsMockRecorder) SetAverageTxSizeBytes(arg0 interface{}) *gomock.Call

SetAverageTxSizeBytes indicates an expected call of SetAverageTxSizeBytes.

func (*MockStatsMockRecorder) SetBlockDuration

func (mr *MockStatsMockRecorder) SetBlockDuration(arg0 interface{}) *gomock.Call

SetBlockDuration indicates an expected call of SetBlockDuration.

func (*MockStatsMockRecorder) SetEventsPerSecond added in v0.68.0

func (mr *MockStatsMockRecorder) SetEventsPerSecond(arg0 interface{}) *gomock.Call

SetEventsPerSecond indicates an expected call of SetEventsPerSecond.

func (*MockStatsMockRecorder) SetHash

func (mr *MockStatsMockRecorder) SetHash(arg0 interface{}) *gomock.Call

SetHash indicates an expected call of SetHash.

func (*MockStatsMockRecorder) SetHeight

func (mr *MockStatsMockRecorder) SetHeight(arg0 interface{}) *gomock.Call

SetHeight indicates an expected call of SetHeight.

func (*MockStatsMockRecorder) SetOrdersPerSecond

func (mr *MockStatsMockRecorder) SetOrdersPerSecond(arg0 interface{}) *gomock.Call

SetOrdersPerSecond indicates an expected call of SetOrdersPerSecond.

func (*MockStatsMockRecorder) SetTotalTxCurrentBatch

func (mr *MockStatsMockRecorder) SetTotalTxCurrentBatch(arg0 interface{}) *gomock.Call

SetTotalTxCurrentBatch indicates an expected call of SetTotalTxCurrentBatch.

func (*MockStatsMockRecorder) SetTotalTxLastBatch

func (mr *MockStatsMockRecorder) SetTotalTxLastBatch(arg0 interface{}) *gomock.Call

SetTotalTxLastBatch indicates an expected call of SetTotalTxLastBatch.

func (*MockStatsMockRecorder) SetTradesPerSecond

func (mr *MockStatsMockRecorder) SetTradesPerSecond(arg0 interface{}) *gomock.Call

SetTradesPerSecond indicates an expected call of SetTradesPerSecond.

func (*MockStatsMockRecorder) TotalBatches

func (mr *MockStatsMockRecorder) TotalBatches() *gomock.Call

TotalBatches indicates an expected call of TotalBatches.

func (*MockStatsMockRecorder) TotalOrders

func (mr *MockStatsMockRecorder) TotalOrders() *gomock.Call

TotalOrders indicates an expected call of TotalOrders.

func (*MockStatsMockRecorder) TotalTxCurrentBatch

func (mr *MockStatsMockRecorder) TotalTxCurrentBatch() *gomock.Call

TotalTxCurrentBatch indicates an expected call of TotalTxCurrentBatch.

func (*MockStatsMockRecorder) TotalTxLastBatch

func (mr *MockStatsMockRecorder) TotalTxLastBatch() *gomock.Call

TotalTxLastBatch indicates an expected call of TotalTxLastBatch.

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

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

GetTimeLastBatch mocks base method.

func (*MockTimeService) GetTimeNow

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

GetTimeNow mocks base method.

func (*MockTimeService) NotifyOnTick

func (m *MockTimeService) NotifyOnTick(arg0 ...func(context.Context, time.Time))

NotifyOnTick mocks base method.

func (*MockTimeService) SetTimeNow

func (m *MockTimeService) SetTimeNow(arg0 context.Context, arg1 time.Time)

SetTimeNow mocks base method.

type MockTimeServiceMockRecorder

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

MockTimeServiceMockRecorder is the mock recorder for MockTimeService.

func (*MockTimeServiceMockRecorder) GetTimeLastBatch

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

GetTimeLastBatch indicates an expected call of GetTimeLastBatch.

func (*MockTimeServiceMockRecorder) GetTimeNow

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

GetTimeNow indicates an expected call of GetTimeNow.

func (*MockTimeServiceMockRecorder) NotifyOnTick

func (mr *MockTimeServiceMockRecorder) NotifyOnTick(arg0 ...interface{}) *gomock.Call

NotifyOnTick indicates an expected call of NotifyOnTick.

func (*MockTimeServiceMockRecorder) SetTimeNow

func (mr *MockTimeServiceMockRecorder) SetTimeNow(arg0, arg1 interface{}) *gomock.Call

SetTimeNow indicates an expected call of SetTimeNow.

type MockValidatorTopology

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

MockValidatorTopology is a mock of ValidatorTopology interface.

func NewMockValidatorTopology

func NewMockValidatorTopology(ctrl *gomock.Controller) *MockValidatorTopology

NewMockValidatorTopology creates a new mock instance.

func (*MockValidatorTopology) AddForwarder

func (m *MockValidatorTopology) AddForwarder(arg0 string)

AddForwarder mocks base method.

func (*MockValidatorTopology) AddKeyRotate

func (m *MockValidatorTopology) AddKeyRotate(arg0 context.Context, arg1 string, arg2 uint64, arg3 *v1.KeyRotateSubmission) error

AddKeyRotate mocks base method.

func (*MockValidatorTopology) AllVegaPubKeys

func (m *MockValidatorTopology) AllVegaPubKeys() []string

AllVegaPubKeys mocks base method.

func (*MockValidatorTopology) BeginBlock

func (m *MockValidatorTopology) BeginBlock(arg0 context.Context, arg1 types0.RequestBeginBlock)

BeginBlock mocks base method.

func (*MockValidatorTopology) EXPECT

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

func (*MockValidatorTopology) GetValidatorPowerUpdates

func (m *MockValidatorTopology) GetValidatorPowerUpdates() []types0.ValidatorUpdate

GetValidatorPowerUpdates mocks base method.

func (*MockValidatorTopology) IsValidator

func (m *MockValidatorTopology) IsValidator() bool

IsValidator mocks base method.

func (*MockValidatorTopology) IsValidatorNodeID

func (m *MockValidatorTopology) IsValidatorNodeID(arg0 string) bool

IsValidatorNodeID mocks base method.

func (*MockValidatorTopology) IsValidatorVegaPubKey

func (m *MockValidatorTopology) IsValidatorVegaPubKey(arg0 string) bool

IsValidatorVegaPubKey mocks base method.

func (*MockValidatorTopology) IssueSignatures added in v0.55.0

func (m *MockValidatorTopology) IssueSignatures(arg0 context.Context, arg1, arg2 string, arg3 v1.NodeSignatureKind) error

IssueSignatures mocks base method.

func (*MockValidatorTopology) Len

func (m *MockValidatorTopology) Len() int

Len mocks base method.

func (*MockValidatorTopology) ProcessAnnounceNode

func (m *MockValidatorTopology) ProcessAnnounceNode(arg0 context.Context, arg1 *v1.AnnounceNode) error

ProcessAnnounceNode mocks base method.

func (*MockValidatorTopology) ProcessEthereumKeyRotation added in v0.58.0

func (m *MockValidatorTopology) ProcessEthereumKeyRotation(arg0 context.Context, arg1 string, arg2 *v1.EthereumKeyRotateSubmission, arg3 func([]byte, []byte, string) error) error

ProcessEthereumKeyRotation mocks base method.

func (*MockValidatorTopology) ProcessValidatorHeartbeat

func (m *MockValidatorTopology) ProcessValidatorHeartbeat(arg0 context.Context, arg1 *v1.ValidatorHeartbeat, arg2 func([]byte, []byte, []byte) error, arg3 func([]byte, []byte, string) error) error

ProcessValidatorHeartbeat mocks base method.

type MockValidatorTopologyMockRecorder

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

MockValidatorTopologyMockRecorder is the mock recorder for MockValidatorTopology.

func (*MockValidatorTopologyMockRecorder) AddForwarder

func (mr *MockValidatorTopologyMockRecorder) AddForwarder(arg0 interface{}) *gomock.Call

AddForwarder indicates an expected call of AddForwarder.

func (*MockValidatorTopologyMockRecorder) AddKeyRotate

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

AddKeyRotate indicates an expected call of AddKeyRotate.

func (*MockValidatorTopologyMockRecorder) AllVegaPubKeys

func (mr *MockValidatorTopologyMockRecorder) AllVegaPubKeys() *gomock.Call

AllVegaPubKeys indicates an expected call of AllVegaPubKeys.

func (*MockValidatorTopologyMockRecorder) BeginBlock

func (mr *MockValidatorTopologyMockRecorder) BeginBlock(arg0, arg1 interface{}) *gomock.Call

BeginBlock indicates an expected call of BeginBlock.

func (*MockValidatorTopologyMockRecorder) GetValidatorPowerUpdates

func (mr *MockValidatorTopologyMockRecorder) GetValidatorPowerUpdates() *gomock.Call

GetValidatorPowerUpdates indicates an expected call of GetValidatorPowerUpdates.

func (*MockValidatorTopologyMockRecorder) IsValidator

func (mr *MockValidatorTopologyMockRecorder) IsValidator() *gomock.Call

IsValidator indicates an expected call of IsValidator.

func (*MockValidatorTopologyMockRecorder) IsValidatorNodeID

func (mr *MockValidatorTopologyMockRecorder) IsValidatorNodeID(arg0 interface{}) *gomock.Call

IsValidatorNodeID indicates an expected call of IsValidatorNodeID.

func (*MockValidatorTopologyMockRecorder) IsValidatorVegaPubKey

func (mr *MockValidatorTopologyMockRecorder) IsValidatorVegaPubKey(arg0 interface{}) *gomock.Call

IsValidatorVegaPubKey indicates an expected call of IsValidatorVegaPubKey.

func (*MockValidatorTopologyMockRecorder) IssueSignatures added in v0.55.0

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

IssueSignatures indicates an expected call of IssueSignatures.

func (*MockValidatorTopologyMockRecorder) Len

Len indicates an expected call of Len.

func (*MockValidatorTopologyMockRecorder) ProcessAnnounceNode

func (mr *MockValidatorTopologyMockRecorder) ProcessAnnounceNode(arg0, arg1 interface{}) *gomock.Call

ProcessAnnounceNode indicates an expected call of ProcessAnnounceNode.

func (*MockValidatorTopologyMockRecorder) ProcessEthereumKeyRotation added in v0.58.0

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

ProcessEthereumKeyRotation indicates an expected call of ProcessEthereumKeyRotation.

func (*MockValidatorTopologyMockRecorder) ProcessValidatorHeartbeat

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

ProcessValidatorHeartbeat indicates an expected call of ProcessValidatorHeartbeat.

type MockWitness

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

MockWitness is a mock of Witness interface.

func NewMockWitness

func NewMockWitness(ctrl *gomock.Controller) *MockWitness

NewMockWitness creates a new mock instance.

func (*MockWitness) AddNodeCheck

func (m *MockWitness) AddNodeCheck(arg0 context.Context, arg1 *v1.NodeVote, arg2 crypto.PublicKey) error

AddNodeCheck mocks base method.

func (*MockWitness) EXPECT

func (m *MockWitness) EXPECT() *MockWitnessMockRecorder

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

type MockWitnessMockRecorder

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

MockWitnessMockRecorder is the mock recorder for MockWitness.

func (*MockWitnessMockRecorder) AddNodeCheck

func (mr *MockWitnessMockRecorder) AddNodeCheck(arg0, arg1, arg2 interface{}) *gomock.Call

AddNodeCheck indicates an expected call of AddNodeCheck.

Jump to

Keyboard shortcuts

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