Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockDelegation
- type MockDelegationMockRecorder
- type MockMarketActivityTracker
- func (m *MockMarketActivityTracker) EXPECT() *MockMarketActivityTrackerMockRecorder
- func (m *MockMarketActivityTracker) GetAllMarketIDs() []string
- func (m *MockMarketActivityTracker) GetFeePartyScores(arg0 string, arg1 vega.TransferType) []*types.PartyContibutionScore
- func (m *MockMarketActivityTracker) GetProposer(arg0 string) string
- type MockMarketActivityTrackerMockRecorder
- type MockTimeService
- type MockTimeServiceMockRecorder
- type MockTopology
- func (m *MockTopology) EXPECT() *MockTopologyMockRecorder
- func (m *MockTopology) GetRewardsScores(arg0 context.Context, arg1 string, arg2 []*types.ValidatorData, ...) (*types.ScoreData, *types.ScoreData)
- func (m *MockTopology) RecalcValidatorSet(arg0 context.Context, arg1 string, arg2 []*types.ValidatorData, ...)
- type MockTopologyMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDelegation ¶
type MockDelegation struct {
// contains filtered or unexported fields
}
MockDelegation is a mock of Delegation interface.
func NewMockDelegation ¶
func NewMockDelegation(ctrl *gomock.Controller) *MockDelegation
NewMockDelegation creates a new mock instance.
func (*MockDelegation) EXPECT ¶
func (m *MockDelegation) EXPECT() *MockDelegationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDelegation) GetValidatorData ¶
func (m *MockDelegation) GetValidatorData() []*types.ValidatorData
GetValidatorData mocks base method.
func (*MockDelegation) ProcessEpochDelegations ¶
func (m *MockDelegation) ProcessEpochDelegations(arg0 context.Context, arg1 types.Epoch) []*types.ValidatorData
ProcessEpochDelegations mocks base method.
type MockDelegationMockRecorder ¶
type MockDelegationMockRecorder struct {
// contains filtered or unexported fields
}
MockDelegationMockRecorder is the mock recorder for MockDelegation.
func (*MockDelegationMockRecorder) GetValidatorData ¶
func (mr *MockDelegationMockRecorder) GetValidatorData() *gomock.Call
GetValidatorData indicates an expected call of GetValidatorData.
func (*MockDelegationMockRecorder) ProcessEpochDelegations ¶
func (mr *MockDelegationMockRecorder) ProcessEpochDelegations(arg0, arg1 interface{}) *gomock.Call
ProcessEpochDelegations indicates an expected call of ProcessEpochDelegations.
type MockMarketActivityTracker ¶
type MockMarketActivityTracker struct {
// contains filtered or unexported fields
}
MockMarketActivityTracker is a mock of MarketActivityTracker interface.
func NewMockMarketActivityTracker ¶
func NewMockMarketActivityTracker(ctrl *gomock.Controller) *MockMarketActivityTracker
NewMockMarketActivityTracker creates a new mock instance.
func (*MockMarketActivityTracker) EXPECT ¶
func (m *MockMarketActivityTracker) EXPECT() *MockMarketActivityTrackerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMarketActivityTracker) GetAllMarketIDs ¶
func (m *MockMarketActivityTracker) GetAllMarketIDs() []string
GetAllMarketIDs mocks base method.
func (*MockMarketActivityTracker) GetFeePartyScores ¶
func (m *MockMarketActivityTracker) GetFeePartyScores(arg0 string, arg1 vega.TransferType) []*types.PartyContibutionScore
GetFeePartyScores mocks base method.
func (*MockMarketActivityTracker) GetProposer ¶ added in v0.55.0
func (m *MockMarketActivityTracker) GetProposer(arg0 string) string
GetProposer mocks base method.
type MockMarketActivityTrackerMockRecorder ¶
type MockMarketActivityTrackerMockRecorder struct {
// contains filtered or unexported fields
}
MockMarketActivityTrackerMockRecorder is the mock recorder for MockMarketActivityTracker.
func (*MockMarketActivityTrackerMockRecorder) GetAllMarketIDs ¶
func (mr *MockMarketActivityTrackerMockRecorder) GetAllMarketIDs() *gomock.Call
GetAllMarketIDs indicates an expected call of GetAllMarketIDs.
func (*MockMarketActivityTrackerMockRecorder) GetFeePartyScores ¶
func (mr *MockMarketActivityTrackerMockRecorder) GetFeePartyScores(arg0, arg1 interface{}) *gomock.Call
GetFeePartyScores indicates an expected call of GetFeePartyScores.
func (*MockMarketActivityTrackerMockRecorder) GetProposer ¶ added in v0.55.0
func (mr *MockMarketActivityTrackerMockRecorder) GetProposer(arg0 interface{}) *gomock.Call
GetProposer indicates an expected call of GetProposer.
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 MockTopology ¶
type MockTopology struct {
// contains filtered or unexported fields
}
MockTopology is a mock of Topology interface.
func NewMockTopology ¶
func NewMockTopology(ctrl *gomock.Controller) *MockTopology
NewMockTopology creates a new mock instance.
func (*MockTopology) EXPECT ¶
func (m *MockTopology) EXPECT() *MockTopologyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTopology) GetRewardsScores ¶
func (m *MockTopology) GetRewardsScores(arg0 context.Context, arg1 string, arg2 []*types.ValidatorData, arg3 types.StakeScoreParams) (*types.ScoreData, *types.ScoreData)
GetRewardsScores mocks base method.
func (*MockTopology) RecalcValidatorSet ¶
func (m *MockTopology) RecalcValidatorSet(arg0 context.Context, arg1 string, arg2 []*types.ValidatorData, arg3 types.StakeScoreParams)
RecalcValidatorSet mocks base method.
type MockTopologyMockRecorder ¶
type MockTopologyMockRecorder struct {
// contains filtered or unexported fields
}
MockTopologyMockRecorder is the mock recorder for MockTopology.
func (*MockTopologyMockRecorder) GetRewardsScores ¶
func (mr *MockTopologyMockRecorder) GetRewardsScores(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetRewardsScores indicates an expected call of GetRewardsScores.
func (*MockTopologyMockRecorder) RecalcValidatorSet ¶
func (mr *MockTopologyMockRecorder) RecalcValidatorSet(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
RecalcValidatorSet indicates an expected call of RecalcValidatorSet.