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 MockBalanceChecker
- type MockBalanceCheckerMockRecorder
- type MockBanking
- func (m *MockBanking) BridgeResumed(arg0 context.Context, arg1 bool, arg2 string, arg3, arg4 uint64, ...) error
- func (m *MockBanking) BridgeStopped(arg0 context.Context, arg1 bool, arg2 string, arg3, arg4 uint64, ...) error
- func (m *MockBanking) CancelGovTransfer(arg0 context.Context, arg1 string) error
- func (m *MockBanking) CancelTransferFunds(arg0 context.Context, arg1 *types.CancelTransferFunds) error
- func (m *MockBanking) CheckTransfer(arg0 *types.TransferBase) 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 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) NewGovernanceTransfer(arg0 context.Context, arg1, arg2 string, arg3 *types.NewTransferConfiguration) error
- func (m *MockBanking) OnBlockEnd(arg0 context.Context, arg1 time.Time)
- 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) VerifyCancelGovernanceTransfer(arg0 string) error
- func (m *MockBanking) VerifyGovernanceTransfer(arg0 *types.NewTransferConfiguration) 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, arg6 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) BridgeStopped(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) CancelGovTransfer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) CancelTransferFunds(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) CheckTransfer(arg0 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) DepositBuiltinAsset(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) DepositERC20(arg0, arg1, arg2, arg3, arg4, arg5, arg6 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, arg6 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) NewGovernanceTransfer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) OnBlockEnd(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) TransferFunds(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) UpdateERC20(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) VerifyCancelGovernanceTransfer(arg0 interface{}) *gomock.Call
- func (mr *MockBankingMockRecorder) VerifyGovernanceTransfer(arg0 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 MockBlockchainClient
- type MockBlockchainClientMockRecorder
- type MockBroker
- type MockBrokerMockRecorder
- type MockCheckpoint
- type MockCheckpointMockRecorder
- type MockCodec
- type MockCodecMockRecorder
- 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 MockEthCallEngine
- type MockEthCallEngineMockRecorder
- type MockEthereumOracleVerifier
- type MockEthereumOracleVerifierMockRecorder
- type MockEvtForwarder
- type MockEvtForwarderHeartbeat
- type MockEvtForwarderHeartbeatMockRecorder
- type MockEvtForwarderMockRecorder
- type MockExecutionEngine
- func (m *MockExecutionEngine) AmendAMM(arg0 context.Context, arg1 *types.AmendAMM, arg2 string) error
- 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) BeginBlock(arg0 context.Context, arg1 time.Duration)
- func (m *MockExecutionEngine) BlockEnd(arg0 context.Context)
- func (m *MockExecutionEngine) CancelAMM(arg0 context.Context, arg1 *types.CancelAMM, arg2 string) error
- 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) CancelStopOrders(arg0 context.Context, arg1 *types.StopOrdersCancellation, arg2 string, ...) error
- func (m *MockExecutionEngine) CheckCanSubmitOrderOrLiquidityCommitment(arg0, arg1 string) error
- func (m *MockExecutionEngine) CheckOrderSubmissionForSpam(arg0 *types.OrderSubmission, arg1 string) error
- func (m *MockExecutionEngine) EXPECT() *MockExecutionEngineMockRecorder
- func (m *MockExecutionEngine) GetMarketCounters() map[string]*types.MarketCounters
- func (m *MockExecutionEngine) Hash() []byte
- func (m *MockExecutionEngine) OnChainIDUpdate(arg0 uint64) error
- func (m *MockExecutionEngine) RejectMarket(arg0 context.Context, arg1 string) error
- func (m *MockExecutionEngine) StartOpeningAuction(arg0 context.Context, arg1 string) error
- func (m *MockExecutionEngine) SubmitAMM(arg0 context.Context, arg1 *types.SubmitAMM, arg2 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, arg3 time.Time) error
- func (m *MockExecutionEngine) SubmitOrder(arg0 context.Context, arg1 *types.OrderSubmission, arg2 string, ...) (*types.OrderConfirmation, error)
- func (m *MockExecutionEngine) SubmitSpotMarket(arg0 context.Context, arg1 *types.Market, arg2 string, arg3 time.Time) error
- func (m *MockExecutionEngine) SubmitStopOrders(arg0 context.Context, arg1 *types.StopOrdersSubmission, arg2 string, ...) (*types.OrderConfirmation, error)
- func (m *MockExecutionEngine) SucceedMarket(arg0 context.Context, arg1, arg2 string) error
- func (m *MockExecutionEngine) UpdateMarginMode(arg0 context.Context, arg1, arg2 string, arg3 vega.MarginMode, ...) error
- func (m *MockExecutionEngine) UpdateMarket(arg0 context.Context, arg1 *types.Market) error
- func (m *MockExecutionEngine) UpdateMarketState(arg0 context.Context, arg1 *types.MarketStateUpdateConfiguration) error
- func (m *MockExecutionEngine) UpdateSpotMarket(arg0 context.Context, arg1 *types.Market) error
- func (m *MockExecutionEngine) VerifyUpdateMarketState(arg0 *types.MarketStateUpdateConfiguration) error
- type MockExecutionEngineMockRecorder
- func (mr *MockExecutionEngineMockRecorder) AmendAMM(arg0, arg1, arg2 interface{}) *gomock.Call
- 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) BeginBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) BlockEnd(arg0 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) CancelAMM(arg0, arg1, arg2 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) CancelStopOrders(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) CheckCanSubmitOrderOrLiquidityCommitment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) CheckOrderSubmissionForSpam(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) GetMarketCounters() *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) Hash() *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) OnChainIDUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) RejectMarket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) StartOpeningAuction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) SubmitAMM(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) SubmitLiquidityProvision(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) SubmitMarket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) SubmitOrder(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) SubmitSpotMarket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) SubmitStopOrders(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) SucceedMarket(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) UpdateMarginMode(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) UpdateMarket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) UpdateMarketState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) UpdateSpotMarket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExecutionEngineMockRecorder) VerifyUpdateMarketState(arg0 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) OnChainIDUpdate(arg0 uint64) error
- func (m *MockGovernanceEngine) OnTick(arg0 context.Context, arg1 time.Time) ([]*governance.ToEnact, []*governance.VoteClosed)
- func (m *MockGovernanceEngine) RejectBatchProposal(arg0 context.Context, arg1 string, arg2 vega.ProposalError, arg3 error) error
- func (m *MockGovernanceEngine) RejectProposal(arg0 context.Context, arg1 *types.Proposal, arg2 vega.ProposalError, ...) error
- func (m *MockGovernanceEngine) SubmitBatchProposal(arg0 context.Context, arg1 types.BatchProposalSubmission, arg2, arg3 string) ([]*governance.ToSubmit, 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) OnChainIDUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockGovernanceEngineMockRecorder) OnTick(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGovernanceEngineMockRecorder) RejectBatchProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGovernanceEngineMockRecorder) RejectProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGovernanceEngineMockRecorder) SubmitBatchProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGovernanceEngineMockRecorder) SubmitProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockLimits
- func (m *MockLimits) CanProposeAsset() bool
- func (m *MockLimits) CanProposeMarket() bool
- func (m *MockLimits) CanProposePerpsMarket() bool
- func (m *MockLimits) CanProposeSpotMarket() bool
- func (m *MockLimits) CanTrade() bool
- func (m *MockLimits) CanUseAMMPool() bool
- func (m *MockLimits) EXPECT() *MockLimitsMockRecorder
- type MockLimitsMockRecorder
- func (mr *MockLimitsMockRecorder) CanProposeAsset() *gomock.Call
- func (mr *MockLimitsMockRecorder) CanProposeMarket() *gomock.Call
- func (mr *MockLimitsMockRecorder) CanProposePerpsMarket() *gomock.Call
- func (mr *MockLimitsMockRecorder) CanProposeSpotMarket() *gomock.Call
- func (mr *MockLimitsMockRecorder) CanTrade() *gomock.Call
- func (mr *MockLimitsMockRecorder) CanUseAMMPool() *gomock.Call
- type MockNetworkParameters
- func (m *MockNetworkParameters) DispatchChanges(arg0 context.Context)
- func (m *MockNetworkParameters) EXPECT() *MockNetworkParametersMockRecorder
- func (m *MockNetworkParameters) GetInt(arg0 string) (int64, error)
- func (m *MockNetworkParameters) GetJSONStruct(arg0 string, arg1 netparams.Reset) error
- func (m *MockNetworkParameters) IsUpdateAllowed(arg0 string) error
- func (m *MockNetworkParameters) Update(arg0 context.Context, arg1, arg2 string) error
- type MockNetworkParametersMockRecorder
- func (mr *MockNetworkParametersMockRecorder) DispatchChanges(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkParametersMockRecorder) GetInt(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkParametersMockRecorder) GetJSONStruct(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkParametersMockRecorder) IsUpdateAllowed(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkParametersMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockNotary
- func (m *MockNotary) EXPECT() *MockNotaryMockRecorder
- func (m *MockNotary) IsSigned(arg0 context.Context, arg1 string, arg2 v10.NodeSignatureKind) ([]v10.NodeSignature, bool)
- func (m *MockNotary) RegisterSignature(arg0 context.Context, arg1 string, arg2 v10.NodeSignature) error
- func (m *MockNotary) StartAggregate(arg0 string, arg1 v10.NodeSignatureKind, arg2 []byte)
- type MockNotaryMockRecorder
- type MockOracleAdaptors
- type MockOracleAdaptorsMockRecorder
- type MockOraclesEngine
- type MockOraclesEngineMockRecorder
- type MockPartiesEngine
- type MockPartiesEngineMockRecorder
- type MockPoWEngine
- func (m *MockPoWEngine) BeginBlock(arg0 uint64, arg1 string, arg2 []abci.Tx)
- func (m *MockPoWEngine) BlockData() (uint64, string)
- func (m *MockPoWEngine) CheckBlockTx(arg0 abci.Tx) (pow.ValidationResult, *uint)
- func (m *MockPoWEngine) CheckTx(arg0 abci.Tx) error
- func (m *MockPoWEngine) EXPECT() *MockPoWEngineMockRecorder
- func (m *MockPoWEngine) EndPrepareProposal(arg0 []pow.ValidationEntry)
- func (m *MockPoWEngine) GetSpamStatistics(arg0 string) *v1.PoWStatistic
- func (m *MockPoWEngine) IsReady() bool
- func (m *MockPoWEngine) OnCommit()
- func (m *MockPoWEngine) ProcessProposal(arg0 []abci.Tx) bool
- func (m *MockPoWEngine) SpamPoWDifficulty() uint32
- func (m *MockPoWEngine) SpamPoWHashFunction() string
- func (m *MockPoWEngine) SpamPoWIncreasingDifficulty() bool
- func (m *MockPoWEngine) SpamPoWNumberOfPastBlocks() uint32
- func (m *MockPoWEngine) SpamPoWNumberOfTxPerBlock() uint32
- type MockPoWEngineMockRecorder
- func (mr *MockPoWEngineMockRecorder) BeginBlock(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPoWEngineMockRecorder) BlockData() *gomock.Call
- func (mr *MockPoWEngineMockRecorder) CheckBlockTx(arg0 interface{}) *gomock.Call
- func (mr *MockPoWEngineMockRecorder) CheckTx(arg0 interface{}) *gomock.Call
- func (mr *MockPoWEngineMockRecorder) EndPrepareProposal(arg0 interface{}) *gomock.Call
- func (mr *MockPoWEngineMockRecorder) GetSpamStatistics(arg0 interface{}) *gomock.Call
- func (mr *MockPoWEngineMockRecorder) IsReady() *gomock.Call
- func (mr *MockPoWEngineMockRecorder) OnCommit() *gomock.Call
- func (mr *MockPoWEngineMockRecorder) ProcessProposal(arg0 interface{}) *gomock.Call
- func (mr *MockPoWEngineMockRecorder) SpamPoWDifficulty() *gomock.Call
- func (mr *MockPoWEngineMockRecorder) SpamPoWHashFunction() *gomock.Call
- func (mr *MockPoWEngineMockRecorder) SpamPoWIncreasingDifficulty() *gomock.Call
- func (mr *MockPoWEngineMockRecorder) SpamPoWNumberOfPastBlocks() *gomock.Call
- func (mr *MockPoWEngineMockRecorder) SpamPoWNumberOfTxPerBlock() *gomock.Call
- type MockProtocolUpgradeService
- func (m *MockProtocolUpgradeService) BeginBlock(arg0 context.Context, arg1 uint64)
- func (m *MockProtocolUpgradeService) Cleanup(arg0 context.Context)
- func (m *MockProtocolUpgradeService) CoreReadyForUpgrade() bool
- func (m *MockProtocolUpgradeService) EXPECT() *MockProtocolUpgradeServiceMockRecorder
- func (m *MockProtocolUpgradeService) GetUpgradeStatus() types.UpgradeStatus
- func (m *MockProtocolUpgradeService) IsValidProposal(arg0 context.Context, arg1 string, arg2 uint64, arg3 string) error
- func (m *MockProtocolUpgradeService) SetCoreReadyForUpgrade()
- func (m *MockProtocolUpgradeService) SetReadyForUpgrade()
- func (m *MockProtocolUpgradeService) TimeForUpgrade() bool
- func (m *MockProtocolUpgradeService) UpgradeProposal(arg0 context.Context, arg1 string, arg2 uint64, arg3 string) error
- type MockProtocolUpgradeServiceMockRecorder
- func (mr *MockProtocolUpgradeServiceMockRecorder) BeginBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProtocolUpgradeServiceMockRecorder) Cleanup(arg0 interface{}) *gomock.Call
- func (mr *MockProtocolUpgradeServiceMockRecorder) CoreReadyForUpgrade() *gomock.Call
- func (mr *MockProtocolUpgradeServiceMockRecorder) GetUpgradeStatus() *gomock.Call
- func (mr *MockProtocolUpgradeServiceMockRecorder) IsValidProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockProtocolUpgradeServiceMockRecorder) SetCoreReadyForUpgrade() *gomock.Call
- func (mr *MockProtocolUpgradeServiceMockRecorder) SetReadyForUpgrade() *gomock.Call
- func (mr *MockProtocolUpgradeServiceMockRecorder) TimeForUpgrade() *gomock.Call
- func (mr *MockProtocolUpgradeServiceMockRecorder) UpgradeProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockReferralProgram
- func (m *MockReferralProgram) ApplyReferralCode(arg0 context.Context, arg1 types.PartyID, arg2 types.ReferralSetID) error
- func (m *MockReferralProgram) CheckSufficientBalanceForApplyReferralCode(arg0 types.PartyID, arg1 *num.Uint) error
- func (m *MockReferralProgram) CheckSufficientBalanceForCreateOrUpdateReferralSet(arg0 types.PartyID, arg1 *num.Uint) error
- func (m *MockReferralProgram) CreateReferralSet(arg0 context.Context, arg1 types.PartyID, arg2 types.ReferralSetID) error
- func (m *MockReferralProgram) EXPECT() *MockReferralProgramMockRecorder
- func (m *MockReferralProgram) PartyOwnsReferralSet(arg0 types.PartyID, arg1 types.ReferralSetID) error
- func (m *MockReferralProgram) UpdateProgram(arg0 *types.ReferralProgram)
- type MockReferralProgramMockRecorder
- func (mr *MockReferralProgramMockRecorder) ApplyReferralCode(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockReferralProgramMockRecorder) CheckSufficientBalanceForApplyReferralCode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReferralProgramMockRecorder) CheckSufficientBalanceForCreateOrUpdateReferralSet(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReferralProgramMockRecorder) CreateReferralSet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockReferralProgramMockRecorder) PartyOwnsReferralSet(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReferralProgramMockRecorder) UpdateProgram(arg0 interface{}) *gomock.Call
- type MockSnapshotEngine
- func (m *MockSnapshotEngine) AddProviders(arg0 ...types.StateProvider)
- func (m *MockSnapshotEngine) EXPECT() *MockSnapshotEngineMockRecorder
- func (m *MockSnapshotEngine) HasRestoredStateAlready() bool
- func (m *MockSnapshotEngine) HasSnapshots() (bool, error)
- func (m *MockSnapshotEngine) Info() ([]byte, int64, string)
- func (m *MockSnapshotEngine) ListLatestSnapshots() ([]*types0.Snapshot, error)
- func (m *MockSnapshotEngine) ReceiveSnapshot(arg0 *types.Snapshot) types0.ResponseOfferSnapshot
- func (m *MockSnapshotEngine) ReceiveSnapshotChunk(arg0 context.Context, arg1 *types.RawChunk, arg2 string) types0.ResponseApplySnapshotChunk
- func (m *MockSnapshotEngine) RetrieveSnapshotChunk(arg0 uint64, arg1, arg2 uint32) (*types.RawChunk, error)
- func (m *MockSnapshotEngine) Snapshot(arg0 context.Context) ([]byte, snapshot.DoneCh, error)
- func (m *MockSnapshotEngine) SnapshotDump(arg0 context.Context, arg1 string) ([]byte, error)
- func (m *MockSnapshotEngine) SnapshotNow(arg0 context.Context) ([]byte, error)
- type MockSnapshotEngineMockRecorder
- func (mr *MockSnapshotEngineMockRecorder) AddProviders(arg0 ...interface{}) *gomock.Call
- func (mr *MockSnapshotEngineMockRecorder) HasRestoredStateAlready() *gomock.Call
- func (mr *MockSnapshotEngineMockRecorder) HasSnapshots() *gomock.Call
- func (mr *MockSnapshotEngineMockRecorder) Info() *gomock.Call
- func (mr *MockSnapshotEngineMockRecorder) ListLatestSnapshots() *gomock.Call
- func (mr *MockSnapshotEngineMockRecorder) ReceiveSnapshot(arg0 interface{}) *gomock.Call
- func (mr *MockSnapshotEngineMockRecorder) ReceiveSnapshotChunk(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSnapshotEngineMockRecorder) RetrieveSnapshotChunk(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSnapshotEngineMockRecorder) Snapshot(arg0 interface{}) *gomock.Call
- func (mr *MockSnapshotEngineMockRecorder) SnapshotDump(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSnapshotEngineMockRecorder) SnapshotNow(arg0 interface{}) *gomock.Call
- type MockSpamEngine
- func (m *MockSpamEngine) BeginBlock(arg0 []abci.Tx)
- func (m *MockSpamEngine) CheckBlockTx(arg0 abci.Tx) error
- func (m *MockSpamEngine) EXPECT() *MockSpamEngineMockRecorder
- func (m *MockSpamEngine) EndPrepareProposal()
- func (m *MockSpamEngine) PreBlockAccept(arg0 abci.Tx) error
- func (m *MockSpamEngine) ProcessProposal(arg0 []abci.Tx) bool
- type MockSpamEngineMockRecorder
- func (mr *MockSpamEngineMockRecorder) BeginBlock(arg0 interface{}) *gomock.Call
- func (mr *MockSpamEngineMockRecorder) CheckBlockTx(arg0 interface{}) *gomock.Call
- func (mr *MockSpamEngineMockRecorder) EndPrepareProposal() *gomock.Call
- func (mr *MockSpamEngineMockRecorder) PreBlockAccept(arg0 interface{}) *gomock.Call
- func (mr *MockSpamEngineMockRecorder) ProcessProposal(arg0 interface{}) *gomock.Call
- type MockStakeVerifier
- type MockStakeVerifierMockRecorder
- type MockStakingAccounts
- type MockStakingAccountsMockRecorder
- type MockStateVarEngine
- type MockStateVarEngineMockRecorder
- type MockStats
- func (m *MockStats) AddCurrentTradesInBatch(arg0 uint64)
- func (m *MockStats) AddTotalTrades(arg0 uint64) uint64
- func (m *MockStats) CurrentEventsInBatch() 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) SetEventsPerSecond(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) CurrentEventsInBatch() *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) SetEventsPerSecond(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 MockTeamsEngine
- func (m *MockTeamsEngine) CreateTeam(arg0 context.Context, arg1 types.PartyID, arg2 types.TeamID, ...) error
- func (m *MockTeamsEngine) EXPECT() *MockTeamsEngineMockRecorder
- func (m *MockTeamsEngine) JoinTeam(arg0 context.Context, arg1 types.PartyID, arg2 *v10.JoinTeam) error
- func (m *MockTeamsEngine) TeamExists(arg0 types.TeamID) bool
- func (m *MockTeamsEngine) UpdateTeam(arg0 context.Context, arg1 types.PartyID, arg2 types.TeamID, ...) error
- type MockTeamsEngineMockRecorder
- func (mr *MockTeamsEngineMockRecorder) CreateTeam(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTeamsEngineMockRecorder) JoinTeam(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTeamsEngineMockRecorder) TeamExists(arg0 interface{}) *gomock.Call
- func (mr *MockTeamsEngineMockRecorder) UpdateTeam(arg0, arg1, arg2, arg3 interface{}) *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 MockTxCache
- func (m *MockTxCache) EXPECT() *MockTxCacheMockRecorder
- func (m *MockTxCache) GetRawTxs(arg0 uint64) [][]byte
- func (m *MockTxCache) IsDelayRequired(arg0 string) bool
- func (m *MockTxCache) IsDelayRequiredAnyMarket() bool
- func (m *MockTxCache) IsTxInCache(arg0 []byte) bool
- func (m *MockTxCache) NewDelayedTransaction(arg0 context.Context, arg1 [][]byte, arg2 uint64) []byte
- func (m *MockTxCache) SetRawTxs(arg0 [][]byte, arg1 uint64)
- type MockTxCacheMockRecorder
- func (mr *MockTxCacheMockRecorder) GetRawTxs(arg0 interface{}) *gomock.Call
- func (mr *MockTxCacheMockRecorder) IsDelayRequired(arg0 interface{}) *gomock.Call
- func (mr *MockTxCacheMockRecorder) IsDelayRequiredAnyMarket() *gomock.Call
- func (mr *MockTxCacheMockRecorder) IsTxInCache(arg0 interface{}) *gomock.Call
- func (mr *MockTxCacheMockRecorder) NewDelayedTransaction(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTxCacheMockRecorder) SetRawTxs(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 *v10.KeyRotateSubmission) error
- func (m *MockValidatorTopology) AllVegaPubKeys() []string
- func (m *MockValidatorTopology) BeginBlock(arg0 context.Context, arg1 uint64, arg2 string)
- 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, arg3 string, arg4 v10.NodeSignatureKind) error
- func (m *MockValidatorTopology) Len() int
- func (m *MockValidatorTopology) ProcessAnnounceNode(arg0 context.Context, arg1 *v10.AnnounceNode) error
- func (m *MockValidatorTopology) ProcessEthereumKeyRotation(arg0 context.Context, arg1 string, arg2 *v10.EthereumKeyRotateSubmission, ...) error
- func (m *MockValidatorTopology) ProcessValidatorHeartbeat(arg0 context.Context, arg1 *v10.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, arg2 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, arg4 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 MockVolumeDiscountProgram
- type MockVolumeDiscountProgramMockRecorder
- 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 MockBalanceChecker ¶ added in v0.77.3
type MockBalanceChecker struct {
// contains filtered or unexported fields
}
MockBalanceChecker is a mock of BalanceChecker interface.
func NewMockBalanceChecker ¶ added in v0.77.3
func NewMockBalanceChecker(ctrl *gomock.Controller) *MockBalanceChecker
NewMockBalanceChecker creates a new mock instance.
func (*MockBalanceChecker) BeginBlock ¶ added in v0.77.3
func (m *MockBalanceChecker) BeginBlock(arg0 context.Context)
BeginBlock mocks base method.
func (*MockBalanceChecker) EXPECT ¶ added in v0.77.3
func (m *MockBalanceChecker) EXPECT() *MockBalanceCheckerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBalanceChecker) GetPartyBalance ¶ added in v0.77.3
func (m *MockBalanceChecker) GetPartyBalance(arg0 string) *num.Uint
GetPartyBalance mocks base method.
type MockBalanceCheckerMockRecorder ¶ added in v0.77.3
type MockBalanceCheckerMockRecorder struct {
// contains filtered or unexported fields
}
MockBalanceCheckerMockRecorder is the mock recorder for MockBalanceChecker.
func (*MockBalanceCheckerMockRecorder) BeginBlock ¶ added in v0.77.3
func (mr *MockBalanceCheckerMockRecorder) BeginBlock(arg0 interface{}) *gomock.Call
BeginBlock indicates an expected call of BeginBlock.
func (*MockBalanceCheckerMockRecorder) GetPartyBalance ¶ added in v0.77.3
func (mr *MockBalanceCheckerMockRecorder) GetPartyBalance(arg0 interface{}) *gomock.Call
GetPartyBalance indicates an expected call of GetPartyBalance.
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, arg6 string) error
BridgeResumed mocks base method.
func (*MockBanking) BridgeStopped ¶
func (m *MockBanking) BridgeStopped(arg0 context.Context, arg1 bool, arg2 string, arg3, arg4 uint64, arg5, arg6 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, arg6 string) error
DepositERC20 mocks base method.
func (*MockBanking) ERC20WithdrawalEvent ¶
func (m *MockBanking) ERC20WithdrawalEvent(arg0 context.Context, arg1 *types.ERC20Withdrawal, arg2 uint64, arg3, 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, arg6 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) OnBlockEnd ¶ added in v0.77.0
func (m *MockBanking) OnBlockEnd(arg0 context.Context, arg1 time.Time)
OnBlockEnd 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, arg6 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, arg6 interface{}) *gomock.Call
BridgeResumed indicates an expected call of BridgeResumed.
func (*MockBankingMockRecorder) BridgeStopped ¶
func (mr *MockBankingMockRecorder) BridgeStopped(arg0, arg1, arg2, arg3, arg4, arg5, arg6 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, arg6 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, arg6 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) OnBlockEnd ¶ added in v0.77.0
func (mr *MockBankingMockRecorder) OnBlockEnd(arg0, arg1 interface{}) *gomock.Call
OnBlockEnd indicates an expected call of OnBlockEnd.
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, arg6 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 MockBlockchainClient ¶ added in v0.77.3
type MockBlockchainClient struct {
// contains filtered or unexported fields
}
MockBlockchainClient is a mock of BlockchainClient interface.
func NewMockBlockchainClient ¶ added in v0.77.3
func NewMockBlockchainClient(ctrl *gomock.Controller) *MockBlockchainClient
NewMockBlockchainClient creates a new mock instance.
func (*MockBlockchainClient) EXPECT ¶ added in v0.77.3
func (m *MockBlockchainClient) EXPECT() *MockBlockchainClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBlockchainClient) MaxMempoolSize ¶ added in v0.77.3
func (m *MockBlockchainClient) MaxMempoolSize() int64
MaxMempoolSize mocks base method.
func (*MockBlockchainClient) Validators ¶ added in v0.77.3
func (m *MockBlockchainClient) Validators(arg0 *int64) ([]*types1.Validator, error)
Validators mocks base method.
type MockBlockchainClientMockRecorder ¶ added in v0.77.3
type MockBlockchainClientMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockchainClientMockRecorder is the mock recorder for MockBlockchainClient.
func (*MockBlockchainClientMockRecorder) MaxMempoolSize ¶ added in v0.77.3
func (mr *MockBlockchainClientMockRecorder) MaxMempoolSize() *gomock.Call
MaxMempoolSize indicates an expected call of MaxMempoolSize.
func (*MockBlockchainClientMockRecorder) Validators ¶ added in v0.77.3
func (mr *MockBlockchainClientMockRecorder) Validators(arg0 interface{}) *gomock.Call
Validators indicates an expected call of Validators.
type MockBroker ¶ added in v0.77.3
type MockBroker struct {
// contains filtered or unexported fields
}
MockBroker is a mock of Broker interface.
func NewMockBroker ¶ added in v0.77.3
func NewMockBroker(ctrl *gomock.Controller) *MockBroker
NewMockBroker creates a new mock instance.
func (*MockBroker) EXPECT ¶ added in v0.77.3
func (m *MockBroker) EXPECT() *MockBrokerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBroker) Send ¶ added in v0.77.3
func (m *MockBroker) Send(arg0 events.Event)
Send mocks base method.
func (*MockBroker) SetStreaming ¶ added in v0.77.3
func (m *MockBroker) SetStreaming(arg0 bool) bool
SetStreaming mocks base method.
func (*MockBroker) SocketClient ¶ added in v0.77.3
func (m *MockBroker) SocketClient() broker.SocketClient
SocketClient mocks base method.
func (*MockBroker) StreamingEnabled ¶ added in v0.77.3
func (m *MockBroker) StreamingEnabled() bool
StreamingEnabled mocks base method.
type MockBrokerMockRecorder ¶ added in v0.77.3
type MockBrokerMockRecorder struct {
// contains filtered or unexported fields
}
MockBrokerMockRecorder is the mock recorder for MockBroker.
func (*MockBrokerMockRecorder) Send ¶ added in v0.77.3
func (mr *MockBrokerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockBrokerMockRecorder) SetStreaming ¶ added in v0.77.3
func (mr *MockBrokerMockRecorder) SetStreaming(arg0 interface{}) *gomock.Call
SetStreaming indicates an expected call of SetStreaming.
func (*MockBrokerMockRecorder) SocketClient ¶ added in v0.77.3
func (mr *MockBrokerMockRecorder) SocketClient() *gomock.Call
SocketClient indicates an expected call of SocketClient.
func (*MockBrokerMockRecorder) StreamingEnabled ¶ added in v0.77.3
func (mr *MockBrokerMockRecorder) StreamingEnabled() *gomock.Call
StreamingEnabled indicates an expected call of StreamingEnabled.
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 MockCodec ¶ added in v0.77.3
type MockCodec struct {
// contains filtered or unexported fields
}
MockCodec is a mock of Codec interface.
func NewMockCodec ¶ added in v0.77.3
func NewMockCodec(ctrl *gomock.Controller) *MockCodec
NewMockCodec creates a new mock instance.
func (*MockCodec) EXPECT ¶ added in v0.77.3
func (m *MockCodec) EXPECT() *MockCodecMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCodecMockRecorder ¶ added in v0.77.3
type MockCodecMockRecorder struct {
// contains filtered or unexported fields
}
MockCodecMockRecorder is the mock recorder for MockCodec.
func (*MockCodecMockRecorder) Decode ¶ added in v0.77.3
func (mr *MockCodecMockRecorder) Decode(arg0, arg1 interface{}) *gomock.Call
Decode indicates an expected call of Decode.
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 MockEthCallEngine ¶ added in v0.77.3
type MockEthCallEngine struct {
// contains filtered or unexported fields
}
MockEthCallEngine is a mock of EthCallEngine interface.
func NewMockEthCallEngine ¶ added in v0.77.3
func NewMockEthCallEngine(ctrl *gomock.Controller) *MockEthCallEngine
NewMockEthCallEngine creates a new mock instance.
func (*MockEthCallEngine) EXPECT ¶ added in v0.77.3
func (m *MockEthCallEngine) EXPECT() *MockEthCallEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEthCallEngine) Start ¶ added in v0.77.3
func (m *MockEthCallEngine) Start()
Start mocks base method.
type MockEthCallEngineMockRecorder ¶ added in v0.77.3
type MockEthCallEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockEthCallEngineMockRecorder is the mock recorder for MockEthCallEngine.
func (*MockEthCallEngineMockRecorder) Start ¶ added in v0.77.3
func (mr *MockEthCallEngineMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
type MockEthereumOracleVerifier ¶ added in v0.77.3
type MockEthereumOracleVerifier struct {
// contains filtered or unexported fields
}
MockEthereumOracleVerifier is a mock of EthereumOracleVerifier interface.
func NewMockEthereumOracleVerifier ¶ added in v0.77.3
func NewMockEthereumOracleVerifier(ctrl *gomock.Controller) *MockEthereumOracleVerifier
NewMockEthereumOracleVerifier creates a new mock instance.
func (*MockEthereumOracleVerifier) EXPECT ¶ added in v0.77.3
func (m *MockEthereumOracleVerifier) EXPECT() *MockEthereumOracleVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEthereumOracleVerifier) ProcessEthereumContractCallResult ¶ added in v0.77.3
func (m *MockEthereumOracleVerifier) ProcessEthereumContractCallResult(arg0 ethcall.ContractCallEvent) error
ProcessEthereumContractCallResult mocks base method.
type MockEthereumOracleVerifierMockRecorder ¶ added in v0.77.3
type MockEthereumOracleVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockEthereumOracleVerifierMockRecorder is the mock recorder for MockEthereumOracleVerifier.
func (*MockEthereumOracleVerifierMockRecorder) ProcessEthereumContractCallResult ¶ added in v0.77.3
func (mr *MockEthereumOracleVerifierMockRecorder) ProcessEthereumContractCallResult(arg0 interface{}) *gomock.Call
ProcessEthereumContractCallResult indicates an expected call of ProcessEthereumContractCallResult.
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 *v10.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 MockEvtForwarderHeartbeat ¶ added in v0.77.3
type MockEvtForwarderHeartbeat struct {
// contains filtered or unexported fields
}
MockEvtForwarderHeartbeat is a mock of EvtForwarderHeartbeat interface.
func NewMockEvtForwarderHeartbeat ¶ added in v0.77.3
func NewMockEvtForwarderHeartbeat(ctrl *gomock.Controller) *MockEvtForwarderHeartbeat
NewMockEvtForwarderHeartbeat creates a new mock instance.
func (*MockEvtForwarderHeartbeat) EXPECT ¶ added in v0.77.3
func (m *MockEvtForwarderHeartbeat) EXPECT() *MockEvtForwarderHeartbeatMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEvtForwarderHeartbeat) ProcessHeartbeat ¶ added in v0.77.3
func (m *MockEvtForwarderHeartbeat) ProcessHeartbeat(arg0, arg1 string, arg2, arg3 uint64) error
ProcessHeartbeat mocks base method.
type MockEvtForwarderHeartbeatMockRecorder ¶ added in v0.77.3
type MockEvtForwarderHeartbeatMockRecorder struct {
// contains filtered or unexported fields
}
MockEvtForwarderHeartbeatMockRecorder is the mock recorder for MockEvtForwarderHeartbeat.
func (*MockEvtForwarderHeartbeatMockRecorder) ProcessHeartbeat ¶ added in v0.77.3
func (mr *MockEvtForwarderHeartbeatMockRecorder) ProcessHeartbeat(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ProcessHeartbeat indicates an expected call of ProcessHeartbeat.
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) AmendAMM ¶ added in v0.77.0
func (m *MockExecutionEngine) AmendAMM(arg0 context.Context, arg1 *types.AmendAMM, arg2 string) error
AmendAMM mocks base method.
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 common0.IDGenerator) (*types.OrderConfirmation, error)
AmendOrder mocks base method.
func (*MockExecutionEngine) BeginBlock ¶ added in v0.73.0
func (m *MockExecutionEngine) BeginBlock(arg0 context.Context, arg1 time.Duration)
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) CancelAMM ¶ added in v0.77.0
func (m *MockExecutionEngine) CancelAMM(arg0 context.Context, arg1 *types.CancelAMM, arg2 string) error
CancelAMM 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 common0.IDGenerator) ([]*types.OrderCancellationConfirmation, error)
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) CheckCanSubmitOrderOrLiquidityCommitment ¶ added in v0.77.0
func (m *MockExecutionEngine) CheckCanSubmitOrderOrLiquidityCommitment(arg0, arg1 string) error
CheckCanSubmitOrderOrLiquidityCommitment mocks base method.
func (*MockExecutionEngine) CheckOrderSubmissionForSpam ¶ added in v0.77.0
func (m *MockExecutionEngine) CheckOrderSubmissionForSpam(arg0 *types.OrderSubmission, arg1 string) error
CheckOrderSubmissionForSpam 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) GetMarketCounters ¶ added in v0.77.3
func (m *MockExecutionEngine) GetMarketCounters() map[string]*types.MarketCounters
GetMarketCounters mocks base method.
func (*MockExecutionEngine) Hash ¶
func (m *MockExecutionEngine) Hash() []byte
Hash mocks base method.
func (*MockExecutionEngine) OnChainIDUpdate ¶ added in v0.74.0
func (m *MockExecutionEngine) OnChainIDUpdate(arg0 uint64) error
OnChainIDUpdate 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) SubmitAMM ¶ added in v0.77.0
func (m *MockExecutionEngine) SubmitAMM(arg0 context.Context, arg1 *types.SubmitAMM, arg2 string) error
SubmitAMM 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 ¶
func (m *MockExecutionEngine) SubmitOrder(arg0 context.Context, arg1 *types.OrderSubmission, arg2 string, arg3 common0.IDGenerator, arg4 string) (*types.OrderConfirmation, error)
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) UpdateMarginMode ¶ added in v0.74.0
func (m *MockExecutionEngine) UpdateMarginMode(arg0 context.Context, arg1, arg2 string, arg3 vega.MarginMode, arg4 decimal.Decimal) error
UpdateMarginMode mocks base method.
func (*MockExecutionEngine) UpdateMarket ¶
UpdateMarket mocks base method.
func (*MockExecutionEngine) UpdateMarketState ¶ added in v0.73.0
func (m *MockExecutionEngine) UpdateMarketState(arg0 context.Context, arg1 *types.MarketStateUpdateConfiguration) error
UpdateMarketState mocks base method.
func (*MockExecutionEngine) UpdateSpotMarket ¶ added in v0.73.0
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) AmendAMM ¶ added in v0.77.0
func (mr *MockExecutionEngineMockRecorder) AmendAMM(arg0, arg1, arg2 interface{}) *gomock.Call
AmendAMM indicates an expected call of AmendAMM.
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, arg1 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) CancelAMM ¶ added in v0.77.0
func (mr *MockExecutionEngineMockRecorder) CancelAMM(arg0, arg1, arg2 interface{}) *gomock.Call
CancelAMM indicates an expected call of CancelAMM.
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) CheckCanSubmitOrderOrLiquidityCommitment ¶ added in v0.77.0
func (mr *MockExecutionEngineMockRecorder) CheckCanSubmitOrderOrLiquidityCommitment(arg0, arg1 interface{}) *gomock.Call
CheckCanSubmitOrderOrLiquidityCommitment indicates an expected call of CheckCanSubmitOrderOrLiquidityCommitment.
func (*MockExecutionEngineMockRecorder) CheckOrderSubmissionForSpam ¶ added in v0.77.0
func (mr *MockExecutionEngineMockRecorder) CheckOrderSubmissionForSpam(arg0, arg1 interface{}) *gomock.Call
CheckOrderSubmissionForSpam indicates an expected call of CheckOrderSubmissionForSpam.
func (*MockExecutionEngineMockRecorder) GetMarketCounters ¶ added in v0.77.3
func (mr *MockExecutionEngineMockRecorder) GetMarketCounters() *gomock.Call
GetMarketCounters indicates an expected call of GetMarketCounters.
func (*MockExecutionEngineMockRecorder) Hash ¶
func (mr *MockExecutionEngineMockRecorder) Hash() *gomock.Call
Hash indicates an expected call of Hash.
func (*MockExecutionEngineMockRecorder) OnChainIDUpdate ¶ added in v0.74.0
func (mr *MockExecutionEngineMockRecorder) OnChainIDUpdate(arg0 interface{}) *gomock.Call
OnChainIDUpdate indicates an expected call of OnChainIDUpdate.
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) SubmitAMM ¶ added in v0.77.0
func (mr *MockExecutionEngineMockRecorder) SubmitAMM(arg0, arg1, arg2 interface{}) *gomock.Call
SubmitAMM indicates an expected call of SubmitAMM.
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) UpdateMarginMode ¶ added in v0.74.0
func (mr *MockExecutionEngineMockRecorder) UpdateMarginMode(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpdateMarginMode indicates an expected call of UpdateMarginMode.
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 ¶
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) OnChainIDUpdate ¶ added in v0.74.0
func (m *MockGovernanceEngine) OnChainIDUpdate(arg0 uint64) error
OnChainIDUpdate 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) RejectBatchProposal ¶ added in v0.74.0
func (m *MockGovernanceEngine) RejectBatchProposal(arg0 context.Context, arg1 string, arg2 vega.ProposalError, arg3 error) error
RejectBatchProposal 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) SubmitBatchProposal ¶ added in v0.74.0
func (m *MockGovernanceEngine) SubmitBatchProposal(arg0 context.Context, arg1 types.BatchProposalSubmission, arg2, arg3 string) ([]*governance.ToSubmit, error)
SubmitBatchProposal 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) OnChainIDUpdate ¶ added in v0.74.0
func (mr *MockGovernanceEngineMockRecorder) OnChainIDUpdate(arg0 interface{}) *gomock.Call
OnChainIDUpdate indicates an expected call of OnChainIDUpdate.
func (*MockGovernanceEngineMockRecorder) OnTick ¶
func (mr *MockGovernanceEngineMockRecorder) OnTick(arg0, arg1 interface{}) *gomock.Call
OnTick indicates an expected call of OnTick.
func (*MockGovernanceEngineMockRecorder) RejectBatchProposal ¶ added in v0.74.0
func (mr *MockGovernanceEngineMockRecorder) RejectBatchProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
RejectBatchProposal indicates an expected call of RejectBatchProposal.
func (*MockGovernanceEngineMockRecorder) RejectProposal ¶
func (mr *MockGovernanceEngineMockRecorder) RejectProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
RejectProposal indicates an expected call of RejectProposal.
func (*MockGovernanceEngineMockRecorder) SubmitBatchProposal ¶ added in v0.74.0
func (mr *MockGovernanceEngineMockRecorder) SubmitBatchProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SubmitBatchProposal indicates an expected call of SubmitBatchProposal.
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) CanUseAMMPool ¶ added in v0.77.0
func (m *MockLimits) CanUseAMMPool() bool
CanUseAMMPool 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.
func (*MockLimitsMockRecorder) CanUseAMMPool ¶ added in v0.77.0
func (mr *MockLimitsMockRecorder) CanUseAMMPool() *gomock.Call
CanUseAMMPool indicates an expected call of CanUseAMMPool.
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) GetInt ¶ added in v0.73.0
func (m *MockNetworkParameters) GetInt(arg0 string) (int64, error)
GetInt mocks base method.
func (*MockNetworkParameters) GetJSONStruct ¶ added in v0.74.0
func (m *MockNetworkParameters) GetJSONStruct(arg0 string, arg1 netparams.Reset) error
GetJSONStruct mocks base method.
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) GetInt ¶ added in v0.73.0
func (mr *MockNetworkParametersMockRecorder) GetInt(arg0 interface{}) *gomock.Call
GetInt indicates an expected call of GetInt.
func (*MockNetworkParametersMockRecorder) GetJSONStruct ¶ added in v0.74.0
func (mr *MockNetworkParametersMockRecorder) GetJSONStruct(arg0, arg1 interface{}) *gomock.Call
GetJSONStruct indicates an expected call of GetJSONStruct.
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 v10.NodeSignatureKind) ([]v10.NodeSignature, bool)
IsSigned mocks base method.
func (*MockNotary) RegisterSignature ¶
func (m *MockNotary) RegisterSignature(arg0 context.Context, arg1 string, arg2 v10.NodeSignature) error
RegisterSignature mocks base method.
func (*MockNotary) StartAggregate ¶
func (m *MockNotary) StartAggregate(arg0 string, arg1 v10.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 v10.OracleDataSubmission) (*common.Data, 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 ¶
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 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 MockPartiesEngine ¶ added in v0.77.3
type MockPartiesEngine struct {
// contains filtered or unexported fields
}
MockPartiesEngine is a mock of PartiesEngine interface.
func NewMockPartiesEngine ¶ added in v0.77.3
func NewMockPartiesEngine(ctrl *gomock.Controller) *MockPartiesEngine
NewMockPartiesEngine creates a new mock instance.
func (*MockPartiesEngine) CheckSufficientBalanceToUpdateProfile ¶ added in v0.77.3
func (m *MockPartiesEngine) CheckSufficientBalanceToUpdateProfile(arg0 types.PartyID, arg1 *num.Uint) error
CheckSufficientBalanceToUpdateProfile mocks base method.
func (*MockPartiesEngine) EXPECT ¶ added in v0.77.3
func (m *MockPartiesEngine) EXPECT() *MockPartiesEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPartiesEngine) UpdateProfile ¶ added in v0.77.3
func (m *MockPartiesEngine) UpdateProfile(arg0 context.Context, arg1 types.PartyID, arg2 *v10.UpdatePartyProfile) error
UpdateProfile mocks base method.
type MockPartiesEngineMockRecorder ¶ added in v0.77.3
type MockPartiesEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockPartiesEngineMockRecorder is the mock recorder for MockPartiesEngine.
func (*MockPartiesEngineMockRecorder) CheckSufficientBalanceToUpdateProfile ¶ added in v0.77.3
func (mr *MockPartiesEngineMockRecorder) CheckSufficientBalanceToUpdateProfile(arg0, arg1 interface{}) *gomock.Call
CheckSufficientBalanceToUpdateProfile indicates an expected call of CheckSufficientBalanceToUpdateProfile.
func (*MockPartiesEngineMockRecorder) UpdateProfile ¶ added in v0.77.3
func (mr *MockPartiesEngineMockRecorder) UpdateProfile(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateProfile indicates an expected call of UpdateProfile.
type MockPoWEngine ¶ added in v0.77.3
type MockPoWEngine struct {
// contains filtered or unexported fields
}
MockPoWEngine is a mock of PoWEngine interface.
func NewMockPoWEngine ¶ added in v0.77.3
func NewMockPoWEngine(ctrl *gomock.Controller) *MockPoWEngine
NewMockPoWEngine creates a new mock instance.
func (*MockPoWEngine) BeginBlock ¶ added in v0.77.3
func (m *MockPoWEngine) BeginBlock(arg0 uint64, arg1 string, arg2 []abci.Tx)
BeginBlock mocks base method.
func (*MockPoWEngine) BlockData ¶ added in v0.77.3
func (m *MockPoWEngine) BlockData() (uint64, string)
BlockData mocks base method.
func (*MockPoWEngine) CheckBlockTx ¶ added in v0.77.3
func (m *MockPoWEngine) CheckBlockTx(arg0 abci.Tx) (pow.ValidationResult, *uint)
CheckBlockTx mocks base method.
func (*MockPoWEngine) CheckTx ¶ added in v0.77.3
func (m *MockPoWEngine) CheckTx(arg0 abci.Tx) error
CheckTx mocks base method.
func (*MockPoWEngine) EXPECT ¶ added in v0.77.3
func (m *MockPoWEngine) EXPECT() *MockPoWEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPoWEngine) EndPrepareProposal ¶ added in v0.77.3
func (m *MockPoWEngine) EndPrepareProposal(arg0 []pow.ValidationEntry)
EndPrepareProposal mocks base method.
func (*MockPoWEngine) GetSpamStatistics ¶ added in v0.77.3
func (m *MockPoWEngine) GetSpamStatistics(arg0 string) *v1.PoWStatistic
GetSpamStatistics mocks base method.
func (*MockPoWEngine) IsReady ¶ added in v0.77.3
func (m *MockPoWEngine) IsReady() bool
IsReady mocks base method.
func (*MockPoWEngine) OnCommit ¶ added in v0.77.3
func (m *MockPoWEngine) OnCommit()
OnCommit mocks base method.
func (*MockPoWEngine) ProcessProposal ¶ added in v0.77.3
func (m *MockPoWEngine) ProcessProposal(arg0 []abci.Tx) bool
ProcessProposal mocks base method.
func (*MockPoWEngine) SpamPoWDifficulty ¶ added in v0.77.3
func (m *MockPoWEngine) SpamPoWDifficulty() uint32
SpamPoWDifficulty mocks base method.
func (*MockPoWEngine) SpamPoWHashFunction ¶ added in v0.77.3
func (m *MockPoWEngine) SpamPoWHashFunction() string
SpamPoWHashFunction mocks base method.
func (*MockPoWEngine) SpamPoWIncreasingDifficulty ¶ added in v0.77.3
func (m *MockPoWEngine) SpamPoWIncreasingDifficulty() bool
SpamPoWIncreasingDifficulty mocks base method.
func (*MockPoWEngine) SpamPoWNumberOfPastBlocks ¶ added in v0.77.3
func (m *MockPoWEngine) SpamPoWNumberOfPastBlocks() uint32
SpamPoWNumberOfPastBlocks mocks base method.
func (*MockPoWEngine) SpamPoWNumberOfTxPerBlock ¶ added in v0.77.3
func (m *MockPoWEngine) SpamPoWNumberOfTxPerBlock() uint32
SpamPoWNumberOfTxPerBlock mocks base method.
type MockPoWEngineMockRecorder ¶ added in v0.77.3
type MockPoWEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockPoWEngineMockRecorder is the mock recorder for MockPoWEngine.
func (*MockPoWEngineMockRecorder) BeginBlock ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) BeginBlock(arg0, arg1, arg2 interface{}) *gomock.Call
BeginBlock indicates an expected call of BeginBlock.
func (*MockPoWEngineMockRecorder) BlockData ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) BlockData() *gomock.Call
BlockData indicates an expected call of BlockData.
func (*MockPoWEngineMockRecorder) CheckBlockTx ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) CheckBlockTx(arg0 interface{}) *gomock.Call
CheckBlockTx indicates an expected call of CheckBlockTx.
func (*MockPoWEngineMockRecorder) CheckTx ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) CheckTx(arg0 interface{}) *gomock.Call
CheckTx indicates an expected call of CheckTx.
func (*MockPoWEngineMockRecorder) EndPrepareProposal ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) EndPrepareProposal(arg0 interface{}) *gomock.Call
EndPrepareProposal indicates an expected call of EndPrepareProposal.
func (*MockPoWEngineMockRecorder) GetSpamStatistics ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) GetSpamStatistics(arg0 interface{}) *gomock.Call
GetSpamStatistics indicates an expected call of GetSpamStatistics.
func (*MockPoWEngineMockRecorder) IsReady ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) IsReady() *gomock.Call
IsReady indicates an expected call of IsReady.
func (*MockPoWEngineMockRecorder) OnCommit ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) OnCommit() *gomock.Call
OnCommit indicates an expected call of OnCommit.
func (*MockPoWEngineMockRecorder) ProcessProposal ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) ProcessProposal(arg0 interface{}) *gomock.Call
ProcessProposal indicates an expected call of ProcessProposal.
func (*MockPoWEngineMockRecorder) SpamPoWDifficulty ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) SpamPoWDifficulty() *gomock.Call
SpamPoWDifficulty indicates an expected call of SpamPoWDifficulty.
func (*MockPoWEngineMockRecorder) SpamPoWHashFunction ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) SpamPoWHashFunction() *gomock.Call
SpamPoWHashFunction indicates an expected call of SpamPoWHashFunction.
func (*MockPoWEngineMockRecorder) SpamPoWIncreasingDifficulty ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) SpamPoWIncreasingDifficulty() *gomock.Call
SpamPoWIncreasingDifficulty indicates an expected call of SpamPoWIncreasingDifficulty.
func (*MockPoWEngineMockRecorder) SpamPoWNumberOfPastBlocks ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) SpamPoWNumberOfPastBlocks() *gomock.Call
SpamPoWNumberOfPastBlocks indicates an expected call of SpamPoWNumberOfPastBlocks.
func (*MockPoWEngineMockRecorder) SpamPoWNumberOfTxPerBlock ¶ added in v0.77.3
func (mr *MockPoWEngineMockRecorder) SpamPoWNumberOfTxPerBlock() *gomock.Call
SpamPoWNumberOfTxPerBlock indicates an expected call of SpamPoWNumberOfTxPerBlock.
type MockProtocolUpgradeService ¶ added in v0.77.3
type MockProtocolUpgradeService struct {
// contains filtered or unexported fields
}
MockProtocolUpgradeService is a mock of ProtocolUpgradeService interface.
func NewMockProtocolUpgradeService ¶ added in v0.77.3
func NewMockProtocolUpgradeService(ctrl *gomock.Controller) *MockProtocolUpgradeService
NewMockProtocolUpgradeService creates a new mock instance.
func (*MockProtocolUpgradeService) BeginBlock ¶ added in v0.77.3
func (m *MockProtocolUpgradeService) BeginBlock(arg0 context.Context, arg1 uint64)
BeginBlock mocks base method.
func (*MockProtocolUpgradeService) Cleanup ¶ added in v0.77.3
func (m *MockProtocolUpgradeService) Cleanup(arg0 context.Context)
Cleanup mocks base method.
func (*MockProtocolUpgradeService) CoreReadyForUpgrade ¶ added in v0.77.3
func (m *MockProtocolUpgradeService) CoreReadyForUpgrade() bool
CoreReadyForUpgrade mocks base method.
func (*MockProtocolUpgradeService) EXPECT ¶ added in v0.77.3
func (m *MockProtocolUpgradeService) EXPECT() *MockProtocolUpgradeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProtocolUpgradeService) GetUpgradeStatus ¶ added in v0.77.3
func (m *MockProtocolUpgradeService) GetUpgradeStatus() types.UpgradeStatus
GetUpgradeStatus mocks base method.
func (*MockProtocolUpgradeService) IsValidProposal ¶ added in v0.77.3
func (m *MockProtocolUpgradeService) IsValidProposal(arg0 context.Context, arg1 string, arg2 uint64, arg3 string) error
IsValidProposal mocks base method.
func (*MockProtocolUpgradeService) SetCoreReadyForUpgrade ¶ added in v0.77.3
func (m *MockProtocolUpgradeService) SetCoreReadyForUpgrade()
SetCoreReadyForUpgrade mocks base method.
func (*MockProtocolUpgradeService) SetReadyForUpgrade ¶ added in v0.77.3
func (m *MockProtocolUpgradeService) SetReadyForUpgrade()
SetReadyForUpgrade mocks base method.
func (*MockProtocolUpgradeService) TimeForUpgrade ¶ added in v0.77.3
func (m *MockProtocolUpgradeService) TimeForUpgrade() bool
TimeForUpgrade mocks base method.
func (*MockProtocolUpgradeService) UpgradeProposal ¶ added in v0.77.3
func (m *MockProtocolUpgradeService) UpgradeProposal(arg0 context.Context, arg1 string, arg2 uint64, arg3 string) error
UpgradeProposal mocks base method.
type MockProtocolUpgradeServiceMockRecorder ¶ added in v0.77.3
type MockProtocolUpgradeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockProtocolUpgradeServiceMockRecorder is the mock recorder for MockProtocolUpgradeService.
func (*MockProtocolUpgradeServiceMockRecorder) BeginBlock ¶ added in v0.77.3
func (mr *MockProtocolUpgradeServiceMockRecorder) BeginBlock(arg0, arg1 interface{}) *gomock.Call
BeginBlock indicates an expected call of BeginBlock.
func (*MockProtocolUpgradeServiceMockRecorder) Cleanup ¶ added in v0.77.3
func (mr *MockProtocolUpgradeServiceMockRecorder) Cleanup(arg0 interface{}) *gomock.Call
Cleanup indicates an expected call of Cleanup.
func (*MockProtocolUpgradeServiceMockRecorder) CoreReadyForUpgrade ¶ added in v0.77.3
func (mr *MockProtocolUpgradeServiceMockRecorder) CoreReadyForUpgrade() *gomock.Call
CoreReadyForUpgrade indicates an expected call of CoreReadyForUpgrade.
func (*MockProtocolUpgradeServiceMockRecorder) GetUpgradeStatus ¶ added in v0.77.3
func (mr *MockProtocolUpgradeServiceMockRecorder) GetUpgradeStatus() *gomock.Call
GetUpgradeStatus indicates an expected call of GetUpgradeStatus.
func (*MockProtocolUpgradeServiceMockRecorder) IsValidProposal ¶ added in v0.77.3
func (mr *MockProtocolUpgradeServiceMockRecorder) IsValidProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
IsValidProposal indicates an expected call of IsValidProposal.
func (*MockProtocolUpgradeServiceMockRecorder) SetCoreReadyForUpgrade ¶ added in v0.77.3
func (mr *MockProtocolUpgradeServiceMockRecorder) SetCoreReadyForUpgrade() *gomock.Call
SetCoreReadyForUpgrade indicates an expected call of SetCoreReadyForUpgrade.
func (*MockProtocolUpgradeServiceMockRecorder) SetReadyForUpgrade ¶ added in v0.77.3
func (mr *MockProtocolUpgradeServiceMockRecorder) SetReadyForUpgrade() *gomock.Call
SetReadyForUpgrade indicates an expected call of SetReadyForUpgrade.
func (*MockProtocolUpgradeServiceMockRecorder) TimeForUpgrade ¶ added in v0.77.3
func (mr *MockProtocolUpgradeServiceMockRecorder) TimeForUpgrade() *gomock.Call
TimeForUpgrade indicates an expected call of TimeForUpgrade.
func (*MockProtocolUpgradeServiceMockRecorder) UpgradeProposal ¶ added in v0.77.3
func (mr *MockProtocolUpgradeServiceMockRecorder) UpgradeProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpgradeProposal indicates an expected call of UpgradeProposal.
type MockReferralProgram ¶ added in v0.77.3
type MockReferralProgram struct {
// contains filtered or unexported fields
}
MockReferralProgram is a mock of ReferralProgram interface.
func NewMockReferralProgram ¶ added in v0.77.3
func NewMockReferralProgram(ctrl *gomock.Controller) *MockReferralProgram
NewMockReferralProgram creates a new mock instance.
func (*MockReferralProgram) ApplyReferralCode ¶ added in v0.77.3
func (m *MockReferralProgram) ApplyReferralCode(arg0 context.Context, arg1 types.PartyID, arg2 types.ReferralSetID) error
ApplyReferralCode mocks base method.
func (*MockReferralProgram) CheckSufficientBalanceForApplyReferralCode ¶ added in v0.77.3
func (m *MockReferralProgram) CheckSufficientBalanceForApplyReferralCode(arg0 types.PartyID, arg1 *num.Uint) error
CheckSufficientBalanceForApplyReferralCode mocks base method.
func (*MockReferralProgram) CheckSufficientBalanceForCreateOrUpdateReferralSet ¶ added in v0.77.3
func (m *MockReferralProgram) CheckSufficientBalanceForCreateOrUpdateReferralSet(arg0 types.PartyID, arg1 *num.Uint) error
CheckSufficientBalanceForCreateOrUpdateReferralSet mocks base method.
func (*MockReferralProgram) CreateReferralSet ¶ added in v0.77.3
func (m *MockReferralProgram) CreateReferralSet(arg0 context.Context, arg1 types.PartyID, arg2 types.ReferralSetID) error
CreateReferralSet mocks base method.
func (*MockReferralProgram) EXPECT ¶ added in v0.77.3
func (m *MockReferralProgram) EXPECT() *MockReferralProgramMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReferralProgram) PartyOwnsReferralSet ¶ added in v0.77.3
func (m *MockReferralProgram) PartyOwnsReferralSet(arg0 types.PartyID, arg1 types.ReferralSetID) error
PartyOwnsReferralSet mocks base method.
func (*MockReferralProgram) UpdateProgram ¶ added in v0.77.3
func (m *MockReferralProgram) UpdateProgram(arg0 *types.ReferralProgram)
UpdateProgram mocks base method.
type MockReferralProgramMockRecorder ¶ added in v0.77.3
type MockReferralProgramMockRecorder struct {
// contains filtered or unexported fields
}
MockReferralProgramMockRecorder is the mock recorder for MockReferralProgram.
func (*MockReferralProgramMockRecorder) ApplyReferralCode ¶ added in v0.77.3
func (mr *MockReferralProgramMockRecorder) ApplyReferralCode(arg0, arg1, arg2 interface{}) *gomock.Call
ApplyReferralCode indicates an expected call of ApplyReferralCode.
func (*MockReferralProgramMockRecorder) CheckSufficientBalanceForApplyReferralCode ¶ added in v0.77.3
func (mr *MockReferralProgramMockRecorder) CheckSufficientBalanceForApplyReferralCode(arg0, arg1 interface{}) *gomock.Call
CheckSufficientBalanceForApplyReferralCode indicates an expected call of CheckSufficientBalanceForApplyReferralCode.
func (*MockReferralProgramMockRecorder) CheckSufficientBalanceForCreateOrUpdateReferralSet ¶ added in v0.77.3
func (mr *MockReferralProgramMockRecorder) CheckSufficientBalanceForCreateOrUpdateReferralSet(arg0, arg1 interface{}) *gomock.Call
CheckSufficientBalanceForCreateOrUpdateReferralSet indicates an expected call of CheckSufficientBalanceForCreateOrUpdateReferralSet.
func (*MockReferralProgramMockRecorder) CreateReferralSet ¶ added in v0.77.3
func (mr *MockReferralProgramMockRecorder) CreateReferralSet(arg0, arg1, arg2 interface{}) *gomock.Call
CreateReferralSet indicates an expected call of CreateReferralSet.
func (*MockReferralProgramMockRecorder) PartyOwnsReferralSet ¶ added in v0.77.3
func (mr *MockReferralProgramMockRecorder) PartyOwnsReferralSet(arg0, arg1 interface{}) *gomock.Call
PartyOwnsReferralSet indicates an expected call of PartyOwnsReferralSet.
func (*MockReferralProgramMockRecorder) UpdateProgram ¶ added in v0.77.3
func (mr *MockReferralProgramMockRecorder) UpdateProgram(arg0 interface{}) *gomock.Call
UpdateProgram indicates an expected call of UpdateProgram.
type MockSnapshotEngine ¶ added in v0.77.3
type MockSnapshotEngine struct {
// contains filtered or unexported fields
}
MockSnapshotEngine is a mock of SnapshotEngine interface.
func NewMockSnapshotEngine ¶ added in v0.77.3
func NewMockSnapshotEngine(ctrl *gomock.Controller) *MockSnapshotEngine
NewMockSnapshotEngine creates a new mock instance.
func (*MockSnapshotEngine) AddProviders ¶ added in v0.77.3
func (m *MockSnapshotEngine) AddProviders(arg0 ...types.StateProvider)
AddProviders mocks base method.
func (*MockSnapshotEngine) EXPECT ¶ added in v0.77.3
func (m *MockSnapshotEngine) EXPECT() *MockSnapshotEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSnapshotEngine) HasRestoredStateAlready ¶ added in v0.77.3
func (m *MockSnapshotEngine) HasRestoredStateAlready() bool
HasRestoredStateAlready mocks base method.
func (*MockSnapshotEngine) HasSnapshots ¶ added in v0.77.3
func (m *MockSnapshotEngine) HasSnapshots() (bool, error)
HasSnapshots mocks base method.
func (*MockSnapshotEngine) Info ¶ added in v0.77.3
func (m *MockSnapshotEngine) Info() ([]byte, int64, string)
Info mocks base method.
func (*MockSnapshotEngine) ListLatestSnapshots ¶ added in v0.77.3
func (m *MockSnapshotEngine) ListLatestSnapshots() ([]*types0.Snapshot, error)
ListLatestSnapshots mocks base method.
func (*MockSnapshotEngine) ReceiveSnapshot ¶ added in v0.77.3
func (m *MockSnapshotEngine) ReceiveSnapshot(arg0 *types.Snapshot) types0.ResponseOfferSnapshot
ReceiveSnapshot mocks base method.
func (*MockSnapshotEngine) ReceiveSnapshotChunk ¶ added in v0.77.3
func (m *MockSnapshotEngine) ReceiveSnapshotChunk(arg0 context.Context, arg1 *types.RawChunk, arg2 string) types0.ResponseApplySnapshotChunk
ReceiveSnapshotChunk mocks base method.
func (*MockSnapshotEngine) RetrieveSnapshotChunk ¶ added in v0.77.3
func (m *MockSnapshotEngine) RetrieveSnapshotChunk(arg0 uint64, arg1, arg2 uint32) (*types.RawChunk, error)
RetrieveSnapshotChunk mocks base method.
func (*MockSnapshotEngine) SnapshotDump ¶ added in v0.77.3
SnapshotDump mocks base method.
func (*MockSnapshotEngine) SnapshotNow ¶ added in v0.77.3
func (m *MockSnapshotEngine) SnapshotNow(arg0 context.Context) ([]byte, error)
SnapshotNow mocks base method.
type MockSnapshotEngineMockRecorder ¶ added in v0.77.3
type MockSnapshotEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockSnapshotEngineMockRecorder is the mock recorder for MockSnapshotEngine.
func (*MockSnapshotEngineMockRecorder) AddProviders ¶ added in v0.77.3
func (mr *MockSnapshotEngineMockRecorder) AddProviders(arg0 ...interface{}) *gomock.Call
AddProviders indicates an expected call of AddProviders.
func (*MockSnapshotEngineMockRecorder) HasRestoredStateAlready ¶ added in v0.77.3
func (mr *MockSnapshotEngineMockRecorder) HasRestoredStateAlready() *gomock.Call
HasRestoredStateAlready indicates an expected call of HasRestoredStateAlready.
func (*MockSnapshotEngineMockRecorder) HasSnapshots ¶ added in v0.77.3
func (mr *MockSnapshotEngineMockRecorder) HasSnapshots() *gomock.Call
HasSnapshots indicates an expected call of HasSnapshots.
func (*MockSnapshotEngineMockRecorder) Info ¶ added in v0.77.3
func (mr *MockSnapshotEngineMockRecorder) Info() *gomock.Call
Info indicates an expected call of Info.
func (*MockSnapshotEngineMockRecorder) ListLatestSnapshots ¶ added in v0.77.3
func (mr *MockSnapshotEngineMockRecorder) ListLatestSnapshots() *gomock.Call
ListLatestSnapshots indicates an expected call of ListLatestSnapshots.
func (*MockSnapshotEngineMockRecorder) ReceiveSnapshot ¶ added in v0.77.3
func (mr *MockSnapshotEngineMockRecorder) ReceiveSnapshot(arg0 interface{}) *gomock.Call
ReceiveSnapshot indicates an expected call of ReceiveSnapshot.
func (*MockSnapshotEngineMockRecorder) ReceiveSnapshotChunk ¶ added in v0.77.3
func (mr *MockSnapshotEngineMockRecorder) ReceiveSnapshotChunk(arg0, arg1, arg2 interface{}) *gomock.Call
ReceiveSnapshotChunk indicates an expected call of ReceiveSnapshotChunk.
func (*MockSnapshotEngineMockRecorder) RetrieveSnapshotChunk ¶ added in v0.77.3
func (mr *MockSnapshotEngineMockRecorder) RetrieveSnapshotChunk(arg0, arg1, arg2 interface{}) *gomock.Call
RetrieveSnapshotChunk indicates an expected call of RetrieveSnapshotChunk.
func (*MockSnapshotEngineMockRecorder) Snapshot ¶ added in v0.77.3
func (mr *MockSnapshotEngineMockRecorder) Snapshot(arg0 interface{}) *gomock.Call
Snapshot indicates an expected call of Snapshot.
func (*MockSnapshotEngineMockRecorder) SnapshotDump ¶ added in v0.77.3
func (mr *MockSnapshotEngineMockRecorder) SnapshotDump(arg0, arg1 interface{}) *gomock.Call
SnapshotDump indicates an expected call of SnapshotDump.
func (*MockSnapshotEngineMockRecorder) SnapshotNow ¶ added in v0.77.3
func (mr *MockSnapshotEngineMockRecorder) SnapshotNow(arg0 interface{}) *gomock.Call
SnapshotNow indicates an expected call of SnapshotNow.
type MockSpamEngine ¶ added in v0.77.3
type MockSpamEngine struct {
// contains filtered or unexported fields
}
MockSpamEngine is a mock of SpamEngine interface.
func NewMockSpamEngine ¶ added in v0.77.3
func NewMockSpamEngine(ctrl *gomock.Controller) *MockSpamEngine
NewMockSpamEngine creates a new mock instance.
func (*MockSpamEngine) BeginBlock ¶ added in v0.77.3
func (m *MockSpamEngine) BeginBlock(arg0 []abci.Tx)
BeginBlock mocks base method.
func (*MockSpamEngine) CheckBlockTx ¶ added in v0.77.3
func (m *MockSpamEngine) CheckBlockTx(arg0 abci.Tx) error
CheckBlockTx mocks base method.
func (*MockSpamEngine) EXPECT ¶ added in v0.77.3
func (m *MockSpamEngine) EXPECT() *MockSpamEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSpamEngine) EndPrepareProposal ¶ added in v0.77.3
func (m *MockSpamEngine) EndPrepareProposal()
EndPrepareProposal mocks base method.
func (*MockSpamEngine) PreBlockAccept ¶ added in v0.77.3
func (m *MockSpamEngine) PreBlockAccept(arg0 abci.Tx) error
PreBlockAccept mocks base method.
func (*MockSpamEngine) ProcessProposal ¶ added in v0.77.3
func (m *MockSpamEngine) ProcessProposal(arg0 []abci.Tx) bool
ProcessProposal mocks base method.
type MockSpamEngineMockRecorder ¶ added in v0.77.3
type MockSpamEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockSpamEngineMockRecorder is the mock recorder for MockSpamEngine.
func (*MockSpamEngineMockRecorder) BeginBlock ¶ added in v0.77.3
func (mr *MockSpamEngineMockRecorder) BeginBlock(arg0 interface{}) *gomock.Call
BeginBlock indicates an expected call of BeginBlock.
func (*MockSpamEngineMockRecorder) CheckBlockTx ¶ added in v0.77.3
func (mr *MockSpamEngineMockRecorder) CheckBlockTx(arg0 interface{}) *gomock.Call
CheckBlockTx indicates an expected call of CheckBlockTx.
func (*MockSpamEngineMockRecorder) EndPrepareProposal ¶ added in v0.77.3
func (mr *MockSpamEngineMockRecorder) EndPrepareProposal() *gomock.Call
EndPrepareProposal indicates an expected call of EndPrepareProposal.
func (*MockSpamEngineMockRecorder) PreBlockAccept ¶ added in v0.77.3
func (mr *MockSpamEngineMockRecorder) PreBlockAccept(arg0 interface{}) *gomock.Call
PreBlockAccept indicates an expected call of PreBlockAccept.
func (*MockSpamEngineMockRecorder) ProcessProposal ¶ added in v0.77.3
func (mr *MockSpamEngineMockRecorder) ProcessProposal(arg0 interface{}) *gomock.Call
ProcessProposal indicates an expected call of ProcessProposal.
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 MockStateVarEngine ¶ added in v0.77.3
type MockStateVarEngine struct {
// contains filtered or unexported fields
}
MockStateVarEngine is a mock of StateVarEngine interface.
func NewMockStateVarEngine ¶ added in v0.77.3
func NewMockStateVarEngine(ctrl *gomock.Controller) *MockStateVarEngine
NewMockStateVarEngine creates a new mock instance.
func (*MockStateVarEngine) EXPECT ¶ added in v0.77.3
func (m *MockStateVarEngine) EXPECT() *MockStateVarEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStateVarEngine) OnBlockEnd ¶ added in v0.77.3
func (m *MockStateVarEngine) OnBlockEnd(arg0 context.Context)
OnBlockEnd mocks base method.
func (*MockStateVarEngine) ProposedValueReceived ¶ added in v0.77.3
func (m *MockStateVarEngine) ProposedValueReceived(arg0 context.Context, arg1, arg2, arg3 string, arg4 *statevar.KeyValueBundle) error
ProposedValueReceived mocks base method.
type MockStateVarEngineMockRecorder ¶ added in v0.77.3
type MockStateVarEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockStateVarEngineMockRecorder is the mock recorder for MockStateVarEngine.
func (*MockStateVarEngineMockRecorder) OnBlockEnd ¶ added in v0.77.3
func (mr *MockStateVarEngineMockRecorder) OnBlockEnd(arg0 interface{}) *gomock.Call
OnBlockEnd indicates an expected call of OnBlockEnd.
func (*MockStateVarEngineMockRecorder) ProposedValueReceived ¶ added in v0.77.3
func (mr *MockStateVarEngineMockRecorder) ProposedValueReceived(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ProposedValueReceived indicates an expected call of ProposedValueReceived.
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) CurrentEventsInBatch ¶ added in v0.68.0
CurrentEventsInBatch 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) SetEventsPerSecond ¶ added in v0.68.0
SetEventsPerSecond 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) 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 MockTeamsEngine ¶ added in v0.77.3
type MockTeamsEngine struct {
// contains filtered or unexported fields
}
MockTeamsEngine is a mock of TeamsEngine interface.
func NewMockTeamsEngine ¶ added in v0.77.3
func NewMockTeamsEngine(ctrl *gomock.Controller) *MockTeamsEngine
NewMockTeamsEngine creates a new mock instance.
func (*MockTeamsEngine) CreateTeam ¶ added in v0.77.3
func (m *MockTeamsEngine) CreateTeam(arg0 context.Context, arg1 types.PartyID, arg2 types.TeamID, arg3 *v10.CreateReferralSet_Team) error
CreateTeam mocks base method.
func (*MockTeamsEngine) EXPECT ¶ added in v0.77.3
func (m *MockTeamsEngine) EXPECT() *MockTeamsEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTeamsEngine) JoinTeam ¶ added in v0.77.3
func (m *MockTeamsEngine) JoinTeam(arg0 context.Context, arg1 types.PartyID, arg2 *v10.JoinTeam) error
JoinTeam mocks base method.
func (*MockTeamsEngine) TeamExists ¶ added in v0.77.3
func (m *MockTeamsEngine) TeamExists(arg0 types.TeamID) bool
TeamExists mocks base method.
func (*MockTeamsEngine) UpdateTeam ¶ added in v0.77.3
func (m *MockTeamsEngine) UpdateTeam(arg0 context.Context, arg1 types.PartyID, arg2 types.TeamID, arg3 *v10.UpdateReferralSet_Team) error
UpdateTeam mocks base method.
type MockTeamsEngineMockRecorder ¶ added in v0.77.3
type MockTeamsEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockTeamsEngineMockRecorder is the mock recorder for MockTeamsEngine.
func (*MockTeamsEngineMockRecorder) CreateTeam ¶ added in v0.77.3
func (mr *MockTeamsEngineMockRecorder) CreateTeam(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateTeam indicates an expected call of CreateTeam.
func (*MockTeamsEngineMockRecorder) JoinTeam ¶ added in v0.77.3
func (mr *MockTeamsEngineMockRecorder) JoinTeam(arg0, arg1, arg2 interface{}) *gomock.Call
JoinTeam indicates an expected call of JoinTeam.
func (*MockTeamsEngineMockRecorder) TeamExists ¶ added in v0.77.3
func (mr *MockTeamsEngineMockRecorder) TeamExists(arg0 interface{}) *gomock.Call
TeamExists indicates an expected call of TeamExists.
func (*MockTeamsEngineMockRecorder) UpdateTeam ¶ added in v0.77.3
func (mr *MockTeamsEngineMockRecorder) UpdateTeam(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateTeam indicates an expected call of UpdateTeam.
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 MockTxCache ¶ added in v0.77.3
type MockTxCache struct {
// contains filtered or unexported fields
}
MockTxCache is a mock of TxCache interface.
func NewMockTxCache ¶ added in v0.77.3
func NewMockTxCache(ctrl *gomock.Controller) *MockTxCache
NewMockTxCache creates a new mock instance.
func (*MockTxCache) EXPECT ¶ added in v0.77.3
func (m *MockTxCache) EXPECT() *MockTxCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTxCache) GetRawTxs ¶ added in v0.77.3
func (m *MockTxCache) GetRawTxs(arg0 uint64) [][]byte
GetRawTxs mocks base method.
func (*MockTxCache) IsDelayRequired ¶ added in v0.77.3
func (m *MockTxCache) IsDelayRequired(arg0 string) bool
IsDelayRequired mocks base method.
func (*MockTxCache) IsDelayRequiredAnyMarket ¶ added in v0.77.3
func (m *MockTxCache) IsDelayRequiredAnyMarket() bool
IsDelayRequiredAnyMarket mocks base method.
func (*MockTxCache) IsTxInCache ¶ added in v0.77.3
func (m *MockTxCache) IsTxInCache(arg0 []byte) bool
IsTxInCache mocks base method.
func (*MockTxCache) NewDelayedTransaction ¶ added in v0.77.3
func (m *MockTxCache) NewDelayedTransaction(arg0 context.Context, arg1 [][]byte, arg2 uint64) []byte
NewDelayedTransaction mocks base method.
func (*MockTxCache) SetRawTxs ¶ added in v0.77.3
func (m *MockTxCache) SetRawTxs(arg0 [][]byte, arg1 uint64)
SetRawTxs mocks base method.
type MockTxCacheMockRecorder ¶ added in v0.77.3
type MockTxCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockTxCacheMockRecorder is the mock recorder for MockTxCache.
func (*MockTxCacheMockRecorder) GetRawTxs ¶ added in v0.77.3
func (mr *MockTxCacheMockRecorder) GetRawTxs(arg0 interface{}) *gomock.Call
GetRawTxs indicates an expected call of GetRawTxs.
func (*MockTxCacheMockRecorder) IsDelayRequired ¶ added in v0.77.3
func (mr *MockTxCacheMockRecorder) IsDelayRequired(arg0 interface{}) *gomock.Call
IsDelayRequired indicates an expected call of IsDelayRequired.
func (*MockTxCacheMockRecorder) IsDelayRequiredAnyMarket ¶ added in v0.77.3
func (mr *MockTxCacheMockRecorder) IsDelayRequiredAnyMarket() *gomock.Call
IsDelayRequiredAnyMarket indicates an expected call of IsDelayRequiredAnyMarket.
func (*MockTxCacheMockRecorder) IsTxInCache ¶ added in v0.77.3
func (mr *MockTxCacheMockRecorder) IsTxInCache(arg0 interface{}) *gomock.Call
IsTxInCache indicates an expected call of IsTxInCache.
func (*MockTxCacheMockRecorder) NewDelayedTransaction ¶ added in v0.77.3
func (mr *MockTxCacheMockRecorder) NewDelayedTransaction(arg0, arg1, arg2 interface{}) *gomock.Call
NewDelayedTransaction indicates an expected call of NewDelayedTransaction.
func (*MockTxCacheMockRecorder) SetRawTxs ¶ added in v0.77.3
func (mr *MockTxCacheMockRecorder) SetRawTxs(arg0, arg1 interface{}) *gomock.Call
SetRawTxs indicates an expected call of SetRawTxs.
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 *v10.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 uint64, arg2 string)
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, arg3 string, arg4 v10.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 *v10.AnnounceNode) error
ProcessAnnounceNode mocks base method.
func (*MockValidatorTopology) ProcessEthereumKeyRotation ¶ added in v0.58.0
func (m *MockValidatorTopology) ProcessEthereumKeyRotation(arg0 context.Context, arg1 string, arg2 *v10.EthereumKeyRotateSubmission, arg3 func([]byte, []byte, string) error) error
ProcessEthereumKeyRotation mocks base method.
func (*MockValidatorTopology) ProcessValidatorHeartbeat ¶
func (m *MockValidatorTopology) ProcessValidatorHeartbeat(arg0 context.Context, arg1 *v10.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, arg2 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, arg4 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 MockVolumeDiscountProgram ¶ added in v0.77.3
type MockVolumeDiscountProgram struct {
// contains filtered or unexported fields
}
MockVolumeDiscountProgram is a mock of VolumeDiscountProgram interface.
func NewMockVolumeDiscountProgram ¶ added in v0.77.3
func NewMockVolumeDiscountProgram(ctrl *gomock.Controller) *MockVolumeDiscountProgram
NewMockVolumeDiscountProgram creates a new mock instance.
func (*MockVolumeDiscountProgram) EXPECT ¶ added in v0.77.3
func (m *MockVolumeDiscountProgram) EXPECT() *MockVolumeDiscountProgramMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVolumeDiscountProgram) UpdateProgram ¶ added in v0.77.3
func (m *MockVolumeDiscountProgram) UpdateProgram(arg0 *types.VolumeDiscountProgram)
UpdateProgram mocks base method.
type MockVolumeDiscountProgramMockRecorder ¶ added in v0.77.3
type MockVolumeDiscountProgramMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumeDiscountProgramMockRecorder is the mock recorder for MockVolumeDiscountProgram.
func (*MockVolumeDiscountProgramMockRecorder) UpdateProgram ¶ added in v0.77.3
func (mr *MockVolumeDiscountProgramMockRecorder) UpdateProgram(arg0 interface{}) *gomock.Call
UpdateProgram indicates an expected call of UpdateProgram.
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 *v10.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.