Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAssets
- func (m *MockAssets) EXPECT() *MockAssetsMockRecorder
- func (m *MockAssets) EnactPendingAsset(arg0 string)
- func (m *MockAssets) Get(arg0 string) (*assets.Asset, error)
- func (m *MockAssets) IsEnabled(arg0 string) bool
- func (m *MockAssets) NewAsset(arg0 context.Context, arg1 string, arg2 *types.AssetDetails) (string, error)
- func (m *MockAssets) StageAssetUpdate(arg0 *types.Asset) error
- type MockAssetsMockRecorder
- func (mr *MockAssetsMockRecorder) EnactPendingAsset(arg0 interface{}) *gomock.Call
- func (mr *MockAssetsMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockAssetsMockRecorder) IsEnabled(arg0 interface{}) *gomock.Call
- func (mr *MockAssetsMockRecorder) NewAsset(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAssetsMockRecorder) StageAssetUpdate(arg0 interface{}) *gomock.Call
- type MockBanking
- func (m *MockBanking) BridgeResumed(arg0 context.Context, arg1 bool, arg2 string, arg3, arg4 uint64, arg5 string) error
- func (m *MockBanking) BridgeStopped(arg0 context.Context, arg1 bool, arg2 string, arg3, arg4 uint64, arg5 string) error
- func (m *MockBanking) CancelTransferFunds(arg0 context.Context, arg1 *types.CancelTransferFunds) error
- func (m *MockBanking) DepositBuiltinAsset(arg0 context.Context, arg1 *types.BuiltinAssetDeposit, arg2 string, ...) error
- func (m *MockBanking) DepositERC20(arg0 context.Context, arg1 *types.ERC20Deposit, arg2 string, arg3, arg4 uint64, ...) error
- func (m *MockBanking) ERC20WithdrawalEvent(arg0 context.Context, arg1 *types.ERC20Withdrawal, arg2, arg3 uint64, ...) error
- func (m *MockBanking) EXPECT() *MockBankingMockRecorder
- func (m *MockBanking) EnableBuiltinAsset(arg0 context.Context, arg1 string) error
- func (m *MockBanking) EnableERC20(arg0 context.Context, arg1 *types.ERC20AssetList, arg2 string, ...) error
- func (m *MockBanking) TransferFunds(arg0 context.Context, arg1 *types.TransferFunds) error
- func (m *MockBanking) UpdateERC20(arg0 context.Context, arg1 *types.ERC20AssetLimitsUpdated, arg2 string, ...) error
- func (m *MockBanking) WithdrawBuiltinAsset(arg0 context.Context, arg1, arg2, arg3 string, arg4 *num.Uint) error
- func (m *MockBanking) WithdrawERC20(arg0 context.Context, arg1, arg2, arg3 string, arg4 *num.Uint, ...) error
- type MockBankingMockRecorder
- func (mr *MockBankingMockRecorder) BridgeResumed(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) BridgeStopped(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) CancelTransferFunds(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) DepositBuiltinAsset(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) DepositERC20(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) ERC20WithdrawalEvent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) EnableBuiltinAsset(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) EnableERC20(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) TransferFunds(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) UpdateERC20(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) WithdrawBuiltinAsset(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) WithdrawERC20(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- type MockCheckpoint
- type MockCheckpointMockRecorder
- type MockDelegationEngine
- func (m *MockDelegationEngine) Delegate(arg0 context.Context, arg1, arg2 string, arg3 *num.Uint) error
- func (m *MockDelegationEngine) EXPECT() *MockDelegationEngineMockRecorder
- func (m *MockDelegationEngine) Hash() []byte
- func (m *MockDelegationEngine) ProcessEpochDelegations(arg0 context.Context, arg1 types.Epoch) []*types.ValidatorData
- func (m *MockDelegationEngine) UndelegateAtEndOfEpoch(arg0 context.Context, arg1, arg2 string, arg3 *num.Uint) error
- func (m *MockDelegationEngine) UndelegateNow(arg0 context.Context, arg1, arg2 string, arg3 *num.Uint) error
- type MockDelegationEngineMockRecorder
- func (mr *MockDelegationEngineMockRecorder) Delegate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDelegationEngineMockRecorder) Hash() *gomock.Call
- func (mr *MockDelegationEngineMockRecorder) ProcessEpochDelegations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDelegationEngineMockRecorder) UndelegateAtEndOfEpoch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDelegationEngineMockRecorder) UndelegateNow(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockERC20MultiSigTopology
- type MockERC20MultiSigTopologyMockRecorder
- type MockEpochService
- type MockEpochServiceMockRecorder
- type MockEvtForwarder
- type MockEvtForwarderMockRecorder
- type MockExecutionEngine
- func (m *MockExecutionEngine) AmendLiquidityProvision(arg0 context.Context, arg1 *types.LiquidityProvisionAmendment, ...) error
- func (m *MockExecutionEngine) AmendOrder(arg0 context.Context, arg1 *types.OrderAmendment, arg2 string, ...) (*types.OrderConfirmation, error)
- func (m *MockExecutionEngine) BlockEnd(arg0 context.Context)
- func (m *MockExecutionEngine) CancelLiquidityProvision(arg0 context.Context, arg1 *types.LiquidityProvisionCancellation, arg2 string) error
- func (m *MockExecutionEngine) CancelOrder(arg0 context.Context, arg1 *types.OrderCancellation, arg2 string, ...) ([]*types.OrderCancellationConfirmation, error)
- func (m *MockExecutionEngine) EXPECT() *MockExecutionEngineMockRecorder
- func (m *MockExecutionEngine) Hash() []byte
- func (m *MockExecutionEngine) RejectMarket(arg0 context.Context, arg1 string) error
- func (m *MockExecutionEngine) StartOpeningAuction(arg0 context.Context, arg1 string) error
- func (m *MockExecutionEngine) SubmitLiquidityProvision(arg0 context.Context, arg1 *types.LiquidityProvisionSubmission, ...) error
- func (m *MockExecutionEngine) SubmitMarket(arg0 context.Context, arg1 *types.Market, arg2 string) error
- func (m *MockExecutionEngine) SubmitOrder(arg0 context.Context, arg1 *types.OrderSubmission, arg2 string, ...) (*types.OrderConfirmation, error)
- func (m *MockExecutionEngine) UpdateMarket(arg0 context.Context, arg1 *types.Market) error
- type MockExecutionEngineMockRecorder
- func (mr *MockExecutionEngineMockRecorder) AmendLiquidityProvision(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) AmendOrder(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) BlockEnd(arg0 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) CancelLiquidityProvision(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) CancelOrder(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) Hash() *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) RejectMarket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) StartOpeningAuction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) SubmitLiquidityProvision(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) SubmitMarket(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) SubmitOrder(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) UpdateMarket(arg0, arg1 interface{}) *gomock.Call
- type MockGovernanceEngine
- func (m *MockGovernanceEngine) AddVote(arg0 context.Context, arg1 types.VoteSubmission, arg2 string) error
- func (m *MockGovernanceEngine) EXPECT() *MockGovernanceEngineMockRecorder
- func (m *MockGovernanceEngine) FinaliseEnactment(arg0 context.Context, arg1 *types.Proposal)
- func (m *MockGovernanceEngine) Hash() []byte
- func (m *MockGovernanceEngine) OnTick(arg0 context.Context, arg1 time.Time) ([]*governance.ToEnact, []*governance.VoteClosed)
- func (m *MockGovernanceEngine) RejectProposal(arg0 context.Context, arg1 *types.Proposal, arg2 vega.ProposalError, ...) error
- func (m *MockGovernanceEngine) SubmitProposal(arg0 context.Context, arg1 types.ProposalSubmission, arg2, arg3 string) (*governance.ToSubmit, error)
- type MockGovernanceEngineMockRecorder
- func (mr *MockGovernanceEngineMockRecorder) AddVote(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGovernanceEngineMockRecorder) FinaliseEnactment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGovernanceEngineMockRecorder) Hash() *gomock.Call
- func (mr *MockGovernanceEngineMockRecorder) OnTick(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGovernanceEngineMockRecorder) RejectProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGovernanceEngineMockRecorder) SubmitProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockLimits
- type MockLimitsMockRecorder
- type MockNetworkParameters
- type MockNetworkParametersMockRecorder
- type MockNotary
- func (m *MockNotary) EXPECT() *MockNotaryMockRecorder
- func (m *MockNotary) IsSigned(arg0 context.Context, arg1 string, arg2 v1.NodeSignatureKind) ([]v1.NodeSignature, bool)
- func (m *MockNotary) RegisterSignature(arg0 context.Context, arg1 string, arg2 v1.NodeSignature) error
- func (m *MockNotary) StartAggregate(arg0 string, arg1 v1.NodeSignatureKind, arg2 []byte)
- type MockNotaryMockRecorder
- type MockOracleAdaptors
- type MockOracleAdaptorsMockRecorder
- type MockOraclesEngine
- func (m *MockOraclesEngine) BroadcastData(arg0 context.Context, arg1 oracles.OracleData) error
- func (m *MockOraclesEngine) EXPECT() *MockOraclesEngineMockRecorder
- func (m *MockOraclesEngine) HasMatch(arg0 oracles.OracleData) (bool, error)
- func (m *MockOraclesEngine) ListensToSigners(arg0 oracles.OracleData) bool
- type MockOraclesEngineMockRecorder
- type MockStakeVerifier
- type MockStakeVerifierMockRecorder
- type MockStakingAccounts
- type MockStakingAccountsMockRecorder
- type MockStats
- func (m *MockStats) AddCurrentTradesInBatch(arg0 uint64)
- func (m *MockStats) AddTotalTrades(arg0 uint64) uint64
- func (m *MockStats) CurrentOrdersInBatch() uint64
- func (m *MockStats) CurrentTradesInBatch() uint64
- func (m *MockStats) EXPECT() *MockStatsMockRecorder
- func (m *MockStats) Height() uint64
- func (m *MockStats) IncCurrentOrdersInBatch()
- func (m *MockStats) IncHeight()
- func (m *MockStats) IncTotalAmendOrder()
- func (m *MockStats) IncTotalBatches()
- func (m *MockStats) IncTotalCancelOrder()
- func (m *MockStats) IncTotalCreateOrder()
- func (m *MockStats) IncTotalOrders()
- func (m *MockStats) IncTotalTxCurrentBatch()
- func (m *MockStats) NewBatch()
- func (m *MockStats) SetAverageOrdersPerBatch(arg0 uint64)
- func (m *MockStats) SetAverageTxPerBatch(arg0 uint64)
- func (m *MockStats) SetAverageTxSizeBytes(arg0 uint64)
- func (m *MockStats) SetBlockDuration(arg0 uint64)
- func (m *MockStats) SetHash(arg0 string)
- func (m *MockStats) SetHeight(arg0 uint64)
- func (m *MockStats) SetOrdersPerSecond(arg0 uint64)
- func (m *MockStats) SetTotalTxCurrentBatch(arg0 uint64)
- func (m *MockStats) SetTotalTxLastBatch(arg0 uint64)
- func (m *MockStats) SetTradesPerSecond(arg0 uint64)
- func (m *MockStats) TotalBatches() uint64
- func (m *MockStats) TotalOrders() uint64
- func (m *MockStats) TotalTxCurrentBatch() uint64
- func (m *MockStats) TotalTxLastBatch() uint64
- type MockStatsMockRecorder
- func (mr *MockStatsMockRecorder) AddCurrentTradesInBatch(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) AddTotalTrades(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) CurrentOrdersInBatch() *gomock.Call
- func (mr *MockStatsMockRecorder) CurrentTradesInBatch() *gomock.Call
- func (mr *MockStatsMockRecorder) Height() *gomock.Call
- func (mr *MockStatsMockRecorder) IncCurrentOrdersInBatch() *gomock.Call
- func (mr *MockStatsMockRecorder) IncHeight() *gomock.Call
- func (mr *MockStatsMockRecorder) IncTotalAmendOrder() *gomock.Call
- func (mr *MockStatsMockRecorder) IncTotalBatches() *gomock.Call
- func (mr *MockStatsMockRecorder) IncTotalCancelOrder() *gomock.Call
- func (mr *MockStatsMockRecorder) IncTotalCreateOrder() *gomock.Call
- func (mr *MockStatsMockRecorder) IncTotalOrders() *gomock.Call
- func (mr *MockStatsMockRecorder) IncTotalTxCurrentBatch() *gomock.Call
- func (mr *MockStatsMockRecorder) NewBatch() *gomock.Call
- func (mr *MockStatsMockRecorder) SetAverageOrdersPerBatch(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) SetAverageTxPerBatch(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) SetAverageTxSizeBytes(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) SetBlockDuration(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) SetHash(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) SetHeight(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) SetOrdersPerSecond(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) SetTotalTxCurrentBatch(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) SetTotalTxLastBatch(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) SetTradesPerSecond(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) TotalBatches() *gomock.Call
- func (mr *MockStatsMockRecorder) TotalOrders() *gomock.Call
- func (mr *MockStatsMockRecorder) TotalTxCurrentBatch() *gomock.Call
- func (mr *MockStatsMockRecorder) TotalTxLastBatch() *gomock.Call
- type MockTimeService
- func (m *MockTimeService) EXPECT() *MockTimeServiceMockRecorder
- func (m *MockTimeService) GetTimeLastBatch() time.Time
- func (m *MockTimeService) GetTimeNow() time.Time
- func (m *MockTimeService) NotifyOnTick(arg0 ...func(context.Context, time.Time))
- func (m *MockTimeService) SetTimeNow(arg0 context.Context, arg1 time.Time)
- type MockTimeServiceMockRecorder
- func (mr *MockTimeServiceMockRecorder) GetTimeLastBatch() *gomock.Call
- func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call
- func (mr *MockTimeServiceMockRecorder) NotifyOnTick(arg0 ...interface{}) *gomock.Call
- func (mr *MockTimeServiceMockRecorder) SetTimeNow(arg0, arg1 interface{}) *gomock.Call
- type MockValidatorTopology
- func (m *MockValidatorTopology) AddForwarder(arg0 string)
- func (m *MockValidatorTopology) AddKeyRotate(arg0 context.Context, arg1 string, arg2 uint64, arg3 *v1.KeyRotateSubmission) error
- func (m *MockValidatorTopology) AllVegaPubKeys() []string
- func (m *MockValidatorTopology) BeginBlock(arg0 context.Context, arg1 types0.RequestBeginBlock)
- func (m *MockValidatorTopology) EXPECT() *MockValidatorTopologyMockRecorder
- func (m *MockValidatorTopology) GetValidatorPowerUpdates() []types0.ValidatorUpdate
- func (m *MockValidatorTopology) IsValidator() bool
- func (m *MockValidatorTopology) IsValidatorNodeID(arg0 string) bool
- func (m *MockValidatorTopology) IsValidatorVegaPubKey(arg0 string) bool
- func (m *MockValidatorTopology) IssueSignatures(arg0 context.Context, arg1, arg2 string, arg3 v1.NodeSignatureKind) error
- func (m *MockValidatorTopology) Len() int
- func (m *MockValidatorTopology) ProcessAnnounceNode(arg0 context.Context, arg1 *v1.AnnounceNode) error
- func (m *MockValidatorTopology) ProcessEthereumKeyRotation(arg0 context.Context, arg1 string, arg2 *v1.EthereumKeyRotateSubmission, ...) error
- func (m *MockValidatorTopology) ProcessValidatorHeartbeat(arg0 context.Context, arg1 *v1.ValidatorHeartbeat, ...) error
- type MockValidatorTopologyMockRecorder
- func (mr *MockValidatorTopologyMockRecorder) AddForwarder(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) AddKeyRotate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) AllVegaPubKeys() *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) BeginBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) GetValidatorPowerUpdates() *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) IsValidator() *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) IsValidatorNodeID(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) IsValidatorVegaPubKey(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) IssueSignatures(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) Len() *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) ProcessAnnounceNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) ProcessEthereumKeyRotation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) ProcessValidatorHeartbeat(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockWitness
- type MockWitnessMockRecorder
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) CancelTransferFunds ¶
func (m *MockBanking) CancelTransferFunds(arg0 context.Context, arg1 *types.CancelTransferFunds) error
CancelTransferFunds 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) 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) 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) CancelTransferFunds ¶
func (mr *MockBankingMockRecorder) CancelTransferFunds(arg0, arg1 interface{}) *gomock.Call
CancelTransferFunds indicates an expected call of CancelTransferFunds.
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) 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) 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 ¶
func (m *MockCheckpoint) EXPECT() *MockCheckpointMockRecorder
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 ¶
func (m *MockDelegationEngine) EXPECT() *MockDelegationEngineMockRecorder
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 ¶
func (mr *MockDelegationEngineMockRecorder) Hash() *gomock.Call
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 ¶
func (m *MockERC20MultiSigTopology) EXPECT() *MockERC20MultiSigTopologyMockRecorder
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 ¶
func (m *MockEpochService) EXPECT() *MockEpochServiceMockRecorder
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 ¶
func (m *MockEvtForwarder) EXPECT() *MockEvtForwarderMockRecorder
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 ¶
func (m *MockExecutionEngine) AmendOrder(arg0 context.Context, arg1 *types.OrderAmendment, arg2 string, arg3 execution.IDGenerator) (*types.OrderConfirmation, error)
AmendOrder 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 ¶
func (m *MockExecutionEngine) CancelOrder(arg0 context.Context, arg1 *types.OrderCancellation, arg2 string, arg3 execution.IDGenerator) ([]*types.OrderCancellationConfirmation, error)
CancelOrder mocks base method.
func (*MockExecutionEngine) EXPECT ¶
func (m *MockExecutionEngine) EXPECT() *MockExecutionEngineMockRecorder
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) error
SubmitMarket mocks base method.
func (*MockExecutionEngine) SubmitOrder ¶
func (m *MockExecutionEngine) SubmitOrder(arg0 context.Context, arg1 *types.OrderSubmission, arg2 string, arg3 execution.IDGenerator, arg4 string) (*types.OrderConfirmation, error)
SubmitOrder mocks base method.
func (*MockExecutionEngine) UpdateMarket ¶
UpdateMarket 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) 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) Hash ¶
func (mr *MockExecutionEngineMockRecorder) Hash() *gomock.Call
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 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) UpdateMarket ¶
func (mr *MockExecutionEngineMockRecorder) UpdateMarket(arg0, arg1 interface{}) *gomock.Call
UpdateMarket indicates an expected call of UpdateMarket.
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 ¶
func (m *MockGovernanceEngine) EXPECT() *MockGovernanceEngineMockRecorder
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 ¶
func (m *MockGovernanceEngine) OnTick(arg0 context.Context, arg1 time.Time) ([]*governance.ToEnact, []*governance.VoteClosed)
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 ¶
func (mr *MockGovernanceEngineMockRecorder) Hash() *gomock.Call
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) 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) 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 ¶
func (m *MockNetworkParameters) EXPECT() *MockNetworkParametersMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetworkParameters) IsUpdateAllowed ¶ added in v0.56.0
func (m *MockNetworkParameters) IsUpdateAllowed(arg0 string) error
IsUpdateAllowed 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) 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 ¶
func (m *MockOracleAdaptors) EXPECT() *MockOracleAdaptorsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOracleAdaptors) Normalise ¶
func (m *MockOracleAdaptors) Normalise(arg0 crypto.PublicKey, arg1 v1.OracleDataSubmission) (*oracles.OracleData, error)
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 oracles.OracleData) error
BroadcastData mocks base method.
func (*MockOraclesEngine) EXPECT ¶
func (m *MockOraclesEngine) EXPECT() *MockOraclesEngineMockRecorder
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 oracles.OracleData) (bool, error)
HasMatch mocks base method.
func (*MockOraclesEngine) ListensToSigners ¶ added in v0.61.0
func (m *MockOraclesEngine) ListensToSigners(arg0 oracles.OracleData) 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 ¶
func (m *MockStakeVerifier) EXPECT() *MockStakeVerifierMockRecorder
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 ¶
func (m *MockStakingAccounts) EXPECT() *MockStakingAccountsMockRecorder
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 ¶
func (mr *MockStakingAccountsMockRecorder) Hash() *gomock.Call
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 ¶
AddCurrentTradesInBatch mocks base method.
func (*MockStats) AddTotalTrades ¶
AddTotalTrades mocks base method.
func (*MockStats) CurrentOrdersInBatch ¶
CurrentOrdersInBatch mocks base method.
func (*MockStats) CurrentTradesInBatch ¶
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) IncCurrentOrdersInBatch ¶
func (m *MockStats) IncCurrentOrdersInBatch()
IncCurrentOrdersInBatch 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) SetAverageOrdersPerBatch ¶
SetAverageOrdersPerBatch mocks base method.
func (*MockStats) SetAverageTxPerBatch ¶
SetAverageTxPerBatch mocks base method.
func (*MockStats) SetAverageTxSizeBytes ¶
SetAverageTxSizeBytes mocks base method.
func (*MockStats) SetBlockDuration ¶
SetBlockDuration mocks base method.
func (*MockStats) SetOrdersPerSecond ¶
SetOrdersPerSecond mocks base method.
func (*MockStats) SetTotalTxCurrentBatch ¶
SetTotalTxCurrentBatch mocks base method.
func (*MockStats) SetTotalTxLastBatch ¶
SetTotalTxLastBatch mocks base method.
func (*MockStats) SetTradesPerSecond ¶
SetTradesPerSecond mocks base method.
func (*MockStats) TotalBatches ¶
TotalBatches mocks base method.
func (*MockStats) TotalOrders ¶
TotalOrders mocks base method.
func (*MockStats) TotalTxCurrentBatch ¶
TotalTxCurrentBatch mocks base method.
func (*MockStats) TotalTxLastBatch ¶
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) 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) 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 ¶
func (m *MockTimeService) EXPECT() *MockTimeServiceMockRecorder
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 ¶
func (m *MockValidatorTopology) EXPECT() *MockValidatorTopologyMockRecorder
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.
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 ¶
func (mr *MockValidatorTopologyMockRecorder) Len() *gomock.Call
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.