Documentation ¶
Overview ¶
Package mock_store is a generated GoMock package.
Index ¶
- type MockAccountEraSeq
- func (m *MockAccountEraSeq) BulkUpsert(arg0 []model.AccountEraSeq) error
- func (m *MockAccountEraSeq) EXPECT() *MockAccountEraSeqMockRecorder
- func (m *MockAccountEraSeq) FindByEra(arg0 int64) ([]model.AccountEraSeq, error)
- func (m *MockAccountEraSeq) FindLastByStashAccount(arg0 string) ([]model.AccountEraSeq, error)
- func (m *MockAccountEraSeq) FindLastByValidatorStashAccount(arg0 string) ([]model.AccountEraSeq, error)
- func (m *MockAccountEraSeq) GetAllByTime(arg0 string, arg1, arg2 types.Time) ([]model.AccountEraSeq, error)
- type MockAccountEraSeqMockRecorder
- func (mr *MockAccountEraSeqMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call
- func (mr *MockAccountEraSeqMockRecorder) FindByEra(arg0 interface{}) *gomock.Call
- func (mr *MockAccountEraSeqMockRecorder) FindLastByStashAccount(arg0 interface{}) *gomock.Call
- func (mr *MockAccountEraSeqMockRecorder) FindLastByValidatorStashAccount(arg0 interface{}) *gomock.Call
- func (mr *MockAccountEraSeqMockRecorder) GetAllByTime(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockBlockSeq
- func (m *MockBlockSeq) CreateSeq(arg0 *model.BlockSeq) error
- func (m *MockBlockSeq) DeleteSeqOlderThan(arg0 time.Time, arg1 []store.ActivityPeriodRow) (*int64, error)
- func (m *MockBlockSeq) EXPECT() *MockBlockSeqMockRecorder
- func (m *MockBlockSeq) FindMostRecentSeq() (*model.BlockSeq, error)
- func (m *MockBlockSeq) FindSeqByHeight(arg0 int64) (*model.BlockSeq, error)
- func (m *MockBlockSeq) GetAvgRecentTimes(arg0 int64) store.GetAvgRecentTimesResult
- func (m *MockBlockSeq) SaveSeq(arg0 *model.BlockSeq) error
- func (m *MockBlockSeq) Summarize(arg0 types.SummaryInterval, arg1 []store.ActivityPeriodRow) ([]model.BlockSeqSummary, error)
- type MockBlockSeqMockRecorder
- func (mr *MockBlockSeqMockRecorder) CreateSeq(arg0 interface{}) *gomock.Call
- func (mr *MockBlockSeqMockRecorder) DeleteSeqOlderThan(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBlockSeqMockRecorder) FindMostRecentSeq() *gomock.Call
- func (mr *MockBlockSeqMockRecorder) FindSeqByHeight(arg0 interface{}) *gomock.Call
- func (mr *MockBlockSeqMockRecorder) GetAvgRecentTimes(arg0 interface{}) *gomock.Call
- func (mr *MockBlockSeqMockRecorder) SaveSeq(arg0 interface{}) *gomock.Call
- func (mr *MockBlockSeqMockRecorder) Summarize(arg0, arg1 interface{}) *gomock.Call
- type MockBlockSummary
- func (m *MockBlockSummary) CreateSummary(arg0 *model.BlockSummary) error
- func (m *MockBlockSummary) DeleteOlderThan(arg0 types.SummaryInterval, arg1 time.Time) (*int64, error)
- func (m *MockBlockSummary) EXPECT() *MockBlockSummaryMockRecorder
- func (m *MockBlockSummary) FindActivityPeriods(arg0 types.SummaryInterval, arg1 int64) ([]store.ActivityPeriodRow, error)
- func (m *MockBlockSummary) FindMostRecentByInterval(arg0 types.SummaryInterval) (*model.BlockSummary, error)
- func (m *MockBlockSummary) FindMostRecentSummary() (*model.BlockSummary, error)
- func (m *MockBlockSummary) FindSummaries(arg0 types.SummaryInterval, arg1 string) ([]model.BlockSummary, error)
- func (m *MockBlockSummary) FindSummary(arg0 *model.BlockSummary) (*model.BlockSummary, error)
- func (m *MockBlockSummary) SaveSummary(arg0 *model.BlockSummary) error
- type MockBlockSummaryMockRecorder
- func (mr *MockBlockSummaryMockRecorder) CreateSummary(arg0 interface{}) *gomock.Call
- func (mr *MockBlockSummaryMockRecorder) DeleteOlderThan(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBlockSummaryMockRecorder) FindActivityPeriods(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBlockSummaryMockRecorder) FindMostRecentByInterval(arg0 interface{}) *gomock.Call
- func (mr *MockBlockSummaryMockRecorder) FindMostRecentSummary() *gomock.Call
- func (mr *MockBlockSummaryMockRecorder) FindSummaries(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBlockSummaryMockRecorder) FindSummary(arg0 interface{}) *gomock.Call
- func (mr *MockBlockSummaryMockRecorder) SaveSummary(arg0 interface{}) *gomock.Call
- type MockDatabase
- type MockDatabaseMockRecorder
- type MockEventSeq
- func (m *MockEventSeq) BulkUpsert(arg0 []model.EventSeq) error
- func (m *MockEventSeq) EXPECT() *MockEventSeqMockRecorder
- func (m *MockEventSeq) FindBalanceDeposits(arg0 string) ([]model.EventSeqWithTxHash, error)
- func (m *MockEventSeq) FindBalanceTransfers(arg0 string) ([]model.EventSeqWithTxHash, error)
- func (m *MockEventSeq) FindBonded(arg0 string) ([]model.EventSeqWithTxHash, error)
- func (m *MockEventSeq) FindByHeightAndIndex(arg0, arg1 int64) (*model.EventSeq, error)
- func (m *MockEventSeq) FindRewardsForTimePeriod(arg0 string, arg1, arg2 time.Time) ([]model.EventSeq, error)
- func (m *MockEventSeq) FindUnbonded(arg0 string) ([]model.EventSeqWithTxHash, error)
- func (m *MockEventSeq) FindWithdrawn(arg0 string) ([]model.EventSeqWithTxHash, error)
- type MockEventSeqMockRecorder
- func (mr *MockEventSeqMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call
- func (mr *MockEventSeqMockRecorder) FindBalanceDeposits(arg0 interface{}) *gomock.Call
- func (mr *MockEventSeqMockRecorder) FindBalanceTransfers(arg0 interface{}) *gomock.Call
- func (mr *MockEventSeqMockRecorder) FindBonded(arg0 interface{}) *gomock.Call
- func (mr *MockEventSeqMockRecorder) FindByHeightAndIndex(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEventSeqMockRecorder) FindRewardsForTimePeriod(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEventSeqMockRecorder) FindUnbonded(arg0 interface{}) *gomock.Call
- func (mr *MockEventSeqMockRecorder) FindWithdrawn(arg0 interface{}) *gomock.Call
- type MockReports
- func (m *MockReports) Create(arg0 interface{}) error
- func (m *MockReports) DeleteByKinds(arg0 []model.ReportKind) error
- func (m *MockReports) EXPECT() *MockReportsMockRecorder
- func (m *MockReports) FindNotCompletedByIndexVersion(arg0 int64, arg1 ...model.ReportKind) (*model.Report, error)
- func (m *MockReports) FindNotCompletedByKind(arg0 ...model.ReportKind) (*model.Report, error)
- func (m *MockReports) Last() (*model.Report, error)
- func (m *MockReports) Save(arg0 interface{}) error
- func (m *MockReports) Update(arg0 interface{}) error
- type MockReportsMockRecorder
- func (mr *MockReportsMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockReportsMockRecorder) DeleteByKinds(arg0 interface{}) *gomock.Call
- func (mr *MockReportsMockRecorder) FindNotCompletedByIndexVersion(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockReportsMockRecorder) FindNotCompletedByKind(arg0 ...interface{}) *gomock.Call
- func (mr *MockReportsMockRecorder) Last() *gomock.Call
- func (mr *MockReportsMockRecorder) Save(arg0 interface{}) *gomock.Call
- func (mr *MockReportsMockRecorder) Update(arg0 interface{}) *gomock.Call
- type MockRewards
- func (m *MockRewards) BulkUpsert(arg0 []model.RewardEraSeq) error
- func (m *MockRewards) EXPECT() *MockRewardsMockRecorder
- func (m *MockRewards) GetAll(arg0, arg1 string, arg2, arg3 int64) ([]model.RewardEraSeq, error)
- func (m *MockRewards) GetAllByTime(arg0 string, arg1, arg2 types.Time) ([]model.RewardEraSeq, error)
- func (m *MockRewards) GetByStashAndEra(arg0, arg1 string, arg2 int64) ([]model.RewardEraSeq, error)
- type MockRewardsMockRecorder
- func (mr *MockRewardsMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call
- func (mr *MockRewardsMockRecorder) GetAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRewardsMockRecorder) GetAllByTime(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRewardsMockRecorder) GetByStashAndEra(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockSyncables
- func (m *MockSyncables) CreateOrUpdate(arg0 *model.Syncable) error
- func (m *MockSyncables) EXPECT() *MockSyncablesMockRecorder
- func (m *MockSyncables) FindAllByLastInSessionOrEra(arg0 int64, arg1, arg2 bool, arg3, arg4 int64) ([]model.Syncable, error)
- func (m *MockSyncables) FindByHeight(arg0 int64) (*model.Syncable, error)
- func (m *MockSyncables) FindFirstByDifferentIndexVersion(arg0 int64) (*model.Syncable, error)
- func (m *MockSyncables) FindLastEndOfEra() (*model.Syncable, error)
- func (m *MockSyncables) FindLastEndOfSession() (*model.Syncable, error)
- func (m *MockSyncables) FindLastInEra(arg0 int64) (*model.Syncable, error)
- func (m *MockSyncables) FindLastInSession(arg0 int64) (*model.Syncable, error)
- func (m *MockSyncables) FindLastInSessionForHeight(arg0 int64) (*model.Syncable, error)
- func (m *MockSyncables) FindMostRecent() (*model.Syncable, error)
- func (m *MockSyncables) FindMostRecentByDifferentIndexVersion(arg0 int64) (*model.Syncable, error)
- func (m *MockSyncables) FindSmallestIndexVersion() (*int64, error)
- func (m *MockSyncables) SaveSyncable(arg0 *model.Syncable) error
- func (m *MockSyncables) SetProcessedAtForRange(arg0 types.ID, arg1, arg2 int64) error
- type MockSyncablesMockRecorder
- func (mr *MockSyncablesMockRecorder) CreateOrUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockSyncablesMockRecorder) FindAllByLastInSessionOrEra(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSyncablesMockRecorder) FindByHeight(arg0 interface{}) *gomock.Call
- func (mr *MockSyncablesMockRecorder) FindFirstByDifferentIndexVersion(arg0 interface{}) *gomock.Call
- func (mr *MockSyncablesMockRecorder) FindLastEndOfEra() *gomock.Call
- func (mr *MockSyncablesMockRecorder) FindLastEndOfSession() *gomock.Call
- func (mr *MockSyncablesMockRecorder) FindLastInEra(arg0 interface{}) *gomock.Call
- func (mr *MockSyncablesMockRecorder) FindLastInSession(arg0 interface{}) *gomock.Call
- func (mr *MockSyncablesMockRecorder) FindLastInSessionForHeight(arg0 interface{}) *gomock.Call
- func (mr *MockSyncablesMockRecorder) FindMostRecent() *gomock.Call
- func (mr *MockSyncablesMockRecorder) FindMostRecentByDifferentIndexVersion(arg0 interface{}) *gomock.Call
- func (mr *MockSyncablesMockRecorder) FindSmallestIndexVersion() *gomock.Call
- func (mr *MockSyncablesMockRecorder) SaveSyncable(arg0 interface{}) *gomock.Call
- func (mr *MockSyncablesMockRecorder) SetProcessedAtForRange(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockSystemEvents
- type MockSystemEventsMockRecorder
- type MockTransactionSeq
- type MockTransactionSeqMockRecorder
- type MockValidatorAgg
- func (m *MockValidatorAgg) CreateAgg(arg0 *model.ValidatorAgg) error
- func (m *MockValidatorAgg) EXPECT() *MockValidatorAggMockRecorder
- func (m *MockValidatorAgg) FindAggByStashAccount(arg0 string) (*model.ValidatorAgg, error)
- func (m *MockValidatorAgg) FindBy(arg0 string, arg1 interface{}) (*model.ValidatorAgg, error)
- func (m *MockValidatorAgg) FindByID(arg0 int64) (*model.ValidatorAgg, error)
- func (m *MockValidatorAgg) GetAllForHeightGreaterThan(arg0 int64) ([]model.ValidatorAgg, error)
- func (m *MockValidatorAgg) SaveAgg(arg0 *model.ValidatorAgg) error
- type MockValidatorAggMockRecorder
- func (mr *MockValidatorAggMockRecorder) CreateAgg(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorAggMockRecorder) FindAggByStashAccount(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorAggMockRecorder) FindBy(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorAggMockRecorder) FindByID(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorAggMockRecorder) GetAllForHeightGreaterThan(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorAggMockRecorder) SaveAgg(arg0 interface{}) *gomock.Call
- type MockValidatorEraSeq
- func (m *MockValidatorEraSeq) BulkUpsertEraSeqs(arg0 []model.ValidatorEraSeq) error
- func (m *MockValidatorEraSeq) DeleteEraSeqsOlderThan(arg0 time.Time) (*int64, error)
- func (m *MockValidatorEraSeq) EXPECT() *MockValidatorEraSeqMockRecorder
- func (m *MockValidatorEraSeq) FindByEra(arg0 int64) ([]model.ValidatorEraSeq, error)
- func (m *MockValidatorEraSeq) FindByEraAndStashAccount(arg0 int64, arg1 string) (*model.ValidatorEraSeq, error)
- func (m *MockValidatorEraSeq) FindEraSeqsByHeight(arg0 int64) ([]model.ValidatorEraSeq, error)
- func (m *MockValidatorEraSeq) FindLastEraSeqByStashAccount(arg0 string, arg1 int64) ([]model.ValidatorEraSeq, error)
- func (m *MockValidatorEraSeq) FindMostRecentEraSeq() (*model.ValidatorEraSeq, error)
- func (m *MockValidatorEraSeq) SummarizeEraSeqs(arg0 types.SummaryInterval, arg1 []store.ActivityPeriodRow) ([]model.ValidatorEraSeqSummary, error)
- type MockValidatorEraSeqMockRecorder
- func (mr *MockValidatorEraSeqMockRecorder) BulkUpsertEraSeqs(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorEraSeqMockRecorder) DeleteEraSeqsOlderThan(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorEraSeqMockRecorder) FindByEra(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorEraSeqMockRecorder) FindByEraAndStashAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorEraSeqMockRecorder) FindEraSeqsByHeight(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorEraSeqMockRecorder) FindLastEraSeqByStashAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorEraSeqMockRecorder) FindMostRecentEraSeq() *gomock.Call
- func (mr *MockValidatorEraSeqMockRecorder) SummarizeEraSeqs(arg0, arg1 interface{}) *gomock.Call
- type MockValidatorSeq
- func (m *MockValidatorSeq) BulkUpsertSeqs(arg0 []model.ValidatorSeq) error
- func (m *MockValidatorSeq) DeleteSeqsOlderThan(arg0 time.Time) (*int64, error)
- func (m *MockValidatorSeq) EXPECT() *MockValidatorSeqMockRecorder
- func (m *MockValidatorSeq) FindAllByHeight(arg0 int64) ([]model.ValidatorSeq, error)
- func (m *MockValidatorSeq) FindMostRecentSeq() (*model.ValidatorSeq, error)
- type MockValidatorSeqMockRecorder
- func (mr *MockValidatorSeqMockRecorder) BulkUpsertSeqs(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorSeqMockRecorder) DeleteSeqsOlderThan(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorSeqMockRecorder) FindAllByHeight(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorSeqMockRecorder) FindMostRecentSeq() *gomock.Call
- type MockValidatorSessionSeq
- func (m *MockValidatorSessionSeq) BulkUpsertSessionSeqs(arg0 []model.ValidatorSessionSeq) error
- func (m *MockValidatorSessionSeq) DeleteSessionSeqsOlderThan(arg0 time.Time) (*int64, error)
- func (m *MockValidatorSessionSeq) EXPECT() *MockValidatorSessionSeqMockRecorder
- func (m *MockValidatorSessionSeq) FindBySession(arg0 int64) ([]model.ValidatorSessionSeq, error)
- func (m *MockValidatorSessionSeq) FindBySessionAndStashAccount(arg0 int64, arg1 string) (*model.ValidatorSessionSeq, error)
- func (m *MockValidatorSessionSeq) FindLastSessionSeqByStashAccount(arg0 string, arg1 int64) ([]model.ValidatorSessionSeq, error)
- func (m *MockValidatorSessionSeq) FindMostRecentSessionSeq() (*model.ValidatorSessionSeq, error)
- func (m *MockValidatorSessionSeq) FindSessionSeqsByHeight(arg0 int64) ([]model.ValidatorSessionSeq, error)
- func (m *MockValidatorSessionSeq) SummarizeSessionSeqs(arg0 types.SummaryInterval, arg1 []store.ActivityPeriodRow) ([]model.ValidatorSessionSeqSummary, error)
- type MockValidatorSessionSeqMockRecorder
- func (mr *MockValidatorSessionSeqMockRecorder) BulkUpsertSessionSeqs(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorSessionSeqMockRecorder) DeleteSessionSeqsOlderThan(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorSessionSeqMockRecorder) FindBySession(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorSessionSeqMockRecorder) FindBySessionAndStashAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorSessionSeqMockRecorder) FindLastSessionSeqByStashAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorSessionSeqMockRecorder) FindMostRecentSessionSeq() *gomock.Call
- func (mr *MockValidatorSessionSeqMockRecorder) FindSessionSeqsByHeight(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorSessionSeqMockRecorder) SummarizeSessionSeqs(arg0, arg1 interface{}) *gomock.Call
- type MockValidatorSummary
- func (m *MockValidatorSummary) CreateSummary(arg0 *model.ValidatorSummary) error
- func (m *MockValidatorSummary) DeleteSummaryOlderThan(arg0 types.SummaryInterval, arg1 time.Time) (*int64, error)
- func (m *MockValidatorSummary) EXPECT() *MockValidatorSummaryMockRecorder
- func (m *MockValidatorSummary) FindActivityPeriods(arg0 types.SummaryInterval, arg1 int64) ([]store.ActivityPeriodRow, error)
- func (m *MockValidatorSummary) FindMostRecentByInterval(arg0 types.SummaryInterval) (*model.ValidatorSummary, error)
- func (m *MockValidatorSummary) FindMostRecentSummary() (*model.ValidatorSummary, error)
- func (m *MockValidatorSummary) FindSummaries(arg0 types.SummaryInterval, arg1 string) ([]store.ValidatorSummaryRow, error)
- func (m *MockValidatorSummary) FindSummary(arg0 *model.ValidatorSummary) (*model.ValidatorSummary, error)
- func (m *MockValidatorSummary) FindSummaryByStashAccount(arg0 string, arg1 types.SummaryInterval, arg2 string) ([]store.ValidatorSummaryRow, error)
- func (m *MockValidatorSummary) SaveSummary(arg0 *model.ValidatorSummary) error
- type MockValidatorSummaryMockRecorder
- func (mr *MockValidatorSummaryMockRecorder) CreateSummary(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorSummaryMockRecorder) DeleteSummaryOlderThan(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorSummaryMockRecorder) FindActivityPeriods(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorSummaryMockRecorder) FindMostRecentByInterval(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorSummaryMockRecorder) FindMostRecentSummary() *gomock.Call
- func (mr *MockValidatorSummaryMockRecorder) FindSummaries(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorSummaryMockRecorder) FindSummary(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorSummaryMockRecorder) FindSummaryByStashAccount(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockValidatorSummaryMockRecorder) SaveSummary(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountEraSeq ¶
type MockAccountEraSeq struct {
// contains filtered or unexported fields
}
MockAccountEraSeq is a mock of AccountEraSeq interface
func NewMockAccountEraSeq ¶
func NewMockAccountEraSeq(ctrl *gomock.Controller) *MockAccountEraSeq
NewMockAccountEraSeq creates a new mock instance
func (*MockAccountEraSeq) BulkUpsert ¶ added in v0.5.0
func (m *MockAccountEraSeq) BulkUpsert(arg0 []model.AccountEraSeq) error
BulkUpsert mocks base method
func (*MockAccountEraSeq) EXPECT ¶
func (m *MockAccountEraSeq) EXPECT() *MockAccountEraSeqMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAccountEraSeq) FindByEra ¶
func (m *MockAccountEraSeq) FindByEra(arg0 int64) ([]model.AccountEraSeq, error)
FindByEra mocks base method
func (*MockAccountEraSeq) FindLastByStashAccount ¶
func (m *MockAccountEraSeq) FindLastByStashAccount(arg0 string) ([]model.AccountEraSeq, error)
FindLastByStashAccount mocks base method
func (*MockAccountEraSeq) FindLastByValidatorStashAccount ¶
func (m *MockAccountEraSeq) FindLastByValidatorStashAccount(arg0 string) ([]model.AccountEraSeq, error)
FindLastByValidatorStashAccount mocks base method
func (*MockAccountEraSeq) GetAllByTime ¶ added in v0.9.0
func (m *MockAccountEraSeq) GetAllByTime(arg0 string, arg1, arg2 types.Time) ([]model.AccountEraSeq, error)
GetAllByTime mocks base method
type MockAccountEraSeqMockRecorder ¶
type MockAccountEraSeqMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountEraSeqMockRecorder is the mock recorder for MockAccountEraSeq
func (*MockAccountEraSeqMockRecorder) BulkUpsert ¶ added in v0.5.0
func (mr *MockAccountEraSeqMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call
BulkUpsert indicates an expected call of BulkUpsert
func (*MockAccountEraSeqMockRecorder) FindByEra ¶
func (mr *MockAccountEraSeqMockRecorder) FindByEra(arg0 interface{}) *gomock.Call
FindByEra indicates an expected call of FindByEra
func (*MockAccountEraSeqMockRecorder) FindLastByStashAccount ¶
func (mr *MockAccountEraSeqMockRecorder) FindLastByStashAccount(arg0 interface{}) *gomock.Call
FindLastByStashAccount indicates an expected call of FindLastByStashAccount
func (*MockAccountEraSeqMockRecorder) FindLastByValidatorStashAccount ¶
func (mr *MockAccountEraSeqMockRecorder) FindLastByValidatorStashAccount(arg0 interface{}) *gomock.Call
FindLastByValidatorStashAccount indicates an expected call of FindLastByValidatorStashAccount
func (*MockAccountEraSeqMockRecorder) GetAllByTime ¶ added in v0.9.0
func (mr *MockAccountEraSeqMockRecorder) GetAllByTime(arg0, arg1, arg2 interface{}) *gomock.Call
GetAllByTime indicates an expected call of GetAllByTime
type MockBlockSeq ¶
type MockBlockSeq struct {
// contains filtered or unexported fields
}
MockBlockSeq is a mock of BlockSeq interface
func NewMockBlockSeq ¶
func NewMockBlockSeq(ctrl *gomock.Controller) *MockBlockSeq
NewMockBlockSeq creates a new mock instance
func (*MockBlockSeq) CreateSeq ¶
func (m *MockBlockSeq) CreateSeq(arg0 *model.BlockSeq) error
CreateSeq mocks base method
func (*MockBlockSeq) DeleteSeqOlderThan ¶
func (m *MockBlockSeq) DeleteSeqOlderThan(arg0 time.Time, arg1 []store.ActivityPeriodRow) (*int64, error)
DeleteSeqOlderThan mocks base method
func (*MockBlockSeq) EXPECT ¶
func (m *MockBlockSeq) EXPECT() *MockBlockSeqMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBlockSeq) FindMostRecentSeq ¶
func (m *MockBlockSeq) FindMostRecentSeq() (*model.BlockSeq, error)
FindMostRecentSeq mocks base method
func (*MockBlockSeq) FindSeqByHeight ¶
func (m *MockBlockSeq) FindSeqByHeight(arg0 int64) (*model.BlockSeq, error)
FindSeqByHeight mocks base method
func (*MockBlockSeq) GetAvgRecentTimes ¶
func (m *MockBlockSeq) GetAvgRecentTimes(arg0 int64) store.GetAvgRecentTimesResult
GetAvgRecentTimes mocks base method
func (*MockBlockSeq) SaveSeq ¶
func (m *MockBlockSeq) SaveSeq(arg0 *model.BlockSeq) error
SaveSeq mocks base method
func (*MockBlockSeq) Summarize ¶
func (m *MockBlockSeq) Summarize(arg0 types.SummaryInterval, arg1 []store.ActivityPeriodRow) ([]model.BlockSeqSummary, error)
Summarize mocks base method
type MockBlockSeqMockRecorder ¶
type MockBlockSeqMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockSeqMockRecorder is the mock recorder for MockBlockSeq
func (*MockBlockSeqMockRecorder) CreateSeq ¶
func (mr *MockBlockSeqMockRecorder) CreateSeq(arg0 interface{}) *gomock.Call
CreateSeq indicates an expected call of CreateSeq
func (*MockBlockSeqMockRecorder) DeleteSeqOlderThan ¶
func (mr *MockBlockSeqMockRecorder) DeleteSeqOlderThan(arg0, arg1 interface{}) *gomock.Call
DeleteSeqOlderThan indicates an expected call of DeleteSeqOlderThan
func (*MockBlockSeqMockRecorder) FindMostRecentSeq ¶
func (mr *MockBlockSeqMockRecorder) FindMostRecentSeq() *gomock.Call
FindMostRecentSeq indicates an expected call of FindMostRecentSeq
func (*MockBlockSeqMockRecorder) FindSeqByHeight ¶
func (mr *MockBlockSeqMockRecorder) FindSeqByHeight(arg0 interface{}) *gomock.Call
FindSeqByHeight indicates an expected call of FindSeqByHeight
func (*MockBlockSeqMockRecorder) GetAvgRecentTimes ¶
func (mr *MockBlockSeqMockRecorder) GetAvgRecentTimes(arg0 interface{}) *gomock.Call
GetAvgRecentTimes indicates an expected call of GetAvgRecentTimes
func (*MockBlockSeqMockRecorder) SaveSeq ¶
func (mr *MockBlockSeqMockRecorder) SaveSeq(arg0 interface{}) *gomock.Call
SaveSeq indicates an expected call of SaveSeq
func (*MockBlockSeqMockRecorder) Summarize ¶
func (mr *MockBlockSeqMockRecorder) Summarize(arg0, arg1 interface{}) *gomock.Call
Summarize indicates an expected call of Summarize
type MockBlockSummary ¶
type MockBlockSummary struct {
// contains filtered or unexported fields
}
MockBlockSummary is a mock of BlockSummary interface
func NewMockBlockSummary ¶
func NewMockBlockSummary(ctrl *gomock.Controller) *MockBlockSummary
NewMockBlockSummary creates a new mock instance
func (*MockBlockSummary) CreateSummary ¶
func (m *MockBlockSummary) CreateSummary(arg0 *model.BlockSummary) error
CreateSummary mocks base method
func (*MockBlockSummary) DeleteOlderThan ¶
func (m *MockBlockSummary) DeleteOlderThan(arg0 types.SummaryInterval, arg1 time.Time) (*int64, error)
DeleteOlderThan mocks base method
func (*MockBlockSummary) EXPECT ¶
func (m *MockBlockSummary) EXPECT() *MockBlockSummaryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBlockSummary) FindActivityPeriods ¶
func (m *MockBlockSummary) FindActivityPeriods(arg0 types.SummaryInterval, arg1 int64) ([]store.ActivityPeriodRow, error)
FindActivityPeriods mocks base method
func (*MockBlockSummary) FindMostRecentByInterval ¶
func (m *MockBlockSummary) FindMostRecentByInterval(arg0 types.SummaryInterval) (*model.BlockSummary, error)
FindMostRecentByInterval mocks base method
func (*MockBlockSummary) FindMostRecentSummary ¶
func (m *MockBlockSummary) FindMostRecentSummary() (*model.BlockSummary, error)
FindMostRecentSummary mocks base method
func (*MockBlockSummary) FindSummaries ¶
func (m *MockBlockSummary) FindSummaries(arg0 types.SummaryInterval, arg1 string) ([]model.BlockSummary, error)
FindSummaries mocks base method
func (*MockBlockSummary) FindSummary ¶
func (m *MockBlockSummary) FindSummary(arg0 *model.BlockSummary) (*model.BlockSummary, error)
FindSummary mocks base method
func (*MockBlockSummary) SaveSummary ¶
func (m *MockBlockSummary) SaveSummary(arg0 *model.BlockSummary) error
SaveSummary mocks base method
type MockBlockSummaryMockRecorder ¶
type MockBlockSummaryMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockSummaryMockRecorder is the mock recorder for MockBlockSummary
func (*MockBlockSummaryMockRecorder) CreateSummary ¶
func (mr *MockBlockSummaryMockRecorder) CreateSummary(arg0 interface{}) *gomock.Call
CreateSummary indicates an expected call of CreateSummary
func (*MockBlockSummaryMockRecorder) DeleteOlderThan ¶
func (mr *MockBlockSummaryMockRecorder) DeleteOlderThan(arg0, arg1 interface{}) *gomock.Call
DeleteOlderThan indicates an expected call of DeleteOlderThan
func (*MockBlockSummaryMockRecorder) FindActivityPeriods ¶
func (mr *MockBlockSummaryMockRecorder) FindActivityPeriods(arg0, arg1 interface{}) *gomock.Call
FindActivityPeriods indicates an expected call of FindActivityPeriods
func (*MockBlockSummaryMockRecorder) FindMostRecentByInterval ¶
func (mr *MockBlockSummaryMockRecorder) FindMostRecentByInterval(arg0 interface{}) *gomock.Call
FindMostRecentByInterval indicates an expected call of FindMostRecentByInterval
func (*MockBlockSummaryMockRecorder) FindMostRecentSummary ¶
func (mr *MockBlockSummaryMockRecorder) FindMostRecentSummary() *gomock.Call
FindMostRecentSummary indicates an expected call of FindMostRecentSummary
func (*MockBlockSummaryMockRecorder) FindSummaries ¶
func (mr *MockBlockSummaryMockRecorder) FindSummaries(arg0, arg1 interface{}) *gomock.Call
FindSummaries indicates an expected call of FindSummaries
func (*MockBlockSummaryMockRecorder) FindSummary ¶
func (mr *MockBlockSummaryMockRecorder) FindSummary(arg0 interface{}) *gomock.Call
FindSummary indicates an expected call of FindSummary
func (*MockBlockSummaryMockRecorder) SaveSummary ¶
func (mr *MockBlockSummaryMockRecorder) SaveSummary(arg0 interface{}) *gomock.Call
SaveSummary indicates an expected call of SaveSummary
type MockDatabase ¶
type MockDatabase struct {
// contains filtered or unexported fields
}
MockDatabase is a mock of Database interface
func NewMockDatabase ¶
func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase
NewMockDatabase creates a new mock instance
func (*MockDatabase) EXPECT ¶
func (m *MockDatabase) EXPECT() *MockDatabaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDatabase) GetTotalSize ¶
func (m *MockDatabase) GetTotalSize() (*store.GetTotalSizeResult, error)
GetTotalSize mocks base method
type MockDatabaseMockRecorder ¶
type MockDatabaseMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseMockRecorder is the mock recorder for MockDatabase
func (*MockDatabaseMockRecorder) GetTotalSize ¶
func (mr *MockDatabaseMockRecorder) GetTotalSize() *gomock.Call
GetTotalSize indicates an expected call of GetTotalSize
type MockEventSeq ¶
type MockEventSeq struct {
// contains filtered or unexported fields
}
MockEventSeq is a mock of EventSeq interface
func NewMockEventSeq ¶
func NewMockEventSeq(ctrl *gomock.Controller) *MockEventSeq
NewMockEventSeq creates a new mock instance
func (*MockEventSeq) BulkUpsert ¶ added in v0.5.0
func (m *MockEventSeq) BulkUpsert(arg0 []model.EventSeq) error
BulkUpsert mocks base method
func (*MockEventSeq) EXPECT ¶
func (m *MockEventSeq) EXPECT() *MockEventSeqMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEventSeq) FindBalanceDeposits ¶
func (m *MockEventSeq) FindBalanceDeposits(arg0 string) ([]model.EventSeqWithTxHash, error)
FindBalanceDeposits mocks base method
func (*MockEventSeq) FindBalanceTransfers ¶
func (m *MockEventSeq) FindBalanceTransfers(arg0 string) ([]model.EventSeqWithTxHash, error)
FindBalanceTransfers mocks base method
func (*MockEventSeq) FindBonded ¶
func (m *MockEventSeq) FindBonded(arg0 string) ([]model.EventSeqWithTxHash, error)
FindBonded mocks base method
func (*MockEventSeq) FindByHeightAndIndex ¶
func (m *MockEventSeq) FindByHeightAndIndex(arg0, arg1 int64) (*model.EventSeq, error)
FindByHeightAndIndex mocks base method
func (*MockEventSeq) FindRewardsForTimePeriod ¶ added in v0.7.1
func (m *MockEventSeq) FindRewardsForTimePeriod(arg0 string, arg1, arg2 time.Time) ([]model.EventSeq, error)
FindRewardsForTimePeriod mocks base method
func (*MockEventSeq) FindUnbonded ¶
func (m *MockEventSeq) FindUnbonded(arg0 string) ([]model.EventSeqWithTxHash, error)
FindUnbonded mocks base method
func (*MockEventSeq) FindWithdrawn ¶
func (m *MockEventSeq) FindWithdrawn(arg0 string) ([]model.EventSeqWithTxHash, error)
FindWithdrawn mocks base method
type MockEventSeqMockRecorder ¶
type MockEventSeqMockRecorder struct {
// contains filtered or unexported fields
}
MockEventSeqMockRecorder is the mock recorder for MockEventSeq
func (*MockEventSeqMockRecorder) BulkUpsert ¶ added in v0.5.0
func (mr *MockEventSeqMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call
BulkUpsert indicates an expected call of BulkUpsert
func (*MockEventSeqMockRecorder) FindBalanceDeposits ¶
func (mr *MockEventSeqMockRecorder) FindBalanceDeposits(arg0 interface{}) *gomock.Call
FindBalanceDeposits indicates an expected call of FindBalanceDeposits
func (*MockEventSeqMockRecorder) FindBalanceTransfers ¶
func (mr *MockEventSeqMockRecorder) FindBalanceTransfers(arg0 interface{}) *gomock.Call
FindBalanceTransfers indicates an expected call of FindBalanceTransfers
func (*MockEventSeqMockRecorder) FindBonded ¶
func (mr *MockEventSeqMockRecorder) FindBonded(arg0 interface{}) *gomock.Call
FindBonded indicates an expected call of FindBonded
func (*MockEventSeqMockRecorder) FindByHeightAndIndex ¶
func (mr *MockEventSeqMockRecorder) FindByHeightAndIndex(arg0, arg1 interface{}) *gomock.Call
FindByHeightAndIndex indicates an expected call of FindByHeightAndIndex
func (*MockEventSeqMockRecorder) FindRewardsForTimePeriod ¶ added in v0.7.1
func (mr *MockEventSeqMockRecorder) FindRewardsForTimePeriod(arg0, arg1, arg2 interface{}) *gomock.Call
FindRewardsForTimePeriod indicates an expected call of FindRewardsForTimePeriod
func (*MockEventSeqMockRecorder) FindUnbonded ¶
func (mr *MockEventSeqMockRecorder) FindUnbonded(arg0 interface{}) *gomock.Call
FindUnbonded indicates an expected call of FindUnbonded
func (*MockEventSeqMockRecorder) FindWithdrawn ¶
func (mr *MockEventSeqMockRecorder) FindWithdrawn(arg0 interface{}) *gomock.Call
FindWithdrawn indicates an expected call of FindWithdrawn
type MockReports ¶
type MockReports struct {
// contains filtered or unexported fields
}
MockReports is a mock of Reports interface
func NewMockReports ¶
func NewMockReports(ctrl *gomock.Controller) *MockReports
NewMockReports creates a new mock instance
func (*MockReports) Create ¶
func (m *MockReports) Create(arg0 interface{}) error
Create mocks base method
func (*MockReports) DeleteByKinds ¶
func (m *MockReports) DeleteByKinds(arg0 []model.ReportKind) error
DeleteByKinds mocks base method
func (*MockReports) EXPECT ¶
func (m *MockReports) EXPECT() *MockReportsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReports) FindNotCompletedByIndexVersion ¶
func (m *MockReports) FindNotCompletedByIndexVersion(arg0 int64, arg1 ...model.ReportKind) (*model.Report, error)
FindNotCompletedByIndexVersion mocks base method
func (*MockReports) FindNotCompletedByKind ¶
func (m *MockReports) FindNotCompletedByKind(arg0 ...model.ReportKind) (*model.Report, error)
FindNotCompletedByKind mocks base method
func (*MockReports) Last ¶
func (m *MockReports) Last() (*model.Report, error)
Last mocks base method
func (*MockReports) Save ¶
func (m *MockReports) Save(arg0 interface{}) error
Save mocks base method
func (*MockReports) Update ¶
func (m *MockReports) Update(arg0 interface{}) error
Update mocks base method
type MockReportsMockRecorder ¶
type MockReportsMockRecorder struct {
// contains filtered or unexported fields
}
MockReportsMockRecorder is the mock recorder for MockReports
func (*MockReportsMockRecorder) Create ¶
func (mr *MockReportsMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockReportsMockRecorder) DeleteByKinds ¶
func (mr *MockReportsMockRecorder) DeleteByKinds(arg0 interface{}) *gomock.Call
DeleteByKinds indicates an expected call of DeleteByKinds
func (*MockReportsMockRecorder) FindNotCompletedByIndexVersion ¶
func (mr *MockReportsMockRecorder) FindNotCompletedByIndexVersion(arg0 interface{}, arg1 ...interface{}) *gomock.Call
FindNotCompletedByIndexVersion indicates an expected call of FindNotCompletedByIndexVersion
func (*MockReportsMockRecorder) FindNotCompletedByKind ¶
func (mr *MockReportsMockRecorder) FindNotCompletedByKind(arg0 ...interface{}) *gomock.Call
FindNotCompletedByKind indicates an expected call of FindNotCompletedByKind
func (*MockReportsMockRecorder) Last ¶
func (mr *MockReportsMockRecorder) Last() *gomock.Call
Last indicates an expected call of Last
func (*MockReportsMockRecorder) Save ¶
func (mr *MockReportsMockRecorder) Save(arg0 interface{}) *gomock.Call
Save indicates an expected call of Save
func (*MockReportsMockRecorder) Update ¶
func (mr *MockReportsMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockRewards ¶ added in v0.6.0
type MockRewards struct {
// contains filtered or unexported fields
}
MockRewards is a mock of Rewards interface
func NewMockRewards ¶ added in v0.6.0
func NewMockRewards(ctrl *gomock.Controller) *MockRewards
NewMockRewards creates a new mock instance
func (*MockRewards) BulkUpsert ¶ added in v0.6.0
func (m *MockRewards) BulkUpsert(arg0 []model.RewardEraSeq) error
BulkUpsert mocks base method
func (*MockRewards) EXPECT ¶ added in v0.6.0
func (m *MockRewards) EXPECT() *MockRewardsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRewards) GetAll ¶ added in v0.6.0
func (m *MockRewards) GetAll(arg0, arg1 string, arg2, arg3 int64) ([]model.RewardEraSeq, error)
GetAll mocks base method
func (*MockRewards) GetAllByTime ¶ added in v0.9.0
func (m *MockRewards) GetAllByTime(arg0 string, arg1, arg2 types.Time) ([]model.RewardEraSeq, error)
GetAllByTime mocks base method
func (*MockRewards) GetByStashAndEra ¶ added in v0.8.3
func (m *MockRewards) GetByStashAndEra(arg0, arg1 string, arg2 int64) ([]model.RewardEraSeq, error)
GetByStashAndEra mocks base method
type MockRewardsMockRecorder ¶ added in v0.6.0
type MockRewardsMockRecorder struct {
// contains filtered or unexported fields
}
MockRewardsMockRecorder is the mock recorder for MockRewards
func (*MockRewardsMockRecorder) BulkUpsert ¶ added in v0.6.0
func (mr *MockRewardsMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call
BulkUpsert indicates an expected call of BulkUpsert
func (*MockRewardsMockRecorder) GetAll ¶ added in v0.6.0
func (mr *MockRewardsMockRecorder) GetAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll
func (*MockRewardsMockRecorder) GetAllByTime ¶ added in v0.9.0
func (mr *MockRewardsMockRecorder) GetAllByTime(arg0, arg1, arg2 interface{}) *gomock.Call
GetAllByTime indicates an expected call of GetAllByTime
func (*MockRewardsMockRecorder) GetByStashAndEra ¶ added in v0.8.3
func (mr *MockRewardsMockRecorder) GetByStashAndEra(arg0, arg1, arg2 interface{}) *gomock.Call
GetByStashAndEra indicates an expected call of GetByStashAndEra
type MockSyncables ¶
type MockSyncables struct {
// contains filtered or unexported fields
}
MockSyncables is a mock of Syncables interface
func NewMockSyncables ¶
func NewMockSyncables(ctrl *gomock.Controller) *MockSyncables
NewMockSyncables creates a new mock instance
func (*MockSyncables) CreateOrUpdate ¶
func (m *MockSyncables) CreateOrUpdate(arg0 *model.Syncable) error
CreateOrUpdate mocks base method
func (*MockSyncables) EXPECT ¶
func (m *MockSyncables) EXPECT() *MockSyncablesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSyncables) FindAllByLastInSessionOrEra ¶ added in v0.5.0
func (m *MockSyncables) FindAllByLastInSessionOrEra(arg0 int64, arg1, arg2 bool, arg3, arg4 int64) ([]model.Syncable, error)
FindAllByLastInSessionOrEra mocks base method
func (*MockSyncables) FindByHeight ¶
func (m *MockSyncables) FindByHeight(arg0 int64) (*model.Syncable, error)
FindByHeight mocks base method
func (*MockSyncables) FindFirstByDifferentIndexVersion ¶
func (m *MockSyncables) FindFirstByDifferentIndexVersion(arg0 int64) (*model.Syncable, error)
FindFirstByDifferentIndexVersion mocks base method
func (*MockSyncables) FindLastEndOfEra ¶
func (m *MockSyncables) FindLastEndOfEra() (*model.Syncable, error)
FindLastEndOfEra mocks base method
func (*MockSyncables) FindLastEndOfSession ¶
func (m *MockSyncables) FindLastEndOfSession() (*model.Syncable, error)
FindLastEndOfSession mocks base method
func (*MockSyncables) FindLastInEra ¶
func (m *MockSyncables) FindLastInEra(arg0 int64) (*model.Syncable, error)
FindLastInEra mocks base method
func (*MockSyncables) FindLastInSession ¶
func (m *MockSyncables) FindLastInSession(arg0 int64) (*model.Syncable, error)
FindLastInSession mocks base method
func (*MockSyncables) FindLastInSessionForHeight ¶
func (m *MockSyncables) FindLastInSessionForHeight(arg0 int64) (*model.Syncable, error)
FindLastInSessionForHeight mocks base method
func (*MockSyncables) FindMostRecent ¶
func (m *MockSyncables) FindMostRecent() (*model.Syncable, error)
FindMostRecent mocks base method
func (*MockSyncables) FindMostRecentByDifferentIndexVersion ¶
func (m *MockSyncables) FindMostRecentByDifferentIndexVersion(arg0 int64) (*model.Syncable, error)
FindMostRecentByDifferentIndexVersion mocks base method
func (*MockSyncables) FindSmallestIndexVersion ¶
func (m *MockSyncables) FindSmallestIndexVersion() (*int64, error)
FindSmallestIndexVersion mocks base method
func (*MockSyncables) SaveSyncable ¶
func (m *MockSyncables) SaveSyncable(arg0 *model.Syncable) error
SaveSyncable mocks base method
func (*MockSyncables) SetProcessedAtForRange ¶
func (m *MockSyncables) SetProcessedAtForRange(arg0 types.ID, arg1, arg2 int64) error
SetProcessedAtForRange mocks base method
type MockSyncablesMockRecorder ¶
type MockSyncablesMockRecorder struct {
// contains filtered or unexported fields
}
MockSyncablesMockRecorder is the mock recorder for MockSyncables
func (*MockSyncablesMockRecorder) CreateOrUpdate ¶
func (mr *MockSyncablesMockRecorder) CreateOrUpdate(arg0 interface{}) *gomock.Call
CreateOrUpdate indicates an expected call of CreateOrUpdate
func (*MockSyncablesMockRecorder) FindAllByLastInSessionOrEra ¶ added in v0.5.0
func (mr *MockSyncablesMockRecorder) FindAllByLastInSessionOrEra(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
FindAllByLastInSessionOrEra indicates an expected call of FindAllByLastInSessionOrEra
func (*MockSyncablesMockRecorder) FindByHeight ¶
func (mr *MockSyncablesMockRecorder) FindByHeight(arg0 interface{}) *gomock.Call
FindByHeight indicates an expected call of FindByHeight
func (*MockSyncablesMockRecorder) FindFirstByDifferentIndexVersion ¶
func (mr *MockSyncablesMockRecorder) FindFirstByDifferentIndexVersion(arg0 interface{}) *gomock.Call
FindFirstByDifferentIndexVersion indicates an expected call of FindFirstByDifferentIndexVersion
func (*MockSyncablesMockRecorder) FindLastEndOfEra ¶
func (mr *MockSyncablesMockRecorder) FindLastEndOfEra() *gomock.Call
FindLastEndOfEra indicates an expected call of FindLastEndOfEra
func (*MockSyncablesMockRecorder) FindLastEndOfSession ¶
func (mr *MockSyncablesMockRecorder) FindLastEndOfSession() *gomock.Call
FindLastEndOfSession indicates an expected call of FindLastEndOfSession
func (*MockSyncablesMockRecorder) FindLastInEra ¶
func (mr *MockSyncablesMockRecorder) FindLastInEra(arg0 interface{}) *gomock.Call
FindLastInEra indicates an expected call of FindLastInEra
func (*MockSyncablesMockRecorder) FindLastInSession ¶
func (mr *MockSyncablesMockRecorder) FindLastInSession(arg0 interface{}) *gomock.Call
FindLastInSession indicates an expected call of FindLastInSession
func (*MockSyncablesMockRecorder) FindLastInSessionForHeight ¶
func (mr *MockSyncablesMockRecorder) FindLastInSessionForHeight(arg0 interface{}) *gomock.Call
FindLastInSessionForHeight indicates an expected call of FindLastInSessionForHeight
func (*MockSyncablesMockRecorder) FindMostRecent ¶
func (mr *MockSyncablesMockRecorder) FindMostRecent() *gomock.Call
FindMostRecent indicates an expected call of FindMostRecent
func (*MockSyncablesMockRecorder) FindMostRecentByDifferentIndexVersion ¶
func (mr *MockSyncablesMockRecorder) FindMostRecentByDifferentIndexVersion(arg0 interface{}) *gomock.Call
FindMostRecentByDifferentIndexVersion indicates an expected call of FindMostRecentByDifferentIndexVersion
func (*MockSyncablesMockRecorder) FindSmallestIndexVersion ¶
func (mr *MockSyncablesMockRecorder) FindSmallestIndexVersion() *gomock.Call
FindSmallestIndexVersion indicates an expected call of FindSmallestIndexVersion
func (*MockSyncablesMockRecorder) SaveSyncable ¶
func (mr *MockSyncablesMockRecorder) SaveSyncable(arg0 interface{}) *gomock.Call
SaveSyncable indicates an expected call of SaveSyncable
func (*MockSyncablesMockRecorder) SetProcessedAtForRange ¶
func (mr *MockSyncablesMockRecorder) SetProcessedAtForRange(arg0, arg1, arg2 interface{}) *gomock.Call
SetProcessedAtForRange indicates an expected call of SetProcessedAtForRange
type MockSystemEvents ¶ added in v0.5.0
type MockSystemEvents struct {
// contains filtered or unexported fields
}
MockSystemEvents is a mock of SystemEvents interface
func NewMockSystemEvents ¶ added in v0.5.0
func NewMockSystemEvents(ctrl *gomock.Controller) *MockSystemEvents
NewMockSystemEvents creates a new mock instance
func (*MockSystemEvents) BulkUpsert ¶ added in v0.5.0
func (m *MockSystemEvents) BulkUpsert(arg0 []model.SystemEvent) error
BulkUpsert mocks base method
func (*MockSystemEvents) EXPECT ¶ added in v0.5.0
func (m *MockSystemEvents) EXPECT() *MockSystemEventsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSystemEvents) FindByActor ¶ added in v0.5.0
func (m *MockSystemEvents) FindByActor(arg0 string, arg1 *model.SystemEventKind, arg2 *int64) ([]model.SystemEvent, error)
FindByActor mocks base method
type MockSystemEventsMockRecorder ¶ added in v0.5.0
type MockSystemEventsMockRecorder struct {
// contains filtered or unexported fields
}
MockSystemEventsMockRecorder is the mock recorder for MockSystemEvents
func (*MockSystemEventsMockRecorder) BulkUpsert ¶ added in v0.5.0
func (mr *MockSystemEventsMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call
BulkUpsert indicates an expected call of BulkUpsert
func (*MockSystemEventsMockRecorder) FindByActor ¶ added in v0.5.0
func (mr *MockSystemEventsMockRecorder) FindByActor(arg0, arg1, arg2 interface{}) *gomock.Call
FindByActor indicates an expected call of FindByActor
type MockTransactionSeq ¶
type MockTransactionSeq struct {
// contains filtered or unexported fields
}
MockTransactionSeq is a mock of TransactionSeq interface
func NewMockTransactionSeq ¶
func NewMockTransactionSeq(ctrl *gomock.Controller) *MockTransactionSeq
NewMockTransactionSeq creates a new mock instance
func (*MockTransactionSeq) BulkUpsert ¶ added in v0.5.0
func (m *MockTransactionSeq) BulkUpsert(arg0 []model.TransactionSeq) error
BulkUpsert mocks base method
func (*MockTransactionSeq) EXPECT ¶
func (m *MockTransactionSeq) EXPECT() *MockTransactionSeqMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTransactionSeq) GetTransactionsByTransactionKind ¶ added in v0.8.0
func (m *MockTransactionSeq) GetTransactionsByTransactionKind(arg0 model.TransactionKind, arg1, arg2 int64) ([]model.TransactionSeq, error)
GetTransactionsByTransactionKind mocks base method
type MockTransactionSeqMockRecorder ¶
type MockTransactionSeqMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionSeqMockRecorder is the mock recorder for MockTransactionSeq
func (*MockTransactionSeqMockRecorder) BulkUpsert ¶ added in v0.5.0
func (mr *MockTransactionSeqMockRecorder) BulkUpsert(arg0 interface{}) *gomock.Call
BulkUpsert indicates an expected call of BulkUpsert
func (*MockTransactionSeqMockRecorder) GetTransactionsByTransactionKind ¶ added in v0.8.0
func (mr *MockTransactionSeqMockRecorder) GetTransactionsByTransactionKind(arg0, arg1, arg2 interface{}) *gomock.Call
GetTransactionsByTransactionKind indicates an expected call of GetTransactionsByTransactionKind
type MockValidatorAgg ¶
type MockValidatorAgg struct {
// contains filtered or unexported fields
}
MockValidatorAgg is a mock of ValidatorAgg interface
func NewMockValidatorAgg ¶
func NewMockValidatorAgg(ctrl *gomock.Controller) *MockValidatorAgg
NewMockValidatorAgg creates a new mock instance
func (*MockValidatorAgg) CreateAgg ¶
func (m *MockValidatorAgg) CreateAgg(arg0 *model.ValidatorAgg) error
CreateAgg mocks base method
func (*MockValidatorAgg) EXPECT ¶
func (m *MockValidatorAgg) EXPECT() *MockValidatorAggMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockValidatorAgg) FindAggByStashAccount ¶
func (m *MockValidatorAgg) FindAggByStashAccount(arg0 string) (*model.ValidatorAgg, error)
FindAggByStashAccount mocks base method
func (*MockValidatorAgg) FindBy ¶
func (m *MockValidatorAgg) FindBy(arg0 string, arg1 interface{}) (*model.ValidatorAgg, error)
FindBy mocks base method
func (*MockValidatorAgg) FindByID ¶
func (m *MockValidatorAgg) FindByID(arg0 int64) (*model.ValidatorAgg, error)
FindByID mocks base method
func (*MockValidatorAgg) GetAllForHeightGreaterThan ¶
func (m *MockValidatorAgg) GetAllForHeightGreaterThan(arg0 int64) ([]model.ValidatorAgg, error)
GetAllForHeightGreaterThan mocks base method
func (*MockValidatorAgg) SaveAgg ¶
func (m *MockValidatorAgg) SaveAgg(arg0 *model.ValidatorAgg) error
SaveAgg mocks base method
type MockValidatorAggMockRecorder ¶
type MockValidatorAggMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorAggMockRecorder is the mock recorder for MockValidatorAgg
func (*MockValidatorAggMockRecorder) CreateAgg ¶
func (mr *MockValidatorAggMockRecorder) CreateAgg(arg0 interface{}) *gomock.Call
CreateAgg indicates an expected call of CreateAgg
func (*MockValidatorAggMockRecorder) FindAggByStashAccount ¶
func (mr *MockValidatorAggMockRecorder) FindAggByStashAccount(arg0 interface{}) *gomock.Call
FindAggByStashAccount indicates an expected call of FindAggByStashAccount
func (*MockValidatorAggMockRecorder) FindBy ¶
func (mr *MockValidatorAggMockRecorder) FindBy(arg0, arg1 interface{}) *gomock.Call
FindBy indicates an expected call of FindBy
func (*MockValidatorAggMockRecorder) FindByID ¶
func (mr *MockValidatorAggMockRecorder) FindByID(arg0 interface{}) *gomock.Call
FindByID indicates an expected call of FindByID
func (*MockValidatorAggMockRecorder) GetAllForHeightGreaterThan ¶
func (mr *MockValidatorAggMockRecorder) GetAllForHeightGreaterThan(arg0 interface{}) *gomock.Call
GetAllForHeightGreaterThan indicates an expected call of GetAllForHeightGreaterThan
func (*MockValidatorAggMockRecorder) SaveAgg ¶
func (mr *MockValidatorAggMockRecorder) SaveAgg(arg0 interface{}) *gomock.Call
SaveAgg indicates an expected call of SaveAgg
type MockValidatorEraSeq ¶
type MockValidatorEraSeq struct {
// contains filtered or unexported fields
}
MockValidatorEraSeq is a mock of ValidatorEraSeq interface
func NewMockValidatorEraSeq ¶
func NewMockValidatorEraSeq(ctrl *gomock.Controller) *MockValidatorEraSeq
NewMockValidatorEraSeq creates a new mock instance
func (*MockValidatorEraSeq) BulkUpsertEraSeqs ¶ added in v0.5.0
func (m *MockValidatorEraSeq) BulkUpsertEraSeqs(arg0 []model.ValidatorEraSeq) error
BulkUpsertEraSeqs mocks base method
func (*MockValidatorEraSeq) DeleteEraSeqsOlderThan ¶
func (m *MockValidatorEraSeq) DeleteEraSeqsOlderThan(arg0 time.Time) (*int64, error)
DeleteEraSeqsOlderThan mocks base method
func (*MockValidatorEraSeq) EXPECT ¶
func (m *MockValidatorEraSeq) EXPECT() *MockValidatorEraSeqMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockValidatorEraSeq) FindByEra ¶
func (m *MockValidatorEraSeq) FindByEra(arg0 int64) ([]model.ValidatorEraSeq, error)
FindByEra mocks base method
func (*MockValidatorEraSeq) FindByEraAndStashAccount ¶
func (m *MockValidatorEraSeq) FindByEraAndStashAccount(arg0 int64, arg1 string) (*model.ValidatorEraSeq, error)
FindByEraAndStashAccount mocks base method
func (*MockValidatorEraSeq) FindEraSeqsByHeight ¶
func (m *MockValidatorEraSeq) FindEraSeqsByHeight(arg0 int64) ([]model.ValidatorEraSeq, error)
FindEraSeqsByHeight mocks base method
func (*MockValidatorEraSeq) FindLastEraSeqByStashAccount ¶
func (m *MockValidatorEraSeq) FindLastEraSeqByStashAccount(arg0 string, arg1 int64) ([]model.ValidatorEraSeq, error)
FindLastEraSeqByStashAccount mocks base method
func (*MockValidatorEraSeq) FindMostRecentEraSeq ¶
func (m *MockValidatorEraSeq) FindMostRecentEraSeq() (*model.ValidatorEraSeq, error)
FindMostRecentEraSeq mocks base method
func (*MockValidatorEraSeq) SummarizeEraSeqs ¶
func (m *MockValidatorEraSeq) SummarizeEraSeqs(arg0 types.SummaryInterval, arg1 []store.ActivityPeriodRow) ([]model.ValidatorEraSeqSummary, error)
SummarizeEraSeqs mocks base method
type MockValidatorEraSeqMockRecorder ¶
type MockValidatorEraSeqMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorEraSeqMockRecorder is the mock recorder for MockValidatorEraSeq
func (*MockValidatorEraSeqMockRecorder) BulkUpsertEraSeqs ¶ added in v0.5.0
func (mr *MockValidatorEraSeqMockRecorder) BulkUpsertEraSeqs(arg0 interface{}) *gomock.Call
BulkUpsertEraSeqs indicates an expected call of BulkUpsertEraSeqs
func (*MockValidatorEraSeqMockRecorder) DeleteEraSeqsOlderThan ¶
func (mr *MockValidatorEraSeqMockRecorder) DeleteEraSeqsOlderThan(arg0 interface{}) *gomock.Call
DeleteEraSeqsOlderThan indicates an expected call of DeleteEraSeqsOlderThan
func (*MockValidatorEraSeqMockRecorder) FindByEra ¶
func (mr *MockValidatorEraSeqMockRecorder) FindByEra(arg0 interface{}) *gomock.Call
FindByEra indicates an expected call of FindByEra
func (*MockValidatorEraSeqMockRecorder) FindByEraAndStashAccount ¶
func (mr *MockValidatorEraSeqMockRecorder) FindByEraAndStashAccount(arg0, arg1 interface{}) *gomock.Call
FindByEraAndStashAccount indicates an expected call of FindByEraAndStashAccount
func (*MockValidatorEraSeqMockRecorder) FindEraSeqsByHeight ¶
func (mr *MockValidatorEraSeqMockRecorder) FindEraSeqsByHeight(arg0 interface{}) *gomock.Call
FindEraSeqsByHeight indicates an expected call of FindEraSeqsByHeight
func (*MockValidatorEraSeqMockRecorder) FindLastEraSeqByStashAccount ¶
func (mr *MockValidatorEraSeqMockRecorder) FindLastEraSeqByStashAccount(arg0, arg1 interface{}) *gomock.Call
FindLastEraSeqByStashAccount indicates an expected call of FindLastEraSeqByStashAccount
func (*MockValidatorEraSeqMockRecorder) FindMostRecentEraSeq ¶
func (mr *MockValidatorEraSeqMockRecorder) FindMostRecentEraSeq() *gomock.Call
FindMostRecentEraSeq indicates an expected call of FindMostRecentEraSeq
func (*MockValidatorEraSeqMockRecorder) SummarizeEraSeqs ¶
func (mr *MockValidatorEraSeqMockRecorder) SummarizeEraSeqs(arg0, arg1 interface{}) *gomock.Call
SummarizeEraSeqs indicates an expected call of SummarizeEraSeqs
type MockValidatorSeq ¶ added in v0.5.0
type MockValidatorSeq struct {
// contains filtered or unexported fields
}
MockValidatorSeq is a mock of ValidatorSeq interface
func NewMockValidatorSeq ¶ added in v0.5.0
func NewMockValidatorSeq(ctrl *gomock.Controller) *MockValidatorSeq
NewMockValidatorSeq creates a new mock instance
func (*MockValidatorSeq) BulkUpsertSeqs ¶ added in v0.5.0
func (m *MockValidatorSeq) BulkUpsertSeqs(arg0 []model.ValidatorSeq) error
BulkUpsertSeqs mocks base method
func (*MockValidatorSeq) DeleteSeqsOlderThan ¶ added in v0.5.0
func (m *MockValidatorSeq) DeleteSeqsOlderThan(arg0 time.Time) (*int64, error)
DeleteSeqsOlderThan mocks base method
func (*MockValidatorSeq) EXPECT ¶ added in v0.5.0
func (m *MockValidatorSeq) EXPECT() *MockValidatorSeqMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockValidatorSeq) FindAllByHeight ¶ added in v0.5.0
func (m *MockValidatorSeq) FindAllByHeight(arg0 int64) ([]model.ValidatorSeq, error)
FindAllByHeight mocks base method
func (*MockValidatorSeq) FindMostRecentSeq ¶ added in v0.5.0
func (m *MockValidatorSeq) FindMostRecentSeq() (*model.ValidatorSeq, error)
FindMostRecentSeq mocks base method
type MockValidatorSeqMockRecorder ¶ added in v0.5.0
type MockValidatorSeqMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorSeqMockRecorder is the mock recorder for MockValidatorSeq
func (*MockValidatorSeqMockRecorder) BulkUpsertSeqs ¶ added in v0.5.0
func (mr *MockValidatorSeqMockRecorder) BulkUpsertSeqs(arg0 interface{}) *gomock.Call
BulkUpsertSeqs indicates an expected call of BulkUpsertSeqs
func (*MockValidatorSeqMockRecorder) DeleteSeqsOlderThan ¶ added in v0.5.0
func (mr *MockValidatorSeqMockRecorder) DeleteSeqsOlderThan(arg0 interface{}) *gomock.Call
DeleteSeqsOlderThan indicates an expected call of DeleteSeqsOlderThan
func (*MockValidatorSeqMockRecorder) FindAllByHeight ¶ added in v0.5.0
func (mr *MockValidatorSeqMockRecorder) FindAllByHeight(arg0 interface{}) *gomock.Call
FindAllByHeight indicates an expected call of FindAllByHeight
func (*MockValidatorSeqMockRecorder) FindMostRecentSeq ¶ added in v0.5.0
func (mr *MockValidatorSeqMockRecorder) FindMostRecentSeq() *gomock.Call
FindMostRecentSeq indicates an expected call of FindMostRecentSeq
type MockValidatorSessionSeq ¶
type MockValidatorSessionSeq struct {
// contains filtered or unexported fields
}
MockValidatorSessionSeq is a mock of ValidatorSessionSeq interface
func NewMockValidatorSessionSeq ¶
func NewMockValidatorSessionSeq(ctrl *gomock.Controller) *MockValidatorSessionSeq
NewMockValidatorSessionSeq creates a new mock instance
func (*MockValidatorSessionSeq) BulkUpsertSessionSeqs ¶ added in v0.5.0
func (m *MockValidatorSessionSeq) BulkUpsertSessionSeqs(arg0 []model.ValidatorSessionSeq) error
BulkUpsertSessionSeqs mocks base method
func (*MockValidatorSessionSeq) DeleteSessionSeqsOlderThan ¶
func (m *MockValidatorSessionSeq) DeleteSessionSeqsOlderThan(arg0 time.Time) (*int64, error)
DeleteSessionSeqsOlderThan mocks base method
func (*MockValidatorSessionSeq) EXPECT ¶
func (m *MockValidatorSessionSeq) EXPECT() *MockValidatorSessionSeqMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockValidatorSessionSeq) FindBySession ¶ added in v0.5.0
func (m *MockValidatorSessionSeq) FindBySession(arg0 int64) ([]model.ValidatorSessionSeq, error)
FindBySession mocks base method
func (*MockValidatorSessionSeq) FindBySessionAndStashAccount ¶
func (m *MockValidatorSessionSeq) FindBySessionAndStashAccount(arg0 int64, arg1 string) (*model.ValidatorSessionSeq, error)
FindBySessionAndStashAccount mocks base method
func (*MockValidatorSessionSeq) FindLastSessionSeqByStashAccount ¶
func (m *MockValidatorSessionSeq) FindLastSessionSeqByStashAccount(arg0 string, arg1 int64) ([]model.ValidatorSessionSeq, error)
FindLastSessionSeqByStashAccount mocks base method
func (*MockValidatorSessionSeq) FindMostRecentSessionSeq ¶
func (m *MockValidatorSessionSeq) FindMostRecentSessionSeq() (*model.ValidatorSessionSeq, error)
FindMostRecentSessionSeq mocks base method
func (*MockValidatorSessionSeq) FindSessionSeqsByHeight ¶
func (m *MockValidatorSessionSeq) FindSessionSeqsByHeight(arg0 int64) ([]model.ValidatorSessionSeq, error)
FindSessionSeqsByHeight mocks base method
func (*MockValidatorSessionSeq) SummarizeSessionSeqs ¶
func (m *MockValidatorSessionSeq) SummarizeSessionSeqs(arg0 types.SummaryInterval, arg1 []store.ActivityPeriodRow) ([]model.ValidatorSessionSeqSummary, error)
SummarizeSessionSeqs mocks base method
type MockValidatorSessionSeqMockRecorder ¶
type MockValidatorSessionSeqMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorSessionSeqMockRecorder is the mock recorder for MockValidatorSessionSeq
func (*MockValidatorSessionSeqMockRecorder) BulkUpsertSessionSeqs ¶ added in v0.5.0
func (mr *MockValidatorSessionSeqMockRecorder) BulkUpsertSessionSeqs(arg0 interface{}) *gomock.Call
BulkUpsertSessionSeqs indicates an expected call of BulkUpsertSessionSeqs
func (*MockValidatorSessionSeqMockRecorder) DeleteSessionSeqsOlderThan ¶
func (mr *MockValidatorSessionSeqMockRecorder) DeleteSessionSeqsOlderThan(arg0 interface{}) *gomock.Call
DeleteSessionSeqsOlderThan indicates an expected call of DeleteSessionSeqsOlderThan
func (*MockValidatorSessionSeqMockRecorder) FindBySession ¶ added in v0.5.0
func (mr *MockValidatorSessionSeqMockRecorder) FindBySession(arg0 interface{}) *gomock.Call
FindBySession indicates an expected call of FindBySession
func (*MockValidatorSessionSeqMockRecorder) FindBySessionAndStashAccount ¶
func (mr *MockValidatorSessionSeqMockRecorder) FindBySessionAndStashAccount(arg0, arg1 interface{}) *gomock.Call
FindBySessionAndStashAccount indicates an expected call of FindBySessionAndStashAccount
func (*MockValidatorSessionSeqMockRecorder) FindLastSessionSeqByStashAccount ¶
func (mr *MockValidatorSessionSeqMockRecorder) FindLastSessionSeqByStashAccount(arg0, arg1 interface{}) *gomock.Call
FindLastSessionSeqByStashAccount indicates an expected call of FindLastSessionSeqByStashAccount
func (*MockValidatorSessionSeqMockRecorder) FindMostRecentSessionSeq ¶
func (mr *MockValidatorSessionSeqMockRecorder) FindMostRecentSessionSeq() *gomock.Call
FindMostRecentSessionSeq indicates an expected call of FindMostRecentSessionSeq
func (*MockValidatorSessionSeqMockRecorder) FindSessionSeqsByHeight ¶
func (mr *MockValidatorSessionSeqMockRecorder) FindSessionSeqsByHeight(arg0 interface{}) *gomock.Call
FindSessionSeqsByHeight indicates an expected call of FindSessionSeqsByHeight
func (*MockValidatorSessionSeqMockRecorder) SummarizeSessionSeqs ¶
func (mr *MockValidatorSessionSeqMockRecorder) SummarizeSessionSeqs(arg0, arg1 interface{}) *gomock.Call
SummarizeSessionSeqs indicates an expected call of SummarizeSessionSeqs
type MockValidatorSummary ¶
type MockValidatorSummary struct {
// contains filtered or unexported fields
}
MockValidatorSummary is a mock of ValidatorSummary interface
func NewMockValidatorSummary ¶
func NewMockValidatorSummary(ctrl *gomock.Controller) *MockValidatorSummary
NewMockValidatorSummary creates a new mock instance
func (*MockValidatorSummary) CreateSummary ¶
func (m *MockValidatorSummary) CreateSummary(arg0 *model.ValidatorSummary) error
CreateSummary mocks base method
func (*MockValidatorSummary) DeleteSummaryOlderThan ¶
func (m *MockValidatorSummary) DeleteSummaryOlderThan(arg0 types.SummaryInterval, arg1 time.Time) (*int64, error)
DeleteSummaryOlderThan mocks base method
func (*MockValidatorSummary) EXPECT ¶
func (m *MockValidatorSummary) EXPECT() *MockValidatorSummaryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockValidatorSummary) FindActivityPeriods ¶
func (m *MockValidatorSummary) FindActivityPeriods(arg0 types.SummaryInterval, arg1 int64) ([]store.ActivityPeriodRow, error)
FindActivityPeriods mocks base method
func (*MockValidatorSummary) FindMostRecentByInterval ¶
func (m *MockValidatorSummary) FindMostRecentByInterval(arg0 types.SummaryInterval) (*model.ValidatorSummary, error)
FindMostRecentByInterval mocks base method
func (*MockValidatorSummary) FindMostRecentSummary ¶
func (m *MockValidatorSummary) FindMostRecentSummary() (*model.ValidatorSummary, error)
FindMostRecentSummary mocks base method
func (*MockValidatorSummary) FindSummaries ¶
func (m *MockValidatorSummary) FindSummaries(arg0 types.SummaryInterval, arg1 string) ([]store.ValidatorSummaryRow, error)
FindSummaries mocks base method
func (*MockValidatorSummary) FindSummary ¶
func (m *MockValidatorSummary) FindSummary(arg0 *model.ValidatorSummary) (*model.ValidatorSummary, error)
FindSummary mocks base method
func (*MockValidatorSummary) FindSummaryByStashAccount ¶
func (m *MockValidatorSummary) FindSummaryByStashAccount(arg0 string, arg1 types.SummaryInterval, arg2 string) ([]store.ValidatorSummaryRow, error)
FindSummaryByStashAccount mocks base method
func (*MockValidatorSummary) SaveSummary ¶
func (m *MockValidatorSummary) SaveSummary(arg0 *model.ValidatorSummary) error
SaveSummary mocks base method
type MockValidatorSummaryMockRecorder ¶
type MockValidatorSummaryMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorSummaryMockRecorder is the mock recorder for MockValidatorSummary
func (*MockValidatorSummaryMockRecorder) CreateSummary ¶
func (mr *MockValidatorSummaryMockRecorder) CreateSummary(arg0 interface{}) *gomock.Call
CreateSummary indicates an expected call of CreateSummary
func (*MockValidatorSummaryMockRecorder) DeleteSummaryOlderThan ¶
func (mr *MockValidatorSummaryMockRecorder) DeleteSummaryOlderThan(arg0, arg1 interface{}) *gomock.Call
DeleteSummaryOlderThan indicates an expected call of DeleteSummaryOlderThan
func (*MockValidatorSummaryMockRecorder) FindActivityPeriods ¶
func (mr *MockValidatorSummaryMockRecorder) FindActivityPeriods(arg0, arg1 interface{}) *gomock.Call
FindActivityPeriods indicates an expected call of FindActivityPeriods
func (*MockValidatorSummaryMockRecorder) FindMostRecentByInterval ¶
func (mr *MockValidatorSummaryMockRecorder) FindMostRecentByInterval(arg0 interface{}) *gomock.Call
FindMostRecentByInterval indicates an expected call of FindMostRecentByInterval
func (*MockValidatorSummaryMockRecorder) FindMostRecentSummary ¶
func (mr *MockValidatorSummaryMockRecorder) FindMostRecentSummary() *gomock.Call
FindMostRecentSummary indicates an expected call of FindMostRecentSummary
func (*MockValidatorSummaryMockRecorder) FindSummaries ¶
func (mr *MockValidatorSummaryMockRecorder) FindSummaries(arg0, arg1 interface{}) *gomock.Call
FindSummaries indicates an expected call of FindSummaries
func (*MockValidatorSummaryMockRecorder) FindSummary ¶
func (mr *MockValidatorSummaryMockRecorder) FindSummary(arg0 interface{}) *gomock.Call
FindSummary indicates an expected call of FindSummary
func (*MockValidatorSummaryMockRecorder) FindSummaryByStashAccount ¶
func (mr *MockValidatorSummaryMockRecorder) FindSummaryByStashAccount(arg0, arg1, arg2 interface{}) *gomock.Call
FindSummaryByStashAccount indicates an expected call of FindSummaryByStashAccount
func (*MockValidatorSummaryMockRecorder) SaveSummary ¶
func (mr *MockValidatorSummaryMockRecorder) SaveSummary(arg0 interface{}) *gomock.Call
SaveSummary indicates an expected call of SaveSummary