Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCommander
- type MockCommanderMockRecorder
- type MockMultiSigTopology
- func (m *MockMultiSigTopology) ChainID() string
- func (m *MockMultiSigTopology) EXPECT() *MockMultiSigTopologyMockRecorder
- func (m *MockMultiSigTopology) ExcessSigners(arg0 []string) bool
- func (m *MockMultiSigTopology) GetSigners() []string
- func (m *MockMultiSigTopology) GetThreshold() uint32
- func (m *MockMultiSigTopology) IsSigner(arg0 string) bool
- type MockMultiSigTopologyMockRecorder
- func (mr *MockMultiSigTopologyMockRecorder) ChainID() *gomock.Call
- func (mr *MockMultiSigTopologyMockRecorder) ExcessSigners(arg0 interface{}) *gomock.Call
- func (mr *MockMultiSigTopologyMockRecorder) GetSigners() *gomock.Call
- func (mr *MockMultiSigTopologyMockRecorder) GetThreshold() *gomock.Call
- func (mr *MockMultiSigTopologyMockRecorder) IsSigner(arg0 interface{}) *gomock.Call
- type MockNodeWallets
- type MockNodeWalletsMockRecorder
- type MockNotary
- func (m *MockNotary) EXPECT() *MockNotaryMockRecorder
- func (m *MockNotary) IsSigned(arg0 context.Context, arg1 string, arg2 v1.NodeSignatureKind) ([]v1.NodeSignature, bool)
- func (m *MockNotary) OfferSignatures(arg0 v1.NodeSignatureKind, arg1 func(string) []byte)
- func (m *MockNotary) StartAggregate(arg0 string, arg1 v1.NodeSignatureKind, arg2 []byte)
- type MockNotaryMockRecorder
- type MockSignatures
- func (m *MockSignatures) ClearStaleSignatures()
- func (m *MockSignatures) EXPECT() *MockSignaturesMockRecorder
- func (m *MockSignatures) EmitValidatorAddedSignatures(arg0 context.Context, arg1, arg2, arg3 string, arg4 time.Time) error
- func (m *MockSignatures) EmitValidatorRemovedSignatures(arg0 context.Context, arg1, arg2, arg3 string, arg4 time.Time) error
- func (m *MockSignatures) OfferSignatures()
- func (m *MockSignatures) PreparePromotionsSignatures(arg0 context.Context, arg1 time.Time, arg2 uint64, ...)
- func (m *MockSignatures) PrepareValidatorSignatures(arg0 context.Context, arg1 []validators.NodeIDAddress, arg2 uint64, arg3 bool)
- func (m *MockSignatures) RestorePendingSignatures(arg0 *v10.ToplogySignatures)
- func (m *MockSignatures) SerialisePendingSignatures() *v10.ToplogySignatures
- func (m *MockSignatures) SetNonce(arg0 time.Time)
- type MockSignaturesMockRecorder
- func (mr *MockSignaturesMockRecorder) ClearStaleSignatures() *gomock.Call
- func (mr *MockSignaturesMockRecorder) EmitValidatorAddedSignatures(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSignaturesMockRecorder) EmitValidatorRemovedSignatures(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSignaturesMockRecorder) OfferSignatures() *gomock.Call
- func (mr *MockSignaturesMockRecorder) PreparePromotionsSignatures(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSignaturesMockRecorder) PrepareValidatorSignatures(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSignaturesMockRecorder) RestorePendingSignatures(arg0 interface{}) *gomock.Call
- func (mr *MockSignaturesMockRecorder) SerialisePendingSignatures() *gomock.Call
- func (mr *MockSignaturesMockRecorder) SetNonce(arg0 interface{}) *gomock.Call
- type MockTimeService
- type MockTimeServiceMockRecorder
- type MockValidatorPerformance
- func (m *MockValidatorPerformance) BeginBlock(arg0 context.Context, arg1 string)
- func (m *MockValidatorPerformance) Deserialize(arg0 *v10.ValidatorPerformance)
- func (m *MockValidatorPerformance) EXPECT() *MockValidatorPerformanceMockRecorder
- func (m *MockValidatorPerformance) Reset()
- func (m *MockValidatorPerformance) Serialize() *v10.ValidatorPerformance
- func (m *MockValidatorPerformance) ValidatorPerformanceScore(arg0 string, arg1, arg2 int64, arg3 decimal.Decimal) decimal.Decimal
- type MockValidatorPerformanceMockRecorder
- func (mr *MockValidatorPerformanceMockRecorder) BeginBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorPerformanceMockRecorder) Deserialize(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorPerformanceMockRecorder) Reset() *gomock.Call
- func (mr *MockValidatorPerformanceMockRecorder) Serialize() *gomock.Call
- func (mr *MockValidatorPerformanceMockRecorder) ValidatorPerformanceScore(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockValidatorTopology
- func (m *MockValidatorTopology) AllVegaPubKeys() []string
- func (m *MockValidatorTopology) EXPECT() *MockValidatorTopologyMockRecorder
- func (m *MockValidatorTopology) GetTotalVotingPower() int64
- func (m *MockValidatorTopology) GetVotingPower(arg0 string) int64
- func (m *MockValidatorTopology) IsTendermintValidator(arg0 string) bool
- func (m *MockValidatorTopology) IsValidator() bool
- func (m *MockValidatorTopology) IsValidatorVegaPubKey(arg0 string) bool
- func (m *MockValidatorTopology) SelfVegaPubKey() string
- type MockValidatorTopologyMockRecorder
- func (mr *MockValidatorTopologyMockRecorder) AllVegaPubKeys() *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) GetTotalVotingPower() *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) GetVotingPower(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) IsTendermintValidator(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) IsValidator() *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) IsValidatorVegaPubKey(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) SelfVegaPubKey() *gomock.Call
- type MockWallet
- type MockWalletMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommander ¶
type MockCommander struct {
// contains filtered or unexported fields
}
MockCommander is a mock of Commander interface.
func NewMockCommander ¶
func NewMockCommander(ctrl *gomock.Controller) *MockCommander
NewMockCommander creates a new mock instance.
func (*MockCommander) Command ¶
func (m *MockCommander) Command(arg0 context.Context, arg1 txn.Command, arg2 protoiface.MessageV1, arg3 func(string, error), arg4 *backoff.ExponentialBackOff)
Command mocks base method.
func (*MockCommander) CommandSync ¶
func (m *MockCommander) CommandSync(arg0 context.Context, arg1 txn.Command, arg2 protoiface.MessageV1, arg3 func(string, error), arg4 *backoff.ExponentialBackOff)
CommandSync mocks base method.
func (*MockCommander) EXPECT ¶
func (m *MockCommander) EXPECT() *MockCommanderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCommanderMockRecorder ¶
type MockCommanderMockRecorder struct {
// contains filtered or unexported fields
}
MockCommanderMockRecorder is the mock recorder for MockCommander.
func (*MockCommanderMockRecorder) Command ¶
func (mr *MockCommanderMockRecorder) Command(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Command indicates an expected call of Command.
func (*MockCommanderMockRecorder) CommandSync ¶
func (mr *MockCommanderMockRecorder) CommandSync(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CommandSync indicates an expected call of CommandSync.
type MockMultiSigTopology ¶ added in v0.55.0
type MockMultiSigTopology struct {
// contains filtered or unexported fields
}
MockMultiSigTopology is a mock of MultiSigTopology interface.
func NewMockMultiSigTopology ¶ added in v0.55.0
func NewMockMultiSigTopology(ctrl *gomock.Controller) *MockMultiSigTopology
NewMockMultiSigTopology creates a new mock instance.
func (*MockMultiSigTopology) ChainID ¶ added in v0.76.0
func (m *MockMultiSigTopology) ChainID() string
ChainID mocks base method.
func (*MockMultiSigTopology) EXPECT ¶ added in v0.55.0
func (m *MockMultiSigTopology) EXPECT() *MockMultiSigTopologyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMultiSigTopology) ExcessSigners ¶ added in v0.55.0
func (m *MockMultiSigTopology) ExcessSigners(arg0 []string) bool
ExcessSigners mocks base method.
func (*MockMultiSigTopology) GetSigners ¶ added in v0.67.0
func (m *MockMultiSigTopology) GetSigners() []string
GetSigners mocks base method.
func (*MockMultiSigTopology) GetThreshold ¶ added in v0.67.0
func (m *MockMultiSigTopology) GetThreshold() uint32
GetThreshold mocks base method.
func (*MockMultiSigTopology) IsSigner ¶ added in v0.55.0
func (m *MockMultiSigTopology) IsSigner(arg0 string) bool
IsSigner mocks base method.
type MockMultiSigTopologyMockRecorder ¶ added in v0.55.0
type MockMultiSigTopologyMockRecorder struct {
// contains filtered or unexported fields
}
MockMultiSigTopologyMockRecorder is the mock recorder for MockMultiSigTopology.
func (*MockMultiSigTopologyMockRecorder) ChainID ¶ added in v0.76.0
func (mr *MockMultiSigTopologyMockRecorder) ChainID() *gomock.Call
ChainID indicates an expected call of ChainID.
func (*MockMultiSigTopologyMockRecorder) ExcessSigners ¶ added in v0.55.0
func (mr *MockMultiSigTopologyMockRecorder) ExcessSigners(arg0 interface{}) *gomock.Call
ExcessSigners indicates an expected call of ExcessSigners.
func (*MockMultiSigTopologyMockRecorder) GetSigners ¶ added in v0.67.0
func (mr *MockMultiSigTopologyMockRecorder) GetSigners() *gomock.Call
GetSigners indicates an expected call of GetSigners.
func (*MockMultiSigTopologyMockRecorder) GetThreshold ¶ added in v0.67.0
func (mr *MockMultiSigTopologyMockRecorder) GetThreshold() *gomock.Call
GetThreshold indicates an expected call of GetThreshold.
func (*MockMultiSigTopologyMockRecorder) IsSigner ¶ added in v0.55.0
func (mr *MockMultiSigTopologyMockRecorder) IsSigner(arg0 interface{}) *gomock.Call
IsSigner indicates an expected call of IsSigner.
type MockNodeWallets ¶
type MockNodeWallets struct {
// contains filtered or unexported fields
}
MockNodeWallets is a mock of NodeWallets interface.
func NewMockNodeWallets ¶
func NewMockNodeWallets(ctrl *gomock.Controller) *MockNodeWallets
NewMockNodeWallets creates a new mock instance.
func (*MockNodeWallets) EXPECT ¶
func (m *MockNodeWallets) EXPECT() *MockNodeWalletsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNodeWallets) GetEthereum ¶
func (m *MockNodeWallets) GetEthereum() validators.Signer
GetEthereum mocks base method.
func (*MockNodeWallets) GetEthereumAddress ¶
func (m *MockNodeWallets) GetEthereumAddress() string
GetEthereumAddress mocks base method.
func (*MockNodeWallets) GetTendermintPubkey ¶
func (m *MockNodeWallets) GetTendermintPubkey() string
GetTendermintPubkey mocks base method.
func (*MockNodeWallets) GetVega ¶
func (m *MockNodeWallets) GetVega() validators.Wallet
GetVega mocks base method.
type MockNodeWalletsMockRecorder ¶
type MockNodeWalletsMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeWalletsMockRecorder is the mock recorder for MockNodeWallets.
func (*MockNodeWalletsMockRecorder) GetEthereum ¶
func (mr *MockNodeWalletsMockRecorder) GetEthereum() *gomock.Call
GetEthereum indicates an expected call of GetEthereum.
func (*MockNodeWalletsMockRecorder) GetEthereumAddress ¶
func (mr *MockNodeWalletsMockRecorder) GetEthereumAddress() *gomock.Call
GetEthereumAddress indicates an expected call of GetEthereumAddress.
func (*MockNodeWalletsMockRecorder) GetTendermintPubkey ¶
func (mr *MockNodeWalletsMockRecorder) GetTendermintPubkey() *gomock.Call
GetTendermintPubkey indicates an expected call of GetTendermintPubkey.
func (*MockNodeWalletsMockRecorder) GetVega ¶
func (mr *MockNodeWalletsMockRecorder) GetVega() *gomock.Call
GetVega indicates an expected call of GetVega.
type MockNotary ¶
type MockNotary struct {
// contains filtered or unexported fields
}
MockNotary is a mock of Notary interface.
func NewMockNotary ¶
func NewMockNotary(ctrl *gomock.Controller) *MockNotary
NewMockNotary creates a new mock instance.
func (*MockNotary) EXPECT ¶
func (m *MockNotary) EXPECT() *MockNotaryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNotary) IsSigned ¶
func (m *MockNotary) IsSigned(arg0 context.Context, arg1 string, arg2 v1.NodeSignatureKind) ([]v1.NodeSignature, bool)
IsSigned mocks base method.
func (*MockNotary) OfferSignatures ¶
func (m *MockNotary) OfferSignatures(arg0 v1.NodeSignatureKind, arg1 func(string) []byte)
OfferSignatures mocks base method.
func (*MockNotary) StartAggregate ¶
func (m *MockNotary) StartAggregate(arg0 string, arg1 v1.NodeSignatureKind, arg2 []byte)
StartAggregate mocks base method.
type MockNotaryMockRecorder ¶
type MockNotaryMockRecorder struct {
// contains filtered or unexported fields
}
MockNotaryMockRecorder is the mock recorder for MockNotary.
func (*MockNotaryMockRecorder) IsSigned ¶
func (mr *MockNotaryMockRecorder) IsSigned(arg0, arg1, arg2 interface{}) *gomock.Call
IsSigned indicates an expected call of IsSigned.
func (*MockNotaryMockRecorder) OfferSignatures ¶
func (mr *MockNotaryMockRecorder) OfferSignatures(arg0, arg1 interface{}) *gomock.Call
OfferSignatures indicates an expected call of OfferSignatures.
func (*MockNotaryMockRecorder) StartAggregate ¶
func (mr *MockNotaryMockRecorder) StartAggregate(arg0, arg1, arg2 interface{}) *gomock.Call
StartAggregate indicates an expected call of StartAggregate.
type MockSignatures ¶
type MockSignatures struct {
// contains filtered or unexported fields
}
MockSignatures is a mock of Signatures interface.
func NewMockSignatures ¶
func NewMockSignatures(ctrl *gomock.Controller) *MockSignatures
NewMockSignatures creates a new mock instance.
func (*MockSignatures) ClearStaleSignatures ¶ added in v0.55.0
func (m *MockSignatures) ClearStaleSignatures()
ClearStaleSignatures mocks base method.
func (*MockSignatures) EXPECT ¶
func (m *MockSignatures) EXPECT() *MockSignaturesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSignatures) EmitValidatorAddedSignatures ¶ added in v0.55.0
func (m *MockSignatures) EmitValidatorAddedSignatures(arg0 context.Context, arg1, arg2, arg3 string, arg4 time.Time) error
EmitValidatorAddedSignatures mocks base method.
func (*MockSignatures) EmitValidatorRemovedSignatures ¶ added in v0.55.0
func (m *MockSignatures) EmitValidatorRemovedSignatures(arg0 context.Context, arg1, arg2, arg3 string, arg4 time.Time) error
EmitValidatorRemovedSignatures mocks base method.
func (*MockSignatures) OfferSignatures ¶ added in v0.71.0
func (m *MockSignatures) OfferSignatures()
OfferSignatures mocks base method.
func (*MockSignatures) PreparePromotionsSignatures ¶ added in v0.55.0
func (m *MockSignatures) PreparePromotionsSignatures(arg0 context.Context, arg1 time.Time, arg2 uint64, arg3, arg4 map[string]validators.StatusAddress)
PreparePromotionsSignatures mocks base method.
func (*MockSignatures) PrepareValidatorSignatures ¶ added in v0.55.0
func (m *MockSignatures) PrepareValidatorSignatures(arg0 context.Context, arg1 []validators.NodeIDAddress, arg2 uint64, arg3 bool)
PrepareValidatorSignatures mocks base method.
func (*MockSignatures) RestorePendingSignatures ¶ added in v0.55.0
func (m *MockSignatures) RestorePendingSignatures(arg0 *v10.ToplogySignatures)
RestorePendingSignatures mocks base method.
func (*MockSignatures) SerialisePendingSignatures ¶ added in v0.55.0
func (m *MockSignatures) SerialisePendingSignatures() *v10.ToplogySignatures
SerialisePendingSignatures mocks base method.
func (*MockSignatures) SetNonce ¶
func (m *MockSignatures) SetNonce(arg0 time.Time)
SetNonce mocks base method.
type MockSignaturesMockRecorder ¶
type MockSignaturesMockRecorder struct {
// contains filtered or unexported fields
}
MockSignaturesMockRecorder is the mock recorder for MockSignatures.
func (*MockSignaturesMockRecorder) ClearStaleSignatures ¶ added in v0.55.0
func (mr *MockSignaturesMockRecorder) ClearStaleSignatures() *gomock.Call
ClearStaleSignatures indicates an expected call of ClearStaleSignatures.
func (*MockSignaturesMockRecorder) EmitValidatorAddedSignatures ¶ added in v0.55.0
func (mr *MockSignaturesMockRecorder) EmitValidatorAddedSignatures(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
EmitValidatorAddedSignatures indicates an expected call of EmitValidatorAddedSignatures.
func (*MockSignaturesMockRecorder) EmitValidatorRemovedSignatures ¶ added in v0.55.0
func (mr *MockSignaturesMockRecorder) EmitValidatorRemovedSignatures(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
EmitValidatorRemovedSignatures indicates an expected call of EmitValidatorRemovedSignatures.
func (*MockSignaturesMockRecorder) OfferSignatures ¶ added in v0.71.0
func (mr *MockSignaturesMockRecorder) OfferSignatures() *gomock.Call
OfferSignatures indicates an expected call of OfferSignatures.
func (*MockSignaturesMockRecorder) PreparePromotionsSignatures ¶ added in v0.55.0
func (mr *MockSignaturesMockRecorder) PreparePromotionsSignatures(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
PreparePromotionsSignatures indicates an expected call of PreparePromotionsSignatures.
func (*MockSignaturesMockRecorder) PrepareValidatorSignatures ¶ added in v0.55.0
func (mr *MockSignaturesMockRecorder) PrepareValidatorSignatures(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PrepareValidatorSignatures indicates an expected call of PrepareValidatorSignatures.
func (*MockSignaturesMockRecorder) RestorePendingSignatures ¶ added in v0.55.0
func (mr *MockSignaturesMockRecorder) RestorePendingSignatures(arg0 interface{}) *gomock.Call
RestorePendingSignatures indicates an expected call of RestorePendingSignatures.
func (*MockSignaturesMockRecorder) SerialisePendingSignatures ¶ added in v0.55.0
func (mr *MockSignaturesMockRecorder) SerialisePendingSignatures() *gomock.Call
SerialisePendingSignatures indicates an expected call of SerialisePendingSignatures.
func (*MockSignaturesMockRecorder) SetNonce ¶
func (mr *MockSignaturesMockRecorder) SetNonce(arg0 interface{}) *gomock.Call
SetNonce indicates an expected call of SetNonce.
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) GetTimeNow ¶
func (m *MockTimeService) GetTimeNow() time.Time
GetTimeNow mocks base method.
type MockTimeServiceMockRecorder ¶
type MockTimeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTimeServiceMockRecorder is the mock recorder for MockTimeService.
func (*MockTimeServiceMockRecorder) GetTimeNow ¶
func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call
GetTimeNow indicates an expected call of GetTimeNow.
type MockValidatorPerformance ¶
type MockValidatorPerformance struct {
// contains filtered or unexported fields
}
MockValidatorPerformance is a mock of ValidatorPerformance interface.
func NewMockValidatorPerformance ¶
func NewMockValidatorPerformance(ctrl *gomock.Controller) *MockValidatorPerformance
NewMockValidatorPerformance creates a new mock instance.
func (*MockValidatorPerformance) BeginBlock ¶
func (m *MockValidatorPerformance) BeginBlock(arg0 context.Context, arg1 string)
BeginBlock mocks base method.
func (*MockValidatorPerformance) Deserialize ¶
func (m *MockValidatorPerformance) Deserialize(arg0 *v10.ValidatorPerformance)
Deserialize mocks base method.
func (*MockValidatorPerformance) EXPECT ¶
func (m *MockValidatorPerformance) EXPECT() *MockValidatorPerformanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockValidatorPerformance) Reset ¶
func (m *MockValidatorPerformance) Reset()
Reset mocks base method.
func (*MockValidatorPerformance) Serialize ¶
func (m *MockValidatorPerformance) Serialize() *v10.ValidatorPerformance
Serialize mocks base method.
func (*MockValidatorPerformance) ValidatorPerformanceScore ¶
func (m *MockValidatorPerformance) ValidatorPerformanceScore(arg0 string, arg1, arg2 int64, arg3 decimal.Decimal) decimal.Decimal
ValidatorPerformanceScore mocks base method.
type MockValidatorPerformanceMockRecorder ¶
type MockValidatorPerformanceMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorPerformanceMockRecorder is the mock recorder for MockValidatorPerformance.
func (*MockValidatorPerformanceMockRecorder) BeginBlock ¶
func (mr *MockValidatorPerformanceMockRecorder) BeginBlock(arg0, arg1 interface{}) *gomock.Call
BeginBlock indicates an expected call of BeginBlock.
func (*MockValidatorPerformanceMockRecorder) Deserialize ¶
func (mr *MockValidatorPerformanceMockRecorder) Deserialize(arg0 interface{}) *gomock.Call
Deserialize indicates an expected call of Deserialize.
func (*MockValidatorPerformanceMockRecorder) Reset ¶
func (mr *MockValidatorPerformanceMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset.
func (*MockValidatorPerformanceMockRecorder) Serialize ¶
func (mr *MockValidatorPerformanceMockRecorder) Serialize() *gomock.Call
Serialize indicates an expected call of Serialize.
func (*MockValidatorPerformanceMockRecorder) ValidatorPerformanceScore ¶
func (mr *MockValidatorPerformanceMockRecorder) ValidatorPerformanceScore(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ValidatorPerformanceScore indicates an expected call of ValidatorPerformanceScore.
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) AllVegaPubKeys ¶ added in v0.71.0
func (m *MockValidatorTopology) AllVegaPubKeys() []string
AllVegaPubKeys 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) GetTotalVotingPower ¶ added in v0.64.0
func (m *MockValidatorTopology) GetTotalVotingPower() int64
GetTotalVotingPower mocks base method.
func (*MockValidatorTopology) GetVotingPower ¶ added in v0.64.0
func (m *MockValidatorTopology) GetVotingPower(arg0 string) int64
GetVotingPower mocks base method.
func (*MockValidatorTopology) IsTendermintValidator ¶
func (m *MockValidatorTopology) IsTendermintValidator(arg0 string) bool
IsTendermintValidator mocks base method.
func (*MockValidatorTopology) IsValidator ¶
func (m *MockValidatorTopology) IsValidator() bool
IsValidator mocks base method.
func (*MockValidatorTopology) IsValidatorVegaPubKey ¶
func (m *MockValidatorTopology) IsValidatorVegaPubKey(arg0 string) bool
IsValidatorVegaPubKey mocks base method.
func (*MockValidatorTopology) SelfVegaPubKey ¶
func (m *MockValidatorTopology) SelfVegaPubKey() string
SelfVegaPubKey mocks base method.
type MockValidatorTopologyMockRecorder ¶
type MockValidatorTopologyMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorTopologyMockRecorder is the mock recorder for MockValidatorTopology.
func (*MockValidatorTopologyMockRecorder) AllVegaPubKeys ¶ added in v0.71.0
func (mr *MockValidatorTopologyMockRecorder) AllVegaPubKeys() *gomock.Call
AllVegaPubKeys indicates an expected call of AllVegaPubKeys.
func (*MockValidatorTopologyMockRecorder) GetTotalVotingPower ¶ added in v0.64.0
func (mr *MockValidatorTopologyMockRecorder) GetTotalVotingPower() *gomock.Call
GetTotalVotingPower indicates an expected call of GetTotalVotingPower.
func (*MockValidatorTopologyMockRecorder) GetVotingPower ¶ added in v0.64.0
func (mr *MockValidatorTopologyMockRecorder) GetVotingPower(arg0 interface{}) *gomock.Call
GetVotingPower indicates an expected call of GetVotingPower.
func (*MockValidatorTopologyMockRecorder) IsTendermintValidator ¶
func (mr *MockValidatorTopologyMockRecorder) IsTendermintValidator(arg0 interface{}) *gomock.Call
IsTendermintValidator indicates an expected call of IsTendermintValidator.
func (*MockValidatorTopologyMockRecorder) IsValidator ¶
func (mr *MockValidatorTopologyMockRecorder) IsValidator() *gomock.Call
IsValidator indicates an expected call of IsValidator.
func (*MockValidatorTopologyMockRecorder) IsValidatorVegaPubKey ¶
func (mr *MockValidatorTopologyMockRecorder) IsValidatorVegaPubKey(arg0 interface{}) *gomock.Call
IsValidatorVegaPubKey indicates an expected call of IsValidatorVegaPubKey.
func (*MockValidatorTopologyMockRecorder) SelfVegaPubKey ¶
func (mr *MockValidatorTopologyMockRecorder) SelfVegaPubKey() *gomock.Call
SelfVegaPubKey indicates an expected call of SelfVegaPubKey.
type MockWallet ¶
type MockWallet struct {
// contains filtered or unexported fields
}
MockWallet is a mock of Wallet interface.
func NewMockWallet ¶
func NewMockWallet(ctrl *gomock.Controller) *MockWallet
NewMockWallet creates a new mock instance.
func (*MockWallet) EXPECT ¶
func (m *MockWallet) EXPECT() *MockWalletMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWallet) PubKey ¶
func (m *MockWallet) PubKey() crypto.PublicKey
PubKey mocks base method.
type MockWalletMockRecorder ¶
type MockWalletMockRecorder struct {
// contains filtered or unexported fields
}
MockWalletMockRecorder is the mock recorder for MockWallet.
func (*MockWalletMockRecorder) Algo ¶
func (mr *MockWalletMockRecorder) Algo() *gomock.Call
Algo indicates an expected call of Algo.
func (*MockWalletMockRecorder) ID ¶
func (mr *MockWalletMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockWalletMockRecorder) PubKey ¶
func (mr *MockWalletMockRecorder) PubKey() *gomock.Call
PubKey indicates an expected call of PubKey.
func (*MockWalletMockRecorder) Sign ¶
func (mr *MockWalletMockRecorder) Sign(arg0 interface{}) *gomock.Call
Sign indicates an expected call of Sign.