Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockExport
- type MockExportCloseCall
- type MockExportMockRecorder
- type MockExportToCsvCall
- type MockIAddress
- func (m *MockIAddress) ByHash(ctx context.Context, hash []byte) (storage.Address, error)
- func (m *MockIAddress) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Address, error)
- func (m *MockIAddress) EXPECT() *MockIAddressMockRecorder
- func (m *MockIAddress) GetByID(ctx context.Context, id uint64) (*storage.Address, error)
- func (m *MockIAddress) IdByHash(ctx context.Context, hash []byte) (uint64, error)
- func (m *MockIAddress) IsNoRows(err error) bool
- func (m *MockIAddress) LastID(ctx context.Context) (uint64, error)
- func (m *MockIAddress) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Address, error)
- func (m *MockIAddress) ListWithBalance(ctx context.Context, filters storage.AddressListFilter) ([]storage.Address, error)
- func (m_2 *MockIAddress) Save(ctx context.Context, m *storage.Address) error
- func (m *MockIAddress) Series(ctx context.Context, addressId uint64, timeframe storage.Timeframe, ...) ([]storage.HistogramItem, error)
- func (m_2 *MockIAddress) Update(ctx context.Context, m *storage.Address) error
- type MockIAddressByHashCall
- func (c *MockIAddressByHashCall) Do(f func(context.Context, []byte) (storage.Address, error)) *MockIAddressByHashCall
- func (c *MockIAddressByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Address, error)) *MockIAddressByHashCall
- func (c *MockIAddressByHashCall) Return(arg0 storage.Address, arg1 error) *MockIAddressByHashCall
- type MockIAddressCursorListCall
- type MockIAddressGetByIDCall
- func (c *MockIAddressGetByIDCall) Do(f func(context.Context, uint64) (*storage.Address, error)) *MockIAddressGetByIDCall
- func (c *MockIAddressGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Address, error)) *MockIAddressGetByIDCall
- func (c *MockIAddressGetByIDCall) Return(arg0 *storage.Address, arg1 error) *MockIAddressGetByIDCall
- type MockIAddressIdByHashCall
- func (c *MockIAddressIdByHashCall) Do(f func(context.Context, []byte) (uint64, error)) *MockIAddressIdByHashCall
- func (c *MockIAddressIdByHashCall) DoAndReturn(f func(context.Context, []byte) (uint64, error)) *MockIAddressIdByHashCall
- func (c *MockIAddressIdByHashCall) Return(arg0 uint64, arg1 error) *MockIAddressIdByHashCall
- type MockIAddressIsNoRowsCall
- type MockIAddressLastIDCall
- type MockIAddressListCall
- type MockIAddressListWithBalanceCall
- func (c *MockIAddressListWithBalanceCall) Do(f func(context.Context, storage.AddressListFilter) ([]storage.Address, error)) *MockIAddressListWithBalanceCall
- func (c *MockIAddressListWithBalanceCall) DoAndReturn(f func(context.Context, storage.AddressListFilter) ([]storage.Address, error)) *MockIAddressListWithBalanceCall
- func (c *MockIAddressListWithBalanceCall) Return(arg0 []storage.Address, arg1 error) *MockIAddressListWithBalanceCall
- type MockIAddressMockRecorder
- func (mr *MockIAddressMockRecorder) ByHash(ctx, hash any) *MockIAddressByHashCall
- func (mr *MockIAddressMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIAddressCursorListCall
- func (mr *MockIAddressMockRecorder) GetByID(ctx, id any) *MockIAddressGetByIDCall
- func (mr *MockIAddressMockRecorder) IdByHash(ctx, hash any) *MockIAddressIdByHashCall
- func (mr *MockIAddressMockRecorder) IsNoRows(err any) *MockIAddressIsNoRowsCall
- func (mr *MockIAddressMockRecorder) LastID(ctx any) *MockIAddressLastIDCall
- func (mr *MockIAddressMockRecorder) List(ctx, limit, offset, order any) *MockIAddressListCall
- func (mr *MockIAddressMockRecorder) ListWithBalance(ctx, filters any) *MockIAddressListWithBalanceCall
- func (mr *MockIAddressMockRecorder) Save(ctx, m any) *MockIAddressSaveCall
- func (mr *MockIAddressMockRecorder) Series(ctx, addressId, timeframe, column, req any) *MockIAddressSeriesCall
- func (mr *MockIAddressMockRecorder) Update(ctx, m any) *MockIAddressUpdateCall
- type MockIAddressSaveCall
- type MockIAddressSeriesCall
- type MockIAddressUpdateCall
- func (c *MockIAddressUpdateCall) Do(f func(context.Context, *storage.Address) error) *MockIAddressUpdateCall
- func (c *MockIAddressUpdateCall) DoAndReturn(f func(context.Context, *storage.Address) error) *MockIAddressUpdateCall
- func (c *MockIAddressUpdateCall) Return(arg0 error) *MockIAddressUpdateCall
- type MockIBalance
- func (m *MockIBalance) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Balance, error)
- func (m *MockIBalance) EXPECT() *MockIBalanceMockRecorder
- func (m *MockIBalance) GetByID(ctx context.Context, id uint64) (*storage.Balance, error)
- func (m *MockIBalance) IsNoRows(err error) bool
- func (m *MockIBalance) LastID(ctx context.Context) (uint64, error)
- func (m *MockIBalance) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Balance, error)
- func (m_2 *MockIBalance) Save(ctx context.Context, m *storage.Balance) error
- func (m_2 *MockIBalance) Update(ctx context.Context, m *storage.Balance) error
- type MockIBalanceCursorListCall
- type MockIBalanceGetByIDCall
- func (c *MockIBalanceGetByIDCall) Do(f func(context.Context, uint64) (*storage.Balance, error)) *MockIBalanceGetByIDCall
- func (c *MockIBalanceGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Balance, error)) *MockIBalanceGetByIDCall
- func (c *MockIBalanceGetByIDCall) Return(arg0 *storage.Balance, arg1 error) *MockIBalanceGetByIDCall
- type MockIBalanceIsNoRowsCall
- type MockIBalanceLastIDCall
- type MockIBalanceListCall
- type MockIBalanceMockRecorder
- func (mr *MockIBalanceMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBalanceCursorListCall
- func (mr *MockIBalanceMockRecorder) GetByID(ctx, id any) *MockIBalanceGetByIDCall
- func (mr *MockIBalanceMockRecorder) IsNoRows(err any) *MockIBalanceIsNoRowsCall
- func (mr *MockIBalanceMockRecorder) LastID(ctx any) *MockIBalanceLastIDCall
- func (mr *MockIBalanceMockRecorder) List(ctx, limit, offset, order any) *MockIBalanceListCall
- func (mr *MockIBalanceMockRecorder) Save(ctx, m any) *MockIBalanceSaveCall
- func (mr *MockIBalanceMockRecorder) Update(ctx, m any) *MockIBalanceUpdateCall
- type MockIBalanceSaveCall
- type MockIBalanceUpdateCall
- func (c *MockIBalanceUpdateCall) Do(f func(context.Context, *storage.Balance) error) *MockIBalanceUpdateCall
- func (c *MockIBalanceUpdateCall) DoAndReturn(f func(context.Context, *storage.Balance) error) *MockIBalanceUpdateCall
- func (c *MockIBalanceUpdateCall) Return(arg0 error) *MockIBalanceUpdateCall
- type MockIBlobLog
- func (m *MockIBlobLog) Blob(ctx context.Context, height types.Level, nsId uint64, commitment string) (storage.BlobLog, error)
- func (m *MockIBlobLog) ByHeight(ctx context.Context, height types.Level, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)
- func (m *MockIBlobLog) ByNamespace(ctx context.Context, nsId uint64, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)
- func (m *MockIBlobLog) ByProviders(ctx context.Context, providers []storage.RollupProvider, ...) ([]storage.BlobLog, error)
- func (m *MockIBlobLog) BySigner(ctx context.Context, signerId uint64, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)
- func (m *MockIBlobLog) ByTxId(ctx context.Context, txId uint64, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)
- func (m *MockIBlobLog) CountByHeight(ctx context.Context, height types.Level) (int, error)
- func (m *MockIBlobLog) CountByTxId(ctx context.Context, txId uint64) (int, error)
- func (m *MockIBlobLog) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.BlobLog, error)
- func (m *MockIBlobLog) EXPECT() *MockIBlobLogMockRecorder
- func (m *MockIBlobLog) ExportByProviders(ctx context.Context, providers []storage.RollupProvider, from, to time.Time, ...) error
- func (m *MockIBlobLog) GetByID(ctx context.Context, id uint64) (*storage.BlobLog, error)
- func (m *MockIBlobLog) IsNoRows(err error) bool
- func (m *MockIBlobLog) LastID(ctx context.Context) (uint64, error)
- func (m *MockIBlobLog) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.BlobLog, error)
- func (m_2 *MockIBlobLog) Save(ctx context.Context, m *storage.BlobLog) error
- func (m_2 *MockIBlobLog) Update(ctx context.Context, m *storage.BlobLog) error
- type MockIBlobLogBlobCall
- func (c *MockIBlobLogBlobCall) Do(f func(context.Context, types.Level, uint64, string) (storage.BlobLog, error)) *MockIBlobLogBlobCall
- func (c *MockIBlobLogBlobCall) DoAndReturn(f func(context.Context, types.Level, uint64, string) (storage.BlobLog, error)) *MockIBlobLogBlobCall
- func (c *MockIBlobLogBlobCall) Return(arg0 storage.BlobLog, arg1 error) *MockIBlobLogBlobCall
- type MockIBlobLogByHeightCall
- type MockIBlobLogByNamespaceCall
- type MockIBlobLogByProvidersCall
- type MockIBlobLogBySignerCall
- type MockIBlobLogByTxIdCall
- type MockIBlobLogCountByHeightCall
- func (c *MockIBlobLogCountByHeightCall) Do(f func(context.Context, types.Level) (int, error)) *MockIBlobLogCountByHeightCall
- func (c *MockIBlobLogCountByHeightCall) DoAndReturn(f func(context.Context, types.Level) (int, error)) *MockIBlobLogCountByHeightCall
- func (c *MockIBlobLogCountByHeightCall) Return(arg0 int, arg1 error) *MockIBlobLogCountByHeightCall
- type MockIBlobLogCountByTxIdCall
- func (c *MockIBlobLogCountByTxIdCall) Do(f func(context.Context, uint64) (int, error)) *MockIBlobLogCountByTxIdCall
- func (c *MockIBlobLogCountByTxIdCall) DoAndReturn(f func(context.Context, uint64) (int, error)) *MockIBlobLogCountByTxIdCall
- func (c *MockIBlobLogCountByTxIdCall) Return(arg0 int, arg1 error) *MockIBlobLogCountByTxIdCall
- type MockIBlobLogCursorListCall
- type MockIBlobLogExportByProvidersCall
- type MockIBlobLogGetByIDCall
- func (c *MockIBlobLogGetByIDCall) Do(f func(context.Context, uint64) (*storage.BlobLog, error)) *MockIBlobLogGetByIDCall
- func (c *MockIBlobLogGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.BlobLog, error)) *MockIBlobLogGetByIDCall
- func (c *MockIBlobLogGetByIDCall) Return(arg0 *storage.BlobLog, arg1 error) *MockIBlobLogGetByIDCall
- type MockIBlobLogIsNoRowsCall
- type MockIBlobLogLastIDCall
- type MockIBlobLogListCall
- type MockIBlobLogMockRecorder
- func (mr *MockIBlobLogMockRecorder) Blob(ctx, height, nsId, commitment any) *MockIBlobLogBlobCall
- func (mr *MockIBlobLogMockRecorder) ByHeight(ctx, height, fltrs any) *MockIBlobLogByHeightCall
- func (mr *MockIBlobLogMockRecorder) ByNamespace(ctx, nsId, fltrs any) *MockIBlobLogByNamespaceCall
- func (mr *MockIBlobLogMockRecorder) ByProviders(ctx, providers, fltrs any) *MockIBlobLogByProvidersCall
- func (mr *MockIBlobLogMockRecorder) BySigner(ctx, signerId, fltrs any) *MockIBlobLogBySignerCall
- func (mr *MockIBlobLogMockRecorder) ByTxId(ctx, txId, fltrs any) *MockIBlobLogByTxIdCall
- func (mr *MockIBlobLogMockRecorder) CountByHeight(ctx, height any) *MockIBlobLogCountByHeightCall
- func (mr *MockIBlobLogMockRecorder) CountByTxId(ctx, txId any) *MockIBlobLogCountByTxIdCall
- func (mr *MockIBlobLogMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBlobLogCursorListCall
- func (mr *MockIBlobLogMockRecorder) ExportByProviders(ctx, providers, from, to, stream any) *MockIBlobLogExportByProvidersCall
- func (mr *MockIBlobLogMockRecorder) GetByID(ctx, id any) *MockIBlobLogGetByIDCall
- func (mr *MockIBlobLogMockRecorder) IsNoRows(err any) *MockIBlobLogIsNoRowsCall
- func (mr *MockIBlobLogMockRecorder) LastID(ctx any) *MockIBlobLogLastIDCall
- func (mr *MockIBlobLogMockRecorder) List(ctx, limit, offset, order any) *MockIBlobLogListCall
- func (mr *MockIBlobLogMockRecorder) Save(ctx, m any) *MockIBlobLogSaveCall
- func (mr *MockIBlobLogMockRecorder) Update(ctx, m any) *MockIBlobLogUpdateCall
- type MockIBlobLogSaveCall
- type MockIBlobLogUpdateCall
- func (c *MockIBlobLogUpdateCall) Do(f func(context.Context, *storage.BlobLog) error) *MockIBlobLogUpdateCall
- func (c *MockIBlobLogUpdateCall) DoAndReturn(f func(context.Context, *storage.BlobLog) error) *MockIBlobLogUpdateCall
- func (c *MockIBlobLogUpdateCall) Return(arg0 error) *MockIBlobLogUpdateCall
- type MockIBlock
- func (m *MockIBlock) ByHash(ctx context.Context, hash []byte) (storage.Block, error)
- func (m *MockIBlock) ByHeight(ctx context.Context, height types.Level) (storage.Block, error)
- func (m *MockIBlock) ByHeightWithStats(ctx context.Context, height types.Level) (storage.Block, error)
- func (m *MockIBlock) ByIdWithRelations(ctx context.Context, id uint64) (storage.Block, error)
- func (m *MockIBlock) ByProposer(ctx context.Context, proposerId uint64, limit, offset int) ([]storage.Block, error)
- func (m *MockIBlock) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Block, error)
- func (m *MockIBlock) EXPECT() *MockIBlockMockRecorder
- func (m *MockIBlock) GetByID(ctx context.Context, id uint64) (*storage.Block, error)
- func (m *MockIBlock) IsNoRows(err error) bool
- func (m *MockIBlock) Last(ctx context.Context) (storage.Block, error)
- func (m *MockIBlock) LastID(ctx context.Context) (uint64, error)
- func (m *MockIBlock) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Block, error)
- func (m *MockIBlock) ListWithStats(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Block, error)
- func (m_2 *MockIBlock) Save(ctx context.Context, m *storage.Block) error
- func (m *MockIBlock) Time(ctx context.Context, height types.Level) (time.Time, error)
- func (m_2 *MockIBlock) Update(ctx context.Context, m *storage.Block) error
- type MockIBlockByHashCall
- func (c *MockIBlockByHashCall) Do(f func(context.Context, []byte) (storage.Block, error)) *MockIBlockByHashCall
- func (c *MockIBlockByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Block, error)) *MockIBlockByHashCall
- func (c *MockIBlockByHashCall) Return(arg0 storage.Block, arg1 error) *MockIBlockByHashCall
- type MockIBlockByHeightCall
- func (c *MockIBlockByHeightCall) Do(f func(context.Context, types.Level) (storage.Block, error)) *MockIBlockByHeightCall
- func (c *MockIBlockByHeightCall) DoAndReturn(f func(context.Context, types.Level) (storage.Block, error)) *MockIBlockByHeightCall
- func (c *MockIBlockByHeightCall) Return(arg0 storage.Block, arg1 error) *MockIBlockByHeightCall
- type MockIBlockByHeightWithStatsCall
- func (c *MockIBlockByHeightWithStatsCall) Do(f func(context.Context, types.Level) (storage.Block, error)) *MockIBlockByHeightWithStatsCall
- func (c *MockIBlockByHeightWithStatsCall) DoAndReturn(f func(context.Context, types.Level) (storage.Block, error)) *MockIBlockByHeightWithStatsCall
- func (c *MockIBlockByHeightWithStatsCall) Return(arg0 storage.Block, arg1 error) *MockIBlockByHeightWithStatsCall
- type MockIBlockByIdWithRelationsCall
- func (c *MockIBlockByIdWithRelationsCall) Do(f func(context.Context, uint64) (storage.Block, error)) *MockIBlockByIdWithRelationsCall
- func (c *MockIBlockByIdWithRelationsCall) DoAndReturn(f func(context.Context, uint64) (storage.Block, error)) *MockIBlockByIdWithRelationsCall
- func (c *MockIBlockByIdWithRelationsCall) Return(arg0 storage.Block, arg1 error) *MockIBlockByIdWithRelationsCall
- type MockIBlockByProposerCall
- func (c *MockIBlockByProposerCall) Do(f func(context.Context, uint64, int, int) ([]storage.Block, error)) *MockIBlockByProposerCall
- func (c *MockIBlockByProposerCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Block, error)) *MockIBlockByProposerCall
- func (c *MockIBlockByProposerCall) Return(arg0 []storage.Block, arg1 error) *MockIBlockByProposerCall
- type MockIBlockCursorListCall
- type MockIBlockGetByIDCall
- func (c *MockIBlockGetByIDCall) Do(f func(context.Context, uint64) (*storage.Block, error)) *MockIBlockGetByIDCall
- func (c *MockIBlockGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Block, error)) *MockIBlockGetByIDCall
- func (c *MockIBlockGetByIDCall) Return(arg0 *storage.Block, arg1 error) *MockIBlockGetByIDCall
- type MockIBlockIsNoRowsCall
- type MockIBlockLastCall
- type MockIBlockLastIDCall
- type MockIBlockListCall
- type MockIBlockListWithStatsCall
- type MockIBlockMockRecorder
- func (mr *MockIBlockMockRecorder) ByHash(ctx, hash any) *MockIBlockByHashCall
- func (mr *MockIBlockMockRecorder) ByHeight(ctx, height any) *MockIBlockByHeightCall
- func (mr *MockIBlockMockRecorder) ByHeightWithStats(ctx, height any) *MockIBlockByHeightWithStatsCall
- func (mr *MockIBlockMockRecorder) ByIdWithRelations(ctx, id any) *MockIBlockByIdWithRelationsCall
- func (mr *MockIBlockMockRecorder) ByProposer(ctx, proposerId, limit, offset any) *MockIBlockByProposerCall
- func (mr *MockIBlockMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBlockCursorListCall
- func (mr *MockIBlockMockRecorder) GetByID(ctx, id any) *MockIBlockGetByIDCall
- func (mr *MockIBlockMockRecorder) IsNoRows(err any) *MockIBlockIsNoRowsCall
- func (mr *MockIBlockMockRecorder) Last(ctx any) *MockIBlockLastCall
- func (mr *MockIBlockMockRecorder) LastID(ctx any) *MockIBlockLastIDCall
- func (mr *MockIBlockMockRecorder) List(ctx, limit, offset, order any) *MockIBlockListCall
- func (mr *MockIBlockMockRecorder) ListWithStats(ctx, limit, offset, order any) *MockIBlockListWithStatsCall
- func (mr *MockIBlockMockRecorder) Save(ctx, m any) *MockIBlockSaveCall
- func (mr *MockIBlockMockRecorder) Time(ctx, height any) *MockIBlockTimeCall
- func (mr *MockIBlockMockRecorder) Update(ctx, m any) *MockIBlockUpdateCall
- type MockIBlockSaveCall
- type MockIBlockSignature
- func (m *MockIBlockSignature) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.BlockSignature, error)
- func (m *MockIBlockSignature) EXPECT() *MockIBlockSignatureMockRecorder
- func (m *MockIBlockSignature) GetByID(ctx context.Context, id uint64) (*storage.BlockSignature, error)
- func (m *MockIBlockSignature) IsNoRows(err error) bool
- func (m *MockIBlockSignature) LastID(ctx context.Context) (uint64, error)
- func (m *MockIBlockSignature) LevelsByValidator(ctx context.Context, validatorId uint64, startHeight types.Level) ([]types.Level, error)
- func (m *MockIBlockSignature) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.BlockSignature, error)
- func (m_2 *MockIBlockSignature) Save(ctx context.Context, m *storage.BlockSignature) error
- func (m_2 *MockIBlockSignature) Update(ctx context.Context, m *storage.BlockSignature) error
- type MockIBlockSignatureCursorListCall
- func (c *MockIBlockSignatureCursorListCall) Do(...) *MockIBlockSignatureCursorListCall
- func (c *MockIBlockSignatureCursorListCall) DoAndReturn(...) *MockIBlockSignatureCursorListCall
- func (c *MockIBlockSignatureCursorListCall) Return(arg0 []*storage.BlockSignature, arg1 error) *MockIBlockSignatureCursorListCall
- type MockIBlockSignatureGetByIDCall
- func (c *MockIBlockSignatureGetByIDCall) Do(f func(context.Context, uint64) (*storage.BlockSignature, error)) *MockIBlockSignatureGetByIDCall
- func (c *MockIBlockSignatureGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.BlockSignature, error)) *MockIBlockSignatureGetByIDCall
- func (c *MockIBlockSignatureGetByIDCall) Return(arg0 *storage.BlockSignature, arg1 error) *MockIBlockSignatureGetByIDCall
- type MockIBlockSignatureIsNoRowsCall
- type MockIBlockSignatureLastIDCall
- func (c *MockIBlockSignatureLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIBlockSignatureLastIDCall
- func (c *MockIBlockSignatureLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIBlockSignatureLastIDCall
- func (c *MockIBlockSignatureLastIDCall) Return(arg0 uint64, arg1 error) *MockIBlockSignatureLastIDCall
- type MockIBlockSignatureLevelsByValidatorCall
- func (c *MockIBlockSignatureLevelsByValidatorCall) Do(f func(context.Context, uint64, types.Level) ([]types.Level, error)) *MockIBlockSignatureLevelsByValidatorCall
- func (c *MockIBlockSignatureLevelsByValidatorCall) DoAndReturn(f func(context.Context, uint64, types.Level) ([]types.Level, error)) *MockIBlockSignatureLevelsByValidatorCall
- func (c *MockIBlockSignatureLevelsByValidatorCall) Return(arg0 []types.Level, arg1 error) *MockIBlockSignatureLevelsByValidatorCall
- type MockIBlockSignatureListCall
- type MockIBlockSignatureMockRecorder
- func (mr *MockIBlockSignatureMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBlockSignatureCursorListCall
- func (mr *MockIBlockSignatureMockRecorder) GetByID(ctx, id any) *MockIBlockSignatureGetByIDCall
- func (mr *MockIBlockSignatureMockRecorder) IsNoRows(err any) *MockIBlockSignatureIsNoRowsCall
- func (mr *MockIBlockSignatureMockRecorder) LastID(ctx any) *MockIBlockSignatureLastIDCall
- func (mr *MockIBlockSignatureMockRecorder) LevelsByValidator(ctx, validatorId, startHeight any) *MockIBlockSignatureLevelsByValidatorCall
- func (mr *MockIBlockSignatureMockRecorder) List(ctx, limit, offset, order any) *MockIBlockSignatureListCall
- func (mr *MockIBlockSignatureMockRecorder) Save(ctx, m any) *MockIBlockSignatureSaveCall
- func (mr *MockIBlockSignatureMockRecorder) Update(ctx, m any) *MockIBlockSignatureUpdateCall
- type MockIBlockSignatureSaveCall
- func (c *MockIBlockSignatureSaveCall) Do(f func(context.Context, *storage.BlockSignature) error) *MockIBlockSignatureSaveCall
- func (c *MockIBlockSignatureSaveCall) DoAndReturn(f func(context.Context, *storage.BlockSignature) error) *MockIBlockSignatureSaveCall
- func (c *MockIBlockSignatureSaveCall) Return(arg0 error) *MockIBlockSignatureSaveCall
- type MockIBlockSignatureUpdateCall
- func (c *MockIBlockSignatureUpdateCall) Do(f func(context.Context, *storage.BlockSignature) error) *MockIBlockSignatureUpdateCall
- func (c *MockIBlockSignatureUpdateCall) DoAndReturn(f func(context.Context, *storage.BlockSignature) error) *MockIBlockSignatureUpdateCall
- func (c *MockIBlockSignatureUpdateCall) Return(arg0 error) *MockIBlockSignatureUpdateCall
- type MockIBlockStats
- type MockIBlockStatsByHeightCall
- func (c *MockIBlockStatsByHeightCall) Do(f func(context.Context, types.Level) (storage.BlockStats, error)) *MockIBlockStatsByHeightCall
- func (c *MockIBlockStatsByHeightCall) DoAndReturn(f func(context.Context, types.Level) (storage.BlockStats, error)) *MockIBlockStatsByHeightCall
- func (c *MockIBlockStatsByHeightCall) Return(arg0 storage.BlockStats, arg1 error) *MockIBlockStatsByHeightCall
- type MockIBlockStatsLastFromCall
- func (c *MockIBlockStatsLastFromCall) Do(f func(context.Context, types.Level, int) ([]storage.BlockStats, error)) *MockIBlockStatsLastFromCall
- func (c *MockIBlockStatsLastFromCall) DoAndReturn(f func(context.Context, types.Level, int) ([]storage.BlockStats, error)) *MockIBlockStatsLastFromCall
- func (c *MockIBlockStatsLastFromCall) Return(arg0 []storage.BlockStats, arg1 error) *MockIBlockStatsLastFromCall
- type MockIBlockStatsMockRecorder
- type MockIBlockTimeCall
- func (c *MockIBlockTimeCall) Do(f func(context.Context, types.Level) (time.Time, error)) *MockIBlockTimeCall
- func (c *MockIBlockTimeCall) DoAndReturn(f func(context.Context, types.Level) (time.Time, error)) *MockIBlockTimeCall
- func (c *MockIBlockTimeCall) Return(arg0 time.Time, arg1 error) *MockIBlockTimeCall
- type MockIBlockUpdateCall
- type MockIConstant
- func (m *MockIConstant) All(ctx context.Context) ([]storage.Constant, error)
- func (m *MockIConstant) ByModule(ctx context.Context, module types.ModuleName) ([]storage.Constant, error)
- func (m *MockIConstant) EXPECT() *MockIConstantMockRecorder
- func (m *MockIConstant) Get(ctx context.Context, module types.ModuleName, name string) (storage.Constant, error)
- type MockIConstantAllCall
- func (c *MockIConstantAllCall) Do(f func(context.Context) ([]storage.Constant, error)) *MockIConstantAllCall
- func (c *MockIConstantAllCall) DoAndReturn(f func(context.Context) ([]storage.Constant, error)) *MockIConstantAllCall
- func (c *MockIConstantAllCall) Return(arg0 []storage.Constant, arg1 error) *MockIConstantAllCall
- type MockIConstantByModuleCall
- func (c *MockIConstantByModuleCall) Do(f func(context.Context, types.ModuleName) ([]storage.Constant, error)) *MockIConstantByModuleCall
- func (c *MockIConstantByModuleCall) DoAndReturn(f func(context.Context, types.ModuleName) ([]storage.Constant, error)) *MockIConstantByModuleCall
- func (c *MockIConstantByModuleCall) Return(arg0 []storage.Constant, arg1 error) *MockIConstantByModuleCall
- type MockIConstantGetCall
- func (c *MockIConstantGetCall) Do(f func(context.Context, types.ModuleName, string) (storage.Constant, error)) *MockIConstantGetCall
- func (c *MockIConstantGetCall) DoAndReturn(f func(context.Context, types.ModuleName, string) (storage.Constant, error)) *MockIConstantGetCall
- func (c *MockIConstantGetCall) Return(arg0 storage.Constant, arg1 error) *MockIConstantGetCall
- type MockIConstantMockRecorder
- type MockIDelegation
- func (m *MockIDelegation) ByAddress(ctx context.Context, addressId uint64, limit, offset int, showZero bool) ([]storage.Delegation, error)
- func (m *MockIDelegation) ByValidator(ctx context.Context, validatorId uint64, limit, offset int, showZero bool) ([]storage.Delegation, error)
- func (m *MockIDelegation) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Delegation, error)
- func (m *MockIDelegation) EXPECT() *MockIDelegationMockRecorder
- func (m *MockIDelegation) GetByID(ctx context.Context, id uint64) (*storage.Delegation, error)
- func (m *MockIDelegation) IsNoRows(err error) bool
- func (m *MockIDelegation) LastID(ctx context.Context) (uint64, error)
- func (m *MockIDelegation) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Delegation, error)
- func (m_2 *MockIDelegation) Save(ctx context.Context, m *storage.Delegation) error
- func (m_2 *MockIDelegation) Update(ctx context.Context, m *storage.Delegation) error
- type MockIDelegationByAddressCall
- func (c *MockIDelegationByAddressCall) Do(f func(context.Context, uint64, int, int, bool) ([]storage.Delegation, error)) *MockIDelegationByAddressCall
- func (c *MockIDelegationByAddressCall) DoAndReturn(f func(context.Context, uint64, int, int, bool) ([]storage.Delegation, error)) *MockIDelegationByAddressCall
- func (c *MockIDelegationByAddressCall) Return(arg0 []storage.Delegation, arg1 error) *MockIDelegationByAddressCall
- type MockIDelegationByValidatorCall
- func (c *MockIDelegationByValidatorCall) Do(f func(context.Context, uint64, int, int, bool) ([]storage.Delegation, error)) *MockIDelegationByValidatorCall
- func (c *MockIDelegationByValidatorCall) DoAndReturn(f func(context.Context, uint64, int, int, bool) ([]storage.Delegation, error)) *MockIDelegationByValidatorCall
- func (c *MockIDelegationByValidatorCall) Return(arg0 []storage.Delegation, arg1 error) *MockIDelegationByValidatorCall
- type MockIDelegationCursorListCall
- type MockIDelegationGetByIDCall
- func (c *MockIDelegationGetByIDCall) Do(f func(context.Context, uint64) (*storage.Delegation, error)) *MockIDelegationGetByIDCall
- func (c *MockIDelegationGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Delegation, error)) *MockIDelegationGetByIDCall
- func (c *MockIDelegationGetByIDCall) Return(arg0 *storage.Delegation, arg1 error) *MockIDelegationGetByIDCall
- type MockIDelegationIsNoRowsCall
- type MockIDelegationLastIDCall
- func (c *MockIDelegationLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIDelegationLastIDCall
- func (c *MockIDelegationLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIDelegationLastIDCall
- func (c *MockIDelegationLastIDCall) Return(arg0 uint64, arg1 error) *MockIDelegationLastIDCall
- type MockIDelegationListCall
- type MockIDelegationMockRecorder
- func (mr *MockIDelegationMockRecorder) ByAddress(ctx, addressId, limit, offset, showZero any) *MockIDelegationByAddressCall
- func (mr *MockIDelegationMockRecorder) ByValidator(ctx, validatorId, limit, offset, showZero any) *MockIDelegationByValidatorCall
- func (mr *MockIDelegationMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIDelegationCursorListCall
- func (mr *MockIDelegationMockRecorder) GetByID(ctx, id any) *MockIDelegationGetByIDCall
- func (mr *MockIDelegationMockRecorder) IsNoRows(err any) *MockIDelegationIsNoRowsCall
- func (mr *MockIDelegationMockRecorder) LastID(ctx any) *MockIDelegationLastIDCall
- func (mr *MockIDelegationMockRecorder) List(ctx, limit, offset, order any) *MockIDelegationListCall
- func (mr *MockIDelegationMockRecorder) Save(ctx, m any) *MockIDelegationSaveCall
- func (mr *MockIDelegationMockRecorder) Update(ctx, m any) *MockIDelegationUpdateCall
- type MockIDelegationSaveCall
- func (c *MockIDelegationSaveCall) Do(f func(context.Context, *storage.Delegation) error) *MockIDelegationSaveCall
- func (c *MockIDelegationSaveCall) DoAndReturn(f func(context.Context, *storage.Delegation) error) *MockIDelegationSaveCall
- func (c *MockIDelegationSaveCall) Return(arg0 error) *MockIDelegationSaveCall
- type MockIDelegationUpdateCall
- func (c *MockIDelegationUpdateCall) Do(f func(context.Context, *storage.Delegation) error) *MockIDelegationUpdateCall
- func (c *MockIDelegationUpdateCall) DoAndReturn(f func(context.Context, *storage.Delegation) error) *MockIDelegationUpdateCall
- func (c *MockIDelegationUpdateCall) Return(arg0 error) *MockIDelegationUpdateCall
- type MockIDenomMetadata
- type MockIDenomMetadataAllCall
- func (c *MockIDenomMetadataAllCall) Do(f func(context.Context) ([]storage.DenomMetadata, error)) *MockIDenomMetadataAllCall
- func (c *MockIDenomMetadataAllCall) DoAndReturn(f func(context.Context) ([]storage.DenomMetadata, error)) *MockIDenomMetadataAllCall
- func (c *MockIDenomMetadataAllCall) Return(arg0 []storage.DenomMetadata, arg1 error) *MockIDenomMetadataAllCall
- type MockIDenomMetadataMockRecorder
- type MockIEvent
- func (m *MockIEvent) ByBlock(ctx context.Context, height types.Level, fltrs storage.EventFilter) ([]storage.Event, error)
- func (m *MockIEvent) ByTxId(ctx context.Context, txId uint64, fltrs storage.EventFilter) ([]storage.Event, error)
- func (m *MockIEvent) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Event, error)
- func (m *MockIEvent) EXPECT() *MockIEventMockRecorder
- func (m *MockIEvent) GetByID(ctx context.Context, id uint64) (*storage.Event, error)
- func (m *MockIEvent) IsNoRows(err error) bool
- func (m *MockIEvent) LastID(ctx context.Context) (uint64, error)
- func (m *MockIEvent) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Event, error)
- func (m_2 *MockIEvent) Save(ctx context.Context, m *storage.Event) error
- func (m_2 *MockIEvent) Update(ctx context.Context, m *storage.Event) error
- type MockIEventByBlockCall
- type MockIEventByTxIdCall
- func (c *MockIEventByTxIdCall) Do(f func(context.Context, uint64, storage.EventFilter) ([]storage.Event, error)) *MockIEventByTxIdCall
- func (c *MockIEventByTxIdCall) DoAndReturn(f func(context.Context, uint64, storage.EventFilter) ([]storage.Event, error)) *MockIEventByTxIdCall
- func (c *MockIEventByTxIdCall) Return(arg0 []storage.Event, arg1 error) *MockIEventByTxIdCall
- type MockIEventCursorListCall
- type MockIEventGetByIDCall
- func (c *MockIEventGetByIDCall) Do(f func(context.Context, uint64) (*storage.Event, error)) *MockIEventGetByIDCall
- func (c *MockIEventGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Event, error)) *MockIEventGetByIDCall
- func (c *MockIEventGetByIDCall) Return(arg0 *storage.Event, arg1 error) *MockIEventGetByIDCall
- type MockIEventIsNoRowsCall
- type MockIEventLastIDCall
- type MockIEventListCall
- type MockIEventMockRecorder
- func (mr *MockIEventMockRecorder) ByBlock(ctx, height, fltrs any) *MockIEventByBlockCall
- func (mr *MockIEventMockRecorder) ByTxId(ctx, txId, fltrs any) *MockIEventByTxIdCall
- func (mr *MockIEventMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIEventCursorListCall
- func (mr *MockIEventMockRecorder) GetByID(ctx, id any) *MockIEventGetByIDCall
- func (mr *MockIEventMockRecorder) IsNoRows(err any) *MockIEventIsNoRowsCall
- func (mr *MockIEventMockRecorder) LastID(ctx any) *MockIEventLastIDCall
- func (mr *MockIEventMockRecorder) List(ctx, limit, offset, order any) *MockIEventListCall
- func (mr *MockIEventMockRecorder) Save(ctx, m any) *MockIEventSaveCall
- func (mr *MockIEventMockRecorder) Update(ctx, m any) *MockIEventUpdateCall
- type MockIEventSaveCall
- type MockIEventUpdateCall
- type MockIGrant
- func (m *MockIGrant) ByGrantee(ctx context.Context, id uint64, limit, offset int) ([]storage.Grant, error)
- func (m *MockIGrant) ByGranter(ctx context.Context, id uint64, limit, offset int) ([]storage.Grant, error)
- func (m *MockIGrant) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Grant, error)
- func (m *MockIGrant) EXPECT() *MockIGrantMockRecorder
- func (m *MockIGrant) GetByID(ctx context.Context, id uint64) (*storage.Grant, error)
- func (m *MockIGrant) IsNoRows(err error) bool
- func (m *MockIGrant) LastID(ctx context.Context) (uint64, error)
- func (m *MockIGrant) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Grant, error)
- func (m_2 *MockIGrant) Save(ctx context.Context, m *storage.Grant) error
- func (m_2 *MockIGrant) Update(ctx context.Context, m *storage.Grant) error
- type MockIGrantByGranteeCall
- func (c *MockIGrantByGranteeCall) Do(f func(context.Context, uint64, int, int) ([]storage.Grant, error)) *MockIGrantByGranteeCall
- func (c *MockIGrantByGranteeCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Grant, error)) *MockIGrantByGranteeCall
- func (c *MockIGrantByGranteeCall) Return(arg0 []storage.Grant, arg1 error) *MockIGrantByGranteeCall
- type MockIGrantByGranterCall
- func (c *MockIGrantByGranterCall) Do(f func(context.Context, uint64, int, int) ([]storage.Grant, error)) *MockIGrantByGranterCall
- func (c *MockIGrantByGranterCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Grant, error)) *MockIGrantByGranterCall
- func (c *MockIGrantByGranterCall) Return(arg0 []storage.Grant, arg1 error) *MockIGrantByGranterCall
- type MockIGrantCursorListCall
- type MockIGrantGetByIDCall
- func (c *MockIGrantGetByIDCall) Do(f func(context.Context, uint64) (*storage.Grant, error)) *MockIGrantGetByIDCall
- func (c *MockIGrantGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Grant, error)) *MockIGrantGetByIDCall
- func (c *MockIGrantGetByIDCall) Return(arg0 *storage.Grant, arg1 error) *MockIGrantGetByIDCall
- type MockIGrantIsNoRowsCall
- type MockIGrantLastIDCall
- type MockIGrantListCall
- type MockIGrantMockRecorder
- func (mr *MockIGrantMockRecorder) ByGrantee(ctx, id, limit, offset any) *MockIGrantByGranteeCall
- func (mr *MockIGrantMockRecorder) ByGranter(ctx, id, limit, offset any) *MockIGrantByGranterCall
- func (mr *MockIGrantMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIGrantCursorListCall
- func (mr *MockIGrantMockRecorder) GetByID(ctx, id any) *MockIGrantGetByIDCall
- func (mr *MockIGrantMockRecorder) IsNoRows(err any) *MockIGrantIsNoRowsCall
- func (mr *MockIGrantMockRecorder) LastID(ctx any) *MockIGrantLastIDCall
- func (mr *MockIGrantMockRecorder) List(ctx, limit, offset, order any) *MockIGrantListCall
- func (mr *MockIGrantMockRecorder) Save(ctx, m any) *MockIGrantSaveCall
- func (mr *MockIGrantMockRecorder) Update(ctx, m any) *MockIGrantUpdateCall
- type MockIGrantSaveCall
- type MockIGrantUpdateCall
- type MockIJail
- func (m *MockIJail) ByValidator(ctx context.Context, id uint64, limit, offset int) ([]storage.Jail, error)
- func (m *MockIJail) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Jail, error)
- func (m *MockIJail) EXPECT() *MockIJailMockRecorder
- func (m *MockIJail) GetByID(ctx context.Context, id uint64) (*storage.Jail, error)
- func (m *MockIJail) IsNoRows(err error) bool
- func (m *MockIJail) LastID(ctx context.Context) (uint64, error)
- func (m *MockIJail) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Jail, error)
- func (m_2 *MockIJail) Save(ctx context.Context, m *storage.Jail) error
- func (m_2 *MockIJail) Update(ctx context.Context, m *storage.Jail) error
- type MockIJailByValidatorCall
- func (c *MockIJailByValidatorCall) Do(f func(context.Context, uint64, int, int) ([]storage.Jail, error)) *MockIJailByValidatorCall
- func (c *MockIJailByValidatorCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Jail, error)) *MockIJailByValidatorCall
- func (c *MockIJailByValidatorCall) Return(arg0 []storage.Jail, arg1 error) *MockIJailByValidatorCall
- type MockIJailCursorListCall
- type MockIJailGetByIDCall
- func (c *MockIJailGetByIDCall) Do(f func(context.Context, uint64) (*storage.Jail, error)) *MockIJailGetByIDCall
- func (c *MockIJailGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Jail, error)) *MockIJailGetByIDCall
- func (c *MockIJailGetByIDCall) Return(arg0 *storage.Jail, arg1 error) *MockIJailGetByIDCall
- type MockIJailIsNoRowsCall
- type MockIJailLastIDCall
- type MockIJailListCall
- type MockIJailMockRecorder
- func (mr *MockIJailMockRecorder) ByValidator(ctx, id, limit, offset any) *MockIJailByValidatorCall
- func (mr *MockIJailMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIJailCursorListCall
- func (mr *MockIJailMockRecorder) GetByID(ctx, id any) *MockIJailGetByIDCall
- func (mr *MockIJailMockRecorder) IsNoRows(err any) *MockIJailIsNoRowsCall
- func (mr *MockIJailMockRecorder) LastID(ctx any) *MockIJailLastIDCall
- func (mr *MockIJailMockRecorder) List(ctx, limit, offset, order any) *MockIJailListCall
- func (mr *MockIJailMockRecorder) Save(ctx, m any) *MockIJailSaveCall
- func (mr *MockIJailMockRecorder) Update(ctx, m any) *MockIJailUpdateCall
- type MockIJailSaveCall
- type MockIJailUpdateCall
- type MockIMessage
- func (m *MockIMessage) ByAddress(ctx context.Context, id uint64, filters storage.AddressMsgsFilter) ([]storage.AddressMessageWithTx, error)
- func (m *MockIMessage) ByTxId(ctx context.Context, txId uint64, limit, offset int) ([]storage.Message, error)
- func (m *MockIMessage) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Message, error)
- func (m *MockIMessage) EXPECT() *MockIMessageMockRecorder
- func (m *MockIMessage) GetByID(ctx context.Context, id uint64) (*storage.Message, error)
- func (m *MockIMessage) IsNoRows(err error) bool
- func (m *MockIMessage) LastID(ctx context.Context) (uint64, error)
- func (m *MockIMessage) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Message, error)
- func (m *MockIMessage) ListWithTx(ctx context.Context, filters storage.MessageListWithTxFilters) ([]storage.MessageWithTx, error)
- func (m_2 *MockIMessage) Save(ctx context.Context, m *storage.Message) error
- func (m_2 *MockIMessage) Update(ctx context.Context, m *storage.Message) error
- type MockIMessageByAddressCall
- type MockIMessageByTxIdCall
- func (c *MockIMessageByTxIdCall) Do(f func(context.Context, uint64, int, int) ([]storage.Message, error)) *MockIMessageByTxIdCall
- func (c *MockIMessageByTxIdCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Message, error)) *MockIMessageByTxIdCall
- func (c *MockIMessageByTxIdCall) Return(arg0 []storage.Message, arg1 error) *MockIMessageByTxIdCall
- type MockIMessageCursorListCall
- type MockIMessageGetByIDCall
- func (c *MockIMessageGetByIDCall) Do(f func(context.Context, uint64) (*storage.Message, error)) *MockIMessageGetByIDCall
- func (c *MockIMessageGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Message, error)) *MockIMessageGetByIDCall
- func (c *MockIMessageGetByIDCall) Return(arg0 *storage.Message, arg1 error) *MockIMessageGetByIDCall
- type MockIMessageIsNoRowsCall
- type MockIMessageLastIDCall
- type MockIMessageListCall
- type MockIMessageListWithTxCall
- type MockIMessageMockRecorder
- func (mr *MockIMessageMockRecorder) ByAddress(ctx, id, filters any) *MockIMessageByAddressCall
- func (mr *MockIMessageMockRecorder) ByTxId(ctx, txId, limit, offset any) *MockIMessageByTxIdCall
- func (mr *MockIMessageMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIMessageCursorListCall
- func (mr *MockIMessageMockRecorder) GetByID(ctx, id any) *MockIMessageGetByIDCall
- func (mr *MockIMessageMockRecorder) IsNoRows(err any) *MockIMessageIsNoRowsCall
- func (mr *MockIMessageMockRecorder) LastID(ctx any) *MockIMessageLastIDCall
- func (mr *MockIMessageMockRecorder) List(ctx, limit, offset, order any) *MockIMessageListCall
- func (mr *MockIMessageMockRecorder) ListWithTx(ctx, filters any) *MockIMessageListWithTxCall
- func (mr *MockIMessageMockRecorder) Save(ctx, m any) *MockIMessageSaveCall
- func (mr *MockIMessageMockRecorder) Update(ctx, m any) *MockIMessageUpdateCall
- type MockIMessageSaveCall
- type MockIMessageUpdateCall
- func (c *MockIMessageUpdateCall) Do(f func(context.Context, *storage.Message) error) *MockIMessageUpdateCall
- func (c *MockIMessageUpdateCall) DoAndReturn(f func(context.Context, *storage.Message) error) *MockIMessageUpdateCall
- func (c *MockIMessageUpdateCall) Return(arg0 error) *MockIMessageUpdateCall
- type MockINamespace
- func (m *MockINamespace) ByNamespaceId(ctx context.Context, namespaceId []byte) ([]storage.Namespace, error)
- func (m *MockINamespace) ByNamespaceIdAndVersion(ctx context.Context, namespaceId []byte, version byte) (storage.Namespace, error)
- func (m *MockINamespace) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Namespace, error)
- func (m *MockINamespace) EXPECT() *MockINamespaceMockRecorder
- func (m *MockINamespace) GetByID(ctx context.Context, id uint64) (*storage.Namespace, error)
- func (m *MockINamespace) GetByIds(ctx context.Context, ids ...uint64) ([]storage.Namespace, error)
- func (m *MockINamespace) IsNoRows(err error) bool
- func (m *MockINamespace) LastID(ctx context.Context) (uint64, error)
- func (m *MockINamespace) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Namespace, error)
- func (m *MockINamespace) ListWithSort(ctx context.Context, sortField string, sort storage0.SortOrder, ...) ([]storage.Namespace, error)
- func (m *MockINamespace) Messages(ctx context.Context, id uint64, limit, offset int) ([]storage.NamespaceMessage, error)
- func (m_2 *MockINamespace) Save(ctx context.Context, m *storage.Namespace) error
- func (m_2 *MockINamespace) Update(ctx context.Context, m *storage.Namespace) error
- type MockINamespaceByNamespaceIdAndVersionCall
- func (c *MockINamespaceByNamespaceIdAndVersionCall) Do(f func(context.Context, []byte, byte) (storage.Namespace, error)) *MockINamespaceByNamespaceIdAndVersionCall
- func (c *MockINamespaceByNamespaceIdAndVersionCall) DoAndReturn(f func(context.Context, []byte, byte) (storage.Namespace, error)) *MockINamespaceByNamespaceIdAndVersionCall
- func (c *MockINamespaceByNamespaceIdAndVersionCall) Return(arg0 storage.Namespace, arg1 error) *MockINamespaceByNamespaceIdAndVersionCall
- type MockINamespaceByNamespaceIdCall
- func (c *MockINamespaceByNamespaceIdCall) Do(f func(context.Context, []byte) ([]storage.Namespace, error)) *MockINamespaceByNamespaceIdCall
- func (c *MockINamespaceByNamespaceIdCall) DoAndReturn(f func(context.Context, []byte) ([]storage.Namespace, error)) *MockINamespaceByNamespaceIdCall
- func (c *MockINamespaceByNamespaceIdCall) Return(arg0 []storage.Namespace, arg1 error) *MockINamespaceByNamespaceIdCall
- type MockINamespaceCursorListCall
- type MockINamespaceGetByIDCall
- func (c *MockINamespaceGetByIDCall) Do(f func(context.Context, uint64) (*storage.Namespace, error)) *MockINamespaceGetByIDCall
- func (c *MockINamespaceGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Namespace, error)) *MockINamespaceGetByIDCall
- func (c *MockINamespaceGetByIDCall) Return(arg0 *storage.Namespace, arg1 error) *MockINamespaceGetByIDCall
- type MockINamespaceGetByIdsCall
- func (c *MockINamespaceGetByIdsCall) Do(f func(context.Context, ...uint64) ([]storage.Namespace, error)) *MockINamespaceGetByIdsCall
- func (c *MockINamespaceGetByIdsCall) DoAndReturn(f func(context.Context, ...uint64) ([]storage.Namespace, error)) *MockINamespaceGetByIdsCall
- func (c *MockINamespaceGetByIdsCall) Return(ns []storage.Namespace, err error) *MockINamespaceGetByIdsCall
- type MockINamespaceIsNoRowsCall
- type MockINamespaceLastIDCall
- func (c *MockINamespaceLastIDCall) Do(f func(context.Context) (uint64, error)) *MockINamespaceLastIDCall
- func (c *MockINamespaceLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockINamespaceLastIDCall
- func (c *MockINamespaceLastIDCall) Return(arg0 uint64, arg1 error) *MockINamespaceLastIDCall
- type MockINamespaceListCall
- type MockINamespaceListWithSortCall
- type MockINamespaceMessagesCall
- func (c *MockINamespaceMessagesCall) Do(f func(context.Context, uint64, int, int) ([]storage.NamespaceMessage, error)) *MockINamespaceMessagesCall
- func (c *MockINamespaceMessagesCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.NamespaceMessage, error)) *MockINamespaceMessagesCall
- func (c *MockINamespaceMessagesCall) Return(arg0 []storage.NamespaceMessage, arg1 error) *MockINamespaceMessagesCall
- type MockINamespaceMockRecorder
- func (mr *MockINamespaceMockRecorder) ByNamespaceId(ctx, namespaceId any) *MockINamespaceByNamespaceIdCall
- func (mr *MockINamespaceMockRecorder) ByNamespaceIdAndVersion(ctx, namespaceId, version any) *MockINamespaceByNamespaceIdAndVersionCall
- func (mr *MockINamespaceMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockINamespaceCursorListCall
- func (mr *MockINamespaceMockRecorder) GetByID(ctx, id any) *MockINamespaceGetByIDCall
- func (mr *MockINamespaceMockRecorder) GetByIds(ctx any, ids ...any) *MockINamespaceGetByIdsCall
- func (mr *MockINamespaceMockRecorder) IsNoRows(err any) *MockINamespaceIsNoRowsCall
- func (mr *MockINamespaceMockRecorder) LastID(ctx any) *MockINamespaceLastIDCall
- func (mr *MockINamespaceMockRecorder) List(ctx, limit, offset, order any) *MockINamespaceListCall
- func (mr *MockINamespaceMockRecorder) ListWithSort(ctx, sortField, sort, limit, offset any) *MockINamespaceListWithSortCall
- func (mr *MockINamespaceMockRecorder) Messages(ctx, id, limit, offset any) *MockINamespaceMessagesCall
- func (mr *MockINamespaceMockRecorder) Save(ctx, m any) *MockINamespaceSaveCall
- func (mr *MockINamespaceMockRecorder) Update(ctx, m any) *MockINamespaceUpdateCall
- type MockINamespaceSaveCall
- func (c *MockINamespaceSaveCall) Do(f func(context.Context, *storage.Namespace) error) *MockINamespaceSaveCall
- func (c *MockINamespaceSaveCall) DoAndReturn(f func(context.Context, *storage.Namespace) error) *MockINamespaceSaveCall
- func (c *MockINamespaceSaveCall) Return(arg0 error) *MockINamespaceSaveCall
- type MockINamespaceUpdateCall
- func (c *MockINamespaceUpdateCall) Do(f func(context.Context, *storage.Namespace) error) *MockINamespaceUpdateCall
- func (c *MockINamespaceUpdateCall) DoAndReturn(f func(context.Context, *storage.Namespace) error) *MockINamespaceUpdateCall
- func (c *MockINamespaceUpdateCall) Return(arg0 error) *MockINamespaceUpdateCall
- type MockIPrice
- func (m *MockIPrice) EXPECT() *MockIPriceMockRecorder
- func (m *MockIPrice) Get(ctx context.Context, timeframe string, start, end time.Time, limit int) ([]storage.Price, error)
- func (m *MockIPrice) Last(ctx context.Context) (storage.Price, error)
- func (m *MockIPrice) Save(ctx context.Context, price *storage.Price) error
- type MockIPriceGetCall
- type MockIPriceLastCall
- type MockIPriceMockRecorder
- type MockIPriceSaveCall
- type MockIRedelegation
- func (m *MockIRedelegation) ByAddress(ctx context.Context, addressId uint64, limit, offset int) ([]storage.Redelegation, error)
- func (m *MockIRedelegation) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Redelegation, error)
- func (m *MockIRedelegation) EXPECT() *MockIRedelegationMockRecorder
- func (m *MockIRedelegation) GetByID(ctx context.Context, id uint64) (*storage.Redelegation, error)
- func (m *MockIRedelegation) IsNoRows(err error) bool
- func (m *MockIRedelegation) LastID(ctx context.Context) (uint64, error)
- func (m *MockIRedelegation) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Redelegation, error)
- func (m_2 *MockIRedelegation) Save(ctx context.Context, m *storage.Redelegation) error
- func (m_2 *MockIRedelegation) Update(ctx context.Context, m *storage.Redelegation) error
- type MockIRedelegationByAddressCall
- func (c *MockIRedelegationByAddressCall) Do(f func(context.Context, uint64, int, int) ([]storage.Redelegation, error)) *MockIRedelegationByAddressCall
- func (c *MockIRedelegationByAddressCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Redelegation, error)) *MockIRedelegationByAddressCall
- func (c *MockIRedelegationByAddressCall) Return(arg0 []storage.Redelegation, arg1 error) *MockIRedelegationByAddressCall
- type MockIRedelegationCursorListCall
- type MockIRedelegationGetByIDCall
- func (c *MockIRedelegationGetByIDCall) Do(f func(context.Context, uint64) (*storage.Redelegation, error)) *MockIRedelegationGetByIDCall
- func (c *MockIRedelegationGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Redelegation, error)) *MockIRedelegationGetByIDCall
- func (c *MockIRedelegationGetByIDCall) Return(arg0 *storage.Redelegation, arg1 error) *MockIRedelegationGetByIDCall
- type MockIRedelegationIsNoRowsCall
- type MockIRedelegationLastIDCall
- func (c *MockIRedelegationLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIRedelegationLastIDCall
- func (c *MockIRedelegationLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIRedelegationLastIDCall
- func (c *MockIRedelegationLastIDCall) Return(arg0 uint64, arg1 error) *MockIRedelegationLastIDCall
- type MockIRedelegationListCall
- type MockIRedelegationMockRecorder
- func (mr *MockIRedelegationMockRecorder) ByAddress(ctx, addressId, limit, offset any) *MockIRedelegationByAddressCall
- func (mr *MockIRedelegationMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIRedelegationCursorListCall
- func (mr *MockIRedelegationMockRecorder) GetByID(ctx, id any) *MockIRedelegationGetByIDCall
- func (mr *MockIRedelegationMockRecorder) IsNoRows(err any) *MockIRedelegationIsNoRowsCall
- func (mr *MockIRedelegationMockRecorder) LastID(ctx any) *MockIRedelegationLastIDCall
- func (mr *MockIRedelegationMockRecorder) List(ctx, limit, offset, order any) *MockIRedelegationListCall
- func (mr *MockIRedelegationMockRecorder) Save(ctx, m any) *MockIRedelegationSaveCall
- func (mr *MockIRedelegationMockRecorder) Update(ctx, m any) *MockIRedelegationUpdateCall
- type MockIRedelegationSaveCall
- func (c *MockIRedelegationSaveCall) Do(f func(context.Context, *storage.Redelegation) error) *MockIRedelegationSaveCall
- func (c *MockIRedelegationSaveCall) DoAndReturn(f func(context.Context, *storage.Redelegation) error) *MockIRedelegationSaveCall
- func (c *MockIRedelegationSaveCall) Return(arg0 error) *MockIRedelegationSaveCall
- type MockIRedelegationUpdateCall
- func (c *MockIRedelegationUpdateCall) Do(f func(context.Context, *storage.Redelegation) error) *MockIRedelegationUpdateCall
- func (c *MockIRedelegationUpdateCall) DoAndReturn(f func(context.Context, *storage.Redelegation) error) *MockIRedelegationUpdateCall
- func (c *MockIRedelegationUpdateCall) Return(arg0 error) *MockIRedelegationUpdateCall
- type MockIRollup
- func (m *MockIRollup) AllSeries(ctx context.Context) ([]storage.RollupHistogramItem, error)
- func (m *MockIRollup) ById(ctx context.Context, rollupId uint64) (storage.RollupWithStats, error)
- func (m *MockIRollup) BySlug(ctx context.Context, slug string) (storage.RollupWithStats, error)
- func (m *MockIRollup) Count(ctx context.Context) (int64, error)
- func (m *MockIRollup) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Rollup, error)
- func (m *MockIRollup) Distribution(ctx context.Context, rollupId uint64, series, groupBy string) ([]storage.DistributionItem, error)
- func (m *MockIRollup) EXPECT() *MockIRollupMockRecorder
- func (m *MockIRollup) GetByID(ctx context.Context, id uint64) (*storage.Rollup, error)
- func (m *MockIRollup) IsNoRows(err error) bool
- func (m *MockIRollup) LastID(ctx context.Context) (uint64, error)
- func (m *MockIRollup) Leaderboard(ctx context.Context, sortField string, sort storage0.SortOrder, ...) ([]storage.RollupWithStats, error)
- func (m *MockIRollup) LeaderboardDay(ctx context.Context, sortField string, sort storage0.SortOrder, ...) ([]storage.RollupWithDayStats, error)
- func (m *MockIRollup) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Rollup, error)
- func (m *MockIRollup) Namespaces(ctx context.Context, rollupId uint64, limit, offset int) ([]uint64, error)
- func (m *MockIRollup) Providers(ctx context.Context, rollupId uint64) ([]storage.RollupProvider, error)
- func (m *MockIRollup) RollupsByNamespace(ctx context.Context, namespaceId uint64, limit, offset int) ([]storage.Rollup, error)
- func (m_2 *MockIRollup) Save(ctx context.Context, m *storage.Rollup) error
- func (m *MockIRollup) Series(ctx context.Context, rollupId uint64, timeframe, column string, ...) ([]storage.HistogramItem, error)
- func (m_2 *MockIRollup) Update(ctx context.Context, m *storage.Rollup) error
- type MockIRollupAllSeriesCall
- func (c *MockIRollupAllSeriesCall) Do(f func(context.Context) ([]storage.RollupHistogramItem, error)) *MockIRollupAllSeriesCall
- func (c *MockIRollupAllSeriesCall) DoAndReturn(f func(context.Context) ([]storage.RollupHistogramItem, error)) *MockIRollupAllSeriesCall
- func (c *MockIRollupAllSeriesCall) Return(arg0 []storage.RollupHistogramItem, arg1 error) *MockIRollupAllSeriesCall
- type MockIRollupByIdCall
- func (c *MockIRollupByIdCall) Do(f func(context.Context, uint64) (storage.RollupWithStats, error)) *MockIRollupByIdCall
- func (c *MockIRollupByIdCall) DoAndReturn(f func(context.Context, uint64) (storage.RollupWithStats, error)) *MockIRollupByIdCall
- func (c *MockIRollupByIdCall) Return(arg0 storage.RollupWithStats, arg1 error) *MockIRollupByIdCall
- type MockIRollupBySlugCall
- func (c *MockIRollupBySlugCall) Do(f func(context.Context, string) (storage.RollupWithStats, error)) *MockIRollupBySlugCall
- func (c *MockIRollupBySlugCall) DoAndReturn(f func(context.Context, string) (storage.RollupWithStats, error)) *MockIRollupBySlugCall
- func (c *MockIRollupBySlugCall) Return(arg0 storage.RollupWithStats, arg1 error) *MockIRollupBySlugCall
- type MockIRollupCountCall
- type MockIRollupCursorListCall
- type MockIRollupDistributionCall
- type MockIRollupGetByIDCall
- func (c *MockIRollupGetByIDCall) Do(f func(context.Context, uint64) (*storage.Rollup, error)) *MockIRollupGetByIDCall
- func (c *MockIRollupGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Rollup, error)) *MockIRollupGetByIDCall
- func (c *MockIRollupGetByIDCall) Return(arg0 *storage.Rollup, arg1 error) *MockIRollupGetByIDCall
- type MockIRollupIsNoRowsCall
- type MockIRollupLastIDCall
- type MockIRollupLeaderboardCall
- type MockIRollupLeaderboardDayCall
- type MockIRollupListCall
- type MockIRollupMockRecorder
- func (mr *MockIRollupMockRecorder) AllSeries(ctx any) *MockIRollupAllSeriesCall
- func (mr *MockIRollupMockRecorder) ById(ctx, rollupId any) *MockIRollupByIdCall
- func (mr *MockIRollupMockRecorder) BySlug(ctx, slug any) *MockIRollupBySlugCall
- func (mr *MockIRollupMockRecorder) Count(ctx any) *MockIRollupCountCall
- func (mr *MockIRollupMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIRollupCursorListCall
- func (mr *MockIRollupMockRecorder) Distribution(ctx, rollupId, series, groupBy any) *MockIRollupDistributionCall
- func (mr *MockIRollupMockRecorder) GetByID(ctx, id any) *MockIRollupGetByIDCall
- func (mr *MockIRollupMockRecorder) IsNoRows(err any) *MockIRollupIsNoRowsCall
- func (mr *MockIRollupMockRecorder) LastID(ctx any) *MockIRollupLastIDCall
- func (mr *MockIRollupMockRecorder) Leaderboard(ctx, sortField, sort, limit, offset any) *MockIRollupLeaderboardCall
- func (mr *MockIRollupMockRecorder) LeaderboardDay(ctx, sortField, sort, limit, offset any) *MockIRollupLeaderboardDayCall
- func (mr *MockIRollupMockRecorder) List(ctx, limit, offset, order any) *MockIRollupListCall
- func (mr *MockIRollupMockRecorder) Namespaces(ctx, rollupId, limit, offset any) *MockIRollupNamespacesCall
- func (mr *MockIRollupMockRecorder) Providers(ctx, rollupId any) *MockIRollupProvidersCall
- func (mr *MockIRollupMockRecorder) RollupsByNamespace(ctx, namespaceId, limit, offset any) *MockIRollupRollupsByNamespaceCall
- func (mr *MockIRollupMockRecorder) Save(ctx, m any) *MockIRollupSaveCall
- func (mr *MockIRollupMockRecorder) Series(ctx, rollupId, timeframe, column, req any) *MockIRollupSeriesCall
- func (mr *MockIRollupMockRecorder) Update(ctx, m any) *MockIRollupUpdateCall
- type MockIRollupNamespacesCall
- func (c *MockIRollupNamespacesCall) Do(f func(context.Context, uint64, int, int) ([]uint64, error)) *MockIRollupNamespacesCall
- func (c *MockIRollupNamespacesCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]uint64, error)) *MockIRollupNamespacesCall
- func (c *MockIRollupNamespacesCall) Return(namespaceIds []uint64, err error) *MockIRollupNamespacesCall
- type MockIRollupProvider
- func (m *MockIRollupProvider) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.RollupProvider, error)
- func (m *MockIRollupProvider) EXPECT() *MockIRollupProviderMockRecorder
- func (m *MockIRollupProvider) GetByID(ctx context.Context, id uint64) (*storage.RollupProvider, error)
- func (m *MockIRollupProvider) IsNoRows(err error) bool
- func (m *MockIRollupProvider) LastID(ctx context.Context) (uint64, error)
- func (m *MockIRollupProvider) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.RollupProvider, error)
- func (m_2 *MockIRollupProvider) Save(ctx context.Context, m *storage.RollupProvider) error
- func (m_2 *MockIRollupProvider) Update(ctx context.Context, m *storage.RollupProvider) error
- type MockIRollupProviderCursorListCall
- func (c *MockIRollupProviderCursorListCall) Do(...) *MockIRollupProviderCursorListCall
- func (c *MockIRollupProviderCursorListCall) DoAndReturn(...) *MockIRollupProviderCursorListCall
- func (c *MockIRollupProviderCursorListCall) Return(arg0 []*storage.RollupProvider, arg1 error) *MockIRollupProviderCursorListCall
- type MockIRollupProviderGetByIDCall
- func (c *MockIRollupProviderGetByIDCall) Do(f func(context.Context, uint64) (*storage.RollupProvider, error)) *MockIRollupProviderGetByIDCall
- func (c *MockIRollupProviderGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.RollupProvider, error)) *MockIRollupProviderGetByIDCall
- func (c *MockIRollupProviderGetByIDCall) Return(arg0 *storage.RollupProvider, arg1 error) *MockIRollupProviderGetByIDCall
- type MockIRollupProviderIsNoRowsCall
- type MockIRollupProviderLastIDCall
- func (c *MockIRollupProviderLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIRollupProviderLastIDCall
- func (c *MockIRollupProviderLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIRollupProviderLastIDCall
- func (c *MockIRollupProviderLastIDCall) Return(arg0 uint64, arg1 error) *MockIRollupProviderLastIDCall
- type MockIRollupProviderListCall
- type MockIRollupProviderMockRecorder
- func (mr *MockIRollupProviderMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIRollupProviderCursorListCall
- func (mr *MockIRollupProviderMockRecorder) GetByID(ctx, id any) *MockIRollupProviderGetByIDCall
- func (mr *MockIRollupProviderMockRecorder) IsNoRows(err any) *MockIRollupProviderIsNoRowsCall
- func (mr *MockIRollupProviderMockRecorder) LastID(ctx any) *MockIRollupProviderLastIDCall
- func (mr *MockIRollupProviderMockRecorder) List(ctx, limit, offset, order any) *MockIRollupProviderListCall
- func (mr *MockIRollupProviderMockRecorder) Save(ctx, m any) *MockIRollupProviderSaveCall
- func (mr *MockIRollupProviderMockRecorder) Update(ctx, m any) *MockIRollupProviderUpdateCall
- type MockIRollupProviderSaveCall
- func (c *MockIRollupProviderSaveCall) Do(f func(context.Context, *storage.RollupProvider) error) *MockIRollupProviderSaveCall
- func (c *MockIRollupProviderSaveCall) DoAndReturn(f func(context.Context, *storage.RollupProvider) error) *MockIRollupProviderSaveCall
- func (c *MockIRollupProviderSaveCall) Return(arg0 error) *MockIRollupProviderSaveCall
- type MockIRollupProviderUpdateCall
- func (c *MockIRollupProviderUpdateCall) Do(f func(context.Context, *storage.RollupProvider) error) *MockIRollupProviderUpdateCall
- func (c *MockIRollupProviderUpdateCall) DoAndReturn(f func(context.Context, *storage.RollupProvider) error) *MockIRollupProviderUpdateCall
- func (c *MockIRollupProviderUpdateCall) Return(arg0 error) *MockIRollupProviderUpdateCall
- type MockIRollupProvidersCall
- func (c *MockIRollupProvidersCall) Do(f func(context.Context, uint64) ([]storage.RollupProvider, error)) *MockIRollupProvidersCall
- func (c *MockIRollupProvidersCall) DoAndReturn(f func(context.Context, uint64) ([]storage.RollupProvider, error)) *MockIRollupProvidersCall
- func (c *MockIRollupProvidersCall) Return(providers []storage.RollupProvider, err error) *MockIRollupProvidersCall
- type MockIRollupRollupsByNamespaceCall
- func (c *MockIRollupRollupsByNamespaceCall) Do(f func(context.Context, uint64, int, int) ([]storage.Rollup, error)) *MockIRollupRollupsByNamespaceCall
- func (c *MockIRollupRollupsByNamespaceCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Rollup, error)) *MockIRollupRollupsByNamespaceCall
- func (c *MockIRollupRollupsByNamespaceCall) Return(rollups []storage.Rollup, err error) *MockIRollupRollupsByNamespaceCall
- type MockIRollupSaveCall
- type MockIRollupSeriesCall
- type MockIRollupUpdateCall
- type MockISearch
- type MockISearchMockRecorder
- type MockISearchSearchCall
- func (c *MockISearchSearchCall) Do(f func(context.Context, []byte) ([]storage.SearchResult, error)) *MockISearchSearchCall
- func (c *MockISearchSearchCall) DoAndReturn(f func(context.Context, []byte) ([]storage.SearchResult, error)) *MockISearchSearchCall
- func (c *MockISearchSearchCall) Return(arg0 []storage.SearchResult, arg1 error) *MockISearchSearchCall
- type MockISearchSearchTextCall
- func (c *MockISearchSearchTextCall) Do(f func(context.Context, string) ([]storage.SearchResult, error)) *MockISearchSearchTextCall
- func (c *MockISearchSearchTextCall) DoAndReturn(f func(context.Context, string) ([]storage.SearchResult, error)) *MockISearchSearchTextCall
- func (c *MockISearchSearchTextCall) Return(arg0 []storage.SearchResult, arg1 error) *MockISearchSearchTextCall
- type MockIStakingLog
- func (m *MockIStakingLog) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.StakingLog, error)
- func (m *MockIStakingLog) EXPECT() *MockIStakingLogMockRecorder
- func (m *MockIStakingLog) GetByID(ctx context.Context, id uint64) (*storage.StakingLog, error)
- func (m *MockIStakingLog) IsNoRows(err error) bool
- func (m *MockIStakingLog) LastID(ctx context.Context) (uint64, error)
- func (m *MockIStakingLog) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.StakingLog, error)
- func (m_2 *MockIStakingLog) Save(ctx context.Context, m *storage.StakingLog) error
- func (m_2 *MockIStakingLog) Update(ctx context.Context, m *storage.StakingLog) error
- type MockIStakingLogCursorListCall
- type MockIStakingLogGetByIDCall
- func (c *MockIStakingLogGetByIDCall) Do(f func(context.Context, uint64) (*storage.StakingLog, error)) *MockIStakingLogGetByIDCall
- func (c *MockIStakingLogGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.StakingLog, error)) *MockIStakingLogGetByIDCall
- func (c *MockIStakingLogGetByIDCall) Return(arg0 *storage.StakingLog, arg1 error) *MockIStakingLogGetByIDCall
- type MockIStakingLogIsNoRowsCall
- type MockIStakingLogLastIDCall
- func (c *MockIStakingLogLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIStakingLogLastIDCall
- func (c *MockIStakingLogLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIStakingLogLastIDCall
- func (c *MockIStakingLogLastIDCall) Return(arg0 uint64, arg1 error) *MockIStakingLogLastIDCall
- type MockIStakingLogListCall
- type MockIStakingLogMockRecorder
- func (mr *MockIStakingLogMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIStakingLogCursorListCall
- func (mr *MockIStakingLogMockRecorder) GetByID(ctx, id any) *MockIStakingLogGetByIDCall
- func (mr *MockIStakingLogMockRecorder) IsNoRows(err any) *MockIStakingLogIsNoRowsCall
- func (mr *MockIStakingLogMockRecorder) LastID(ctx any) *MockIStakingLogLastIDCall
- func (mr *MockIStakingLogMockRecorder) List(ctx, limit, offset, order any) *MockIStakingLogListCall
- func (mr *MockIStakingLogMockRecorder) Save(ctx, m any) *MockIStakingLogSaveCall
- func (mr *MockIStakingLogMockRecorder) Update(ctx, m any) *MockIStakingLogUpdateCall
- type MockIStakingLogSaveCall
- func (c *MockIStakingLogSaveCall) Do(f func(context.Context, *storage.StakingLog) error) *MockIStakingLogSaveCall
- func (c *MockIStakingLogSaveCall) DoAndReturn(f func(context.Context, *storage.StakingLog) error) *MockIStakingLogSaveCall
- func (c *MockIStakingLogSaveCall) Return(arg0 error) *MockIStakingLogSaveCall
- type MockIStakingLogUpdateCall
- func (c *MockIStakingLogUpdateCall) Do(f func(context.Context, *storage.StakingLog) error) *MockIStakingLogUpdateCall
- func (c *MockIStakingLogUpdateCall) DoAndReturn(f func(context.Context, *storage.StakingLog) error) *MockIStakingLogUpdateCall
- func (c *MockIStakingLogUpdateCall) Return(arg0 error) *MockIStakingLogUpdateCall
- type MockIState
- func (m *MockIState) ByName(ctx context.Context, name string) (storage.State, error)
- func (m *MockIState) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.State, error)
- func (m *MockIState) EXPECT() *MockIStateMockRecorder
- func (m *MockIState) GetByID(ctx context.Context, id uint64) (*storage.State, error)
- func (m *MockIState) IsNoRows(err error) bool
- func (m *MockIState) LastID(ctx context.Context) (uint64, error)
- func (m *MockIState) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.State, error)
- func (m_2 *MockIState) Save(ctx context.Context, m *storage.State) error
- func (m_2 *MockIState) Update(ctx context.Context, m *storage.State) error
- type MockIStateByNameCall
- func (c *MockIStateByNameCall) Do(f func(context.Context, string) (storage.State, error)) *MockIStateByNameCall
- func (c *MockIStateByNameCall) DoAndReturn(f func(context.Context, string) (storage.State, error)) *MockIStateByNameCall
- func (c *MockIStateByNameCall) Return(arg0 storage.State, arg1 error) *MockIStateByNameCall
- type MockIStateCursorListCall
- type MockIStateGetByIDCall
- func (c *MockIStateGetByIDCall) Do(f func(context.Context, uint64) (*storage.State, error)) *MockIStateGetByIDCall
- func (c *MockIStateGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.State, error)) *MockIStateGetByIDCall
- func (c *MockIStateGetByIDCall) Return(arg0 *storage.State, arg1 error) *MockIStateGetByIDCall
- type MockIStateIsNoRowsCall
- type MockIStateLastIDCall
- type MockIStateListCall
- type MockIStateMockRecorder
- func (mr *MockIStateMockRecorder) ByName(ctx, name any) *MockIStateByNameCall
- func (mr *MockIStateMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIStateCursorListCall
- func (mr *MockIStateMockRecorder) GetByID(ctx, id any) *MockIStateGetByIDCall
- func (mr *MockIStateMockRecorder) IsNoRows(err any) *MockIStateIsNoRowsCall
- func (mr *MockIStateMockRecorder) LastID(ctx any) *MockIStateLastIDCall
- func (mr *MockIStateMockRecorder) List(ctx, limit, offset, order any) *MockIStateListCall
- func (mr *MockIStateMockRecorder) Save(ctx, m any) *MockIStateSaveCall
- func (mr *MockIStateMockRecorder) Update(ctx, m any) *MockIStateUpdateCall
- type MockIStateSaveCall
- type MockIStateUpdateCall
- type MockIStats
- func (m *MockIStats) Change24hBlockStats(ctx context.Context) (storage.Change24hBlockStats, error)
- func (m *MockIStats) Count(ctx context.Context, req storage.CountRequest) (string, error)
- func (m *MockIStats) CumulativeSeries(ctx context.Context, timeframe storage.Timeframe, name string, ...) ([]storage.SeriesItem, error)
- func (m *MockIStats) EXPECT() *MockIStatsMockRecorder
- func (m *MockIStats) MessagesCount24h(ctx context.Context) ([]storage.CountItem, error)
- func (m *MockIStats) NamespaceSeries(ctx context.Context, timeframe storage.Timeframe, name string, nsId uint64, ...) ([]storage.SeriesItem, error)
- func (m *MockIStats) RollupStats24h(ctx context.Context) ([]storage.RollupStats24h, error)
- func (m *MockIStats) Series(ctx context.Context, timeframe storage.Timeframe, name string, ...) ([]storage.SeriesItem, error)
- func (m *MockIStats) SquareSize(ctx context.Context, from, to *time.Time) (map[int][]storage.SeriesItem, error)
- func (m *MockIStats) StakingSeries(ctx context.Context, timeframe storage.Timeframe, name string, ...) ([]storage.SeriesItem, error)
- func (m *MockIStats) Summary(ctx context.Context, req storage.SummaryRequest) (string, error)
- func (m *MockIStats) TPS(ctx context.Context) (storage.TPS, error)
- type MockIStatsChange24hBlockStatsCall
- func (c *MockIStatsChange24hBlockStatsCall) Do(f func(context.Context) (storage.Change24hBlockStats, error)) *MockIStatsChange24hBlockStatsCall
- func (c *MockIStatsChange24hBlockStatsCall) DoAndReturn(f func(context.Context) (storage.Change24hBlockStats, error)) *MockIStatsChange24hBlockStatsCall
- func (c *MockIStatsChange24hBlockStatsCall) Return(response storage.Change24hBlockStats, err error) *MockIStatsChange24hBlockStatsCall
- type MockIStatsCountCall
- func (c *MockIStatsCountCall) Do(f func(context.Context, storage.CountRequest) (string, error)) *MockIStatsCountCall
- func (c *MockIStatsCountCall) DoAndReturn(f func(context.Context, storage.CountRequest) (string, error)) *MockIStatsCountCall
- func (c *MockIStatsCountCall) Return(arg0 string, arg1 error) *MockIStatsCountCall
- type MockIStatsCumulativeSeriesCall
- type MockIStatsMessagesCount24hCall
- func (c *MockIStatsMessagesCount24hCall) Do(f func(context.Context) ([]storage.CountItem, error)) *MockIStatsMessagesCount24hCall
- func (c *MockIStatsMessagesCount24hCall) DoAndReturn(f func(context.Context) ([]storage.CountItem, error)) *MockIStatsMessagesCount24hCall
- func (c *MockIStatsMessagesCount24hCall) Return(arg0 []storage.CountItem, arg1 error) *MockIStatsMessagesCount24hCall
- type MockIStatsMockRecorder
- func (mr *MockIStatsMockRecorder) Change24hBlockStats(ctx any) *MockIStatsChange24hBlockStatsCall
- func (mr *MockIStatsMockRecorder) Count(ctx, req any) *MockIStatsCountCall
- func (mr *MockIStatsMockRecorder) CumulativeSeries(ctx, timeframe, name, req any) *MockIStatsCumulativeSeriesCall
- func (mr *MockIStatsMockRecorder) MessagesCount24h(ctx any) *MockIStatsMessagesCount24hCall
- func (mr *MockIStatsMockRecorder) NamespaceSeries(ctx, timeframe, name, nsId, req any) *MockIStatsNamespaceSeriesCall
- func (mr *MockIStatsMockRecorder) RollupStats24h(ctx any) *MockIStatsRollupStats24hCall
- func (mr *MockIStatsMockRecorder) Series(ctx, timeframe, name, req any) *MockIStatsSeriesCall
- func (mr *MockIStatsMockRecorder) SquareSize(ctx, from, to any) *MockIStatsSquareSizeCall
- func (mr *MockIStatsMockRecorder) StakingSeries(ctx, timeframe, name, validatorId, req any) *MockIStatsStakingSeriesCall
- func (mr *MockIStatsMockRecorder) Summary(ctx, req any) *MockIStatsSummaryCall
- func (mr *MockIStatsMockRecorder) TPS(ctx any) *MockIStatsTPSCall
- type MockIStatsNamespaceSeriesCall
- type MockIStatsRollupStats24hCall
- func (c *MockIStatsRollupStats24hCall) Do(f func(context.Context) ([]storage.RollupStats24h, error)) *MockIStatsRollupStats24hCall
- func (c *MockIStatsRollupStats24hCall) DoAndReturn(f func(context.Context) ([]storage.RollupStats24h, error)) *MockIStatsRollupStats24hCall
- func (c *MockIStatsRollupStats24hCall) Return(arg0 []storage.RollupStats24h, arg1 error) *MockIStatsRollupStats24hCall
- type MockIStatsSeriesCall
- type MockIStatsSquareSizeCall
- type MockIStatsStakingSeriesCall
- type MockIStatsSummaryCall
- func (c *MockIStatsSummaryCall) Do(f func(context.Context, storage.SummaryRequest) (string, error)) *MockIStatsSummaryCall
- func (c *MockIStatsSummaryCall) DoAndReturn(f func(context.Context, storage.SummaryRequest) (string, error)) *MockIStatsSummaryCall
- func (c *MockIStatsSummaryCall) Return(arg0 string, arg1 error) *MockIStatsSummaryCall
- type MockIStatsTPSCall
- type MockITx
- func (m *MockITx) ByAddress(ctx context.Context, addressId uint64, fltrs storage.TxFilter) ([]storage.Tx, error)
- func (m *MockITx) ByHash(ctx context.Context, hash []byte) (storage.Tx, error)
- func (m *MockITx) ByIdWithRelations(ctx context.Context, id uint64) (storage.Tx, error)
- func (m *MockITx) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Tx, error)
- func (m *MockITx) EXPECT() *MockITxMockRecorder
- func (m *MockITx) Filter(ctx context.Context, fltrs storage.TxFilter) ([]storage.Tx, error)
- func (m *MockITx) Gas(ctx context.Context, height types.Level, ts time.Time) ([]storage.Gas, error)
- func (m *MockITx) Genesis(ctx context.Context, limit, offset int, sortOrder storage0.SortOrder) ([]storage.Tx, error)
- func (m *MockITx) GetByID(ctx context.Context, id uint64) (*storage.Tx, error)
- func (m *MockITx) IdByHash(ctx context.Context, hash []byte) (uint64, error)
- func (m *MockITx) IsNoRows(err error) bool
- func (m *MockITx) LastID(ctx context.Context) (uint64, error)
- func (m *MockITx) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Tx, error)
- func (m_2 *MockITx) Save(ctx context.Context, m *storage.Tx) error
- func (m_2 *MockITx) Update(ctx context.Context, m *storage.Tx) error
- type MockITxByAddressCall
- func (c *MockITxByAddressCall) Do(f func(context.Context, uint64, storage.TxFilter) ([]storage.Tx, error)) *MockITxByAddressCall
- func (c *MockITxByAddressCall) DoAndReturn(f func(context.Context, uint64, storage.TxFilter) ([]storage.Tx, error)) *MockITxByAddressCall
- func (c *MockITxByAddressCall) Return(arg0 []storage.Tx, arg1 error) *MockITxByAddressCall
- type MockITxByHashCall
- type MockITxByIdWithRelationsCall
- func (c *MockITxByIdWithRelationsCall) Do(f func(context.Context, uint64) (storage.Tx, error)) *MockITxByIdWithRelationsCall
- func (c *MockITxByIdWithRelationsCall) DoAndReturn(f func(context.Context, uint64) (storage.Tx, error)) *MockITxByIdWithRelationsCall
- func (c *MockITxByIdWithRelationsCall) Return(arg0 storage.Tx, arg1 error) *MockITxByIdWithRelationsCall
- type MockITxCursorListCall
- type MockITxFilterCall
- func (c *MockITxFilterCall) Do(f func(context.Context, storage.TxFilter) ([]storage.Tx, error)) *MockITxFilterCall
- func (c *MockITxFilterCall) DoAndReturn(f func(context.Context, storage.TxFilter) ([]storage.Tx, error)) *MockITxFilterCall
- func (c *MockITxFilterCall) Return(arg0 []storage.Tx, arg1 error) *MockITxFilterCall
- type MockITxGasCall
- func (c *MockITxGasCall) Do(f func(context.Context, types.Level, time.Time) ([]storage.Gas, error)) *MockITxGasCall
- func (c *MockITxGasCall) DoAndReturn(f func(context.Context, types.Level, time.Time) ([]storage.Gas, error)) *MockITxGasCall
- func (c *MockITxGasCall) Return(arg0 []storage.Gas, arg1 error) *MockITxGasCall
- type MockITxGenesisCall
- func (c *MockITxGenesisCall) Do(f func(context.Context, int, int, storage0.SortOrder) ([]storage.Tx, error)) *MockITxGenesisCall
- func (c *MockITxGenesisCall) DoAndReturn(f func(context.Context, int, int, storage0.SortOrder) ([]storage.Tx, error)) *MockITxGenesisCall
- func (c *MockITxGenesisCall) Return(arg0 []storage.Tx, arg1 error) *MockITxGenesisCall
- type MockITxGetByIDCall
- func (c *MockITxGetByIDCall) Do(f func(context.Context, uint64) (*storage.Tx, error)) *MockITxGetByIDCall
- func (c *MockITxGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Tx, error)) *MockITxGetByIDCall
- func (c *MockITxGetByIDCall) Return(arg0 *storage.Tx, arg1 error) *MockITxGetByIDCall
- type MockITxIdByHashCall
- type MockITxIsNoRowsCall
- type MockITxLastIDCall
- type MockITxListCall
- type MockITxMockRecorder
- func (mr *MockITxMockRecorder) ByAddress(ctx, addressId, fltrs any) *MockITxByAddressCall
- func (mr *MockITxMockRecorder) ByHash(ctx, hash any) *MockITxByHashCall
- func (mr *MockITxMockRecorder) ByIdWithRelations(ctx, id any) *MockITxByIdWithRelationsCall
- func (mr *MockITxMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockITxCursorListCall
- func (mr *MockITxMockRecorder) Filter(ctx, fltrs any) *MockITxFilterCall
- func (mr *MockITxMockRecorder) Gas(ctx, height, ts any) *MockITxGasCall
- func (mr *MockITxMockRecorder) Genesis(ctx, limit, offset, sortOrder any) *MockITxGenesisCall
- func (mr *MockITxMockRecorder) GetByID(ctx, id any) *MockITxGetByIDCall
- func (mr *MockITxMockRecorder) IdByHash(ctx, hash any) *MockITxIdByHashCall
- func (mr *MockITxMockRecorder) IsNoRows(err any) *MockITxIsNoRowsCall
- func (mr *MockITxMockRecorder) LastID(ctx any) *MockITxLastIDCall
- func (mr *MockITxMockRecorder) List(ctx, limit, offset, order any) *MockITxListCall
- func (mr *MockITxMockRecorder) Save(ctx, m any) *MockITxSaveCall
- func (mr *MockITxMockRecorder) Update(ctx, m any) *MockITxUpdateCall
- type MockITxSaveCall
- type MockITxUpdateCall
- type MockIUndelegation
- func (m *MockIUndelegation) ByAddress(ctx context.Context, addressId uint64, limit, offset int) ([]storage.Undelegation, error)
- func (m *MockIUndelegation) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Undelegation, error)
- func (m *MockIUndelegation) EXPECT() *MockIUndelegationMockRecorder
- func (m *MockIUndelegation) GetByID(ctx context.Context, id uint64) (*storage.Undelegation, error)
- func (m *MockIUndelegation) IsNoRows(err error) bool
- func (m *MockIUndelegation) LastID(ctx context.Context) (uint64, error)
- func (m *MockIUndelegation) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Undelegation, error)
- func (m_2 *MockIUndelegation) Save(ctx context.Context, m *storage.Undelegation) error
- func (m_2 *MockIUndelegation) Update(ctx context.Context, m *storage.Undelegation) error
- type MockIUndelegationByAddressCall
- func (c *MockIUndelegationByAddressCall) Do(f func(context.Context, uint64, int, int) ([]storage.Undelegation, error)) *MockIUndelegationByAddressCall
- func (c *MockIUndelegationByAddressCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Undelegation, error)) *MockIUndelegationByAddressCall
- func (c *MockIUndelegationByAddressCall) Return(arg0 []storage.Undelegation, arg1 error) *MockIUndelegationByAddressCall
- type MockIUndelegationCursorListCall
- type MockIUndelegationGetByIDCall
- func (c *MockIUndelegationGetByIDCall) Do(f func(context.Context, uint64) (*storage.Undelegation, error)) *MockIUndelegationGetByIDCall
- func (c *MockIUndelegationGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Undelegation, error)) *MockIUndelegationGetByIDCall
- func (c *MockIUndelegationGetByIDCall) Return(arg0 *storage.Undelegation, arg1 error) *MockIUndelegationGetByIDCall
- type MockIUndelegationIsNoRowsCall
- type MockIUndelegationLastIDCall
- func (c *MockIUndelegationLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIUndelegationLastIDCall
- func (c *MockIUndelegationLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIUndelegationLastIDCall
- func (c *MockIUndelegationLastIDCall) Return(arg0 uint64, arg1 error) *MockIUndelegationLastIDCall
- type MockIUndelegationListCall
- type MockIUndelegationMockRecorder
- func (mr *MockIUndelegationMockRecorder) ByAddress(ctx, addressId, limit, offset any) *MockIUndelegationByAddressCall
- func (mr *MockIUndelegationMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIUndelegationCursorListCall
- func (mr *MockIUndelegationMockRecorder) GetByID(ctx, id any) *MockIUndelegationGetByIDCall
- func (mr *MockIUndelegationMockRecorder) IsNoRows(err any) *MockIUndelegationIsNoRowsCall
- func (mr *MockIUndelegationMockRecorder) LastID(ctx any) *MockIUndelegationLastIDCall
- func (mr *MockIUndelegationMockRecorder) List(ctx, limit, offset, order any) *MockIUndelegationListCall
- func (mr *MockIUndelegationMockRecorder) Save(ctx, m any) *MockIUndelegationSaveCall
- func (mr *MockIUndelegationMockRecorder) Update(ctx, m any) *MockIUndelegationUpdateCall
- type MockIUndelegationSaveCall
- func (c *MockIUndelegationSaveCall) Do(f func(context.Context, *storage.Undelegation) error) *MockIUndelegationSaveCall
- func (c *MockIUndelegationSaveCall) DoAndReturn(f func(context.Context, *storage.Undelegation) error) *MockIUndelegationSaveCall
- func (c *MockIUndelegationSaveCall) Return(arg0 error) *MockIUndelegationSaveCall
- type MockIUndelegationUpdateCall
- func (c *MockIUndelegationUpdateCall) Do(f func(context.Context, *storage.Undelegation) error) *MockIUndelegationUpdateCall
- func (c *MockIUndelegationUpdateCall) DoAndReturn(f func(context.Context, *storage.Undelegation) error) *MockIUndelegationUpdateCall
- func (c *MockIUndelegationUpdateCall) Return(arg0 error) *MockIUndelegationUpdateCall
- type MockIValidator
- func (m *MockIValidator) ByAddress(ctx context.Context, address string) (storage.Validator, error)
- func (m *MockIValidator) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Validator, error)
- func (m *MockIValidator) EXPECT() *MockIValidatorMockRecorder
- func (m *MockIValidator) GetByID(ctx context.Context, id uint64) (*storage.Validator, error)
- func (m *MockIValidator) IsNoRows(err error) bool
- func (m *MockIValidator) JailedCount(ctx context.Context) (int, error)
- func (m *MockIValidator) LastID(ctx context.Context) (uint64, error)
- func (m *MockIValidator) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Validator, error)
- func (m *MockIValidator) ListByPower(ctx context.Context, fltrs storage.ValidatorFilters) ([]storage.Validator, error)
- func (m_2 *MockIValidator) Save(ctx context.Context, m *storage.Validator) error
- func (m *MockIValidator) TotalVotingPower(ctx context.Context) (decimal.Decimal, error)
- func (m_2 *MockIValidator) Update(ctx context.Context, m *storage.Validator) error
- type MockIValidatorByAddressCall
- func (c *MockIValidatorByAddressCall) Do(f func(context.Context, string) (storage.Validator, error)) *MockIValidatorByAddressCall
- func (c *MockIValidatorByAddressCall) DoAndReturn(f func(context.Context, string) (storage.Validator, error)) *MockIValidatorByAddressCall
- func (c *MockIValidatorByAddressCall) Return(arg0 storage.Validator, arg1 error) *MockIValidatorByAddressCall
- type MockIValidatorCursorListCall
- type MockIValidatorGetByIDCall
- func (c *MockIValidatorGetByIDCall) Do(f func(context.Context, uint64) (*storage.Validator, error)) *MockIValidatorGetByIDCall
- func (c *MockIValidatorGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Validator, error)) *MockIValidatorGetByIDCall
- func (c *MockIValidatorGetByIDCall) Return(arg0 *storage.Validator, arg1 error) *MockIValidatorGetByIDCall
- type MockIValidatorIsNoRowsCall
- type MockIValidatorJailedCountCall
- func (c *MockIValidatorJailedCountCall) Do(f func(context.Context) (int, error)) *MockIValidatorJailedCountCall
- func (c *MockIValidatorJailedCountCall) DoAndReturn(f func(context.Context) (int, error)) *MockIValidatorJailedCountCall
- func (c *MockIValidatorJailedCountCall) Return(arg0 int, arg1 error) *MockIValidatorJailedCountCall
- type MockIValidatorLastIDCall
- func (c *MockIValidatorLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIValidatorLastIDCall
- func (c *MockIValidatorLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIValidatorLastIDCall
- func (c *MockIValidatorLastIDCall) Return(arg0 uint64, arg1 error) *MockIValidatorLastIDCall
- type MockIValidatorListByPowerCall
- func (c *MockIValidatorListByPowerCall) Do(f func(context.Context, storage.ValidatorFilters) ([]storage.Validator, error)) *MockIValidatorListByPowerCall
- func (c *MockIValidatorListByPowerCall) DoAndReturn(f func(context.Context, storage.ValidatorFilters) ([]storage.Validator, error)) *MockIValidatorListByPowerCall
- func (c *MockIValidatorListByPowerCall) Return(arg0 []storage.Validator, arg1 error) *MockIValidatorListByPowerCall
- type MockIValidatorListCall
- type MockIValidatorMockRecorder
- func (mr *MockIValidatorMockRecorder) ByAddress(ctx, address any) *MockIValidatorByAddressCall
- func (mr *MockIValidatorMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIValidatorCursorListCall
- func (mr *MockIValidatorMockRecorder) GetByID(ctx, id any) *MockIValidatorGetByIDCall
- func (mr *MockIValidatorMockRecorder) IsNoRows(err any) *MockIValidatorIsNoRowsCall
- func (mr *MockIValidatorMockRecorder) JailedCount(ctx any) *MockIValidatorJailedCountCall
- func (mr *MockIValidatorMockRecorder) LastID(ctx any) *MockIValidatorLastIDCall
- func (mr *MockIValidatorMockRecorder) List(ctx, limit, offset, order any) *MockIValidatorListCall
- func (mr *MockIValidatorMockRecorder) ListByPower(ctx, fltrs any) *MockIValidatorListByPowerCall
- func (mr *MockIValidatorMockRecorder) Save(ctx, m any) *MockIValidatorSaveCall
- func (mr *MockIValidatorMockRecorder) TotalVotingPower(ctx any) *MockIValidatorTotalVotingPowerCall
- func (mr *MockIValidatorMockRecorder) Update(ctx, m any) *MockIValidatorUpdateCall
- type MockIValidatorSaveCall
- func (c *MockIValidatorSaveCall) Do(f func(context.Context, *storage.Validator) error) *MockIValidatorSaveCall
- func (c *MockIValidatorSaveCall) DoAndReturn(f func(context.Context, *storage.Validator) error) *MockIValidatorSaveCall
- func (c *MockIValidatorSaveCall) Return(arg0 error) *MockIValidatorSaveCall
- type MockIValidatorTotalVotingPowerCall
- func (c *MockIValidatorTotalVotingPowerCall) Do(f func(context.Context) (decimal.Decimal, error)) *MockIValidatorTotalVotingPowerCall
- func (c *MockIValidatorTotalVotingPowerCall) DoAndReturn(f func(context.Context) (decimal.Decimal, error)) *MockIValidatorTotalVotingPowerCall
- func (c *MockIValidatorTotalVotingPowerCall) Return(arg0 decimal.Decimal, arg1 error) *MockIValidatorTotalVotingPowerCall
- type MockIValidatorUpdateCall
- func (c *MockIValidatorUpdateCall) Do(f func(context.Context, *storage.Validator) error) *MockIValidatorUpdateCall
- func (c *MockIValidatorUpdateCall) DoAndReturn(f func(context.Context, *storage.Validator) error) *MockIValidatorUpdateCall
- func (c *MockIValidatorUpdateCall) Return(arg0 error) *MockIValidatorUpdateCall
- type MockIVestingAccount
- func (m *MockIVestingAccount) ByAddress(ctx context.Context, addressId uint64, limit, offset int, showEnded bool) ([]storage.VestingAccount, error)
- func (m *MockIVestingAccount) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.VestingAccount, error)
- func (m *MockIVestingAccount) EXPECT() *MockIVestingAccountMockRecorder
- func (m *MockIVestingAccount) GetByID(ctx context.Context, id uint64) (*storage.VestingAccount, error)
- func (m *MockIVestingAccount) IsNoRows(err error) bool
- func (m *MockIVestingAccount) LastID(ctx context.Context) (uint64, error)
- func (m *MockIVestingAccount) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.VestingAccount, error)
- func (m_2 *MockIVestingAccount) Save(ctx context.Context, m *storage.VestingAccount) error
- func (m_2 *MockIVestingAccount) Update(ctx context.Context, m *storage.VestingAccount) error
- type MockIVestingAccountByAddressCall
- func (c *MockIVestingAccountByAddressCall) Do(...) *MockIVestingAccountByAddressCall
- func (c *MockIVestingAccountByAddressCall) DoAndReturn(...) *MockIVestingAccountByAddressCall
- func (c *MockIVestingAccountByAddressCall) Return(arg0 []storage.VestingAccount, arg1 error) *MockIVestingAccountByAddressCall
- type MockIVestingAccountCursorListCall
- func (c *MockIVestingAccountCursorListCall) Do(...) *MockIVestingAccountCursorListCall
- func (c *MockIVestingAccountCursorListCall) DoAndReturn(...) *MockIVestingAccountCursorListCall
- func (c *MockIVestingAccountCursorListCall) Return(arg0 []*storage.VestingAccount, arg1 error) *MockIVestingAccountCursorListCall
- type MockIVestingAccountGetByIDCall
- func (c *MockIVestingAccountGetByIDCall) Do(f func(context.Context, uint64) (*storage.VestingAccount, error)) *MockIVestingAccountGetByIDCall
- func (c *MockIVestingAccountGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.VestingAccount, error)) *MockIVestingAccountGetByIDCall
- func (c *MockIVestingAccountGetByIDCall) Return(arg0 *storage.VestingAccount, arg1 error) *MockIVestingAccountGetByIDCall
- type MockIVestingAccountIsNoRowsCall
- type MockIVestingAccountLastIDCall
- func (c *MockIVestingAccountLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIVestingAccountLastIDCall
- func (c *MockIVestingAccountLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIVestingAccountLastIDCall
- func (c *MockIVestingAccountLastIDCall) Return(arg0 uint64, arg1 error) *MockIVestingAccountLastIDCall
- type MockIVestingAccountListCall
- type MockIVestingAccountMockRecorder
- func (mr *MockIVestingAccountMockRecorder) ByAddress(ctx, addressId, limit, offset, showEnded any) *MockIVestingAccountByAddressCall
- func (mr *MockIVestingAccountMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIVestingAccountCursorListCall
- func (mr *MockIVestingAccountMockRecorder) GetByID(ctx, id any) *MockIVestingAccountGetByIDCall
- func (mr *MockIVestingAccountMockRecorder) IsNoRows(err any) *MockIVestingAccountIsNoRowsCall
- func (mr *MockIVestingAccountMockRecorder) LastID(ctx any) *MockIVestingAccountLastIDCall
- func (mr *MockIVestingAccountMockRecorder) List(ctx, limit, offset, order any) *MockIVestingAccountListCall
- func (mr *MockIVestingAccountMockRecorder) Save(ctx, m any) *MockIVestingAccountSaveCall
- func (mr *MockIVestingAccountMockRecorder) Update(ctx, m any) *MockIVestingAccountUpdateCall
- type MockIVestingAccountSaveCall
- func (c *MockIVestingAccountSaveCall) Do(f func(context.Context, *storage.VestingAccount) error) *MockIVestingAccountSaveCall
- func (c *MockIVestingAccountSaveCall) DoAndReturn(f func(context.Context, *storage.VestingAccount) error) *MockIVestingAccountSaveCall
- func (c *MockIVestingAccountSaveCall) Return(arg0 error) *MockIVestingAccountSaveCall
- type MockIVestingAccountUpdateCall
- func (c *MockIVestingAccountUpdateCall) Do(f func(context.Context, *storage.VestingAccount) error) *MockIVestingAccountUpdateCall
- func (c *MockIVestingAccountUpdateCall) DoAndReturn(f func(context.Context, *storage.VestingAccount) error) *MockIVestingAccountUpdateCall
- func (c *MockIVestingAccountUpdateCall) Return(arg0 error) *MockIVestingAccountUpdateCall
- type MockIVestingPeriod
- func (m *MockIVestingPeriod) ByVesting(ctx context.Context, id uint64, limit, offset int) ([]storage.VestingPeriod, error)
- func (m *MockIVestingPeriod) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.VestingPeriod, error)
- func (m *MockIVestingPeriod) EXPECT() *MockIVestingPeriodMockRecorder
- func (m *MockIVestingPeriod) GetByID(ctx context.Context, id uint64) (*storage.VestingPeriod, error)
- func (m *MockIVestingPeriod) IsNoRows(err error) bool
- func (m *MockIVestingPeriod) LastID(ctx context.Context) (uint64, error)
- func (m *MockIVestingPeriod) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.VestingPeriod, error)
- func (m_2 *MockIVestingPeriod) Save(ctx context.Context, m *storage.VestingPeriod) error
- func (m_2 *MockIVestingPeriod) Update(ctx context.Context, m *storage.VestingPeriod) error
- type MockIVestingPeriodByVestingCall
- func (c *MockIVestingPeriodByVestingCall) Do(f func(context.Context, uint64, int, int) ([]storage.VestingPeriod, error)) *MockIVestingPeriodByVestingCall
- func (c *MockIVestingPeriodByVestingCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.VestingPeriod, error)) *MockIVestingPeriodByVestingCall
- func (c *MockIVestingPeriodByVestingCall) Return(arg0 []storage.VestingPeriod, arg1 error) *MockIVestingPeriodByVestingCall
- type MockIVestingPeriodCursorListCall
- func (c *MockIVestingPeriodCursorListCall) Do(...) *MockIVestingPeriodCursorListCall
- func (c *MockIVestingPeriodCursorListCall) DoAndReturn(...) *MockIVestingPeriodCursorListCall
- func (c *MockIVestingPeriodCursorListCall) Return(arg0 []*storage.VestingPeriod, arg1 error) *MockIVestingPeriodCursorListCall
- type MockIVestingPeriodGetByIDCall
- func (c *MockIVestingPeriodGetByIDCall) Do(f func(context.Context, uint64) (*storage.VestingPeriod, error)) *MockIVestingPeriodGetByIDCall
- func (c *MockIVestingPeriodGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.VestingPeriod, error)) *MockIVestingPeriodGetByIDCall
- func (c *MockIVestingPeriodGetByIDCall) Return(arg0 *storage.VestingPeriod, arg1 error) *MockIVestingPeriodGetByIDCall
- type MockIVestingPeriodIsNoRowsCall
- type MockIVestingPeriodLastIDCall
- func (c *MockIVestingPeriodLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIVestingPeriodLastIDCall
- func (c *MockIVestingPeriodLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIVestingPeriodLastIDCall
- func (c *MockIVestingPeriodLastIDCall) Return(arg0 uint64, arg1 error) *MockIVestingPeriodLastIDCall
- type MockIVestingPeriodListCall
- type MockIVestingPeriodMockRecorder
- func (mr *MockIVestingPeriodMockRecorder) ByVesting(ctx, id, limit, offset any) *MockIVestingPeriodByVestingCall
- func (mr *MockIVestingPeriodMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIVestingPeriodCursorListCall
- func (mr *MockIVestingPeriodMockRecorder) GetByID(ctx, id any) *MockIVestingPeriodGetByIDCall
- func (mr *MockIVestingPeriodMockRecorder) IsNoRows(err any) *MockIVestingPeriodIsNoRowsCall
- func (mr *MockIVestingPeriodMockRecorder) LastID(ctx any) *MockIVestingPeriodLastIDCall
- func (mr *MockIVestingPeriodMockRecorder) List(ctx, limit, offset, order any) *MockIVestingPeriodListCall
- func (mr *MockIVestingPeriodMockRecorder) Save(ctx, m any) *MockIVestingPeriodSaveCall
- func (mr *MockIVestingPeriodMockRecorder) Update(ctx, m any) *MockIVestingPeriodUpdateCall
- type MockIVestingPeriodSaveCall
- func (c *MockIVestingPeriodSaveCall) Do(f func(context.Context, *storage.VestingPeriod) error) *MockIVestingPeriodSaveCall
- func (c *MockIVestingPeriodSaveCall) DoAndReturn(f func(context.Context, *storage.VestingPeriod) error) *MockIVestingPeriodSaveCall
- func (c *MockIVestingPeriodSaveCall) Return(arg0 error) *MockIVestingPeriodSaveCall
- type MockIVestingPeriodUpdateCall
- func (c *MockIVestingPeriodUpdateCall) Do(f func(context.Context, *storage.VestingPeriod) error) *MockIVestingPeriodUpdateCall
- func (c *MockIVestingPeriodUpdateCall) DoAndReturn(f func(context.Context, *storage.VestingPeriod) error) *MockIVestingPeriodUpdateCall
- func (c *MockIVestingPeriodUpdateCall) Return(arg0 error) *MockIVestingPeriodUpdateCall
- type MockListener
- type MockListenerCloseCall
- type MockListenerFactory
- type MockListenerFactoryCreateListenerCall
- func (c *MockListenerFactoryCreateListenerCall) Do(f func() storage.Listener) *MockListenerFactoryCreateListenerCall
- func (c *MockListenerFactoryCreateListenerCall) DoAndReturn(f func() storage.Listener) *MockListenerFactoryCreateListenerCall
- func (c *MockListenerFactoryCreateListenerCall) Return(arg0 storage.Listener) *MockListenerFactoryCreateListenerCall
- type MockListenerFactoryMockRecorder
- type MockListenerListenCall
- type MockListenerMockRecorder
- type MockListenerSubscribeCall
- func (c *MockListenerSubscribeCall) Do(f func(context.Context, ...string) error) *MockListenerSubscribeCall
- func (c *MockListenerSubscribeCall) DoAndReturn(f func(context.Context, ...string) error) *MockListenerSubscribeCall
- func (c *MockListenerSubscribeCall) Return(arg0 error) *MockListenerSubscribeCall
- type MockNotificator
- type MockNotificatorMockRecorder
- type MockNotificatorNotifyCall
- func (c *MockNotificatorNotifyCall) Do(f func(context.Context, string, string) error) *MockNotificatorNotifyCall
- func (c *MockNotificatorNotifyCall) DoAndReturn(f func(context.Context, string, string) error) *MockNotificatorNotifyCall
- func (c *MockNotificatorNotifyCall) Return(arg0 error) *MockNotificatorNotifyCall
- type MockTransaction
- func (m *MockTransaction) Add(ctx context.Context, model any) error
- func (m *MockTransaction) BulkSave(ctx context.Context, models []any) error
- func (m *MockTransaction) CancelUnbondings(ctx context.Context, cancellations ...storage.Undelegation) error
- func (m *MockTransaction) Close(ctx context.Context) error
- func (m *MockTransaction) CopyFrom(ctx context.Context, tableName string, data []storage0.Copiable) error
- func (m *MockTransaction) Delegation(ctx context.Context, validatorId, addressId uint64) (storage.Delegation, error)
- func (m *MockTransaction) DeleteBalances(ctx context.Context, ids []uint64) error
- func (m *MockTransaction) DeleteDelegationsByValidator(ctx context.Context, ids ...uint64) error
- func (m *MockTransaction) DeleteProviders(ctx context.Context, rollupId uint64) error
- func (m *MockTransaction) DeleteRollup(ctx context.Context, rollupId uint64) error
- func (m *MockTransaction) EXPECT() *MockTransactionMockRecorder
- func (m *MockTransaction) Exec(ctx context.Context, query string, params ...any) (int64, error)
- func (m *MockTransaction) Flush(ctx context.Context) error
- func (m *MockTransaction) GetProposerId(ctx context.Context, address string) (uint64, error)
- func (m *MockTransaction) HandleError(ctx context.Context, err error) error
- func (m *MockTransaction) Jail(ctx context.Context, validators ...*storage.Validator) error
- func (m *MockTransaction) LastAddressAction(ctx context.Context, address []byte) (uint64, error)
- func (m *MockTransaction) LastBlock(ctx context.Context) (storage.Block, error)
- func (m *MockTransaction) LastNamespaceMessage(ctx context.Context, nsId uint64) (storage.NamespaceMessage, error)
- func (m *MockTransaction) Namespace(ctx context.Context, id uint64) (storage.Namespace, error)
- func (m *MockTransaction) RefreshLeaderboard(ctx context.Context) error
- func (m *MockTransaction) RetentionBlockSignatures(ctx context.Context, height types.Level) error
- func (m *MockTransaction) RetentionCompletedRedelegations(ctx context.Context, blockTime time.Time) error
- func (m *MockTransaction) RetentionCompletedUnbondings(ctx context.Context, blockTime time.Time) error
- func (m *MockTransaction) Rollback(ctx context.Context) error
- func (m *MockTransaction) RollbackAddresses(ctx context.Context, height types.Level) ([]storage.Address, error)
- func (m *MockTransaction) RollbackBlobLog(ctx context.Context, height types.Level) error
- func (m *MockTransaction) RollbackBlock(ctx context.Context, height types.Level) error
- func (m *MockTransaction) RollbackBlockSignatures(ctx context.Context, height types.Level) error
- func (m *MockTransaction) RollbackBlockStats(ctx context.Context, height types.Level) (storage.BlockStats, error)
- func (m *MockTransaction) RollbackEvents(ctx context.Context, height types.Level) ([]storage.Event, error)
- func (m *MockTransaction) RollbackGrants(ctx context.Context, height types.Level) error
- func (m *MockTransaction) RollbackJails(ctx context.Context, height types.Level) ([]storage.Jail, error)
- func (m *MockTransaction) RollbackMessageAddresses(ctx context.Context, msgIds []uint64) error
- func (m *MockTransaction) RollbackMessages(ctx context.Context, height types.Level) ([]storage.Message, error)
- func (m *MockTransaction) RollbackNamespaceMessages(ctx context.Context, height types.Level) ([]storage.NamespaceMessage, error)
- func (m *MockTransaction) RollbackNamespaces(ctx context.Context, height types.Level) ([]storage.Namespace, error)
- func (m *MockTransaction) RollbackRedelegations(ctx context.Context, height types.Level) error
- func (m *MockTransaction) RollbackSigners(ctx context.Context, txIds []uint64) error
- func (m *MockTransaction) RollbackStakingLogs(ctx context.Context, height types.Level) ([]storage.StakingLog, error)
- func (m *MockTransaction) RollbackTxs(ctx context.Context, height types.Level) ([]storage.Tx, error)
- func (m *MockTransaction) RollbackUndelegations(ctx context.Context, height types.Level) error
- func (m *MockTransaction) RollbackValidators(ctx context.Context, height types.Level) ([]storage.Validator, error)
- func (m *MockTransaction) RollbackVestingAccounts(ctx context.Context, height types.Level) error
- func (m *MockTransaction) RollbackVestingPeriods(ctx context.Context, height types.Level) error
- func (m *MockTransaction) SaveAddresses(ctx context.Context, addresses ...*storage.Address) (int64, error)
- func (m *MockTransaction) SaveBalances(ctx context.Context, balances ...storage.Balance) error
- func (m *MockTransaction) SaveBlobLogs(ctx context.Context, logs ...storage.BlobLog) error
- func (m *MockTransaction) SaveBlockSignatures(ctx context.Context, signs ...storage.BlockSignature) error
- func (m *MockTransaction) SaveConstants(ctx context.Context, constants ...storage.Constant) error
- func (m *MockTransaction) SaveDelegations(ctx context.Context, delegations ...storage.Delegation) error
- func (m *MockTransaction) SaveEvents(ctx context.Context, events ...storage.Event) error
- func (m *MockTransaction) SaveGrants(ctx context.Context, grants ...storage.Grant) error
- func (m *MockTransaction) SaveJails(ctx context.Context, jails ...storage.Jail) error
- func (m *MockTransaction) SaveMessages(ctx context.Context, msgs ...*storage.Message) error
- func (m *MockTransaction) SaveMsgAddresses(ctx context.Context, addresses ...storage.MsgAddress) error
- func (m *MockTransaction) SaveNamespaceMessage(ctx context.Context, nsMsgs ...storage.NamespaceMessage) error
- func (m *MockTransaction) SaveNamespaces(ctx context.Context, namespaces ...*storage.Namespace) (int64, error)
- func (m *MockTransaction) SaveProviders(ctx context.Context, providers ...storage.RollupProvider) error
- func (m *MockTransaction) SaveRedelegations(ctx context.Context, redelegations ...storage.Redelegation) error
- func (m *MockTransaction) SaveRollup(ctx context.Context, rollup *storage.Rollup) error
- func (m *MockTransaction) SaveSigners(ctx context.Context, addresses ...storage.Signer) error
- func (m *MockTransaction) SaveStakingLogs(ctx context.Context, logs ...storage.StakingLog) error
- func (m *MockTransaction) SaveTransactions(ctx context.Context, txs ...storage.Tx) error
- func (m *MockTransaction) SaveUndelegations(ctx context.Context, undelegations ...storage.Undelegation) error
- func (m *MockTransaction) SaveValidators(ctx context.Context, validators ...*storage.Validator) (int, error)
- func (m *MockTransaction) SaveVestingAccounts(ctx context.Context, accounts ...*storage.VestingAccount) error
- func (m *MockTransaction) SaveVestingPeriods(ctx context.Context, periods ...storage.VestingPeriod) error
- func (m *MockTransaction) State(ctx context.Context, name string) (storage.State, error)
- func (m *MockTransaction) Tx() *bun.Tx
- func (m *MockTransaction) Update(ctx context.Context, model any) error
- func (m *MockTransaction) UpdateRollup(ctx context.Context, rollup *storage.Rollup) error
- func (m *MockTransaction) UpdateSlashedDelegations(ctx context.Context, validatorId uint64, fraction decimal.Decimal) ([]storage.Balance, error)
- func (m *MockTransaction) UpdateValidators(ctx context.Context, validators ...*storage.Validator) error
- func (m *MockTransaction) Validator(ctx context.Context, id uint64) (storage.Validator, error)
- type MockTransactionAddCall
- type MockTransactionBulkSaveCall
- func (c *MockTransactionBulkSaveCall) Do(f func(context.Context, []any) error) *MockTransactionBulkSaveCall
- func (c *MockTransactionBulkSaveCall) DoAndReturn(f func(context.Context, []any) error) *MockTransactionBulkSaveCall
- func (c *MockTransactionBulkSaveCall) Return(arg0 error) *MockTransactionBulkSaveCall
- type MockTransactionCancelUnbondingsCall
- func (c *MockTransactionCancelUnbondingsCall) Do(f func(context.Context, ...storage.Undelegation) error) *MockTransactionCancelUnbondingsCall
- func (c *MockTransactionCancelUnbondingsCall) DoAndReturn(f func(context.Context, ...storage.Undelegation) error) *MockTransactionCancelUnbondingsCall
- func (c *MockTransactionCancelUnbondingsCall) Return(arg0 error) *MockTransactionCancelUnbondingsCall
- type MockTransactionCloseCall
- type MockTransactionCopyFromCall
- func (c *MockTransactionCopyFromCall) Do(f func(context.Context, string, []storage0.Copiable) error) *MockTransactionCopyFromCall
- func (c *MockTransactionCopyFromCall) DoAndReturn(f func(context.Context, string, []storage0.Copiable) error) *MockTransactionCopyFromCall
- func (c *MockTransactionCopyFromCall) Return(arg0 error) *MockTransactionCopyFromCall
- type MockTransactionDelegationCall
- func (c *MockTransactionDelegationCall) Do(f func(context.Context, uint64, uint64) (storage.Delegation, error)) *MockTransactionDelegationCall
- func (c *MockTransactionDelegationCall) DoAndReturn(f func(context.Context, uint64, uint64) (storage.Delegation, error)) *MockTransactionDelegationCall
- func (c *MockTransactionDelegationCall) Return(val storage.Delegation, err error) *MockTransactionDelegationCall
- type MockTransactionDeleteBalancesCall
- func (c *MockTransactionDeleteBalancesCall) Do(f func(context.Context, []uint64) error) *MockTransactionDeleteBalancesCall
- func (c *MockTransactionDeleteBalancesCall) DoAndReturn(f func(context.Context, []uint64) error) *MockTransactionDeleteBalancesCall
- func (c *MockTransactionDeleteBalancesCall) Return(arg0 error) *MockTransactionDeleteBalancesCall
- type MockTransactionDeleteDelegationsByValidatorCall
- func (c *MockTransactionDeleteDelegationsByValidatorCall) Do(f func(context.Context, ...uint64) error) *MockTransactionDeleteDelegationsByValidatorCall
- func (c *MockTransactionDeleteDelegationsByValidatorCall) DoAndReturn(f func(context.Context, ...uint64) error) *MockTransactionDeleteDelegationsByValidatorCall
- func (c *MockTransactionDeleteDelegationsByValidatorCall) Return(arg0 error) *MockTransactionDeleteDelegationsByValidatorCall
- type MockTransactionDeleteProvidersCall
- func (c *MockTransactionDeleteProvidersCall) Do(f func(context.Context, uint64) error) *MockTransactionDeleteProvidersCall
- func (c *MockTransactionDeleteProvidersCall) DoAndReturn(f func(context.Context, uint64) error) *MockTransactionDeleteProvidersCall
- func (c *MockTransactionDeleteProvidersCall) Return(arg0 error) *MockTransactionDeleteProvidersCall
- type MockTransactionDeleteRollupCall
- func (c *MockTransactionDeleteRollupCall) Do(f func(context.Context, uint64) error) *MockTransactionDeleteRollupCall
- func (c *MockTransactionDeleteRollupCall) DoAndReturn(f func(context.Context, uint64) error) *MockTransactionDeleteRollupCall
- func (c *MockTransactionDeleteRollupCall) Return(arg0 error) *MockTransactionDeleteRollupCall
- type MockTransactionExecCall
- func (c *MockTransactionExecCall) Do(f func(context.Context, string, ...any) (int64, error)) *MockTransactionExecCall
- func (c *MockTransactionExecCall) DoAndReturn(f func(context.Context, string, ...any) (int64, error)) *MockTransactionExecCall
- func (c *MockTransactionExecCall) Return(arg0 int64, arg1 error) *MockTransactionExecCall
- type MockTransactionFlushCall
- type MockTransactionGetProposerIdCall
- func (c *MockTransactionGetProposerIdCall) Do(f func(context.Context, string) (uint64, error)) *MockTransactionGetProposerIdCall
- func (c *MockTransactionGetProposerIdCall) DoAndReturn(f func(context.Context, string) (uint64, error)) *MockTransactionGetProposerIdCall
- func (c *MockTransactionGetProposerIdCall) Return(arg0 uint64, arg1 error) *MockTransactionGetProposerIdCall
- type MockTransactionHandleErrorCall
- func (c *MockTransactionHandleErrorCall) Do(f func(context.Context, error) error) *MockTransactionHandleErrorCall
- func (c *MockTransactionHandleErrorCall) DoAndReturn(f func(context.Context, error) error) *MockTransactionHandleErrorCall
- func (c *MockTransactionHandleErrorCall) Return(arg0 error) *MockTransactionHandleErrorCall
- type MockTransactionJailCall
- func (c *MockTransactionJailCall) Do(f func(context.Context, ...*storage.Validator) error) *MockTransactionJailCall
- func (c *MockTransactionJailCall) DoAndReturn(f func(context.Context, ...*storage.Validator) error) *MockTransactionJailCall
- func (c *MockTransactionJailCall) Return(arg0 error) *MockTransactionJailCall
- type MockTransactionLastAddressActionCall
- func (c *MockTransactionLastAddressActionCall) Do(f func(context.Context, []byte) (uint64, error)) *MockTransactionLastAddressActionCall
- func (c *MockTransactionLastAddressActionCall) DoAndReturn(f func(context.Context, []byte) (uint64, error)) *MockTransactionLastAddressActionCall
- func (c *MockTransactionLastAddressActionCall) Return(arg0 uint64, arg1 error) *MockTransactionLastAddressActionCall
- type MockTransactionLastBlockCall
- func (c *MockTransactionLastBlockCall) Do(f func(context.Context) (storage.Block, error)) *MockTransactionLastBlockCall
- func (c *MockTransactionLastBlockCall) DoAndReturn(f func(context.Context) (storage.Block, error)) *MockTransactionLastBlockCall
- func (c *MockTransactionLastBlockCall) Return(block storage.Block, err error) *MockTransactionLastBlockCall
- type MockTransactionLastNamespaceMessageCall
- func (c *MockTransactionLastNamespaceMessageCall) Do(f func(context.Context, uint64) (storage.NamespaceMessage, error)) *MockTransactionLastNamespaceMessageCall
- func (c *MockTransactionLastNamespaceMessageCall) DoAndReturn(f func(context.Context, uint64) (storage.NamespaceMessage, error)) *MockTransactionLastNamespaceMessageCall
- func (c *MockTransactionLastNamespaceMessageCall) Return(msg storage.NamespaceMessage, err error) *MockTransactionLastNamespaceMessageCall
- type MockTransactionMockRecorder
- func (mr *MockTransactionMockRecorder) Add(ctx, model any) *MockTransactionAddCall
- func (mr *MockTransactionMockRecorder) BulkSave(ctx, models any) *MockTransactionBulkSaveCall
- func (mr *MockTransactionMockRecorder) CancelUnbondings(ctx any, cancellations ...any) *MockTransactionCancelUnbondingsCall
- func (mr *MockTransactionMockRecorder) Close(ctx any) *MockTransactionCloseCall
- func (mr *MockTransactionMockRecorder) CopyFrom(ctx, tableName, data any) *MockTransactionCopyFromCall
- func (mr *MockTransactionMockRecorder) Delegation(ctx, validatorId, addressId any) *MockTransactionDelegationCall
- func (mr *MockTransactionMockRecorder) DeleteBalances(ctx, ids any) *MockTransactionDeleteBalancesCall
- func (mr *MockTransactionMockRecorder) DeleteDelegationsByValidator(ctx any, ids ...any) *MockTransactionDeleteDelegationsByValidatorCall
- func (mr *MockTransactionMockRecorder) DeleteProviders(ctx, rollupId any) *MockTransactionDeleteProvidersCall
- func (mr *MockTransactionMockRecorder) DeleteRollup(ctx, rollupId any) *MockTransactionDeleteRollupCall
- func (mr *MockTransactionMockRecorder) Exec(ctx, query any, params ...any) *MockTransactionExecCall
- func (mr *MockTransactionMockRecorder) Flush(ctx any) *MockTransactionFlushCall
- func (mr *MockTransactionMockRecorder) GetProposerId(ctx, address any) *MockTransactionGetProposerIdCall
- func (mr *MockTransactionMockRecorder) HandleError(ctx, err any) *MockTransactionHandleErrorCall
- func (mr *MockTransactionMockRecorder) Jail(ctx any, validators ...any) *MockTransactionJailCall
- func (mr *MockTransactionMockRecorder) LastAddressAction(ctx, address any) *MockTransactionLastAddressActionCall
- func (mr *MockTransactionMockRecorder) LastBlock(ctx any) *MockTransactionLastBlockCall
- func (mr *MockTransactionMockRecorder) LastNamespaceMessage(ctx, nsId any) *MockTransactionLastNamespaceMessageCall
- func (mr *MockTransactionMockRecorder) Namespace(ctx, id any) *MockTransactionNamespaceCall
- func (mr *MockTransactionMockRecorder) RefreshLeaderboard(ctx any) *MockTransactionRefreshLeaderboardCall
- func (mr *MockTransactionMockRecorder) RetentionBlockSignatures(ctx, height any) *MockTransactionRetentionBlockSignaturesCall
- func (mr *MockTransactionMockRecorder) RetentionCompletedRedelegations(ctx, blockTime any) *MockTransactionRetentionCompletedRedelegationsCall
- func (mr *MockTransactionMockRecorder) RetentionCompletedUnbondings(ctx, blockTime any) *MockTransactionRetentionCompletedUnbondingsCall
- func (mr *MockTransactionMockRecorder) Rollback(ctx any) *MockTransactionRollbackCall
- func (mr *MockTransactionMockRecorder) RollbackAddresses(ctx, height any) *MockTransactionRollbackAddressesCall
- func (mr *MockTransactionMockRecorder) RollbackBlobLog(ctx, height any) *MockTransactionRollbackBlobLogCall
- func (mr *MockTransactionMockRecorder) RollbackBlock(ctx, height any) *MockTransactionRollbackBlockCall
- func (mr *MockTransactionMockRecorder) RollbackBlockSignatures(ctx, height any) *MockTransactionRollbackBlockSignaturesCall
- func (mr *MockTransactionMockRecorder) RollbackBlockStats(ctx, height any) *MockTransactionRollbackBlockStatsCall
- func (mr *MockTransactionMockRecorder) RollbackEvents(ctx, height any) *MockTransactionRollbackEventsCall
- func (mr *MockTransactionMockRecorder) RollbackGrants(ctx, height any) *MockTransactionRollbackGrantsCall
- func (mr *MockTransactionMockRecorder) RollbackJails(ctx, height any) *MockTransactionRollbackJailsCall
- func (mr *MockTransactionMockRecorder) RollbackMessageAddresses(ctx, msgIds any) *MockTransactionRollbackMessageAddressesCall
- func (mr *MockTransactionMockRecorder) RollbackMessages(ctx, height any) *MockTransactionRollbackMessagesCall
- func (mr *MockTransactionMockRecorder) RollbackNamespaceMessages(ctx, height any) *MockTransactionRollbackNamespaceMessagesCall
- func (mr *MockTransactionMockRecorder) RollbackNamespaces(ctx, height any) *MockTransactionRollbackNamespacesCall
- func (mr *MockTransactionMockRecorder) RollbackRedelegations(ctx, height any) *MockTransactionRollbackRedelegationsCall
- func (mr *MockTransactionMockRecorder) RollbackSigners(ctx, txIds any) *MockTransactionRollbackSignersCall
- func (mr *MockTransactionMockRecorder) RollbackStakingLogs(ctx, height any) *MockTransactionRollbackStakingLogsCall
- func (mr *MockTransactionMockRecorder) RollbackTxs(ctx, height any) *MockTransactionRollbackTxsCall
- func (mr *MockTransactionMockRecorder) RollbackUndelegations(ctx, height any) *MockTransactionRollbackUndelegationsCall
- func (mr *MockTransactionMockRecorder) RollbackValidators(ctx, height any) *MockTransactionRollbackValidatorsCall
- func (mr *MockTransactionMockRecorder) RollbackVestingAccounts(ctx, height any) *MockTransactionRollbackVestingAccountsCall
- func (mr *MockTransactionMockRecorder) RollbackVestingPeriods(ctx, height any) *MockTransactionRollbackVestingPeriodsCall
- func (mr *MockTransactionMockRecorder) SaveAddresses(ctx any, addresses ...any) *MockTransactionSaveAddressesCall
- func (mr *MockTransactionMockRecorder) SaveBalances(ctx any, balances ...any) *MockTransactionSaveBalancesCall
- func (mr *MockTransactionMockRecorder) SaveBlobLogs(ctx any, logs ...any) *MockTransactionSaveBlobLogsCall
- func (mr *MockTransactionMockRecorder) SaveBlockSignatures(ctx any, signs ...any) *MockTransactionSaveBlockSignaturesCall
- func (mr *MockTransactionMockRecorder) SaveConstants(ctx any, constants ...any) *MockTransactionSaveConstantsCall
- func (mr *MockTransactionMockRecorder) SaveDelegations(ctx any, delegations ...any) *MockTransactionSaveDelegationsCall
- func (mr *MockTransactionMockRecorder) SaveEvents(ctx any, events ...any) *MockTransactionSaveEventsCall
- func (mr *MockTransactionMockRecorder) SaveGrants(ctx any, grants ...any) *MockTransactionSaveGrantsCall
- func (mr *MockTransactionMockRecorder) SaveJails(ctx any, jails ...any) *MockTransactionSaveJailsCall
- func (mr *MockTransactionMockRecorder) SaveMessages(ctx any, msgs ...any) *MockTransactionSaveMessagesCall
- func (mr *MockTransactionMockRecorder) SaveMsgAddresses(ctx any, addresses ...any) *MockTransactionSaveMsgAddressesCall
- func (mr *MockTransactionMockRecorder) SaveNamespaceMessage(ctx any, nsMsgs ...any) *MockTransactionSaveNamespaceMessageCall
- func (mr *MockTransactionMockRecorder) SaveNamespaces(ctx any, namespaces ...any) *MockTransactionSaveNamespacesCall
- func (mr *MockTransactionMockRecorder) SaveProviders(ctx any, providers ...any) *MockTransactionSaveProvidersCall
- func (mr *MockTransactionMockRecorder) SaveRedelegations(ctx any, redelegations ...any) *MockTransactionSaveRedelegationsCall
- func (mr *MockTransactionMockRecorder) SaveRollup(ctx, rollup any) *MockTransactionSaveRollupCall
- func (mr *MockTransactionMockRecorder) SaveSigners(ctx any, addresses ...any) *MockTransactionSaveSignersCall
- func (mr *MockTransactionMockRecorder) SaveStakingLogs(ctx any, logs ...any) *MockTransactionSaveStakingLogsCall
- func (mr *MockTransactionMockRecorder) SaveTransactions(ctx any, txs ...any) *MockTransactionSaveTransactionsCall
- func (mr *MockTransactionMockRecorder) SaveUndelegations(ctx any, undelegations ...any) *MockTransactionSaveUndelegationsCall
- func (mr *MockTransactionMockRecorder) SaveValidators(ctx any, validators ...any) *MockTransactionSaveValidatorsCall
- func (mr *MockTransactionMockRecorder) SaveVestingAccounts(ctx any, accounts ...any) *MockTransactionSaveVestingAccountsCall
- func (mr *MockTransactionMockRecorder) SaveVestingPeriods(ctx any, periods ...any) *MockTransactionSaveVestingPeriodsCall
- func (mr *MockTransactionMockRecorder) State(ctx, name any) *MockTransactionStateCall
- func (mr *MockTransactionMockRecorder) Tx() *MockTransactionTxCall
- func (mr *MockTransactionMockRecorder) Update(ctx, model any) *MockTransactionUpdateCall
- func (mr *MockTransactionMockRecorder) UpdateRollup(ctx, rollup any) *MockTransactionUpdateRollupCall
- func (mr *MockTransactionMockRecorder) UpdateSlashedDelegations(ctx, validatorId, fraction any) *MockTransactionUpdateSlashedDelegationsCall
- func (mr *MockTransactionMockRecorder) UpdateValidators(ctx any, validators ...any) *MockTransactionUpdateValidatorsCall
- func (mr *MockTransactionMockRecorder) Validator(ctx, id any) *MockTransactionValidatorCall
- type MockTransactionNamespaceCall
- func (c *MockTransactionNamespaceCall) Do(f func(context.Context, uint64) (storage.Namespace, error)) *MockTransactionNamespaceCall
- func (c *MockTransactionNamespaceCall) DoAndReturn(f func(context.Context, uint64) (storage.Namespace, error)) *MockTransactionNamespaceCall
- func (c *MockTransactionNamespaceCall) Return(ns storage.Namespace, err error) *MockTransactionNamespaceCall
- type MockTransactionRefreshLeaderboardCall
- func (c *MockTransactionRefreshLeaderboardCall) Do(f func(context.Context) error) *MockTransactionRefreshLeaderboardCall
- func (c *MockTransactionRefreshLeaderboardCall) DoAndReturn(f func(context.Context) error) *MockTransactionRefreshLeaderboardCall
- func (c *MockTransactionRefreshLeaderboardCall) Return(arg0 error) *MockTransactionRefreshLeaderboardCall
- type MockTransactionRetentionBlockSignaturesCall
- func (c *MockTransactionRetentionBlockSignaturesCall) Do(f func(context.Context, types.Level) error) *MockTransactionRetentionBlockSignaturesCall
- func (c *MockTransactionRetentionBlockSignaturesCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRetentionBlockSignaturesCall
- func (c *MockTransactionRetentionBlockSignaturesCall) Return(arg0 error) *MockTransactionRetentionBlockSignaturesCall
- type MockTransactionRetentionCompletedRedelegationsCall
- func (c *MockTransactionRetentionCompletedRedelegationsCall) Do(f func(context.Context, time.Time) error) *MockTransactionRetentionCompletedRedelegationsCall
- func (c *MockTransactionRetentionCompletedRedelegationsCall) DoAndReturn(f func(context.Context, time.Time) error) *MockTransactionRetentionCompletedRedelegationsCall
- func (c *MockTransactionRetentionCompletedRedelegationsCall) Return(arg0 error) *MockTransactionRetentionCompletedRedelegationsCall
- type MockTransactionRetentionCompletedUnbondingsCall
- func (c *MockTransactionRetentionCompletedUnbondingsCall) Do(f func(context.Context, time.Time) error) *MockTransactionRetentionCompletedUnbondingsCall
- func (c *MockTransactionRetentionCompletedUnbondingsCall) DoAndReturn(f func(context.Context, time.Time) error) *MockTransactionRetentionCompletedUnbondingsCall
- func (c *MockTransactionRetentionCompletedUnbondingsCall) Return(arg0 error) *MockTransactionRetentionCompletedUnbondingsCall
- type MockTransactionRollbackAddressesCall
- func (c *MockTransactionRollbackAddressesCall) Do(f func(context.Context, types.Level) ([]storage.Address, error)) *MockTransactionRollbackAddressesCall
- func (c *MockTransactionRollbackAddressesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Address, error)) *MockTransactionRollbackAddressesCall
- func (c *MockTransactionRollbackAddressesCall) Return(address []storage.Address, err error) *MockTransactionRollbackAddressesCall
- type MockTransactionRollbackBlobLogCall
- func (c *MockTransactionRollbackBlobLogCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackBlobLogCall
- func (c *MockTransactionRollbackBlobLogCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackBlobLogCall
- func (c *MockTransactionRollbackBlobLogCall) Return(arg0 error) *MockTransactionRollbackBlobLogCall
- type MockTransactionRollbackBlockCall
- func (c *MockTransactionRollbackBlockCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackBlockCall
- func (c *MockTransactionRollbackBlockCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackBlockCall
- func (c *MockTransactionRollbackBlockCall) Return(arg0 error) *MockTransactionRollbackBlockCall
- type MockTransactionRollbackBlockSignaturesCall
- func (c *MockTransactionRollbackBlockSignaturesCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackBlockSignaturesCall
- func (c *MockTransactionRollbackBlockSignaturesCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackBlockSignaturesCall
- func (c *MockTransactionRollbackBlockSignaturesCall) Return(err error) *MockTransactionRollbackBlockSignaturesCall
- type MockTransactionRollbackBlockStatsCall
- func (c *MockTransactionRollbackBlockStatsCall) Do(f func(context.Context, types.Level) (storage.BlockStats, error)) *MockTransactionRollbackBlockStatsCall
- func (c *MockTransactionRollbackBlockStatsCall) DoAndReturn(f func(context.Context, types.Level) (storage.BlockStats, error)) *MockTransactionRollbackBlockStatsCall
- func (c *MockTransactionRollbackBlockStatsCall) Return(stats storage.BlockStats, err error) *MockTransactionRollbackBlockStatsCall
- type MockTransactionRollbackCall
- type MockTransactionRollbackEventsCall
- func (c *MockTransactionRollbackEventsCall) Do(f func(context.Context, types.Level) ([]storage.Event, error)) *MockTransactionRollbackEventsCall
- func (c *MockTransactionRollbackEventsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Event, error)) *MockTransactionRollbackEventsCall
- func (c *MockTransactionRollbackEventsCall) Return(events []storage.Event, err error) *MockTransactionRollbackEventsCall
- type MockTransactionRollbackGrantsCall
- func (c *MockTransactionRollbackGrantsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackGrantsCall
- func (c *MockTransactionRollbackGrantsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackGrantsCall
- func (c *MockTransactionRollbackGrantsCall) Return(arg0 error) *MockTransactionRollbackGrantsCall
- type MockTransactionRollbackJailsCall
- func (c *MockTransactionRollbackJailsCall) Do(f func(context.Context, types.Level) ([]storage.Jail, error)) *MockTransactionRollbackJailsCall
- func (c *MockTransactionRollbackJailsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Jail, error)) *MockTransactionRollbackJailsCall
- func (c *MockTransactionRollbackJailsCall) Return(arg0 []storage.Jail, arg1 error) *MockTransactionRollbackJailsCall
- type MockTransactionRollbackMessageAddressesCall
- func (c *MockTransactionRollbackMessageAddressesCall) Do(f func(context.Context, []uint64) error) *MockTransactionRollbackMessageAddressesCall
- func (c *MockTransactionRollbackMessageAddressesCall) DoAndReturn(f func(context.Context, []uint64) error) *MockTransactionRollbackMessageAddressesCall
- func (c *MockTransactionRollbackMessageAddressesCall) Return(err error) *MockTransactionRollbackMessageAddressesCall
- type MockTransactionRollbackMessagesCall
- func (c *MockTransactionRollbackMessagesCall) Do(f func(context.Context, types.Level) ([]storage.Message, error)) *MockTransactionRollbackMessagesCall
- func (c *MockTransactionRollbackMessagesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Message, error)) *MockTransactionRollbackMessagesCall
- func (c *MockTransactionRollbackMessagesCall) Return(msgs []storage.Message, err error) *MockTransactionRollbackMessagesCall
- type MockTransactionRollbackNamespaceMessagesCall
- func (c *MockTransactionRollbackNamespaceMessagesCall) Do(f func(context.Context, types.Level) ([]storage.NamespaceMessage, error)) *MockTransactionRollbackNamespaceMessagesCall
- func (c *MockTransactionRollbackNamespaceMessagesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.NamespaceMessage, error)) *MockTransactionRollbackNamespaceMessagesCall
- func (c *MockTransactionRollbackNamespaceMessagesCall) Return(msgs []storage.NamespaceMessage, err error) *MockTransactionRollbackNamespaceMessagesCall
- type MockTransactionRollbackNamespacesCall
- func (c *MockTransactionRollbackNamespacesCall) Do(f func(context.Context, types.Level) ([]storage.Namespace, error)) *MockTransactionRollbackNamespacesCall
- func (c *MockTransactionRollbackNamespacesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Namespace, error)) *MockTransactionRollbackNamespacesCall
- func (c *MockTransactionRollbackNamespacesCall) Return(ns []storage.Namespace, err error) *MockTransactionRollbackNamespacesCall
- type MockTransactionRollbackRedelegationsCall
- func (c *MockTransactionRollbackRedelegationsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackRedelegationsCall
- func (c *MockTransactionRollbackRedelegationsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackRedelegationsCall
- func (c *MockTransactionRollbackRedelegationsCall) Return(err error) *MockTransactionRollbackRedelegationsCall
- type MockTransactionRollbackSignersCall
- func (c *MockTransactionRollbackSignersCall) Do(f func(context.Context, []uint64) error) *MockTransactionRollbackSignersCall
- func (c *MockTransactionRollbackSignersCall) DoAndReturn(f func(context.Context, []uint64) error) *MockTransactionRollbackSignersCall
- func (c *MockTransactionRollbackSignersCall) Return(err error) *MockTransactionRollbackSignersCall
- type MockTransactionRollbackStakingLogsCall
- func (c *MockTransactionRollbackStakingLogsCall) Do(f func(context.Context, types.Level) ([]storage.StakingLog, error)) *MockTransactionRollbackStakingLogsCall
- func (c *MockTransactionRollbackStakingLogsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.StakingLog, error)) *MockTransactionRollbackStakingLogsCall
- func (c *MockTransactionRollbackStakingLogsCall) Return(arg0 []storage.StakingLog, arg1 error) *MockTransactionRollbackStakingLogsCall
- type MockTransactionRollbackTxsCall
- func (c *MockTransactionRollbackTxsCall) Do(f func(context.Context, types.Level) ([]storage.Tx, error)) *MockTransactionRollbackTxsCall
- func (c *MockTransactionRollbackTxsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Tx, error)) *MockTransactionRollbackTxsCall
- func (c *MockTransactionRollbackTxsCall) Return(txs []storage.Tx, err error) *MockTransactionRollbackTxsCall
- type MockTransactionRollbackUndelegationsCall
- func (c *MockTransactionRollbackUndelegationsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackUndelegationsCall
- func (c *MockTransactionRollbackUndelegationsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackUndelegationsCall
- func (c *MockTransactionRollbackUndelegationsCall) Return(err error) *MockTransactionRollbackUndelegationsCall
- type MockTransactionRollbackValidatorsCall
- func (c *MockTransactionRollbackValidatorsCall) Do(f func(context.Context, types.Level) ([]storage.Validator, error)) *MockTransactionRollbackValidatorsCall
- func (c *MockTransactionRollbackValidatorsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Validator, error)) *MockTransactionRollbackValidatorsCall
- func (c *MockTransactionRollbackValidatorsCall) Return(arg0 []storage.Validator, arg1 error) *MockTransactionRollbackValidatorsCall
- type MockTransactionRollbackVestingAccountsCall
- func (c *MockTransactionRollbackVestingAccountsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackVestingAccountsCall
- func (c *MockTransactionRollbackVestingAccountsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackVestingAccountsCall
- func (c *MockTransactionRollbackVestingAccountsCall) Return(arg0 error) *MockTransactionRollbackVestingAccountsCall
- type MockTransactionRollbackVestingPeriodsCall
- func (c *MockTransactionRollbackVestingPeriodsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackVestingPeriodsCall
- func (c *MockTransactionRollbackVestingPeriodsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackVestingPeriodsCall
- func (c *MockTransactionRollbackVestingPeriodsCall) Return(arg0 error) *MockTransactionRollbackVestingPeriodsCall
- type MockTransactionSaveAddressesCall
- func (c *MockTransactionSaveAddressesCall) Do(f func(context.Context, ...*storage.Address) (int64, error)) *MockTransactionSaveAddressesCall
- func (c *MockTransactionSaveAddressesCall) DoAndReturn(f func(context.Context, ...*storage.Address) (int64, error)) *MockTransactionSaveAddressesCall
- func (c *MockTransactionSaveAddressesCall) Return(arg0 int64, arg1 error) *MockTransactionSaveAddressesCall
- type MockTransactionSaveBalancesCall
- func (c *MockTransactionSaveBalancesCall) Do(f func(context.Context, ...storage.Balance) error) *MockTransactionSaveBalancesCall
- func (c *MockTransactionSaveBalancesCall) DoAndReturn(f func(context.Context, ...storage.Balance) error) *MockTransactionSaveBalancesCall
- func (c *MockTransactionSaveBalancesCall) Return(arg0 error) *MockTransactionSaveBalancesCall
- type MockTransactionSaveBlobLogsCall
- func (c *MockTransactionSaveBlobLogsCall) Do(f func(context.Context, ...storage.BlobLog) error) *MockTransactionSaveBlobLogsCall
- func (c *MockTransactionSaveBlobLogsCall) DoAndReturn(f func(context.Context, ...storage.BlobLog) error) *MockTransactionSaveBlobLogsCall
- func (c *MockTransactionSaveBlobLogsCall) Return(arg0 error) *MockTransactionSaveBlobLogsCall
- type MockTransactionSaveBlockSignaturesCall
- func (c *MockTransactionSaveBlockSignaturesCall) Do(f func(context.Context, ...storage.BlockSignature) error) *MockTransactionSaveBlockSignaturesCall
- func (c *MockTransactionSaveBlockSignaturesCall) DoAndReturn(f func(context.Context, ...storage.BlockSignature) error) *MockTransactionSaveBlockSignaturesCall
- func (c *MockTransactionSaveBlockSignaturesCall) Return(arg0 error) *MockTransactionSaveBlockSignaturesCall
- type MockTransactionSaveConstantsCall
- func (c *MockTransactionSaveConstantsCall) Do(f func(context.Context, ...storage.Constant) error) *MockTransactionSaveConstantsCall
- func (c *MockTransactionSaveConstantsCall) DoAndReturn(f func(context.Context, ...storage.Constant) error) *MockTransactionSaveConstantsCall
- func (c *MockTransactionSaveConstantsCall) Return(arg0 error) *MockTransactionSaveConstantsCall
- type MockTransactionSaveDelegationsCall
- func (c *MockTransactionSaveDelegationsCall) Do(f func(context.Context, ...storage.Delegation) error) *MockTransactionSaveDelegationsCall
- func (c *MockTransactionSaveDelegationsCall) DoAndReturn(f func(context.Context, ...storage.Delegation) error) *MockTransactionSaveDelegationsCall
- func (c *MockTransactionSaveDelegationsCall) Return(arg0 error) *MockTransactionSaveDelegationsCall
- type MockTransactionSaveEventsCall
- func (c *MockTransactionSaveEventsCall) Do(f func(context.Context, ...storage.Event) error) *MockTransactionSaveEventsCall
- func (c *MockTransactionSaveEventsCall) DoAndReturn(f func(context.Context, ...storage.Event) error) *MockTransactionSaveEventsCall
- func (c *MockTransactionSaveEventsCall) Return(arg0 error) *MockTransactionSaveEventsCall
- type MockTransactionSaveGrantsCall
- func (c *MockTransactionSaveGrantsCall) Do(f func(context.Context, ...storage.Grant) error) *MockTransactionSaveGrantsCall
- func (c *MockTransactionSaveGrantsCall) DoAndReturn(f func(context.Context, ...storage.Grant) error) *MockTransactionSaveGrantsCall
- func (c *MockTransactionSaveGrantsCall) Return(arg0 error) *MockTransactionSaveGrantsCall
- type MockTransactionSaveJailsCall
- func (c *MockTransactionSaveJailsCall) Do(f func(context.Context, ...storage.Jail) error) *MockTransactionSaveJailsCall
- func (c *MockTransactionSaveJailsCall) DoAndReturn(f func(context.Context, ...storage.Jail) error) *MockTransactionSaveJailsCall
- func (c *MockTransactionSaveJailsCall) Return(arg0 error) *MockTransactionSaveJailsCall
- type MockTransactionSaveMessagesCall
- func (c *MockTransactionSaveMessagesCall) Do(f func(context.Context, ...*storage.Message) error) *MockTransactionSaveMessagesCall
- func (c *MockTransactionSaveMessagesCall) DoAndReturn(f func(context.Context, ...*storage.Message) error) *MockTransactionSaveMessagesCall
- func (c *MockTransactionSaveMessagesCall) Return(arg0 error) *MockTransactionSaveMessagesCall
- type MockTransactionSaveMsgAddressesCall
- func (c *MockTransactionSaveMsgAddressesCall) Do(f func(context.Context, ...storage.MsgAddress) error) *MockTransactionSaveMsgAddressesCall
- func (c *MockTransactionSaveMsgAddressesCall) DoAndReturn(f func(context.Context, ...storage.MsgAddress) error) *MockTransactionSaveMsgAddressesCall
- func (c *MockTransactionSaveMsgAddressesCall) Return(arg0 error) *MockTransactionSaveMsgAddressesCall
- type MockTransactionSaveNamespaceMessageCall
- func (c *MockTransactionSaveNamespaceMessageCall) Do(f func(context.Context, ...storage.NamespaceMessage) error) *MockTransactionSaveNamespaceMessageCall
- func (c *MockTransactionSaveNamespaceMessageCall) DoAndReturn(f func(context.Context, ...storage.NamespaceMessage) error) *MockTransactionSaveNamespaceMessageCall
- func (c *MockTransactionSaveNamespaceMessageCall) Return(arg0 error) *MockTransactionSaveNamespaceMessageCall
- type MockTransactionSaveNamespacesCall
- func (c *MockTransactionSaveNamespacesCall) Do(f func(context.Context, ...*storage.Namespace) (int64, error)) *MockTransactionSaveNamespacesCall
- func (c *MockTransactionSaveNamespacesCall) DoAndReturn(f func(context.Context, ...*storage.Namespace) (int64, error)) *MockTransactionSaveNamespacesCall
- func (c *MockTransactionSaveNamespacesCall) Return(arg0 int64, arg1 error) *MockTransactionSaveNamespacesCall
- type MockTransactionSaveProvidersCall
- func (c *MockTransactionSaveProvidersCall) Do(f func(context.Context, ...storage.RollupProvider) error) *MockTransactionSaveProvidersCall
- func (c *MockTransactionSaveProvidersCall) DoAndReturn(f func(context.Context, ...storage.RollupProvider) error) *MockTransactionSaveProvidersCall
- func (c *MockTransactionSaveProvidersCall) Return(arg0 error) *MockTransactionSaveProvidersCall
- type MockTransactionSaveRedelegationsCall
- func (c *MockTransactionSaveRedelegationsCall) Do(f func(context.Context, ...storage.Redelegation) error) *MockTransactionSaveRedelegationsCall
- func (c *MockTransactionSaveRedelegationsCall) DoAndReturn(f func(context.Context, ...storage.Redelegation) error) *MockTransactionSaveRedelegationsCall
- func (c *MockTransactionSaveRedelegationsCall) Return(arg0 error) *MockTransactionSaveRedelegationsCall
- type MockTransactionSaveRollupCall
- func (c *MockTransactionSaveRollupCall) Do(f func(context.Context, *storage.Rollup) error) *MockTransactionSaveRollupCall
- func (c *MockTransactionSaveRollupCall) DoAndReturn(f func(context.Context, *storage.Rollup) error) *MockTransactionSaveRollupCall
- func (c *MockTransactionSaveRollupCall) Return(arg0 error) *MockTransactionSaveRollupCall
- type MockTransactionSaveSignersCall
- func (c *MockTransactionSaveSignersCall) Do(f func(context.Context, ...storage.Signer) error) *MockTransactionSaveSignersCall
- func (c *MockTransactionSaveSignersCall) DoAndReturn(f func(context.Context, ...storage.Signer) error) *MockTransactionSaveSignersCall
- func (c *MockTransactionSaveSignersCall) Return(arg0 error) *MockTransactionSaveSignersCall
- type MockTransactionSaveStakingLogsCall
- func (c *MockTransactionSaveStakingLogsCall) Do(f func(context.Context, ...storage.StakingLog) error) *MockTransactionSaveStakingLogsCall
- func (c *MockTransactionSaveStakingLogsCall) DoAndReturn(f func(context.Context, ...storage.StakingLog) error) *MockTransactionSaveStakingLogsCall
- func (c *MockTransactionSaveStakingLogsCall) Return(arg0 error) *MockTransactionSaveStakingLogsCall
- type MockTransactionSaveTransactionsCall
- func (c *MockTransactionSaveTransactionsCall) Do(f func(context.Context, ...storage.Tx) error) *MockTransactionSaveTransactionsCall
- func (c *MockTransactionSaveTransactionsCall) DoAndReturn(f func(context.Context, ...storage.Tx) error) *MockTransactionSaveTransactionsCall
- func (c *MockTransactionSaveTransactionsCall) Return(arg0 error) *MockTransactionSaveTransactionsCall
- type MockTransactionSaveUndelegationsCall
- func (c *MockTransactionSaveUndelegationsCall) Do(f func(context.Context, ...storage.Undelegation) error) *MockTransactionSaveUndelegationsCall
- func (c *MockTransactionSaveUndelegationsCall) DoAndReturn(f func(context.Context, ...storage.Undelegation) error) *MockTransactionSaveUndelegationsCall
- func (c *MockTransactionSaveUndelegationsCall) Return(arg0 error) *MockTransactionSaveUndelegationsCall
- type MockTransactionSaveValidatorsCall
- func (c *MockTransactionSaveValidatorsCall) Do(f func(context.Context, ...*storage.Validator) (int, error)) *MockTransactionSaveValidatorsCall
- func (c *MockTransactionSaveValidatorsCall) DoAndReturn(f func(context.Context, ...*storage.Validator) (int, error)) *MockTransactionSaveValidatorsCall
- func (c *MockTransactionSaveValidatorsCall) Return(arg0 int, arg1 error) *MockTransactionSaveValidatorsCall
- type MockTransactionSaveVestingAccountsCall
- func (c *MockTransactionSaveVestingAccountsCall) Do(f func(context.Context, ...*storage.VestingAccount) error) *MockTransactionSaveVestingAccountsCall
- func (c *MockTransactionSaveVestingAccountsCall) DoAndReturn(f func(context.Context, ...*storage.VestingAccount) error) *MockTransactionSaveVestingAccountsCall
- func (c *MockTransactionSaveVestingAccountsCall) Return(arg0 error) *MockTransactionSaveVestingAccountsCall
- type MockTransactionSaveVestingPeriodsCall
- func (c *MockTransactionSaveVestingPeriodsCall) Do(f func(context.Context, ...storage.VestingPeriod) error) *MockTransactionSaveVestingPeriodsCall
- func (c *MockTransactionSaveVestingPeriodsCall) DoAndReturn(f func(context.Context, ...storage.VestingPeriod) error) *MockTransactionSaveVestingPeriodsCall
- func (c *MockTransactionSaveVestingPeriodsCall) Return(arg0 error) *MockTransactionSaveVestingPeriodsCall
- type MockTransactionStateCall
- func (c *MockTransactionStateCall) Do(f func(context.Context, string) (storage.State, error)) *MockTransactionStateCall
- func (c *MockTransactionStateCall) DoAndReturn(f func(context.Context, string) (storage.State, error)) *MockTransactionStateCall
- func (c *MockTransactionStateCall) Return(state storage.State, err error) *MockTransactionStateCall
- type MockTransactionTxCall
- type MockTransactionUpdateCall
- type MockTransactionUpdateRollupCall
- func (c *MockTransactionUpdateRollupCall) Do(f func(context.Context, *storage.Rollup) error) *MockTransactionUpdateRollupCall
- func (c *MockTransactionUpdateRollupCall) DoAndReturn(f func(context.Context, *storage.Rollup) error) *MockTransactionUpdateRollupCall
- func (c *MockTransactionUpdateRollupCall) Return(arg0 error) *MockTransactionUpdateRollupCall
- type MockTransactionUpdateSlashedDelegationsCall
- func (c *MockTransactionUpdateSlashedDelegationsCall) Do(f func(context.Context, uint64, decimal.Decimal) ([]storage.Balance, error)) *MockTransactionUpdateSlashedDelegationsCall
- func (c *MockTransactionUpdateSlashedDelegationsCall) DoAndReturn(f func(context.Context, uint64, decimal.Decimal) ([]storage.Balance, error)) *MockTransactionUpdateSlashedDelegationsCall
- func (c *MockTransactionUpdateSlashedDelegationsCall) Return(arg0 []storage.Balance, arg1 error) *MockTransactionUpdateSlashedDelegationsCall
- type MockTransactionUpdateValidatorsCall
- func (c *MockTransactionUpdateValidatorsCall) Do(f func(context.Context, ...*storage.Validator) error) *MockTransactionUpdateValidatorsCall
- func (c *MockTransactionUpdateValidatorsCall) DoAndReturn(f func(context.Context, ...*storage.Validator) error) *MockTransactionUpdateValidatorsCall
- func (c *MockTransactionUpdateValidatorsCall) Return(arg0 error) *MockTransactionUpdateValidatorsCall
- type MockTransactionValidatorCall
- func (c *MockTransactionValidatorCall) Do(f func(context.Context, uint64) (storage.Validator, error)) *MockTransactionValidatorCall
- func (c *MockTransactionValidatorCall) DoAndReturn(f func(context.Context, uint64) (storage.Validator, error)) *MockTransactionValidatorCall
- func (c *MockTransactionValidatorCall) Return(val storage.Validator, err error) *MockTransactionValidatorCall
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExport ¶ added in v1.5.0
type MockExport struct {
// contains filtered or unexported fields
}
MockExport is a mock of Export interface.
func NewMockExport ¶ added in v1.5.0
func NewMockExport(ctrl *gomock.Controller) *MockExport
NewMockExport creates a new mock instance.
func (*MockExport) Close ¶ added in v1.5.0
func (m *MockExport) Close() error
Close mocks base method.
func (*MockExport) EXPECT ¶ added in v1.5.0
func (m *MockExport) EXPECT() *MockExportMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockExportCloseCall ¶ added in v1.9.9
MockExportCloseCall wrap *gomock.Call
func (*MockExportCloseCall) Do ¶ added in v1.9.9
func (c *MockExportCloseCall) Do(f func() error) *MockExportCloseCall
Do rewrite *gomock.Call.Do
func (*MockExportCloseCall) DoAndReturn ¶ added in v1.9.9
func (c *MockExportCloseCall) DoAndReturn(f func() error) *MockExportCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExportCloseCall) Return ¶ added in v1.9.9
func (c *MockExportCloseCall) Return(arg0 error) *MockExportCloseCall
Return rewrite *gomock.Call.Return
type MockExportMockRecorder ¶ added in v1.5.0
type MockExportMockRecorder struct {
// contains filtered or unexported fields
}
MockExportMockRecorder is the mock recorder for MockExport.
func (*MockExportMockRecorder) Close ¶ added in v1.5.0
func (mr *MockExportMockRecorder) Close() *MockExportCloseCall
Close indicates an expected call of Close.
func (*MockExportMockRecorder) ToCsv ¶ added in v1.5.0
func (mr *MockExportMockRecorder) ToCsv(ctx, writer, query any) *MockExportToCsvCall
ToCsv indicates an expected call of ToCsv.
type MockExportToCsvCall ¶ added in v1.9.9
MockExportToCsvCall wrap *gomock.Call
func (*MockExportToCsvCall) Do ¶ added in v1.9.9
func (c *MockExportToCsvCall) Do(f func(context.Context, io.Writer, string) error) *MockExportToCsvCall
Do rewrite *gomock.Call.Do
func (*MockExportToCsvCall) DoAndReturn ¶ added in v1.9.9
func (c *MockExportToCsvCall) DoAndReturn(f func(context.Context, io.Writer, string) error) *MockExportToCsvCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExportToCsvCall) Return ¶ added in v1.9.9
func (c *MockExportToCsvCall) Return(arg0 error) *MockExportToCsvCall
Return rewrite *gomock.Call.Return
type MockIAddress ¶
type MockIAddress struct {
// contains filtered or unexported fields
}
MockIAddress is a mock of IAddress interface.
func NewMockIAddress ¶
func NewMockIAddress(ctrl *gomock.Controller) *MockIAddress
NewMockIAddress creates a new mock instance.
func (*MockIAddress) CursorList ¶
func (m *MockIAddress) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Address, error)
CursorList mocks base method.
func (*MockIAddress) EXPECT ¶
func (m *MockIAddress) EXPECT() *MockIAddressMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIAddress) IsNoRows ¶
func (m *MockIAddress) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIAddress) LastID ¶
func (m *MockIAddress) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIAddress) List ¶
func (m *MockIAddress) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Address, error)
List mocks base method.
func (*MockIAddress) ListWithBalance ¶
func (m *MockIAddress) ListWithBalance(ctx context.Context, filters storage.AddressListFilter) ([]storage.Address, error)
ListWithBalance mocks base method.
func (*MockIAddress) Series ¶ added in v1.7.4
func (m *MockIAddress) Series(ctx context.Context, addressId uint64, timeframe storage.Timeframe, column string, req storage.SeriesRequest) ([]storage.HistogramItem, error)
Series mocks base method.
type MockIAddressByHashCall ¶ added in v1.9.9
MockIAddressByHashCall wrap *gomock.Call
func (*MockIAddressByHashCall) Do ¶ added in v1.9.9
func (c *MockIAddressByHashCall) Do(f func(context.Context, []byte) (storage.Address, error)) *MockIAddressByHashCall
Do rewrite *gomock.Call.Do
func (*MockIAddressByHashCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIAddressByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Address, error)) *MockIAddressByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressByHashCall) Return ¶ added in v1.9.9
func (c *MockIAddressByHashCall) Return(arg0 storage.Address, arg1 error) *MockIAddressByHashCall
Return rewrite *gomock.Call.Return
type MockIAddressCursorListCall ¶ added in v1.9.9
MockIAddressCursorListCall wrap *gomock.Call
func (*MockIAddressCursorListCall) Do ¶ added in v1.9.9
func (c *MockIAddressCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Address, error)) *MockIAddressCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIAddressCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIAddressCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Address, error)) *MockIAddressCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressCursorListCall) Return ¶ added in v1.9.9
func (c *MockIAddressCursorListCall) Return(arg0 []*storage.Address, arg1 error) *MockIAddressCursorListCall
Return rewrite *gomock.Call.Return
type MockIAddressGetByIDCall ¶ added in v1.9.9
MockIAddressGetByIDCall wrap *gomock.Call
func (*MockIAddressGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIAddressGetByIDCall) Do(f func(context.Context, uint64) (*storage.Address, error)) *MockIAddressGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIAddressGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIAddressGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Address, error)) *MockIAddressGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIAddressGetByIDCall) Return(arg0 *storage.Address, arg1 error) *MockIAddressGetByIDCall
Return rewrite *gomock.Call.Return
type MockIAddressIdByHashCall ¶ added in v1.9.9
MockIAddressIdByHashCall wrap *gomock.Call
func (*MockIAddressIdByHashCall) Do ¶ added in v1.9.9
func (c *MockIAddressIdByHashCall) Do(f func(context.Context, []byte) (uint64, error)) *MockIAddressIdByHashCall
Do rewrite *gomock.Call.Do
func (*MockIAddressIdByHashCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIAddressIdByHashCall) DoAndReturn(f func(context.Context, []byte) (uint64, error)) *MockIAddressIdByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressIdByHashCall) Return ¶ added in v1.9.9
func (c *MockIAddressIdByHashCall) Return(arg0 uint64, arg1 error) *MockIAddressIdByHashCall
Return rewrite *gomock.Call.Return
type MockIAddressIsNoRowsCall ¶ added in v1.9.9
MockIAddressIsNoRowsCall wrap *gomock.Call
func (*MockIAddressIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIAddressIsNoRowsCall) Do(f func(error) bool) *MockIAddressIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIAddressIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIAddressIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIAddressIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIAddressIsNoRowsCall) Return(arg0 bool) *MockIAddressIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIAddressLastIDCall ¶ added in v1.9.9
MockIAddressLastIDCall wrap *gomock.Call
func (*MockIAddressLastIDCall) Do ¶ added in v1.9.9
func (c *MockIAddressLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIAddressLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIAddressLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIAddressLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIAddressLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressLastIDCall) Return ¶ added in v1.9.9
func (c *MockIAddressLastIDCall) Return(arg0 uint64, arg1 error) *MockIAddressLastIDCall
Return rewrite *gomock.Call.Return
type MockIAddressListCall ¶ added in v1.9.9
MockIAddressListCall wrap *gomock.Call
func (*MockIAddressListCall) Do ¶ added in v1.9.9
func (c *MockIAddressListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Address, error)) *MockIAddressListCall
Do rewrite *gomock.Call.Do
func (*MockIAddressListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIAddressListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Address, error)) *MockIAddressListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressListCall) Return ¶ added in v1.9.9
func (c *MockIAddressListCall) Return(arg0 []*storage.Address, arg1 error) *MockIAddressListCall
Return rewrite *gomock.Call.Return
type MockIAddressListWithBalanceCall ¶ added in v1.9.9
MockIAddressListWithBalanceCall wrap *gomock.Call
func (*MockIAddressListWithBalanceCall) Do ¶ added in v1.9.9
func (c *MockIAddressListWithBalanceCall) Do(f func(context.Context, storage.AddressListFilter) ([]storage.Address, error)) *MockIAddressListWithBalanceCall
Do rewrite *gomock.Call.Do
func (*MockIAddressListWithBalanceCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIAddressListWithBalanceCall) DoAndReturn(f func(context.Context, storage.AddressListFilter) ([]storage.Address, error)) *MockIAddressListWithBalanceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressListWithBalanceCall) Return ¶ added in v1.9.9
func (c *MockIAddressListWithBalanceCall) Return(arg0 []storage.Address, arg1 error) *MockIAddressListWithBalanceCall
Return rewrite *gomock.Call.Return
type MockIAddressMockRecorder ¶
type MockIAddressMockRecorder struct {
// contains filtered or unexported fields
}
MockIAddressMockRecorder is the mock recorder for MockIAddress.
func (*MockIAddressMockRecorder) ByHash ¶
func (mr *MockIAddressMockRecorder) ByHash(ctx, hash any) *MockIAddressByHashCall
ByHash indicates an expected call of ByHash.
func (*MockIAddressMockRecorder) CursorList ¶
func (mr *MockIAddressMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIAddressCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIAddressMockRecorder) GetByID ¶
func (mr *MockIAddressMockRecorder) GetByID(ctx, id any) *MockIAddressGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIAddressMockRecorder) IdByHash ¶ added in v1.7.4
func (mr *MockIAddressMockRecorder) IdByHash(ctx, hash any) *MockIAddressIdByHashCall
IdByHash indicates an expected call of IdByHash.
func (*MockIAddressMockRecorder) IsNoRows ¶
func (mr *MockIAddressMockRecorder) IsNoRows(err any) *MockIAddressIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIAddressMockRecorder) LastID ¶
func (mr *MockIAddressMockRecorder) LastID(ctx any) *MockIAddressLastIDCall
LastID indicates an expected call of LastID.
func (*MockIAddressMockRecorder) List ¶
func (mr *MockIAddressMockRecorder) List(ctx, limit, offset, order any) *MockIAddressListCall
List indicates an expected call of List.
func (*MockIAddressMockRecorder) ListWithBalance ¶
func (mr *MockIAddressMockRecorder) ListWithBalance(ctx, filters any) *MockIAddressListWithBalanceCall
ListWithBalance indicates an expected call of ListWithBalance.
func (*MockIAddressMockRecorder) Save ¶
func (mr *MockIAddressMockRecorder) Save(ctx, m any) *MockIAddressSaveCall
Save indicates an expected call of Save.
func (*MockIAddressMockRecorder) Series ¶ added in v1.7.4
func (mr *MockIAddressMockRecorder) Series(ctx, addressId, timeframe, column, req any) *MockIAddressSeriesCall
Series indicates an expected call of Series.
func (*MockIAddressMockRecorder) Update ¶
func (mr *MockIAddressMockRecorder) Update(ctx, m any) *MockIAddressUpdateCall
Update indicates an expected call of Update.
type MockIAddressSaveCall ¶ added in v1.9.9
MockIAddressSaveCall wrap *gomock.Call
func (*MockIAddressSaveCall) Do ¶ added in v1.9.9
func (c *MockIAddressSaveCall) Do(f func(context.Context, *storage.Address) error) *MockIAddressSaveCall
Do rewrite *gomock.Call.Do
func (*MockIAddressSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIAddressSaveCall) DoAndReturn(f func(context.Context, *storage.Address) error) *MockIAddressSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressSaveCall) Return ¶ added in v1.9.9
func (c *MockIAddressSaveCall) Return(arg0 error) *MockIAddressSaveCall
Return rewrite *gomock.Call.Return
type MockIAddressSeriesCall ¶ added in v1.9.9
MockIAddressSeriesCall wrap *gomock.Call
func (*MockIAddressSeriesCall) Do ¶ added in v1.9.9
func (c *MockIAddressSeriesCall) Do(f func(context.Context, uint64, storage.Timeframe, string, storage.SeriesRequest) ([]storage.HistogramItem, error)) *MockIAddressSeriesCall
Do rewrite *gomock.Call.Do
func (*MockIAddressSeriesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIAddressSeriesCall) DoAndReturn(f func(context.Context, uint64, storage.Timeframe, string, storage.SeriesRequest) ([]storage.HistogramItem, error)) *MockIAddressSeriesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressSeriesCall) Return ¶ added in v1.9.9
func (c *MockIAddressSeriesCall) Return(items []storage.HistogramItem, err error) *MockIAddressSeriesCall
Return rewrite *gomock.Call.Return
type MockIAddressUpdateCall ¶ added in v1.9.9
MockIAddressUpdateCall wrap *gomock.Call
func (*MockIAddressUpdateCall) Do ¶ added in v1.9.9
func (c *MockIAddressUpdateCall) Do(f func(context.Context, *storage.Address) error) *MockIAddressUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIAddressUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIAddressUpdateCall) DoAndReturn(f func(context.Context, *storage.Address) error) *MockIAddressUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressUpdateCall) Return ¶ added in v1.9.9
func (c *MockIAddressUpdateCall) Return(arg0 error) *MockIAddressUpdateCall
Return rewrite *gomock.Call.Return
type MockIBalance ¶
type MockIBalance struct {
// contains filtered or unexported fields
}
MockIBalance is a mock of IBalance interface.
func NewMockIBalance ¶
func NewMockIBalance(ctrl *gomock.Controller) *MockIBalance
NewMockIBalance creates a new mock instance.
func (*MockIBalance) CursorList ¶
func (m *MockIBalance) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Balance, error)
CursorList mocks base method.
func (*MockIBalance) EXPECT ¶
func (m *MockIBalance) EXPECT() *MockIBalanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIBalance) IsNoRows ¶
func (m *MockIBalance) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIBalance) LastID ¶
func (m *MockIBalance) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIBalance) List ¶
func (m *MockIBalance) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Balance, error)
List mocks base method.
type MockIBalanceCursorListCall ¶ added in v1.9.9
MockIBalanceCursorListCall wrap *gomock.Call
func (*MockIBalanceCursorListCall) Do ¶ added in v1.9.9
func (c *MockIBalanceCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Balance, error)) *MockIBalanceCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBalanceCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Balance, error)) *MockIBalanceCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceCursorListCall) Return ¶ added in v1.9.9
func (c *MockIBalanceCursorListCall) Return(arg0 []*storage.Balance, arg1 error) *MockIBalanceCursorListCall
Return rewrite *gomock.Call.Return
type MockIBalanceGetByIDCall ¶ added in v1.9.9
MockIBalanceGetByIDCall wrap *gomock.Call
func (*MockIBalanceGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIBalanceGetByIDCall) Do(f func(context.Context, uint64) (*storage.Balance, error)) *MockIBalanceGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBalanceGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Balance, error)) *MockIBalanceGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIBalanceGetByIDCall) Return(arg0 *storage.Balance, arg1 error) *MockIBalanceGetByIDCall
Return rewrite *gomock.Call.Return
type MockIBalanceIsNoRowsCall ¶ added in v1.9.9
MockIBalanceIsNoRowsCall wrap *gomock.Call
func (*MockIBalanceIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIBalanceIsNoRowsCall) Do(f func(error) bool) *MockIBalanceIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBalanceIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIBalanceIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIBalanceIsNoRowsCall) Return(arg0 bool) *MockIBalanceIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIBalanceLastIDCall ¶ added in v1.9.9
MockIBalanceLastIDCall wrap *gomock.Call
func (*MockIBalanceLastIDCall) Do ¶ added in v1.9.9
func (c *MockIBalanceLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIBalanceLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBalanceLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIBalanceLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceLastIDCall) Return ¶ added in v1.9.9
func (c *MockIBalanceLastIDCall) Return(arg0 uint64, arg1 error) *MockIBalanceLastIDCall
Return rewrite *gomock.Call.Return
type MockIBalanceListCall ¶ added in v1.9.9
MockIBalanceListCall wrap *gomock.Call
func (*MockIBalanceListCall) Do ¶ added in v1.9.9
func (c *MockIBalanceListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Balance, error)) *MockIBalanceListCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBalanceListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Balance, error)) *MockIBalanceListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceListCall) Return ¶ added in v1.9.9
func (c *MockIBalanceListCall) Return(arg0 []*storage.Balance, arg1 error) *MockIBalanceListCall
Return rewrite *gomock.Call.Return
type MockIBalanceMockRecorder ¶
type MockIBalanceMockRecorder struct {
// contains filtered or unexported fields
}
MockIBalanceMockRecorder is the mock recorder for MockIBalance.
func (*MockIBalanceMockRecorder) CursorList ¶
func (mr *MockIBalanceMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBalanceCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIBalanceMockRecorder) GetByID ¶
func (mr *MockIBalanceMockRecorder) GetByID(ctx, id any) *MockIBalanceGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIBalanceMockRecorder) IsNoRows ¶
func (mr *MockIBalanceMockRecorder) IsNoRows(err any) *MockIBalanceIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIBalanceMockRecorder) LastID ¶
func (mr *MockIBalanceMockRecorder) LastID(ctx any) *MockIBalanceLastIDCall
LastID indicates an expected call of LastID.
func (*MockIBalanceMockRecorder) List ¶
func (mr *MockIBalanceMockRecorder) List(ctx, limit, offset, order any) *MockIBalanceListCall
List indicates an expected call of List.
func (*MockIBalanceMockRecorder) Save ¶
func (mr *MockIBalanceMockRecorder) Save(ctx, m any) *MockIBalanceSaveCall
Save indicates an expected call of Save.
func (*MockIBalanceMockRecorder) Update ¶
func (mr *MockIBalanceMockRecorder) Update(ctx, m any) *MockIBalanceUpdateCall
Update indicates an expected call of Update.
type MockIBalanceSaveCall ¶ added in v1.9.9
MockIBalanceSaveCall wrap *gomock.Call
func (*MockIBalanceSaveCall) Do ¶ added in v1.9.9
func (c *MockIBalanceSaveCall) Do(f func(context.Context, *storage.Balance) error) *MockIBalanceSaveCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBalanceSaveCall) DoAndReturn(f func(context.Context, *storage.Balance) error) *MockIBalanceSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceSaveCall) Return ¶ added in v1.9.9
func (c *MockIBalanceSaveCall) Return(arg0 error) *MockIBalanceSaveCall
Return rewrite *gomock.Call.Return
type MockIBalanceUpdateCall ¶ added in v1.9.9
MockIBalanceUpdateCall wrap *gomock.Call
func (*MockIBalanceUpdateCall) Do ¶ added in v1.9.9
func (c *MockIBalanceUpdateCall) Do(f func(context.Context, *storage.Balance) error) *MockIBalanceUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBalanceUpdateCall) DoAndReturn(f func(context.Context, *storage.Balance) error) *MockIBalanceUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceUpdateCall) Return ¶ added in v1.9.9
func (c *MockIBalanceUpdateCall) Return(arg0 error) *MockIBalanceUpdateCall
Return rewrite *gomock.Call.Return
type MockIBlobLog ¶ added in v1.2.0
type MockIBlobLog struct {
// contains filtered or unexported fields
}
MockIBlobLog is a mock of IBlobLog interface.
func NewMockIBlobLog ¶ added in v1.2.0
func NewMockIBlobLog(ctrl *gomock.Controller) *MockIBlobLog
NewMockIBlobLog creates a new mock instance.
func (*MockIBlobLog) Blob ¶ added in v1.7.5
func (m *MockIBlobLog) Blob(ctx context.Context, height types.Level, nsId uint64, commitment string) (storage.BlobLog, error)
Blob mocks base method.
func (*MockIBlobLog) ByHeight ¶ added in v1.3.2
func (m *MockIBlobLog) ByHeight(ctx context.Context, height types.Level, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)
ByHeight mocks base method.
func (*MockIBlobLog) ByNamespace ¶ added in v1.2.0
func (m *MockIBlobLog) ByNamespace(ctx context.Context, nsId uint64, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)
ByNamespace mocks base method.
func (*MockIBlobLog) ByProviders ¶ added in v1.2.0
func (m *MockIBlobLog) ByProviders(ctx context.Context, providers []storage.RollupProvider, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)
ByProviders mocks base method.
func (*MockIBlobLog) BySigner ¶ added in v1.2.0
func (m *MockIBlobLog) BySigner(ctx context.Context, signerId uint64, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)
BySigner mocks base method.
func (*MockIBlobLog) ByTxId ¶ added in v1.3.2
func (m *MockIBlobLog) ByTxId(ctx context.Context, txId uint64, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)
ByTxId mocks base method.
func (*MockIBlobLog) CountByHeight ¶ added in v1.3.2
CountByHeight mocks base method.
func (*MockIBlobLog) CountByTxId ¶ added in v1.3.2
CountByTxId mocks base method.
func (*MockIBlobLog) CursorList ¶ added in v1.2.0
func (m *MockIBlobLog) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.BlobLog, error)
CursorList mocks base method.
func (*MockIBlobLog) EXPECT ¶ added in v1.2.0
func (m *MockIBlobLog) EXPECT() *MockIBlobLogMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIBlobLog) ExportByProviders ¶ added in v1.7.0
func (m *MockIBlobLog) ExportByProviders(ctx context.Context, providers []storage.RollupProvider, from, to time.Time, stream io.Writer) error
ExportByProviders mocks base method.
func (*MockIBlobLog) IsNoRows ¶ added in v1.2.0
func (m *MockIBlobLog) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIBlobLog) LastID ¶ added in v1.2.0
func (m *MockIBlobLog) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIBlobLog) List ¶ added in v1.2.0
func (m *MockIBlobLog) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.BlobLog, error)
List mocks base method.
type MockIBlobLogBlobCall ¶ added in v1.9.9
MockIBlobLogBlobCall wrap *gomock.Call
func (*MockIBlobLogBlobCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogBlobCall) Do(f func(context.Context, types.Level, uint64, string) (storage.BlobLog, error)) *MockIBlobLogBlobCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogBlobCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogBlobCall) DoAndReturn(f func(context.Context, types.Level, uint64, string) (storage.BlobLog, error)) *MockIBlobLogBlobCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogBlobCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogBlobCall) Return(arg0 storage.BlobLog, arg1 error) *MockIBlobLogBlobCall
Return rewrite *gomock.Call.Return
type MockIBlobLogByHeightCall ¶ added in v1.9.9
MockIBlobLogByHeightCall wrap *gomock.Call
func (*MockIBlobLogByHeightCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogByHeightCall) Do(f func(context.Context, types.Level, storage.BlobLogFilters) ([]storage.BlobLog, error)) *MockIBlobLogByHeightCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogByHeightCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogByHeightCall) DoAndReturn(f func(context.Context, types.Level, storage.BlobLogFilters) ([]storage.BlobLog, error)) *MockIBlobLogByHeightCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogByHeightCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogByHeightCall) Return(arg0 []storage.BlobLog, arg1 error) *MockIBlobLogByHeightCall
Return rewrite *gomock.Call.Return
type MockIBlobLogByNamespaceCall ¶ added in v1.9.9
MockIBlobLogByNamespaceCall wrap *gomock.Call
func (*MockIBlobLogByNamespaceCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogByNamespaceCall) Do(f func(context.Context, uint64, storage.BlobLogFilters) ([]storage.BlobLog, error)) *MockIBlobLogByNamespaceCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogByNamespaceCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogByNamespaceCall) DoAndReturn(f func(context.Context, uint64, storage.BlobLogFilters) ([]storage.BlobLog, error)) *MockIBlobLogByNamespaceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogByNamespaceCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogByNamespaceCall) Return(arg0 []storage.BlobLog, arg1 error) *MockIBlobLogByNamespaceCall
Return rewrite *gomock.Call.Return
type MockIBlobLogByProvidersCall ¶ added in v1.9.9
MockIBlobLogByProvidersCall wrap *gomock.Call
func (*MockIBlobLogByProvidersCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogByProvidersCall) Do(f func(context.Context, []storage.RollupProvider, storage.BlobLogFilters) ([]storage.BlobLog, error)) *MockIBlobLogByProvidersCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogByProvidersCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogByProvidersCall) DoAndReturn(f func(context.Context, []storage.RollupProvider, storage.BlobLogFilters) ([]storage.BlobLog, error)) *MockIBlobLogByProvidersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogByProvidersCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogByProvidersCall) Return(arg0 []storage.BlobLog, arg1 error) *MockIBlobLogByProvidersCall
Return rewrite *gomock.Call.Return
type MockIBlobLogBySignerCall ¶ added in v1.9.9
MockIBlobLogBySignerCall wrap *gomock.Call
func (*MockIBlobLogBySignerCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogBySignerCall) Do(f func(context.Context, uint64, storage.BlobLogFilters) ([]storage.BlobLog, error)) *MockIBlobLogBySignerCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogBySignerCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogBySignerCall) DoAndReturn(f func(context.Context, uint64, storage.BlobLogFilters) ([]storage.BlobLog, error)) *MockIBlobLogBySignerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogBySignerCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogBySignerCall) Return(arg0 []storage.BlobLog, arg1 error) *MockIBlobLogBySignerCall
Return rewrite *gomock.Call.Return
type MockIBlobLogByTxIdCall ¶ added in v1.9.9
MockIBlobLogByTxIdCall wrap *gomock.Call
func (*MockIBlobLogByTxIdCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogByTxIdCall) Do(f func(context.Context, uint64, storage.BlobLogFilters) ([]storage.BlobLog, error)) *MockIBlobLogByTxIdCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogByTxIdCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogByTxIdCall) DoAndReturn(f func(context.Context, uint64, storage.BlobLogFilters) ([]storage.BlobLog, error)) *MockIBlobLogByTxIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogByTxIdCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogByTxIdCall) Return(arg0 []storage.BlobLog, arg1 error) *MockIBlobLogByTxIdCall
Return rewrite *gomock.Call.Return
type MockIBlobLogCountByHeightCall ¶ added in v1.9.9
MockIBlobLogCountByHeightCall wrap *gomock.Call
func (*MockIBlobLogCountByHeightCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogCountByHeightCall) Do(f func(context.Context, types.Level) (int, error)) *MockIBlobLogCountByHeightCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogCountByHeightCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogCountByHeightCall) DoAndReturn(f func(context.Context, types.Level) (int, error)) *MockIBlobLogCountByHeightCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogCountByHeightCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogCountByHeightCall) Return(arg0 int, arg1 error) *MockIBlobLogCountByHeightCall
Return rewrite *gomock.Call.Return
type MockIBlobLogCountByTxIdCall ¶ added in v1.9.9
MockIBlobLogCountByTxIdCall wrap *gomock.Call
func (*MockIBlobLogCountByTxIdCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogCountByTxIdCall) Do(f func(context.Context, uint64) (int, error)) *MockIBlobLogCountByTxIdCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogCountByTxIdCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogCountByTxIdCall) DoAndReturn(f func(context.Context, uint64) (int, error)) *MockIBlobLogCountByTxIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogCountByTxIdCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogCountByTxIdCall) Return(arg0 int, arg1 error) *MockIBlobLogCountByTxIdCall
Return rewrite *gomock.Call.Return
type MockIBlobLogCursorListCall ¶ added in v1.9.9
MockIBlobLogCursorListCall wrap *gomock.Call
func (*MockIBlobLogCursorListCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.BlobLog, error)) *MockIBlobLogCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.BlobLog, error)) *MockIBlobLogCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogCursorListCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogCursorListCall) Return(arg0 []*storage.BlobLog, arg1 error) *MockIBlobLogCursorListCall
Return rewrite *gomock.Call.Return
type MockIBlobLogExportByProvidersCall ¶ added in v1.9.9
MockIBlobLogExportByProvidersCall wrap *gomock.Call
func (*MockIBlobLogExportByProvidersCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogExportByProvidersCall) Do(f func(context.Context, []storage.RollupProvider, time.Time, time.Time, io.Writer) error) *MockIBlobLogExportByProvidersCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogExportByProvidersCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogExportByProvidersCall) DoAndReturn(f func(context.Context, []storage.RollupProvider, time.Time, time.Time, io.Writer) error) *MockIBlobLogExportByProvidersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogExportByProvidersCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogExportByProvidersCall) Return(err error) *MockIBlobLogExportByProvidersCall
Return rewrite *gomock.Call.Return
type MockIBlobLogGetByIDCall ¶ added in v1.9.9
MockIBlobLogGetByIDCall wrap *gomock.Call
func (*MockIBlobLogGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogGetByIDCall) Do(f func(context.Context, uint64) (*storage.BlobLog, error)) *MockIBlobLogGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.BlobLog, error)) *MockIBlobLogGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogGetByIDCall) Return(arg0 *storage.BlobLog, arg1 error) *MockIBlobLogGetByIDCall
Return rewrite *gomock.Call.Return
type MockIBlobLogIsNoRowsCall ¶ added in v1.9.9
MockIBlobLogIsNoRowsCall wrap *gomock.Call
func (*MockIBlobLogIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogIsNoRowsCall) Do(f func(error) bool) *MockIBlobLogIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIBlobLogIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogIsNoRowsCall) Return(arg0 bool) *MockIBlobLogIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIBlobLogLastIDCall ¶ added in v1.9.9
MockIBlobLogLastIDCall wrap *gomock.Call
func (*MockIBlobLogLastIDCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIBlobLogLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIBlobLogLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogLastIDCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogLastIDCall) Return(arg0 uint64, arg1 error) *MockIBlobLogLastIDCall
Return rewrite *gomock.Call.Return
type MockIBlobLogListCall ¶ added in v1.9.9
MockIBlobLogListCall wrap *gomock.Call
func (*MockIBlobLogListCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.BlobLog, error)) *MockIBlobLogListCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.BlobLog, error)) *MockIBlobLogListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogListCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogListCall) Return(arg0 []*storage.BlobLog, arg1 error) *MockIBlobLogListCall
Return rewrite *gomock.Call.Return
type MockIBlobLogMockRecorder ¶ added in v1.2.0
type MockIBlobLogMockRecorder struct {
// contains filtered or unexported fields
}
MockIBlobLogMockRecorder is the mock recorder for MockIBlobLog.
func (*MockIBlobLogMockRecorder) Blob ¶ added in v1.7.5
func (mr *MockIBlobLogMockRecorder) Blob(ctx, height, nsId, commitment any) *MockIBlobLogBlobCall
Blob indicates an expected call of Blob.
func (*MockIBlobLogMockRecorder) ByHeight ¶ added in v1.3.2
func (mr *MockIBlobLogMockRecorder) ByHeight(ctx, height, fltrs any) *MockIBlobLogByHeightCall
ByHeight indicates an expected call of ByHeight.
func (*MockIBlobLogMockRecorder) ByNamespace ¶ added in v1.2.0
func (mr *MockIBlobLogMockRecorder) ByNamespace(ctx, nsId, fltrs any) *MockIBlobLogByNamespaceCall
ByNamespace indicates an expected call of ByNamespace.
func (*MockIBlobLogMockRecorder) ByProviders ¶ added in v1.2.0
func (mr *MockIBlobLogMockRecorder) ByProviders(ctx, providers, fltrs any) *MockIBlobLogByProvidersCall
ByProviders indicates an expected call of ByProviders.
func (*MockIBlobLogMockRecorder) BySigner ¶ added in v1.2.0
func (mr *MockIBlobLogMockRecorder) BySigner(ctx, signerId, fltrs any) *MockIBlobLogBySignerCall
BySigner indicates an expected call of BySigner.
func (*MockIBlobLogMockRecorder) ByTxId ¶ added in v1.3.2
func (mr *MockIBlobLogMockRecorder) ByTxId(ctx, txId, fltrs any) *MockIBlobLogByTxIdCall
ByTxId indicates an expected call of ByTxId.
func (*MockIBlobLogMockRecorder) CountByHeight ¶ added in v1.3.2
func (mr *MockIBlobLogMockRecorder) CountByHeight(ctx, height any) *MockIBlobLogCountByHeightCall
CountByHeight indicates an expected call of CountByHeight.
func (*MockIBlobLogMockRecorder) CountByTxId ¶ added in v1.3.2
func (mr *MockIBlobLogMockRecorder) CountByTxId(ctx, txId any) *MockIBlobLogCountByTxIdCall
CountByTxId indicates an expected call of CountByTxId.
func (*MockIBlobLogMockRecorder) CursorList ¶ added in v1.2.0
func (mr *MockIBlobLogMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBlobLogCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIBlobLogMockRecorder) ExportByProviders ¶ added in v1.7.0
func (mr *MockIBlobLogMockRecorder) ExportByProviders(ctx, providers, from, to, stream any) *MockIBlobLogExportByProvidersCall
ExportByProviders indicates an expected call of ExportByProviders.
func (*MockIBlobLogMockRecorder) GetByID ¶ added in v1.2.0
func (mr *MockIBlobLogMockRecorder) GetByID(ctx, id any) *MockIBlobLogGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIBlobLogMockRecorder) IsNoRows ¶ added in v1.2.0
func (mr *MockIBlobLogMockRecorder) IsNoRows(err any) *MockIBlobLogIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIBlobLogMockRecorder) LastID ¶ added in v1.2.0
func (mr *MockIBlobLogMockRecorder) LastID(ctx any) *MockIBlobLogLastIDCall
LastID indicates an expected call of LastID.
func (*MockIBlobLogMockRecorder) List ¶ added in v1.2.0
func (mr *MockIBlobLogMockRecorder) List(ctx, limit, offset, order any) *MockIBlobLogListCall
List indicates an expected call of List.
func (*MockIBlobLogMockRecorder) Save ¶ added in v1.2.0
func (mr *MockIBlobLogMockRecorder) Save(ctx, m any) *MockIBlobLogSaveCall
Save indicates an expected call of Save.
func (*MockIBlobLogMockRecorder) Update ¶ added in v1.2.0
func (mr *MockIBlobLogMockRecorder) Update(ctx, m any) *MockIBlobLogUpdateCall
Update indicates an expected call of Update.
type MockIBlobLogSaveCall ¶ added in v1.9.9
MockIBlobLogSaveCall wrap *gomock.Call
func (*MockIBlobLogSaveCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogSaveCall) Do(f func(context.Context, *storage.BlobLog) error) *MockIBlobLogSaveCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogSaveCall) DoAndReturn(f func(context.Context, *storage.BlobLog) error) *MockIBlobLogSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogSaveCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogSaveCall) Return(arg0 error) *MockIBlobLogSaveCall
Return rewrite *gomock.Call.Return
type MockIBlobLogUpdateCall ¶ added in v1.9.9
MockIBlobLogUpdateCall wrap *gomock.Call
func (*MockIBlobLogUpdateCall) Do ¶ added in v1.9.9
func (c *MockIBlobLogUpdateCall) Do(f func(context.Context, *storage.BlobLog) error) *MockIBlobLogUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIBlobLogUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlobLogUpdateCall) DoAndReturn(f func(context.Context, *storage.BlobLog) error) *MockIBlobLogUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlobLogUpdateCall) Return ¶ added in v1.9.9
func (c *MockIBlobLogUpdateCall) Return(arg0 error) *MockIBlobLogUpdateCall
Return rewrite *gomock.Call.Return
type MockIBlock ¶
type MockIBlock struct {
// contains filtered or unexported fields
}
MockIBlock is a mock of IBlock interface.
func NewMockIBlock ¶
func NewMockIBlock(ctrl *gomock.Controller) *MockIBlock
NewMockIBlock creates a new mock instance.
func (*MockIBlock) ByHeightWithStats ¶
func (m *MockIBlock) ByHeightWithStats(ctx context.Context, height types.Level) (storage.Block, error)
ByHeightWithStats mocks base method.
func (*MockIBlock) ByIdWithRelations ¶
ByIdWithRelations mocks base method.
func (*MockIBlock) ByProposer ¶ added in v1.4.0
func (m *MockIBlock) ByProposer(ctx context.Context, proposerId uint64, limit, offset int) ([]storage.Block, error)
ByProposer mocks base method.
func (*MockIBlock) CursorList ¶
func (m *MockIBlock) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Block, error)
CursorList mocks base method.
func (*MockIBlock) EXPECT ¶
func (m *MockIBlock) EXPECT() *MockIBlockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIBlock) IsNoRows ¶
func (m *MockIBlock) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIBlock) LastID ¶
func (m *MockIBlock) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIBlock) List ¶
func (m *MockIBlock) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Block, error)
List mocks base method.
func (*MockIBlock) ListWithStats ¶
func (m *MockIBlock) ListWithStats(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Block, error)
ListWithStats mocks base method.
type MockIBlockByHashCall ¶ added in v1.9.9
MockIBlockByHashCall wrap *gomock.Call
func (*MockIBlockByHashCall) Do ¶ added in v1.9.9
func (c *MockIBlockByHashCall) Do(f func(context.Context, []byte) (storage.Block, error)) *MockIBlockByHashCall
Do rewrite *gomock.Call.Do
func (*MockIBlockByHashCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Block, error)) *MockIBlockByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockByHashCall) Return ¶ added in v1.9.9
func (c *MockIBlockByHashCall) Return(arg0 storage.Block, arg1 error) *MockIBlockByHashCall
Return rewrite *gomock.Call.Return
type MockIBlockByHeightCall ¶ added in v1.9.9
MockIBlockByHeightCall wrap *gomock.Call
func (*MockIBlockByHeightCall) Do ¶ added in v1.9.9
func (c *MockIBlockByHeightCall) Do(f func(context.Context, types.Level) (storage.Block, error)) *MockIBlockByHeightCall
Do rewrite *gomock.Call.Do
func (*MockIBlockByHeightCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockByHeightCall) DoAndReturn(f func(context.Context, types.Level) (storage.Block, error)) *MockIBlockByHeightCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockByHeightCall) Return ¶ added in v1.9.9
func (c *MockIBlockByHeightCall) Return(arg0 storage.Block, arg1 error) *MockIBlockByHeightCall
Return rewrite *gomock.Call.Return
type MockIBlockByHeightWithStatsCall ¶ added in v1.9.9
MockIBlockByHeightWithStatsCall wrap *gomock.Call
func (*MockIBlockByHeightWithStatsCall) Do ¶ added in v1.9.9
func (c *MockIBlockByHeightWithStatsCall) Do(f func(context.Context, types.Level) (storage.Block, error)) *MockIBlockByHeightWithStatsCall
Do rewrite *gomock.Call.Do
func (*MockIBlockByHeightWithStatsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockByHeightWithStatsCall) DoAndReturn(f func(context.Context, types.Level) (storage.Block, error)) *MockIBlockByHeightWithStatsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockByHeightWithStatsCall) Return ¶ added in v1.9.9
func (c *MockIBlockByHeightWithStatsCall) Return(arg0 storage.Block, arg1 error) *MockIBlockByHeightWithStatsCall
Return rewrite *gomock.Call.Return
type MockIBlockByIdWithRelationsCall ¶ added in v1.9.9
MockIBlockByIdWithRelationsCall wrap *gomock.Call
func (*MockIBlockByIdWithRelationsCall) Do ¶ added in v1.9.9
func (c *MockIBlockByIdWithRelationsCall) Do(f func(context.Context, uint64) (storage.Block, error)) *MockIBlockByIdWithRelationsCall
Do rewrite *gomock.Call.Do
func (*MockIBlockByIdWithRelationsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockByIdWithRelationsCall) DoAndReturn(f func(context.Context, uint64) (storage.Block, error)) *MockIBlockByIdWithRelationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockByIdWithRelationsCall) Return ¶ added in v1.9.9
func (c *MockIBlockByIdWithRelationsCall) Return(arg0 storage.Block, arg1 error) *MockIBlockByIdWithRelationsCall
Return rewrite *gomock.Call.Return
type MockIBlockByProposerCall ¶ added in v1.9.9
MockIBlockByProposerCall wrap *gomock.Call
func (*MockIBlockByProposerCall) Do ¶ added in v1.9.9
func (c *MockIBlockByProposerCall) Do(f func(context.Context, uint64, int, int) ([]storage.Block, error)) *MockIBlockByProposerCall
Do rewrite *gomock.Call.Do
func (*MockIBlockByProposerCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockByProposerCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Block, error)) *MockIBlockByProposerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockByProposerCall) Return ¶ added in v1.9.9
func (c *MockIBlockByProposerCall) Return(arg0 []storage.Block, arg1 error) *MockIBlockByProposerCall
Return rewrite *gomock.Call.Return
type MockIBlockCursorListCall ¶ added in v1.9.9
MockIBlockCursorListCall wrap *gomock.Call
func (*MockIBlockCursorListCall) Do ¶ added in v1.9.9
func (c *MockIBlockCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Block, error)) *MockIBlockCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIBlockCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Block, error)) *MockIBlockCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockCursorListCall) Return ¶ added in v1.9.9
func (c *MockIBlockCursorListCall) Return(arg0 []*storage.Block, arg1 error) *MockIBlockCursorListCall
Return rewrite *gomock.Call.Return
type MockIBlockGetByIDCall ¶ added in v1.9.9
MockIBlockGetByIDCall wrap *gomock.Call
func (*MockIBlockGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIBlockGetByIDCall) Do(f func(context.Context, uint64) (*storage.Block, error)) *MockIBlockGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIBlockGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Block, error)) *MockIBlockGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIBlockGetByIDCall) Return(arg0 *storage.Block, arg1 error) *MockIBlockGetByIDCall
Return rewrite *gomock.Call.Return
type MockIBlockIsNoRowsCall ¶ added in v1.9.9
MockIBlockIsNoRowsCall wrap *gomock.Call
func (*MockIBlockIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIBlockIsNoRowsCall) Do(f func(error) bool) *MockIBlockIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIBlockIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIBlockIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIBlockIsNoRowsCall) Return(arg0 bool) *MockIBlockIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIBlockLastCall ¶ added in v1.9.9
MockIBlockLastCall wrap *gomock.Call
func (*MockIBlockLastCall) Do ¶ added in v1.9.9
func (c *MockIBlockLastCall) Do(f func(context.Context) (storage.Block, error)) *MockIBlockLastCall
Do rewrite *gomock.Call.Do
func (*MockIBlockLastCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockLastCall) DoAndReturn(f func(context.Context) (storage.Block, error)) *MockIBlockLastCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockLastCall) Return ¶ added in v1.9.9
func (c *MockIBlockLastCall) Return(arg0 storage.Block, arg1 error) *MockIBlockLastCall
Return rewrite *gomock.Call.Return
type MockIBlockLastIDCall ¶ added in v1.9.9
MockIBlockLastIDCall wrap *gomock.Call
func (*MockIBlockLastIDCall) Do ¶ added in v1.9.9
func (c *MockIBlockLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIBlockLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIBlockLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIBlockLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockLastIDCall) Return ¶ added in v1.9.9
func (c *MockIBlockLastIDCall) Return(arg0 uint64, arg1 error) *MockIBlockLastIDCall
Return rewrite *gomock.Call.Return
type MockIBlockListCall ¶ added in v1.9.9
MockIBlockListCall wrap *gomock.Call
func (*MockIBlockListCall) Do ¶ added in v1.9.9
func (c *MockIBlockListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Block, error)) *MockIBlockListCall
Do rewrite *gomock.Call.Do
func (*MockIBlockListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Block, error)) *MockIBlockListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockListCall) Return ¶ added in v1.9.9
func (c *MockIBlockListCall) Return(arg0 []*storage.Block, arg1 error) *MockIBlockListCall
Return rewrite *gomock.Call.Return
type MockIBlockListWithStatsCall ¶ added in v1.9.9
MockIBlockListWithStatsCall wrap *gomock.Call
func (*MockIBlockListWithStatsCall) Do ¶ added in v1.9.9
func (c *MockIBlockListWithStatsCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Block, error)) *MockIBlockListWithStatsCall
Do rewrite *gomock.Call.Do
func (*MockIBlockListWithStatsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockListWithStatsCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Block, error)) *MockIBlockListWithStatsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockListWithStatsCall) Return ¶ added in v1.9.9
func (c *MockIBlockListWithStatsCall) Return(arg0 []*storage.Block, arg1 error) *MockIBlockListWithStatsCall
Return rewrite *gomock.Call.Return
type MockIBlockMockRecorder ¶
type MockIBlockMockRecorder struct {
// contains filtered or unexported fields
}
MockIBlockMockRecorder is the mock recorder for MockIBlock.
func (*MockIBlockMockRecorder) ByHash ¶
func (mr *MockIBlockMockRecorder) ByHash(ctx, hash any) *MockIBlockByHashCall
ByHash indicates an expected call of ByHash.
func (*MockIBlockMockRecorder) ByHeight ¶
func (mr *MockIBlockMockRecorder) ByHeight(ctx, height any) *MockIBlockByHeightCall
ByHeight indicates an expected call of ByHeight.
func (*MockIBlockMockRecorder) ByHeightWithStats ¶
func (mr *MockIBlockMockRecorder) ByHeightWithStats(ctx, height any) *MockIBlockByHeightWithStatsCall
ByHeightWithStats indicates an expected call of ByHeightWithStats.
func (*MockIBlockMockRecorder) ByIdWithRelations ¶
func (mr *MockIBlockMockRecorder) ByIdWithRelations(ctx, id any) *MockIBlockByIdWithRelationsCall
ByIdWithRelations indicates an expected call of ByIdWithRelations.
func (*MockIBlockMockRecorder) ByProposer ¶ added in v1.4.0
func (mr *MockIBlockMockRecorder) ByProposer(ctx, proposerId, limit, offset any) *MockIBlockByProposerCall
ByProposer indicates an expected call of ByProposer.
func (*MockIBlockMockRecorder) CursorList ¶
func (mr *MockIBlockMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBlockCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIBlockMockRecorder) GetByID ¶
func (mr *MockIBlockMockRecorder) GetByID(ctx, id any) *MockIBlockGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIBlockMockRecorder) IsNoRows ¶
func (mr *MockIBlockMockRecorder) IsNoRows(err any) *MockIBlockIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIBlockMockRecorder) Last ¶
func (mr *MockIBlockMockRecorder) Last(ctx any) *MockIBlockLastCall
Last indicates an expected call of Last.
func (*MockIBlockMockRecorder) LastID ¶
func (mr *MockIBlockMockRecorder) LastID(ctx any) *MockIBlockLastIDCall
LastID indicates an expected call of LastID.
func (*MockIBlockMockRecorder) List ¶
func (mr *MockIBlockMockRecorder) List(ctx, limit, offset, order any) *MockIBlockListCall
List indicates an expected call of List.
func (*MockIBlockMockRecorder) ListWithStats ¶
func (mr *MockIBlockMockRecorder) ListWithStats(ctx, limit, offset, order any) *MockIBlockListWithStatsCall
ListWithStats indicates an expected call of ListWithStats.
func (*MockIBlockMockRecorder) Save ¶
func (mr *MockIBlockMockRecorder) Save(ctx, m any) *MockIBlockSaveCall
Save indicates an expected call of Save.
func (*MockIBlockMockRecorder) Time ¶ added in v1.5.0
func (mr *MockIBlockMockRecorder) Time(ctx, height any) *MockIBlockTimeCall
Time indicates an expected call of Time.
func (*MockIBlockMockRecorder) Update ¶
func (mr *MockIBlockMockRecorder) Update(ctx, m any) *MockIBlockUpdateCall
Update indicates an expected call of Update.
type MockIBlockSaveCall ¶ added in v1.9.9
MockIBlockSaveCall wrap *gomock.Call
func (*MockIBlockSaveCall) Do ¶ added in v1.9.9
func (c *MockIBlockSaveCall) Do(f func(context.Context, *storage.Block) error) *MockIBlockSaveCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockSaveCall) DoAndReturn(f func(context.Context, *storage.Block) error) *MockIBlockSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSaveCall) Return ¶ added in v1.9.9
func (c *MockIBlockSaveCall) Return(arg0 error) *MockIBlockSaveCall
Return rewrite *gomock.Call.Return
type MockIBlockSignature ¶ added in v1.4.0
type MockIBlockSignature struct {
// contains filtered or unexported fields
}
MockIBlockSignature is a mock of IBlockSignature interface.
func NewMockIBlockSignature ¶ added in v1.4.0
func NewMockIBlockSignature(ctrl *gomock.Controller) *MockIBlockSignature
NewMockIBlockSignature creates a new mock instance.
func (*MockIBlockSignature) CursorList ¶ added in v1.4.0
func (m *MockIBlockSignature) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.BlockSignature, error)
CursorList mocks base method.
func (*MockIBlockSignature) EXPECT ¶ added in v1.4.0
func (m *MockIBlockSignature) EXPECT() *MockIBlockSignatureMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIBlockSignature) GetByID ¶ added in v1.4.0
func (m *MockIBlockSignature) GetByID(ctx context.Context, id uint64) (*storage.BlockSignature, error)
GetByID mocks base method.
func (*MockIBlockSignature) IsNoRows ¶ added in v1.4.0
func (m *MockIBlockSignature) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIBlockSignature) LastID ¶ added in v1.4.0
func (m *MockIBlockSignature) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIBlockSignature) LevelsByValidator ¶ added in v1.4.0
func (m *MockIBlockSignature) LevelsByValidator(ctx context.Context, validatorId uint64, startHeight types.Level) ([]types.Level, error)
LevelsByValidator mocks base method.
func (*MockIBlockSignature) List ¶ added in v1.4.0
func (m *MockIBlockSignature) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.BlockSignature, error)
List mocks base method.
func (*MockIBlockSignature) Save ¶ added in v1.4.0
func (m_2 *MockIBlockSignature) Save(ctx context.Context, m *storage.BlockSignature) error
Save mocks base method.
func (*MockIBlockSignature) Update ¶ added in v1.4.0
func (m_2 *MockIBlockSignature) Update(ctx context.Context, m *storage.BlockSignature) error
Update mocks base method.
type MockIBlockSignatureCursorListCall ¶ added in v1.9.9
MockIBlockSignatureCursorListCall wrap *gomock.Call
func (*MockIBlockSignatureCursorListCall) Do ¶ added in v1.9.9
func (c *MockIBlockSignatureCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.BlockSignature, error)) *MockIBlockSignatureCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockSignatureCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.BlockSignature, error)) *MockIBlockSignatureCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureCursorListCall) Return ¶ added in v1.9.9
func (c *MockIBlockSignatureCursorListCall) Return(arg0 []*storage.BlockSignature, arg1 error) *MockIBlockSignatureCursorListCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureGetByIDCall ¶ added in v1.9.9
MockIBlockSignatureGetByIDCall wrap *gomock.Call
func (*MockIBlockSignatureGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIBlockSignatureGetByIDCall) Do(f func(context.Context, uint64) (*storage.BlockSignature, error)) *MockIBlockSignatureGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockSignatureGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.BlockSignature, error)) *MockIBlockSignatureGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIBlockSignatureGetByIDCall) Return(arg0 *storage.BlockSignature, arg1 error) *MockIBlockSignatureGetByIDCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureIsNoRowsCall ¶ added in v1.9.9
MockIBlockSignatureIsNoRowsCall wrap *gomock.Call
func (*MockIBlockSignatureIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIBlockSignatureIsNoRowsCall) Do(f func(error) bool) *MockIBlockSignatureIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockSignatureIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIBlockSignatureIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIBlockSignatureIsNoRowsCall) Return(arg0 bool) *MockIBlockSignatureIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureLastIDCall ¶ added in v1.9.9
MockIBlockSignatureLastIDCall wrap *gomock.Call
func (*MockIBlockSignatureLastIDCall) Do ¶ added in v1.9.9
func (c *MockIBlockSignatureLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIBlockSignatureLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockSignatureLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIBlockSignatureLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureLastIDCall) Return ¶ added in v1.9.9
func (c *MockIBlockSignatureLastIDCall) Return(arg0 uint64, arg1 error) *MockIBlockSignatureLastIDCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureLevelsByValidatorCall ¶ added in v1.9.9
MockIBlockSignatureLevelsByValidatorCall wrap *gomock.Call
func (*MockIBlockSignatureLevelsByValidatorCall) Do ¶ added in v1.9.9
func (c *MockIBlockSignatureLevelsByValidatorCall) Do(f func(context.Context, uint64, types.Level) ([]types.Level, error)) *MockIBlockSignatureLevelsByValidatorCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureLevelsByValidatorCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockSignatureLevelsByValidatorCall) DoAndReturn(f func(context.Context, uint64, types.Level) ([]types.Level, error)) *MockIBlockSignatureLevelsByValidatorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureLevelsByValidatorCall) Return ¶ added in v1.9.9
func (c *MockIBlockSignatureLevelsByValidatorCall) Return(arg0 []types.Level, arg1 error) *MockIBlockSignatureLevelsByValidatorCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureListCall ¶ added in v1.9.9
MockIBlockSignatureListCall wrap *gomock.Call
func (*MockIBlockSignatureListCall) Do ¶ added in v1.9.9
func (c *MockIBlockSignatureListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.BlockSignature, error)) *MockIBlockSignatureListCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockSignatureListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.BlockSignature, error)) *MockIBlockSignatureListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureListCall) Return ¶ added in v1.9.9
func (c *MockIBlockSignatureListCall) Return(arg0 []*storage.BlockSignature, arg1 error) *MockIBlockSignatureListCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureMockRecorder ¶ added in v1.4.0
type MockIBlockSignatureMockRecorder struct {
// contains filtered or unexported fields
}
MockIBlockSignatureMockRecorder is the mock recorder for MockIBlockSignature.
func (*MockIBlockSignatureMockRecorder) CursorList ¶ added in v1.4.0
func (mr *MockIBlockSignatureMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBlockSignatureCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIBlockSignatureMockRecorder) GetByID ¶ added in v1.4.0
func (mr *MockIBlockSignatureMockRecorder) GetByID(ctx, id any) *MockIBlockSignatureGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIBlockSignatureMockRecorder) IsNoRows ¶ added in v1.4.0
func (mr *MockIBlockSignatureMockRecorder) IsNoRows(err any) *MockIBlockSignatureIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIBlockSignatureMockRecorder) LastID ¶ added in v1.4.0
func (mr *MockIBlockSignatureMockRecorder) LastID(ctx any) *MockIBlockSignatureLastIDCall
LastID indicates an expected call of LastID.
func (*MockIBlockSignatureMockRecorder) LevelsByValidator ¶ added in v1.4.0
func (mr *MockIBlockSignatureMockRecorder) LevelsByValidator(ctx, validatorId, startHeight any) *MockIBlockSignatureLevelsByValidatorCall
LevelsByValidator indicates an expected call of LevelsByValidator.
func (*MockIBlockSignatureMockRecorder) List ¶ added in v1.4.0
func (mr *MockIBlockSignatureMockRecorder) List(ctx, limit, offset, order any) *MockIBlockSignatureListCall
List indicates an expected call of List.
func (*MockIBlockSignatureMockRecorder) Save ¶ added in v1.4.0
func (mr *MockIBlockSignatureMockRecorder) Save(ctx, m any) *MockIBlockSignatureSaveCall
Save indicates an expected call of Save.
func (*MockIBlockSignatureMockRecorder) Update ¶ added in v1.4.0
func (mr *MockIBlockSignatureMockRecorder) Update(ctx, m any) *MockIBlockSignatureUpdateCall
Update indicates an expected call of Update.
type MockIBlockSignatureSaveCall ¶ added in v1.9.9
MockIBlockSignatureSaveCall wrap *gomock.Call
func (*MockIBlockSignatureSaveCall) Do ¶ added in v1.9.9
func (c *MockIBlockSignatureSaveCall) Do(f func(context.Context, *storage.BlockSignature) error) *MockIBlockSignatureSaveCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockSignatureSaveCall) DoAndReturn(f func(context.Context, *storage.BlockSignature) error) *MockIBlockSignatureSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureSaveCall) Return ¶ added in v1.9.9
func (c *MockIBlockSignatureSaveCall) Return(arg0 error) *MockIBlockSignatureSaveCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureUpdateCall ¶ added in v1.9.9
MockIBlockSignatureUpdateCall wrap *gomock.Call
func (*MockIBlockSignatureUpdateCall) Do ¶ added in v1.9.9
func (c *MockIBlockSignatureUpdateCall) Do(f func(context.Context, *storage.BlockSignature) error) *MockIBlockSignatureUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockSignatureUpdateCall) DoAndReturn(f func(context.Context, *storage.BlockSignature) error) *MockIBlockSignatureUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureUpdateCall) Return ¶ added in v1.9.9
func (c *MockIBlockSignatureUpdateCall) Return(arg0 error) *MockIBlockSignatureUpdateCall
Return rewrite *gomock.Call.Return
type MockIBlockStats ¶
type MockIBlockStats struct {
// contains filtered or unexported fields
}
MockIBlockStats is a mock of IBlockStats interface.
func NewMockIBlockStats ¶
func NewMockIBlockStats(ctrl *gomock.Controller) *MockIBlockStats
NewMockIBlockStats creates a new mock instance.
func (*MockIBlockStats) ByHeight ¶
func (m *MockIBlockStats) ByHeight(ctx context.Context, height types.Level) (storage.BlockStats, error)
ByHeight mocks base method.
func (*MockIBlockStats) EXPECT ¶
func (m *MockIBlockStats) EXPECT() *MockIBlockStatsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIBlockStatsByHeightCall ¶ added in v1.9.9
MockIBlockStatsByHeightCall wrap *gomock.Call
func (*MockIBlockStatsByHeightCall) Do ¶ added in v1.9.9
func (c *MockIBlockStatsByHeightCall) Do(f func(context.Context, types.Level) (storage.BlockStats, error)) *MockIBlockStatsByHeightCall
Do rewrite *gomock.Call.Do
func (*MockIBlockStatsByHeightCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockStatsByHeightCall) DoAndReturn(f func(context.Context, types.Level) (storage.BlockStats, error)) *MockIBlockStatsByHeightCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockStatsByHeightCall) Return ¶ added in v1.9.9
func (c *MockIBlockStatsByHeightCall) Return(arg0 storage.BlockStats, arg1 error) *MockIBlockStatsByHeightCall
Return rewrite *gomock.Call.Return
type MockIBlockStatsLastFromCall ¶ added in v1.9.9
MockIBlockStatsLastFromCall wrap *gomock.Call
func (*MockIBlockStatsLastFromCall) Do ¶ added in v1.9.9
func (c *MockIBlockStatsLastFromCall) Do(f func(context.Context, types.Level, int) ([]storage.BlockStats, error)) *MockIBlockStatsLastFromCall
Do rewrite *gomock.Call.Do
func (*MockIBlockStatsLastFromCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockStatsLastFromCall) DoAndReturn(f func(context.Context, types.Level, int) ([]storage.BlockStats, error)) *MockIBlockStatsLastFromCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockStatsLastFromCall) Return ¶ added in v1.9.9
func (c *MockIBlockStatsLastFromCall) Return(arg0 []storage.BlockStats, arg1 error) *MockIBlockStatsLastFromCall
Return rewrite *gomock.Call.Return
type MockIBlockStatsMockRecorder ¶
type MockIBlockStatsMockRecorder struct {
// contains filtered or unexported fields
}
MockIBlockStatsMockRecorder is the mock recorder for MockIBlockStats.
func (*MockIBlockStatsMockRecorder) ByHeight ¶
func (mr *MockIBlockStatsMockRecorder) ByHeight(ctx, height any) *MockIBlockStatsByHeightCall
ByHeight indicates an expected call of ByHeight.
func (*MockIBlockStatsMockRecorder) LastFrom ¶ added in v1.1.0
func (mr *MockIBlockStatsMockRecorder) LastFrom(ctx, head, limit any) *MockIBlockStatsLastFromCall
LastFrom indicates an expected call of LastFrom.
type MockIBlockTimeCall ¶ added in v1.9.9
MockIBlockTimeCall wrap *gomock.Call
func (*MockIBlockTimeCall) Do ¶ added in v1.9.9
func (c *MockIBlockTimeCall) Do(f func(context.Context, types.Level) (time.Time, error)) *MockIBlockTimeCall
Do rewrite *gomock.Call.Do
func (*MockIBlockTimeCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockTimeCall) DoAndReturn(f func(context.Context, types.Level) (time.Time, error)) *MockIBlockTimeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockTimeCall) Return ¶ added in v1.9.9
func (c *MockIBlockTimeCall) Return(arg0 time.Time, arg1 error) *MockIBlockTimeCall
Return rewrite *gomock.Call.Return
type MockIBlockUpdateCall ¶ added in v1.9.9
MockIBlockUpdateCall wrap *gomock.Call
func (*MockIBlockUpdateCall) Do ¶ added in v1.9.9
func (c *MockIBlockUpdateCall) Do(f func(context.Context, *storage.Block) error) *MockIBlockUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIBlockUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIBlockUpdateCall) DoAndReturn(f func(context.Context, *storage.Block) error) *MockIBlockUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockUpdateCall) Return ¶ added in v1.9.9
func (c *MockIBlockUpdateCall) Return(arg0 error) *MockIBlockUpdateCall
Return rewrite *gomock.Call.Return
type MockIConstant ¶
type MockIConstant struct {
// contains filtered or unexported fields
}
MockIConstant is a mock of IConstant interface.
func NewMockIConstant ¶
func NewMockIConstant(ctrl *gomock.Controller) *MockIConstant
NewMockIConstant creates a new mock instance.
func (*MockIConstant) ByModule ¶
func (m *MockIConstant) ByModule(ctx context.Context, module types.ModuleName) ([]storage.Constant, error)
ByModule mocks base method.
func (*MockIConstant) EXPECT ¶
func (m *MockIConstant) EXPECT() *MockIConstantMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIConstantAllCall ¶ added in v1.9.9
MockIConstantAllCall wrap *gomock.Call
func (*MockIConstantAllCall) Do ¶ added in v1.9.9
func (c *MockIConstantAllCall) Do(f func(context.Context) ([]storage.Constant, error)) *MockIConstantAllCall
Do rewrite *gomock.Call.Do
func (*MockIConstantAllCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIConstantAllCall) DoAndReturn(f func(context.Context) ([]storage.Constant, error)) *MockIConstantAllCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIConstantAllCall) Return ¶ added in v1.9.9
func (c *MockIConstantAllCall) Return(arg0 []storage.Constant, arg1 error) *MockIConstantAllCall
Return rewrite *gomock.Call.Return
type MockIConstantByModuleCall ¶ added in v1.9.9
MockIConstantByModuleCall wrap *gomock.Call
func (*MockIConstantByModuleCall) Do ¶ added in v1.9.9
func (c *MockIConstantByModuleCall) Do(f func(context.Context, types.ModuleName) ([]storage.Constant, error)) *MockIConstantByModuleCall
Do rewrite *gomock.Call.Do
func (*MockIConstantByModuleCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIConstantByModuleCall) DoAndReturn(f func(context.Context, types.ModuleName) ([]storage.Constant, error)) *MockIConstantByModuleCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIConstantByModuleCall) Return ¶ added in v1.9.9
func (c *MockIConstantByModuleCall) Return(arg0 []storage.Constant, arg1 error) *MockIConstantByModuleCall
Return rewrite *gomock.Call.Return
type MockIConstantGetCall ¶ added in v1.9.9
MockIConstantGetCall wrap *gomock.Call
func (*MockIConstantGetCall) Do ¶ added in v1.9.9
func (c *MockIConstantGetCall) Do(f func(context.Context, types.ModuleName, string) (storage.Constant, error)) *MockIConstantGetCall
Do rewrite *gomock.Call.Do
func (*MockIConstantGetCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIConstantGetCall) DoAndReturn(f func(context.Context, types.ModuleName, string) (storage.Constant, error)) *MockIConstantGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIConstantGetCall) Return ¶ added in v1.9.9
func (c *MockIConstantGetCall) Return(arg0 storage.Constant, arg1 error) *MockIConstantGetCall
Return rewrite *gomock.Call.Return
type MockIConstantMockRecorder ¶
type MockIConstantMockRecorder struct {
// contains filtered or unexported fields
}
MockIConstantMockRecorder is the mock recorder for MockIConstant.
func (*MockIConstantMockRecorder) All ¶
func (mr *MockIConstantMockRecorder) All(ctx any) *MockIConstantAllCall
All indicates an expected call of All.
func (*MockIConstantMockRecorder) ByModule ¶
func (mr *MockIConstantMockRecorder) ByModule(ctx, module any) *MockIConstantByModuleCall
ByModule indicates an expected call of ByModule.
func (*MockIConstantMockRecorder) Get ¶
func (mr *MockIConstantMockRecorder) Get(ctx, module, name any) *MockIConstantGetCall
Get indicates an expected call of Get.
type MockIDelegation ¶ added in v1.6.0
type MockIDelegation struct {
// contains filtered or unexported fields
}
MockIDelegation is a mock of IDelegation interface.
func NewMockIDelegation ¶ added in v1.6.0
func NewMockIDelegation(ctrl *gomock.Controller) *MockIDelegation
NewMockIDelegation creates a new mock instance.
func (*MockIDelegation) ByAddress ¶ added in v1.6.0
func (m *MockIDelegation) ByAddress(ctx context.Context, addressId uint64, limit, offset int, showZero bool) ([]storage.Delegation, error)
ByAddress mocks base method.
func (*MockIDelegation) ByValidator ¶ added in v1.6.0
func (m *MockIDelegation) ByValidator(ctx context.Context, validatorId uint64, limit, offset int, showZero bool) ([]storage.Delegation, error)
ByValidator mocks base method.
func (*MockIDelegation) CursorList ¶ added in v1.6.0
func (m *MockIDelegation) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Delegation, error)
CursorList mocks base method.
func (*MockIDelegation) EXPECT ¶ added in v1.6.0
func (m *MockIDelegation) EXPECT() *MockIDelegationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIDelegation) GetByID ¶ added in v1.6.0
func (m *MockIDelegation) GetByID(ctx context.Context, id uint64) (*storage.Delegation, error)
GetByID mocks base method.
func (*MockIDelegation) IsNoRows ¶ added in v1.6.0
func (m *MockIDelegation) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIDelegation) LastID ¶ added in v1.6.0
func (m *MockIDelegation) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIDelegation) List ¶ added in v1.6.0
func (m *MockIDelegation) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Delegation, error)
List mocks base method.
func (*MockIDelegation) Save ¶ added in v1.6.0
func (m_2 *MockIDelegation) Save(ctx context.Context, m *storage.Delegation) error
Save mocks base method.
func (*MockIDelegation) Update ¶ added in v1.6.0
func (m_2 *MockIDelegation) Update(ctx context.Context, m *storage.Delegation) error
Update mocks base method.
type MockIDelegationByAddressCall ¶ added in v1.9.9
MockIDelegationByAddressCall wrap *gomock.Call
func (*MockIDelegationByAddressCall) Do ¶ added in v1.9.9
func (c *MockIDelegationByAddressCall) Do(f func(context.Context, uint64, int, int, bool) ([]storage.Delegation, error)) *MockIDelegationByAddressCall
Do rewrite *gomock.Call.Do
func (*MockIDelegationByAddressCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIDelegationByAddressCall) DoAndReturn(f func(context.Context, uint64, int, int, bool) ([]storage.Delegation, error)) *MockIDelegationByAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDelegationByAddressCall) Return ¶ added in v1.9.9
func (c *MockIDelegationByAddressCall) Return(arg0 []storage.Delegation, arg1 error) *MockIDelegationByAddressCall
Return rewrite *gomock.Call.Return
type MockIDelegationByValidatorCall ¶ added in v1.9.9
MockIDelegationByValidatorCall wrap *gomock.Call
func (*MockIDelegationByValidatorCall) Do ¶ added in v1.9.9
func (c *MockIDelegationByValidatorCall) Do(f func(context.Context, uint64, int, int, bool) ([]storage.Delegation, error)) *MockIDelegationByValidatorCall
Do rewrite *gomock.Call.Do
func (*MockIDelegationByValidatorCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIDelegationByValidatorCall) DoAndReturn(f func(context.Context, uint64, int, int, bool) ([]storage.Delegation, error)) *MockIDelegationByValidatorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDelegationByValidatorCall) Return ¶ added in v1.9.9
func (c *MockIDelegationByValidatorCall) Return(arg0 []storage.Delegation, arg1 error) *MockIDelegationByValidatorCall
Return rewrite *gomock.Call.Return
type MockIDelegationCursorListCall ¶ added in v1.9.9
MockIDelegationCursorListCall wrap *gomock.Call
func (*MockIDelegationCursorListCall) Do ¶ added in v1.9.9
func (c *MockIDelegationCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Delegation, error)) *MockIDelegationCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIDelegationCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIDelegationCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Delegation, error)) *MockIDelegationCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDelegationCursorListCall) Return ¶ added in v1.9.9
func (c *MockIDelegationCursorListCall) Return(arg0 []*storage.Delegation, arg1 error) *MockIDelegationCursorListCall
Return rewrite *gomock.Call.Return
type MockIDelegationGetByIDCall ¶ added in v1.9.9
MockIDelegationGetByIDCall wrap *gomock.Call
func (*MockIDelegationGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIDelegationGetByIDCall) Do(f func(context.Context, uint64) (*storage.Delegation, error)) *MockIDelegationGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIDelegationGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIDelegationGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Delegation, error)) *MockIDelegationGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDelegationGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIDelegationGetByIDCall) Return(arg0 *storage.Delegation, arg1 error) *MockIDelegationGetByIDCall
Return rewrite *gomock.Call.Return
type MockIDelegationIsNoRowsCall ¶ added in v1.9.9
MockIDelegationIsNoRowsCall wrap *gomock.Call
func (*MockIDelegationIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIDelegationIsNoRowsCall) Do(f func(error) bool) *MockIDelegationIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIDelegationIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIDelegationIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIDelegationIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDelegationIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIDelegationIsNoRowsCall) Return(arg0 bool) *MockIDelegationIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIDelegationLastIDCall ¶ added in v1.9.9
MockIDelegationLastIDCall wrap *gomock.Call
func (*MockIDelegationLastIDCall) Do ¶ added in v1.9.9
func (c *MockIDelegationLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIDelegationLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIDelegationLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIDelegationLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIDelegationLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDelegationLastIDCall) Return ¶ added in v1.9.9
func (c *MockIDelegationLastIDCall) Return(arg0 uint64, arg1 error) *MockIDelegationLastIDCall
Return rewrite *gomock.Call.Return
type MockIDelegationListCall ¶ added in v1.9.9
MockIDelegationListCall wrap *gomock.Call
func (*MockIDelegationListCall) Do ¶ added in v1.9.9
func (c *MockIDelegationListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Delegation, error)) *MockIDelegationListCall
Do rewrite *gomock.Call.Do
func (*MockIDelegationListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIDelegationListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Delegation, error)) *MockIDelegationListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDelegationListCall) Return ¶ added in v1.9.9
func (c *MockIDelegationListCall) Return(arg0 []*storage.Delegation, arg1 error) *MockIDelegationListCall
Return rewrite *gomock.Call.Return
type MockIDelegationMockRecorder ¶ added in v1.6.0
type MockIDelegationMockRecorder struct {
// contains filtered or unexported fields
}
MockIDelegationMockRecorder is the mock recorder for MockIDelegation.
func (*MockIDelegationMockRecorder) ByAddress ¶ added in v1.6.0
func (mr *MockIDelegationMockRecorder) ByAddress(ctx, addressId, limit, offset, showZero any) *MockIDelegationByAddressCall
ByAddress indicates an expected call of ByAddress.
func (*MockIDelegationMockRecorder) ByValidator ¶ added in v1.6.0
func (mr *MockIDelegationMockRecorder) ByValidator(ctx, validatorId, limit, offset, showZero any) *MockIDelegationByValidatorCall
ByValidator indicates an expected call of ByValidator.
func (*MockIDelegationMockRecorder) CursorList ¶ added in v1.6.0
func (mr *MockIDelegationMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIDelegationCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIDelegationMockRecorder) GetByID ¶ added in v1.6.0
func (mr *MockIDelegationMockRecorder) GetByID(ctx, id any) *MockIDelegationGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIDelegationMockRecorder) IsNoRows ¶ added in v1.6.0
func (mr *MockIDelegationMockRecorder) IsNoRows(err any) *MockIDelegationIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIDelegationMockRecorder) LastID ¶ added in v1.6.0
func (mr *MockIDelegationMockRecorder) LastID(ctx any) *MockIDelegationLastIDCall
LastID indicates an expected call of LastID.
func (*MockIDelegationMockRecorder) List ¶ added in v1.6.0
func (mr *MockIDelegationMockRecorder) List(ctx, limit, offset, order any) *MockIDelegationListCall
List indicates an expected call of List.
func (*MockIDelegationMockRecorder) Save ¶ added in v1.6.0
func (mr *MockIDelegationMockRecorder) Save(ctx, m any) *MockIDelegationSaveCall
Save indicates an expected call of Save.
func (*MockIDelegationMockRecorder) Update ¶ added in v1.6.0
func (mr *MockIDelegationMockRecorder) Update(ctx, m any) *MockIDelegationUpdateCall
Update indicates an expected call of Update.
type MockIDelegationSaveCall ¶ added in v1.9.9
MockIDelegationSaveCall wrap *gomock.Call
func (*MockIDelegationSaveCall) Do ¶ added in v1.9.9
func (c *MockIDelegationSaveCall) Do(f func(context.Context, *storage.Delegation) error) *MockIDelegationSaveCall
Do rewrite *gomock.Call.Do
func (*MockIDelegationSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIDelegationSaveCall) DoAndReturn(f func(context.Context, *storage.Delegation) error) *MockIDelegationSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDelegationSaveCall) Return ¶ added in v1.9.9
func (c *MockIDelegationSaveCall) Return(arg0 error) *MockIDelegationSaveCall
Return rewrite *gomock.Call.Return
type MockIDelegationUpdateCall ¶ added in v1.9.9
MockIDelegationUpdateCall wrap *gomock.Call
func (*MockIDelegationUpdateCall) Do ¶ added in v1.9.9
func (c *MockIDelegationUpdateCall) Do(f func(context.Context, *storage.Delegation) error) *MockIDelegationUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIDelegationUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIDelegationUpdateCall) DoAndReturn(f func(context.Context, *storage.Delegation) error) *MockIDelegationUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDelegationUpdateCall) Return ¶ added in v1.9.9
func (c *MockIDelegationUpdateCall) Return(arg0 error) *MockIDelegationUpdateCall
Return rewrite *gomock.Call.Return
type MockIDenomMetadata ¶
type MockIDenomMetadata struct {
// contains filtered or unexported fields
}
MockIDenomMetadata is a mock of IDenomMetadata interface.
func NewMockIDenomMetadata ¶
func NewMockIDenomMetadata(ctrl *gomock.Controller) *MockIDenomMetadata
NewMockIDenomMetadata creates a new mock instance.
func (*MockIDenomMetadata) All ¶
func (m *MockIDenomMetadata) All(ctx context.Context) ([]storage.DenomMetadata, error)
All mocks base method.
func (*MockIDenomMetadata) EXPECT ¶
func (m *MockIDenomMetadata) EXPECT() *MockIDenomMetadataMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIDenomMetadataAllCall ¶ added in v1.9.9
MockIDenomMetadataAllCall wrap *gomock.Call
func (*MockIDenomMetadataAllCall) Do ¶ added in v1.9.9
func (c *MockIDenomMetadataAllCall) Do(f func(context.Context) ([]storage.DenomMetadata, error)) *MockIDenomMetadataAllCall
Do rewrite *gomock.Call.Do
func (*MockIDenomMetadataAllCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIDenomMetadataAllCall) DoAndReturn(f func(context.Context) ([]storage.DenomMetadata, error)) *MockIDenomMetadataAllCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDenomMetadataAllCall) Return ¶ added in v1.9.9
func (c *MockIDenomMetadataAllCall) Return(arg0 []storage.DenomMetadata, arg1 error) *MockIDenomMetadataAllCall
Return rewrite *gomock.Call.Return
type MockIDenomMetadataMockRecorder ¶
type MockIDenomMetadataMockRecorder struct {
// contains filtered or unexported fields
}
MockIDenomMetadataMockRecorder is the mock recorder for MockIDenomMetadata.
func (*MockIDenomMetadataMockRecorder) All ¶
func (mr *MockIDenomMetadataMockRecorder) All(ctx any) *MockIDenomMetadataAllCall
All indicates an expected call of All.
type MockIEvent ¶
type MockIEvent struct {
// contains filtered or unexported fields
}
MockIEvent is a mock of IEvent interface.
func NewMockIEvent ¶
func NewMockIEvent(ctrl *gomock.Controller) *MockIEvent
NewMockIEvent creates a new mock instance.
func (*MockIEvent) ByBlock ¶
func (m *MockIEvent) ByBlock(ctx context.Context, height types.Level, fltrs storage.EventFilter) ([]storage.Event, error)
ByBlock mocks base method.
func (*MockIEvent) ByTxId ¶
func (m *MockIEvent) ByTxId(ctx context.Context, txId uint64, fltrs storage.EventFilter) ([]storage.Event, error)
ByTxId mocks base method.
func (*MockIEvent) CursorList ¶
func (m *MockIEvent) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Event, error)
CursorList mocks base method.
func (*MockIEvent) EXPECT ¶
func (m *MockIEvent) EXPECT() *MockIEventMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIEvent) IsNoRows ¶
func (m *MockIEvent) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIEvent) LastID ¶
func (m *MockIEvent) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIEvent) List ¶
func (m *MockIEvent) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Event, error)
List mocks base method.
type MockIEventByBlockCall ¶ added in v1.9.9
MockIEventByBlockCall wrap *gomock.Call
func (*MockIEventByBlockCall) Do ¶ added in v1.9.9
func (c *MockIEventByBlockCall) Do(f func(context.Context, types.Level, storage.EventFilter) ([]storage.Event, error)) *MockIEventByBlockCall
Do rewrite *gomock.Call.Do
func (*MockIEventByBlockCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIEventByBlockCall) DoAndReturn(f func(context.Context, types.Level, storage.EventFilter) ([]storage.Event, error)) *MockIEventByBlockCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIEventByBlockCall) Return ¶ added in v1.9.9
func (c *MockIEventByBlockCall) Return(arg0 []storage.Event, arg1 error) *MockIEventByBlockCall
Return rewrite *gomock.Call.Return
type MockIEventByTxIdCall ¶ added in v1.9.9
MockIEventByTxIdCall wrap *gomock.Call
func (*MockIEventByTxIdCall) Do ¶ added in v1.9.9
func (c *MockIEventByTxIdCall) Do(f func(context.Context, uint64, storage.EventFilter) ([]storage.Event, error)) *MockIEventByTxIdCall
Do rewrite *gomock.Call.Do
func (*MockIEventByTxIdCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIEventByTxIdCall) DoAndReturn(f func(context.Context, uint64, storage.EventFilter) ([]storage.Event, error)) *MockIEventByTxIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIEventByTxIdCall) Return ¶ added in v1.9.9
func (c *MockIEventByTxIdCall) Return(arg0 []storage.Event, arg1 error) *MockIEventByTxIdCall
Return rewrite *gomock.Call.Return
type MockIEventCursorListCall ¶ added in v1.9.9
MockIEventCursorListCall wrap *gomock.Call
func (*MockIEventCursorListCall) Do ¶ added in v1.9.9
func (c *MockIEventCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Event, error)) *MockIEventCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIEventCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIEventCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Event, error)) *MockIEventCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIEventCursorListCall) Return ¶ added in v1.9.9
func (c *MockIEventCursorListCall) Return(arg0 []*storage.Event, arg1 error) *MockIEventCursorListCall
Return rewrite *gomock.Call.Return
type MockIEventGetByIDCall ¶ added in v1.9.9
MockIEventGetByIDCall wrap *gomock.Call
func (*MockIEventGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIEventGetByIDCall) Do(f func(context.Context, uint64) (*storage.Event, error)) *MockIEventGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIEventGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIEventGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Event, error)) *MockIEventGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIEventGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIEventGetByIDCall) Return(arg0 *storage.Event, arg1 error) *MockIEventGetByIDCall
Return rewrite *gomock.Call.Return
type MockIEventIsNoRowsCall ¶ added in v1.9.9
MockIEventIsNoRowsCall wrap *gomock.Call
func (*MockIEventIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIEventIsNoRowsCall) Do(f func(error) bool) *MockIEventIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIEventIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIEventIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIEventIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIEventIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIEventIsNoRowsCall) Return(arg0 bool) *MockIEventIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIEventLastIDCall ¶ added in v1.9.9
MockIEventLastIDCall wrap *gomock.Call
func (*MockIEventLastIDCall) Do ¶ added in v1.9.9
func (c *MockIEventLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIEventLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIEventLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIEventLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIEventLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIEventLastIDCall) Return ¶ added in v1.9.9
func (c *MockIEventLastIDCall) Return(arg0 uint64, arg1 error) *MockIEventLastIDCall
Return rewrite *gomock.Call.Return
type MockIEventListCall ¶ added in v1.9.9
MockIEventListCall wrap *gomock.Call
func (*MockIEventListCall) Do ¶ added in v1.9.9
func (c *MockIEventListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Event, error)) *MockIEventListCall
Do rewrite *gomock.Call.Do
func (*MockIEventListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIEventListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Event, error)) *MockIEventListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIEventListCall) Return ¶ added in v1.9.9
func (c *MockIEventListCall) Return(arg0 []*storage.Event, arg1 error) *MockIEventListCall
Return rewrite *gomock.Call.Return
type MockIEventMockRecorder ¶
type MockIEventMockRecorder struct {
// contains filtered or unexported fields
}
MockIEventMockRecorder is the mock recorder for MockIEvent.
func (*MockIEventMockRecorder) ByBlock ¶
func (mr *MockIEventMockRecorder) ByBlock(ctx, height, fltrs any) *MockIEventByBlockCall
ByBlock indicates an expected call of ByBlock.
func (*MockIEventMockRecorder) ByTxId ¶
func (mr *MockIEventMockRecorder) ByTxId(ctx, txId, fltrs any) *MockIEventByTxIdCall
ByTxId indicates an expected call of ByTxId.
func (*MockIEventMockRecorder) CursorList ¶
func (mr *MockIEventMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIEventCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIEventMockRecorder) GetByID ¶
func (mr *MockIEventMockRecorder) GetByID(ctx, id any) *MockIEventGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIEventMockRecorder) IsNoRows ¶
func (mr *MockIEventMockRecorder) IsNoRows(err any) *MockIEventIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIEventMockRecorder) LastID ¶
func (mr *MockIEventMockRecorder) LastID(ctx any) *MockIEventLastIDCall
LastID indicates an expected call of LastID.
func (*MockIEventMockRecorder) List ¶
func (mr *MockIEventMockRecorder) List(ctx, limit, offset, order any) *MockIEventListCall
List indicates an expected call of List.
func (*MockIEventMockRecorder) Save ¶
func (mr *MockIEventMockRecorder) Save(ctx, m any) *MockIEventSaveCall
Save indicates an expected call of Save.
func (*MockIEventMockRecorder) Update ¶
func (mr *MockIEventMockRecorder) Update(ctx, m any) *MockIEventUpdateCall
Update indicates an expected call of Update.
type MockIEventSaveCall ¶ added in v1.9.9
MockIEventSaveCall wrap *gomock.Call
func (*MockIEventSaveCall) Do ¶ added in v1.9.9
func (c *MockIEventSaveCall) Do(f func(context.Context, *storage.Event) error) *MockIEventSaveCall
Do rewrite *gomock.Call.Do
func (*MockIEventSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIEventSaveCall) DoAndReturn(f func(context.Context, *storage.Event) error) *MockIEventSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIEventSaveCall) Return ¶ added in v1.9.9
func (c *MockIEventSaveCall) Return(arg0 error) *MockIEventSaveCall
Return rewrite *gomock.Call.Return
type MockIEventUpdateCall ¶ added in v1.9.9
MockIEventUpdateCall wrap *gomock.Call
func (*MockIEventUpdateCall) Do ¶ added in v1.9.9
func (c *MockIEventUpdateCall) Do(f func(context.Context, *storage.Event) error) *MockIEventUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIEventUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIEventUpdateCall) DoAndReturn(f func(context.Context, *storage.Event) error) *MockIEventUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIEventUpdateCall) Return ¶ added in v1.9.9
func (c *MockIEventUpdateCall) Return(arg0 error) *MockIEventUpdateCall
Return rewrite *gomock.Call.Return
type MockIGrant ¶ added in v1.7.0
type MockIGrant struct {
// contains filtered or unexported fields
}
MockIGrant is a mock of IGrant interface.
func NewMockIGrant ¶ added in v1.7.0
func NewMockIGrant(ctrl *gomock.Controller) *MockIGrant
NewMockIGrant creates a new mock instance.
func (*MockIGrant) ByGrantee ¶ added in v1.7.0
func (m *MockIGrant) ByGrantee(ctx context.Context, id uint64, limit, offset int) ([]storage.Grant, error)
ByGrantee mocks base method.
func (*MockIGrant) ByGranter ¶ added in v1.7.0
func (m *MockIGrant) ByGranter(ctx context.Context, id uint64, limit, offset int) ([]storage.Grant, error)
ByGranter mocks base method.
func (*MockIGrant) CursorList ¶ added in v1.7.0
func (m *MockIGrant) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Grant, error)
CursorList mocks base method.
func (*MockIGrant) EXPECT ¶ added in v1.7.0
func (m *MockIGrant) EXPECT() *MockIGrantMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIGrant) IsNoRows ¶ added in v1.7.0
func (m *MockIGrant) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIGrant) LastID ¶ added in v1.7.0
func (m *MockIGrant) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIGrant) List ¶ added in v1.7.0
func (m *MockIGrant) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Grant, error)
List mocks base method.
type MockIGrantByGranteeCall ¶ added in v1.9.9
MockIGrantByGranteeCall wrap *gomock.Call
func (*MockIGrantByGranteeCall) Do ¶ added in v1.9.9
func (c *MockIGrantByGranteeCall) Do(f func(context.Context, uint64, int, int) ([]storage.Grant, error)) *MockIGrantByGranteeCall
Do rewrite *gomock.Call.Do
func (*MockIGrantByGranteeCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIGrantByGranteeCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Grant, error)) *MockIGrantByGranteeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIGrantByGranteeCall) Return ¶ added in v1.9.9
func (c *MockIGrantByGranteeCall) Return(arg0 []storage.Grant, arg1 error) *MockIGrantByGranteeCall
Return rewrite *gomock.Call.Return
type MockIGrantByGranterCall ¶ added in v1.9.9
MockIGrantByGranterCall wrap *gomock.Call
func (*MockIGrantByGranterCall) Do ¶ added in v1.9.9
func (c *MockIGrantByGranterCall) Do(f func(context.Context, uint64, int, int) ([]storage.Grant, error)) *MockIGrantByGranterCall
Do rewrite *gomock.Call.Do
func (*MockIGrantByGranterCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIGrantByGranterCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Grant, error)) *MockIGrantByGranterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIGrantByGranterCall) Return ¶ added in v1.9.9
func (c *MockIGrantByGranterCall) Return(arg0 []storage.Grant, arg1 error) *MockIGrantByGranterCall
Return rewrite *gomock.Call.Return
type MockIGrantCursorListCall ¶ added in v1.9.9
MockIGrantCursorListCall wrap *gomock.Call
func (*MockIGrantCursorListCall) Do ¶ added in v1.9.9
func (c *MockIGrantCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Grant, error)) *MockIGrantCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIGrantCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIGrantCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Grant, error)) *MockIGrantCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIGrantCursorListCall) Return ¶ added in v1.9.9
func (c *MockIGrantCursorListCall) Return(arg0 []*storage.Grant, arg1 error) *MockIGrantCursorListCall
Return rewrite *gomock.Call.Return
type MockIGrantGetByIDCall ¶ added in v1.9.9
MockIGrantGetByIDCall wrap *gomock.Call
func (*MockIGrantGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIGrantGetByIDCall) Do(f func(context.Context, uint64) (*storage.Grant, error)) *MockIGrantGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIGrantGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIGrantGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Grant, error)) *MockIGrantGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIGrantGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIGrantGetByIDCall) Return(arg0 *storage.Grant, arg1 error) *MockIGrantGetByIDCall
Return rewrite *gomock.Call.Return
type MockIGrantIsNoRowsCall ¶ added in v1.9.9
MockIGrantIsNoRowsCall wrap *gomock.Call
func (*MockIGrantIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIGrantIsNoRowsCall) Do(f func(error) bool) *MockIGrantIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIGrantIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIGrantIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIGrantIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIGrantIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIGrantIsNoRowsCall) Return(arg0 bool) *MockIGrantIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIGrantLastIDCall ¶ added in v1.9.9
MockIGrantLastIDCall wrap *gomock.Call
func (*MockIGrantLastIDCall) Do ¶ added in v1.9.9
func (c *MockIGrantLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIGrantLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIGrantLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIGrantLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIGrantLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIGrantLastIDCall) Return ¶ added in v1.9.9
func (c *MockIGrantLastIDCall) Return(arg0 uint64, arg1 error) *MockIGrantLastIDCall
Return rewrite *gomock.Call.Return
type MockIGrantListCall ¶ added in v1.9.9
MockIGrantListCall wrap *gomock.Call
func (*MockIGrantListCall) Do ¶ added in v1.9.9
func (c *MockIGrantListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Grant, error)) *MockIGrantListCall
Do rewrite *gomock.Call.Do
func (*MockIGrantListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIGrantListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Grant, error)) *MockIGrantListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIGrantListCall) Return ¶ added in v1.9.9
func (c *MockIGrantListCall) Return(arg0 []*storage.Grant, arg1 error) *MockIGrantListCall
Return rewrite *gomock.Call.Return
type MockIGrantMockRecorder ¶ added in v1.7.0
type MockIGrantMockRecorder struct {
// contains filtered or unexported fields
}
MockIGrantMockRecorder is the mock recorder for MockIGrant.
func (*MockIGrantMockRecorder) ByGrantee ¶ added in v1.7.0
func (mr *MockIGrantMockRecorder) ByGrantee(ctx, id, limit, offset any) *MockIGrantByGranteeCall
ByGrantee indicates an expected call of ByGrantee.
func (*MockIGrantMockRecorder) ByGranter ¶ added in v1.7.0
func (mr *MockIGrantMockRecorder) ByGranter(ctx, id, limit, offset any) *MockIGrantByGranterCall
ByGranter indicates an expected call of ByGranter.
func (*MockIGrantMockRecorder) CursorList ¶ added in v1.7.0
func (mr *MockIGrantMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIGrantCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIGrantMockRecorder) GetByID ¶ added in v1.7.0
func (mr *MockIGrantMockRecorder) GetByID(ctx, id any) *MockIGrantGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIGrantMockRecorder) IsNoRows ¶ added in v1.7.0
func (mr *MockIGrantMockRecorder) IsNoRows(err any) *MockIGrantIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIGrantMockRecorder) LastID ¶ added in v1.7.0
func (mr *MockIGrantMockRecorder) LastID(ctx any) *MockIGrantLastIDCall
LastID indicates an expected call of LastID.
func (*MockIGrantMockRecorder) List ¶ added in v1.7.0
func (mr *MockIGrantMockRecorder) List(ctx, limit, offset, order any) *MockIGrantListCall
List indicates an expected call of List.
func (*MockIGrantMockRecorder) Save ¶ added in v1.7.0
func (mr *MockIGrantMockRecorder) Save(ctx, m any) *MockIGrantSaveCall
Save indicates an expected call of Save.
func (*MockIGrantMockRecorder) Update ¶ added in v1.7.0
func (mr *MockIGrantMockRecorder) Update(ctx, m any) *MockIGrantUpdateCall
Update indicates an expected call of Update.
type MockIGrantSaveCall ¶ added in v1.9.9
MockIGrantSaveCall wrap *gomock.Call
func (*MockIGrantSaveCall) Do ¶ added in v1.9.9
func (c *MockIGrantSaveCall) Do(f func(context.Context, *storage.Grant) error) *MockIGrantSaveCall
Do rewrite *gomock.Call.Do
func (*MockIGrantSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIGrantSaveCall) DoAndReturn(f func(context.Context, *storage.Grant) error) *MockIGrantSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIGrantSaveCall) Return ¶ added in v1.9.9
func (c *MockIGrantSaveCall) Return(arg0 error) *MockIGrantSaveCall
Return rewrite *gomock.Call.Return
type MockIGrantUpdateCall ¶ added in v1.9.9
MockIGrantUpdateCall wrap *gomock.Call
func (*MockIGrantUpdateCall) Do ¶ added in v1.9.9
func (c *MockIGrantUpdateCall) Do(f func(context.Context, *storage.Grant) error) *MockIGrantUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIGrantUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIGrantUpdateCall) DoAndReturn(f func(context.Context, *storage.Grant) error) *MockIGrantUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIGrantUpdateCall) Return ¶ added in v1.9.9
func (c *MockIGrantUpdateCall) Return(arg0 error) *MockIGrantUpdateCall
Return rewrite *gomock.Call.Return
type MockIJail ¶ added in v1.6.0
type MockIJail struct {
// contains filtered or unexported fields
}
MockIJail is a mock of IJail interface.
func NewMockIJail ¶ added in v1.6.0
func NewMockIJail(ctrl *gomock.Controller) *MockIJail
NewMockIJail creates a new mock instance.
func (*MockIJail) ByValidator ¶ added in v1.6.0
func (m *MockIJail) ByValidator(ctx context.Context, id uint64, limit, offset int) ([]storage.Jail, error)
ByValidator mocks base method.
func (*MockIJail) CursorList ¶ added in v1.6.0
func (m *MockIJail) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Jail, error)
CursorList mocks base method.
func (*MockIJail) EXPECT ¶ added in v1.6.0
func (m *MockIJail) EXPECT() *MockIJailMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIJail) List ¶ added in v1.6.0
func (m *MockIJail) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Jail, error)
List mocks base method.
type MockIJailByValidatorCall ¶ added in v1.9.9
MockIJailByValidatorCall wrap *gomock.Call
func (*MockIJailByValidatorCall) Do ¶ added in v1.9.9
func (c *MockIJailByValidatorCall) Do(f func(context.Context, uint64, int, int) ([]storage.Jail, error)) *MockIJailByValidatorCall
Do rewrite *gomock.Call.Do
func (*MockIJailByValidatorCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIJailByValidatorCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Jail, error)) *MockIJailByValidatorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIJailByValidatorCall) Return ¶ added in v1.9.9
func (c *MockIJailByValidatorCall) Return(arg0 []storage.Jail, arg1 error) *MockIJailByValidatorCall
Return rewrite *gomock.Call.Return
type MockIJailCursorListCall ¶ added in v1.9.9
MockIJailCursorListCall wrap *gomock.Call
func (*MockIJailCursorListCall) Do ¶ added in v1.9.9
func (c *MockIJailCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Jail, error)) *MockIJailCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIJailCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIJailCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Jail, error)) *MockIJailCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIJailCursorListCall) Return ¶ added in v1.9.9
func (c *MockIJailCursorListCall) Return(arg0 []*storage.Jail, arg1 error) *MockIJailCursorListCall
Return rewrite *gomock.Call.Return
type MockIJailGetByIDCall ¶ added in v1.9.9
MockIJailGetByIDCall wrap *gomock.Call
func (*MockIJailGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIJailGetByIDCall) Do(f func(context.Context, uint64) (*storage.Jail, error)) *MockIJailGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIJailGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIJailGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Jail, error)) *MockIJailGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIJailGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIJailGetByIDCall) Return(arg0 *storage.Jail, arg1 error) *MockIJailGetByIDCall
Return rewrite *gomock.Call.Return
type MockIJailIsNoRowsCall ¶ added in v1.9.9
MockIJailIsNoRowsCall wrap *gomock.Call
func (*MockIJailIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIJailIsNoRowsCall) Do(f func(error) bool) *MockIJailIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIJailIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIJailIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIJailIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIJailIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIJailIsNoRowsCall) Return(arg0 bool) *MockIJailIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIJailLastIDCall ¶ added in v1.9.9
MockIJailLastIDCall wrap *gomock.Call
func (*MockIJailLastIDCall) Do ¶ added in v1.9.9
func (c *MockIJailLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIJailLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIJailLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIJailLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIJailLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIJailLastIDCall) Return ¶ added in v1.9.9
func (c *MockIJailLastIDCall) Return(arg0 uint64, arg1 error) *MockIJailLastIDCall
Return rewrite *gomock.Call.Return
type MockIJailListCall ¶ added in v1.9.9
MockIJailListCall wrap *gomock.Call
func (*MockIJailListCall) Do ¶ added in v1.9.9
func (c *MockIJailListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Jail, error)) *MockIJailListCall
Do rewrite *gomock.Call.Do
func (*MockIJailListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIJailListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Jail, error)) *MockIJailListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIJailListCall) Return ¶ added in v1.9.9
func (c *MockIJailListCall) Return(arg0 []*storage.Jail, arg1 error) *MockIJailListCall
Return rewrite *gomock.Call.Return
type MockIJailMockRecorder ¶ added in v1.6.0
type MockIJailMockRecorder struct {
// contains filtered or unexported fields
}
MockIJailMockRecorder is the mock recorder for MockIJail.
func (*MockIJailMockRecorder) ByValidator ¶ added in v1.6.0
func (mr *MockIJailMockRecorder) ByValidator(ctx, id, limit, offset any) *MockIJailByValidatorCall
ByValidator indicates an expected call of ByValidator.
func (*MockIJailMockRecorder) CursorList ¶ added in v1.6.0
func (mr *MockIJailMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIJailCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIJailMockRecorder) GetByID ¶ added in v1.6.0
func (mr *MockIJailMockRecorder) GetByID(ctx, id any) *MockIJailGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIJailMockRecorder) IsNoRows ¶ added in v1.6.0
func (mr *MockIJailMockRecorder) IsNoRows(err any) *MockIJailIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIJailMockRecorder) LastID ¶ added in v1.6.0
func (mr *MockIJailMockRecorder) LastID(ctx any) *MockIJailLastIDCall
LastID indicates an expected call of LastID.
func (*MockIJailMockRecorder) List ¶ added in v1.6.0
func (mr *MockIJailMockRecorder) List(ctx, limit, offset, order any) *MockIJailListCall
List indicates an expected call of List.
func (*MockIJailMockRecorder) Save ¶ added in v1.6.0
func (mr *MockIJailMockRecorder) Save(ctx, m any) *MockIJailSaveCall
Save indicates an expected call of Save.
func (*MockIJailMockRecorder) Update ¶ added in v1.6.0
func (mr *MockIJailMockRecorder) Update(ctx, m any) *MockIJailUpdateCall
Update indicates an expected call of Update.
type MockIJailSaveCall ¶ added in v1.9.9
MockIJailSaveCall wrap *gomock.Call
func (*MockIJailSaveCall) Do ¶ added in v1.9.9
func (c *MockIJailSaveCall) Do(f func(context.Context, *storage.Jail) error) *MockIJailSaveCall
Do rewrite *gomock.Call.Do
func (*MockIJailSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIJailSaveCall) DoAndReturn(f func(context.Context, *storage.Jail) error) *MockIJailSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIJailSaveCall) Return ¶ added in v1.9.9
func (c *MockIJailSaveCall) Return(arg0 error) *MockIJailSaveCall
Return rewrite *gomock.Call.Return
type MockIJailUpdateCall ¶ added in v1.9.9
MockIJailUpdateCall wrap *gomock.Call
func (*MockIJailUpdateCall) Do ¶ added in v1.9.9
func (c *MockIJailUpdateCall) Do(f func(context.Context, *storage.Jail) error) *MockIJailUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIJailUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIJailUpdateCall) DoAndReturn(f func(context.Context, *storage.Jail) error) *MockIJailUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIJailUpdateCall) Return ¶ added in v1.9.9
func (c *MockIJailUpdateCall) Return(arg0 error) *MockIJailUpdateCall
Return rewrite *gomock.Call.Return
type MockIMessage ¶
type MockIMessage struct {
// contains filtered or unexported fields
}
MockIMessage is a mock of IMessage interface.
func NewMockIMessage ¶
func NewMockIMessage(ctrl *gomock.Controller) *MockIMessage
NewMockIMessage creates a new mock instance.
func (*MockIMessage) ByAddress ¶ added in v1.2.0
func (m *MockIMessage) ByAddress(ctx context.Context, id uint64, filters storage.AddressMsgsFilter) ([]storage.AddressMessageWithTx, error)
ByAddress mocks base method.
func (*MockIMessage) ByTxId ¶
func (m *MockIMessage) ByTxId(ctx context.Context, txId uint64, limit, offset int) ([]storage.Message, error)
ByTxId mocks base method.
func (*MockIMessage) CursorList ¶
func (m *MockIMessage) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Message, error)
CursorList mocks base method.
func (*MockIMessage) EXPECT ¶
func (m *MockIMessage) EXPECT() *MockIMessageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIMessage) IsNoRows ¶
func (m *MockIMessage) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIMessage) LastID ¶
func (m *MockIMessage) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIMessage) List ¶
func (m *MockIMessage) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Message, error)
List mocks base method.
func (*MockIMessage) ListWithTx ¶ added in v1.0.4
func (m *MockIMessage) ListWithTx(ctx context.Context, filters storage.MessageListWithTxFilters) ([]storage.MessageWithTx, error)
ListWithTx mocks base method.
type MockIMessageByAddressCall ¶ added in v1.9.9
MockIMessageByAddressCall wrap *gomock.Call
func (*MockIMessageByAddressCall) Do ¶ added in v1.9.9
func (c *MockIMessageByAddressCall) Do(f func(context.Context, uint64, storage.AddressMsgsFilter) ([]storage.AddressMessageWithTx, error)) *MockIMessageByAddressCall
Do rewrite *gomock.Call.Do
func (*MockIMessageByAddressCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIMessageByAddressCall) DoAndReturn(f func(context.Context, uint64, storage.AddressMsgsFilter) ([]storage.AddressMessageWithTx, error)) *MockIMessageByAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIMessageByAddressCall) Return ¶ added in v1.9.9
func (c *MockIMessageByAddressCall) Return(arg0 []storage.AddressMessageWithTx, arg1 error) *MockIMessageByAddressCall
Return rewrite *gomock.Call.Return
type MockIMessageByTxIdCall ¶ added in v1.9.9
MockIMessageByTxIdCall wrap *gomock.Call
func (*MockIMessageByTxIdCall) Do ¶ added in v1.9.9
func (c *MockIMessageByTxIdCall) Do(f func(context.Context, uint64, int, int) ([]storage.Message, error)) *MockIMessageByTxIdCall
Do rewrite *gomock.Call.Do
func (*MockIMessageByTxIdCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIMessageByTxIdCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Message, error)) *MockIMessageByTxIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIMessageByTxIdCall) Return ¶ added in v1.9.9
func (c *MockIMessageByTxIdCall) Return(arg0 []storage.Message, arg1 error) *MockIMessageByTxIdCall
Return rewrite *gomock.Call.Return
type MockIMessageCursorListCall ¶ added in v1.9.9
MockIMessageCursorListCall wrap *gomock.Call
func (*MockIMessageCursorListCall) Do ¶ added in v1.9.9
func (c *MockIMessageCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Message, error)) *MockIMessageCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIMessageCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIMessageCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Message, error)) *MockIMessageCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIMessageCursorListCall) Return ¶ added in v1.9.9
func (c *MockIMessageCursorListCall) Return(arg0 []*storage.Message, arg1 error) *MockIMessageCursorListCall
Return rewrite *gomock.Call.Return
type MockIMessageGetByIDCall ¶ added in v1.9.9
MockIMessageGetByIDCall wrap *gomock.Call
func (*MockIMessageGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIMessageGetByIDCall) Do(f func(context.Context, uint64) (*storage.Message, error)) *MockIMessageGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIMessageGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIMessageGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Message, error)) *MockIMessageGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIMessageGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIMessageGetByIDCall) Return(arg0 *storage.Message, arg1 error) *MockIMessageGetByIDCall
Return rewrite *gomock.Call.Return
type MockIMessageIsNoRowsCall ¶ added in v1.9.9
MockIMessageIsNoRowsCall wrap *gomock.Call
func (*MockIMessageIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIMessageIsNoRowsCall) Do(f func(error) bool) *MockIMessageIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIMessageIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIMessageIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIMessageIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIMessageIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIMessageIsNoRowsCall) Return(arg0 bool) *MockIMessageIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIMessageLastIDCall ¶ added in v1.9.9
MockIMessageLastIDCall wrap *gomock.Call
func (*MockIMessageLastIDCall) Do ¶ added in v1.9.9
func (c *MockIMessageLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIMessageLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIMessageLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIMessageLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIMessageLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIMessageLastIDCall) Return ¶ added in v1.9.9
func (c *MockIMessageLastIDCall) Return(arg0 uint64, arg1 error) *MockIMessageLastIDCall
Return rewrite *gomock.Call.Return
type MockIMessageListCall ¶ added in v1.9.9
MockIMessageListCall wrap *gomock.Call
func (*MockIMessageListCall) Do ¶ added in v1.9.9
func (c *MockIMessageListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Message, error)) *MockIMessageListCall
Do rewrite *gomock.Call.Do
func (*MockIMessageListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIMessageListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Message, error)) *MockIMessageListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIMessageListCall) Return ¶ added in v1.9.9
func (c *MockIMessageListCall) Return(arg0 []*storage.Message, arg1 error) *MockIMessageListCall
Return rewrite *gomock.Call.Return
type MockIMessageListWithTxCall ¶ added in v1.9.9
MockIMessageListWithTxCall wrap *gomock.Call
func (*MockIMessageListWithTxCall) Do ¶ added in v1.9.9
func (c *MockIMessageListWithTxCall) Do(f func(context.Context, storage.MessageListWithTxFilters) ([]storage.MessageWithTx, error)) *MockIMessageListWithTxCall
Do rewrite *gomock.Call.Do
func (*MockIMessageListWithTxCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIMessageListWithTxCall) DoAndReturn(f func(context.Context, storage.MessageListWithTxFilters) ([]storage.MessageWithTx, error)) *MockIMessageListWithTxCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIMessageListWithTxCall) Return ¶ added in v1.9.9
func (c *MockIMessageListWithTxCall) Return(arg0 []storage.MessageWithTx, arg1 error) *MockIMessageListWithTxCall
Return rewrite *gomock.Call.Return
type MockIMessageMockRecorder ¶
type MockIMessageMockRecorder struct {
// contains filtered or unexported fields
}
MockIMessageMockRecorder is the mock recorder for MockIMessage.
func (*MockIMessageMockRecorder) ByAddress ¶ added in v1.2.0
func (mr *MockIMessageMockRecorder) ByAddress(ctx, id, filters any) *MockIMessageByAddressCall
ByAddress indicates an expected call of ByAddress.
func (*MockIMessageMockRecorder) ByTxId ¶
func (mr *MockIMessageMockRecorder) ByTxId(ctx, txId, limit, offset any) *MockIMessageByTxIdCall
ByTxId indicates an expected call of ByTxId.
func (*MockIMessageMockRecorder) CursorList ¶
func (mr *MockIMessageMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIMessageCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIMessageMockRecorder) GetByID ¶
func (mr *MockIMessageMockRecorder) GetByID(ctx, id any) *MockIMessageGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIMessageMockRecorder) IsNoRows ¶
func (mr *MockIMessageMockRecorder) IsNoRows(err any) *MockIMessageIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIMessageMockRecorder) LastID ¶
func (mr *MockIMessageMockRecorder) LastID(ctx any) *MockIMessageLastIDCall
LastID indicates an expected call of LastID.
func (*MockIMessageMockRecorder) List ¶
func (mr *MockIMessageMockRecorder) List(ctx, limit, offset, order any) *MockIMessageListCall
List indicates an expected call of List.
func (*MockIMessageMockRecorder) ListWithTx ¶ added in v1.0.4
func (mr *MockIMessageMockRecorder) ListWithTx(ctx, filters any) *MockIMessageListWithTxCall
ListWithTx indicates an expected call of ListWithTx.
func (*MockIMessageMockRecorder) Save ¶
func (mr *MockIMessageMockRecorder) Save(ctx, m any) *MockIMessageSaveCall
Save indicates an expected call of Save.
func (*MockIMessageMockRecorder) Update ¶
func (mr *MockIMessageMockRecorder) Update(ctx, m any) *MockIMessageUpdateCall
Update indicates an expected call of Update.
type MockIMessageSaveCall ¶ added in v1.9.9
MockIMessageSaveCall wrap *gomock.Call
func (*MockIMessageSaveCall) Do ¶ added in v1.9.9
func (c *MockIMessageSaveCall) Do(f func(context.Context, *storage.Message) error) *MockIMessageSaveCall
Do rewrite *gomock.Call.Do
func (*MockIMessageSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIMessageSaveCall) DoAndReturn(f func(context.Context, *storage.Message) error) *MockIMessageSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIMessageSaveCall) Return ¶ added in v1.9.9
func (c *MockIMessageSaveCall) Return(arg0 error) *MockIMessageSaveCall
Return rewrite *gomock.Call.Return
type MockIMessageUpdateCall ¶ added in v1.9.9
MockIMessageUpdateCall wrap *gomock.Call
func (*MockIMessageUpdateCall) Do ¶ added in v1.9.9
func (c *MockIMessageUpdateCall) Do(f func(context.Context, *storage.Message) error) *MockIMessageUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIMessageUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIMessageUpdateCall) DoAndReturn(f func(context.Context, *storage.Message) error) *MockIMessageUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIMessageUpdateCall) Return ¶ added in v1.9.9
func (c *MockIMessageUpdateCall) Return(arg0 error) *MockIMessageUpdateCall
Return rewrite *gomock.Call.Return
type MockINamespace ¶
type MockINamespace struct {
// contains filtered or unexported fields
}
MockINamespace is a mock of INamespace interface.
func NewMockINamespace ¶
func NewMockINamespace(ctrl *gomock.Controller) *MockINamespace
NewMockINamespace creates a new mock instance.
func (*MockINamespace) ByNamespaceId ¶
func (m *MockINamespace) ByNamespaceId(ctx context.Context, namespaceId []byte) ([]storage.Namespace, error)
ByNamespaceId mocks base method.
func (*MockINamespace) ByNamespaceIdAndVersion ¶
func (m *MockINamespace) ByNamespaceIdAndVersion(ctx context.Context, namespaceId []byte, version byte) (storage.Namespace, error)
ByNamespaceIdAndVersion mocks base method.
func (*MockINamespace) CursorList ¶
func (m *MockINamespace) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Namespace, error)
CursorList mocks base method.
func (*MockINamespace) EXPECT ¶
func (m *MockINamespace) EXPECT() *MockINamespaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockINamespace) IsNoRows ¶
func (m *MockINamespace) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockINamespace) LastID ¶
func (m *MockINamespace) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockINamespace) List ¶
func (m *MockINamespace) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Namespace, error)
List mocks base method.
func (*MockINamespace) ListWithSort ¶ added in v1.1.2
func (m *MockINamespace) ListWithSort(ctx context.Context, sortField string, sort storage0.SortOrder, limit, offset int) ([]storage.Namespace, error)
ListWithSort mocks base method.
func (*MockINamespace) Messages ¶
func (m *MockINamespace) Messages(ctx context.Context, id uint64, limit, offset int) ([]storage.NamespaceMessage, error)
Messages mocks base method.
type MockINamespaceByNamespaceIdAndVersionCall ¶ added in v1.9.9
MockINamespaceByNamespaceIdAndVersionCall wrap *gomock.Call
func (*MockINamespaceByNamespaceIdAndVersionCall) Do ¶ added in v1.9.9
func (c *MockINamespaceByNamespaceIdAndVersionCall) Do(f func(context.Context, []byte, byte) (storage.Namespace, error)) *MockINamespaceByNamespaceIdAndVersionCall
Do rewrite *gomock.Call.Do
func (*MockINamespaceByNamespaceIdAndVersionCall) DoAndReturn ¶ added in v1.9.9
func (c *MockINamespaceByNamespaceIdAndVersionCall) DoAndReturn(f func(context.Context, []byte, byte) (storage.Namespace, error)) *MockINamespaceByNamespaceIdAndVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockINamespaceByNamespaceIdAndVersionCall) Return ¶ added in v1.9.9
func (c *MockINamespaceByNamespaceIdAndVersionCall) Return(arg0 storage.Namespace, arg1 error) *MockINamespaceByNamespaceIdAndVersionCall
Return rewrite *gomock.Call.Return
type MockINamespaceByNamespaceIdCall ¶ added in v1.9.9
MockINamespaceByNamespaceIdCall wrap *gomock.Call
func (*MockINamespaceByNamespaceIdCall) Do ¶ added in v1.9.9
func (c *MockINamespaceByNamespaceIdCall) Do(f func(context.Context, []byte) ([]storage.Namespace, error)) *MockINamespaceByNamespaceIdCall
Do rewrite *gomock.Call.Do
func (*MockINamespaceByNamespaceIdCall) DoAndReturn ¶ added in v1.9.9
func (c *MockINamespaceByNamespaceIdCall) DoAndReturn(f func(context.Context, []byte) ([]storage.Namespace, error)) *MockINamespaceByNamespaceIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockINamespaceByNamespaceIdCall) Return ¶ added in v1.9.9
func (c *MockINamespaceByNamespaceIdCall) Return(arg0 []storage.Namespace, arg1 error) *MockINamespaceByNamespaceIdCall
Return rewrite *gomock.Call.Return
type MockINamespaceCursorListCall ¶ added in v1.9.9
MockINamespaceCursorListCall wrap *gomock.Call
func (*MockINamespaceCursorListCall) Do ¶ added in v1.9.9
func (c *MockINamespaceCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Namespace, error)) *MockINamespaceCursorListCall
Do rewrite *gomock.Call.Do
func (*MockINamespaceCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockINamespaceCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Namespace, error)) *MockINamespaceCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockINamespaceCursorListCall) Return ¶ added in v1.9.9
func (c *MockINamespaceCursorListCall) Return(arg0 []*storage.Namespace, arg1 error) *MockINamespaceCursorListCall
Return rewrite *gomock.Call.Return
type MockINamespaceGetByIDCall ¶ added in v1.9.9
MockINamespaceGetByIDCall wrap *gomock.Call
func (*MockINamespaceGetByIDCall) Do ¶ added in v1.9.9
func (c *MockINamespaceGetByIDCall) Do(f func(context.Context, uint64) (*storage.Namespace, error)) *MockINamespaceGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockINamespaceGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockINamespaceGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Namespace, error)) *MockINamespaceGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockINamespaceGetByIDCall) Return ¶ added in v1.9.9
func (c *MockINamespaceGetByIDCall) Return(arg0 *storage.Namespace, arg1 error) *MockINamespaceGetByIDCall
Return rewrite *gomock.Call.Return
type MockINamespaceGetByIdsCall ¶ added in v1.9.9
MockINamespaceGetByIdsCall wrap *gomock.Call
func (*MockINamespaceGetByIdsCall) Do ¶ added in v1.9.9
func (c *MockINamespaceGetByIdsCall) Do(f func(context.Context, ...uint64) ([]storage.Namespace, error)) *MockINamespaceGetByIdsCall
Do rewrite *gomock.Call.Do
func (*MockINamespaceGetByIdsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockINamespaceGetByIdsCall) DoAndReturn(f func(context.Context, ...uint64) ([]storage.Namespace, error)) *MockINamespaceGetByIdsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockINamespaceGetByIdsCall) Return ¶ added in v1.9.9
func (c *MockINamespaceGetByIdsCall) Return(ns []storage.Namespace, err error) *MockINamespaceGetByIdsCall
Return rewrite *gomock.Call.Return
type MockINamespaceIsNoRowsCall ¶ added in v1.9.9
MockINamespaceIsNoRowsCall wrap *gomock.Call
func (*MockINamespaceIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockINamespaceIsNoRowsCall) Do(f func(error) bool) *MockINamespaceIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockINamespaceIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockINamespaceIsNoRowsCall) DoAndReturn(f func(error) bool) *MockINamespaceIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockINamespaceIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockINamespaceIsNoRowsCall) Return(arg0 bool) *MockINamespaceIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockINamespaceLastIDCall ¶ added in v1.9.9
MockINamespaceLastIDCall wrap *gomock.Call
func (*MockINamespaceLastIDCall) Do ¶ added in v1.9.9
func (c *MockINamespaceLastIDCall) Do(f func(context.Context) (uint64, error)) *MockINamespaceLastIDCall
Do rewrite *gomock.Call.Do
func (*MockINamespaceLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockINamespaceLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockINamespaceLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockINamespaceLastIDCall) Return ¶ added in v1.9.9
func (c *MockINamespaceLastIDCall) Return(arg0 uint64, arg1 error) *MockINamespaceLastIDCall
Return rewrite *gomock.Call.Return
type MockINamespaceListCall ¶ added in v1.9.9
MockINamespaceListCall wrap *gomock.Call
func (*MockINamespaceListCall) Do ¶ added in v1.9.9
func (c *MockINamespaceListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Namespace, error)) *MockINamespaceListCall
Do rewrite *gomock.Call.Do
func (*MockINamespaceListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockINamespaceListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Namespace, error)) *MockINamespaceListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockINamespaceListCall) Return ¶ added in v1.9.9
func (c *MockINamespaceListCall) Return(arg0 []*storage.Namespace, arg1 error) *MockINamespaceListCall
Return rewrite *gomock.Call.Return
type MockINamespaceListWithSortCall ¶ added in v1.9.9
MockINamespaceListWithSortCall wrap *gomock.Call
func (*MockINamespaceListWithSortCall) Do ¶ added in v1.9.9
func (c *MockINamespaceListWithSortCall) Do(f func(context.Context, string, storage0.SortOrder, int, int) ([]storage.Namespace, error)) *MockINamespaceListWithSortCall
Do rewrite *gomock.Call.Do
func (*MockINamespaceListWithSortCall) DoAndReturn ¶ added in v1.9.9
func (c *MockINamespaceListWithSortCall) DoAndReturn(f func(context.Context, string, storage0.SortOrder, int, int) ([]storage.Namespace, error)) *MockINamespaceListWithSortCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockINamespaceListWithSortCall) Return ¶ added in v1.9.9
func (c *MockINamespaceListWithSortCall) Return(ns []storage.Namespace, err error) *MockINamespaceListWithSortCall
Return rewrite *gomock.Call.Return
type MockINamespaceMessagesCall ¶ added in v1.9.9
MockINamespaceMessagesCall wrap *gomock.Call
func (*MockINamespaceMessagesCall) Do ¶ added in v1.9.9
func (c *MockINamespaceMessagesCall) Do(f func(context.Context, uint64, int, int) ([]storage.NamespaceMessage, error)) *MockINamespaceMessagesCall
Do rewrite *gomock.Call.Do
func (*MockINamespaceMessagesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockINamespaceMessagesCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.NamespaceMessage, error)) *MockINamespaceMessagesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockINamespaceMessagesCall) Return ¶ added in v1.9.9
func (c *MockINamespaceMessagesCall) Return(arg0 []storage.NamespaceMessage, arg1 error) *MockINamespaceMessagesCall
Return rewrite *gomock.Call.Return
type MockINamespaceMockRecorder ¶
type MockINamespaceMockRecorder struct {
// contains filtered or unexported fields
}
MockINamespaceMockRecorder is the mock recorder for MockINamespace.
func (*MockINamespaceMockRecorder) ByNamespaceId ¶
func (mr *MockINamespaceMockRecorder) ByNamespaceId(ctx, namespaceId any) *MockINamespaceByNamespaceIdCall
ByNamespaceId indicates an expected call of ByNamespaceId.
func (*MockINamespaceMockRecorder) ByNamespaceIdAndVersion ¶
func (mr *MockINamespaceMockRecorder) ByNamespaceIdAndVersion(ctx, namespaceId, version any) *MockINamespaceByNamespaceIdAndVersionCall
ByNamespaceIdAndVersion indicates an expected call of ByNamespaceIdAndVersion.
func (*MockINamespaceMockRecorder) CursorList ¶
func (mr *MockINamespaceMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockINamespaceCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockINamespaceMockRecorder) GetByID ¶
func (mr *MockINamespaceMockRecorder) GetByID(ctx, id any) *MockINamespaceGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockINamespaceMockRecorder) GetByIds ¶ added in v1.2.0
func (mr *MockINamespaceMockRecorder) GetByIds(ctx any, ids ...any) *MockINamespaceGetByIdsCall
GetByIds indicates an expected call of GetByIds.
func (*MockINamespaceMockRecorder) IsNoRows ¶
func (mr *MockINamespaceMockRecorder) IsNoRows(err any) *MockINamespaceIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockINamespaceMockRecorder) LastID ¶
func (mr *MockINamespaceMockRecorder) LastID(ctx any) *MockINamespaceLastIDCall
LastID indicates an expected call of LastID.
func (*MockINamespaceMockRecorder) List ¶
func (mr *MockINamespaceMockRecorder) List(ctx, limit, offset, order any) *MockINamespaceListCall
List indicates an expected call of List.
func (*MockINamespaceMockRecorder) ListWithSort ¶ added in v1.1.2
func (mr *MockINamespaceMockRecorder) ListWithSort(ctx, sortField, sort, limit, offset any) *MockINamespaceListWithSortCall
ListWithSort indicates an expected call of ListWithSort.
func (*MockINamespaceMockRecorder) Messages ¶
func (mr *MockINamespaceMockRecorder) Messages(ctx, id, limit, offset any) *MockINamespaceMessagesCall
Messages indicates an expected call of Messages.
func (*MockINamespaceMockRecorder) Save ¶
func (mr *MockINamespaceMockRecorder) Save(ctx, m any) *MockINamespaceSaveCall
Save indicates an expected call of Save.
func (*MockINamespaceMockRecorder) Update ¶
func (mr *MockINamespaceMockRecorder) Update(ctx, m any) *MockINamespaceUpdateCall
Update indicates an expected call of Update.
type MockINamespaceSaveCall ¶ added in v1.9.9
MockINamespaceSaveCall wrap *gomock.Call
func (*MockINamespaceSaveCall) Do ¶ added in v1.9.9
func (c *MockINamespaceSaveCall) Do(f func(context.Context, *storage.Namespace) error) *MockINamespaceSaveCall
Do rewrite *gomock.Call.Do
func (*MockINamespaceSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockINamespaceSaveCall) DoAndReturn(f func(context.Context, *storage.Namespace) error) *MockINamespaceSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockINamespaceSaveCall) Return ¶ added in v1.9.9
func (c *MockINamespaceSaveCall) Return(arg0 error) *MockINamespaceSaveCall
Return rewrite *gomock.Call.Return
type MockINamespaceUpdateCall ¶ added in v1.9.9
MockINamespaceUpdateCall wrap *gomock.Call
func (*MockINamespaceUpdateCall) Do ¶ added in v1.9.9
func (c *MockINamespaceUpdateCall) Do(f func(context.Context, *storage.Namespace) error) *MockINamespaceUpdateCall
Do rewrite *gomock.Call.Do
func (*MockINamespaceUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockINamespaceUpdateCall) DoAndReturn(f func(context.Context, *storage.Namespace) error) *MockINamespaceUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockINamespaceUpdateCall) Return ¶ added in v1.9.9
func (c *MockINamespaceUpdateCall) Return(arg0 error) *MockINamespaceUpdateCall
Return rewrite *gomock.Call.Return
type MockIPrice ¶ added in v1.2.0
type MockIPrice struct {
// contains filtered or unexported fields
}
MockIPrice is a mock of IPrice interface.
func NewMockIPrice ¶ added in v1.2.0
func NewMockIPrice(ctrl *gomock.Controller) *MockIPrice
NewMockIPrice creates a new mock instance.
func (*MockIPrice) EXPECT ¶ added in v1.2.0
func (m *MockIPrice) EXPECT() *MockIPriceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIPrice) Get ¶ added in v1.2.0
func (m *MockIPrice) Get(ctx context.Context, timeframe string, start, end time.Time, limit int) ([]storage.Price, error)
Get mocks base method.
type MockIPriceGetCall ¶ added in v1.9.9
MockIPriceGetCall wrap *gomock.Call
func (*MockIPriceGetCall) Do ¶ added in v1.9.9
func (c *MockIPriceGetCall) Do(f func(context.Context, string, time.Time, time.Time, int) ([]storage.Price, error)) *MockIPriceGetCall
Do rewrite *gomock.Call.Do
func (*MockIPriceGetCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIPriceGetCall) DoAndReturn(f func(context.Context, string, time.Time, time.Time, int) ([]storage.Price, error)) *MockIPriceGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIPriceGetCall) Return ¶ added in v1.9.9
func (c *MockIPriceGetCall) Return(arg0 []storage.Price, arg1 error) *MockIPriceGetCall
Return rewrite *gomock.Call.Return
type MockIPriceLastCall ¶ added in v1.9.9
MockIPriceLastCall wrap *gomock.Call
func (*MockIPriceLastCall) Do ¶ added in v1.9.9
func (c *MockIPriceLastCall) Do(f func(context.Context) (storage.Price, error)) *MockIPriceLastCall
Do rewrite *gomock.Call.Do
func (*MockIPriceLastCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIPriceLastCall) DoAndReturn(f func(context.Context) (storage.Price, error)) *MockIPriceLastCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIPriceLastCall) Return ¶ added in v1.9.9
func (c *MockIPriceLastCall) Return(arg0 storage.Price, arg1 error) *MockIPriceLastCall
Return rewrite *gomock.Call.Return
type MockIPriceMockRecorder ¶ added in v1.2.0
type MockIPriceMockRecorder struct {
// contains filtered or unexported fields
}
MockIPriceMockRecorder is the mock recorder for MockIPrice.
func (*MockIPriceMockRecorder) Get ¶ added in v1.2.0
func (mr *MockIPriceMockRecorder) Get(ctx, timeframe, start, end, limit any) *MockIPriceGetCall
Get indicates an expected call of Get.
func (*MockIPriceMockRecorder) Last ¶ added in v1.2.0
func (mr *MockIPriceMockRecorder) Last(ctx any) *MockIPriceLastCall
Last indicates an expected call of Last.
func (*MockIPriceMockRecorder) Save ¶ added in v1.2.0
func (mr *MockIPriceMockRecorder) Save(ctx, price any) *MockIPriceSaveCall
Save indicates an expected call of Save.
type MockIPriceSaveCall ¶ added in v1.9.9
MockIPriceSaveCall wrap *gomock.Call
func (*MockIPriceSaveCall) Do ¶ added in v1.9.9
func (c *MockIPriceSaveCall) Do(f func(context.Context, *storage.Price) error) *MockIPriceSaveCall
Do rewrite *gomock.Call.Do
func (*MockIPriceSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIPriceSaveCall) DoAndReturn(f func(context.Context, *storage.Price) error) *MockIPriceSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIPriceSaveCall) Return ¶ added in v1.9.9
func (c *MockIPriceSaveCall) Return(arg0 error) *MockIPriceSaveCall
Return rewrite *gomock.Call.Return
type MockIRedelegation ¶ added in v1.6.0
type MockIRedelegation struct {
// contains filtered or unexported fields
}
MockIRedelegation is a mock of IRedelegation interface.
func NewMockIRedelegation ¶ added in v1.6.0
func NewMockIRedelegation(ctrl *gomock.Controller) *MockIRedelegation
NewMockIRedelegation creates a new mock instance.
func (*MockIRedelegation) ByAddress ¶ added in v1.6.0
func (m *MockIRedelegation) ByAddress(ctx context.Context, addressId uint64, limit, offset int) ([]storage.Redelegation, error)
ByAddress mocks base method.
func (*MockIRedelegation) CursorList ¶ added in v1.6.0
func (m *MockIRedelegation) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Redelegation, error)
CursorList mocks base method.
func (*MockIRedelegation) EXPECT ¶ added in v1.6.0
func (m *MockIRedelegation) EXPECT() *MockIRedelegationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIRedelegation) GetByID ¶ added in v1.6.0
func (m *MockIRedelegation) GetByID(ctx context.Context, id uint64) (*storage.Redelegation, error)
GetByID mocks base method.
func (*MockIRedelegation) IsNoRows ¶ added in v1.6.0
func (m *MockIRedelegation) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIRedelegation) LastID ¶ added in v1.6.0
func (m *MockIRedelegation) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIRedelegation) List ¶ added in v1.6.0
func (m *MockIRedelegation) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Redelegation, error)
List mocks base method.
func (*MockIRedelegation) Save ¶ added in v1.6.0
func (m_2 *MockIRedelegation) Save(ctx context.Context, m *storage.Redelegation) error
Save mocks base method.
func (*MockIRedelegation) Update ¶ added in v1.6.0
func (m_2 *MockIRedelegation) Update(ctx context.Context, m *storage.Redelegation) error
Update mocks base method.
type MockIRedelegationByAddressCall ¶ added in v1.9.9
MockIRedelegationByAddressCall wrap *gomock.Call
func (*MockIRedelegationByAddressCall) Do ¶ added in v1.9.9
func (c *MockIRedelegationByAddressCall) Do(f func(context.Context, uint64, int, int) ([]storage.Redelegation, error)) *MockIRedelegationByAddressCall
Do rewrite *gomock.Call.Do
func (*MockIRedelegationByAddressCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRedelegationByAddressCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Redelegation, error)) *MockIRedelegationByAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRedelegationByAddressCall) Return ¶ added in v1.9.9
func (c *MockIRedelegationByAddressCall) Return(arg0 []storage.Redelegation, arg1 error) *MockIRedelegationByAddressCall
Return rewrite *gomock.Call.Return
type MockIRedelegationCursorListCall ¶ added in v1.9.9
MockIRedelegationCursorListCall wrap *gomock.Call
func (*MockIRedelegationCursorListCall) Do ¶ added in v1.9.9
func (c *MockIRedelegationCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Redelegation, error)) *MockIRedelegationCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIRedelegationCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRedelegationCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Redelegation, error)) *MockIRedelegationCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRedelegationCursorListCall) Return ¶ added in v1.9.9
func (c *MockIRedelegationCursorListCall) Return(arg0 []*storage.Redelegation, arg1 error) *MockIRedelegationCursorListCall
Return rewrite *gomock.Call.Return
type MockIRedelegationGetByIDCall ¶ added in v1.9.9
MockIRedelegationGetByIDCall wrap *gomock.Call
func (*MockIRedelegationGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIRedelegationGetByIDCall) Do(f func(context.Context, uint64) (*storage.Redelegation, error)) *MockIRedelegationGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIRedelegationGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRedelegationGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Redelegation, error)) *MockIRedelegationGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRedelegationGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIRedelegationGetByIDCall) Return(arg0 *storage.Redelegation, arg1 error) *MockIRedelegationGetByIDCall
Return rewrite *gomock.Call.Return
type MockIRedelegationIsNoRowsCall ¶ added in v1.9.9
MockIRedelegationIsNoRowsCall wrap *gomock.Call
func (*MockIRedelegationIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIRedelegationIsNoRowsCall) Do(f func(error) bool) *MockIRedelegationIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIRedelegationIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRedelegationIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIRedelegationIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRedelegationIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIRedelegationIsNoRowsCall) Return(arg0 bool) *MockIRedelegationIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIRedelegationLastIDCall ¶ added in v1.9.9
MockIRedelegationLastIDCall wrap *gomock.Call
func (*MockIRedelegationLastIDCall) Do ¶ added in v1.9.9
func (c *MockIRedelegationLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIRedelegationLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIRedelegationLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRedelegationLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIRedelegationLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRedelegationLastIDCall) Return ¶ added in v1.9.9
func (c *MockIRedelegationLastIDCall) Return(arg0 uint64, arg1 error) *MockIRedelegationLastIDCall
Return rewrite *gomock.Call.Return
type MockIRedelegationListCall ¶ added in v1.9.9
MockIRedelegationListCall wrap *gomock.Call
func (*MockIRedelegationListCall) Do ¶ added in v1.9.9
func (c *MockIRedelegationListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Redelegation, error)) *MockIRedelegationListCall
Do rewrite *gomock.Call.Do
func (*MockIRedelegationListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRedelegationListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Redelegation, error)) *MockIRedelegationListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRedelegationListCall) Return ¶ added in v1.9.9
func (c *MockIRedelegationListCall) Return(arg0 []*storage.Redelegation, arg1 error) *MockIRedelegationListCall
Return rewrite *gomock.Call.Return
type MockIRedelegationMockRecorder ¶ added in v1.6.0
type MockIRedelegationMockRecorder struct {
// contains filtered or unexported fields
}
MockIRedelegationMockRecorder is the mock recorder for MockIRedelegation.
func (*MockIRedelegationMockRecorder) ByAddress ¶ added in v1.6.0
func (mr *MockIRedelegationMockRecorder) ByAddress(ctx, addressId, limit, offset any) *MockIRedelegationByAddressCall
ByAddress indicates an expected call of ByAddress.
func (*MockIRedelegationMockRecorder) CursorList ¶ added in v1.6.0
func (mr *MockIRedelegationMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIRedelegationCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIRedelegationMockRecorder) GetByID ¶ added in v1.6.0
func (mr *MockIRedelegationMockRecorder) GetByID(ctx, id any) *MockIRedelegationGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIRedelegationMockRecorder) IsNoRows ¶ added in v1.6.0
func (mr *MockIRedelegationMockRecorder) IsNoRows(err any) *MockIRedelegationIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIRedelegationMockRecorder) LastID ¶ added in v1.6.0
func (mr *MockIRedelegationMockRecorder) LastID(ctx any) *MockIRedelegationLastIDCall
LastID indicates an expected call of LastID.
func (*MockIRedelegationMockRecorder) List ¶ added in v1.6.0
func (mr *MockIRedelegationMockRecorder) List(ctx, limit, offset, order any) *MockIRedelegationListCall
List indicates an expected call of List.
func (*MockIRedelegationMockRecorder) Save ¶ added in v1.6.0
func (mr *MockIRedelegationMockRecorder) Save(ctx, m any) *MockIRedelegationSaveCall
Save indicates an expected call of Save.
func (*MockIRedelegationMockRecorder) Update ¶ added in v1.6.0
func (mr *MockIRedelegationMockRecorder) Update(ctx, m any) *MockIRedelegationUpdateCall
Update indicates an expected call of Update.
type MockIRedelegationSaveCall ¶ added in v1.9.9
MockIRedelegationSaveCall wrap *gomock.Call
func (*MockIRedelegationSaveCall) Do ¶ added in v1.9.9
func (c *MockIRedelegationSaveCall) Do(f func(context.Context, *storage.Redelegation) error) *MockIRedelegationSaveCall
Do rewrite *gomock.Call.Do
func (*MockIRedelegationSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRedelegationSaveCall) DoAndReturn(f func(context.Context, *storage.Redelegation) error) *MockIRedelegationSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRedelegationSaveCall) Return ¶ added in v1.9.9
func (c *MockIRedelegationSaveCall) Return(arg0 error) *MockIRedelegationSaveCall
Return rewrite *gomock.Call.Return
type MockIRedelegationUpdateCall ¶ added in v1.9.9
MockIRedelegationUpdateCall wrap *gomock.Call
func (*MockIRedelegationUpdateCall) Do ¶ added in v1.9.9
func (c *MockIRedelegationUpdateCall) Do(f func(context.Context, *storage.Redelegation) error) *MockIRedelegationUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIRedelegationUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRedelegationUpdateCall) DoAndReturn(f func(context.Context, *storage.Redelegation) error) *MockIRedelegationUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRedelegationUpdateCall) Return ¶ added in v1.9.9
func (c *MockIRedelegationUpdateCall) Return(arg0 error) *MockIRedelegationUpdateCall
Return rewrite *gomock.Call.Return
type MockIRollup ¶ added in v1.2.0
type MockIRollup struct {
// contains filtered or unexported fields
}
MockIRollup is a mock of IRollup interface.
func NewMockIRollup ¶ added in v1.2.0
func NewMockIRollup(ctrl *gomock.Controller) *MockIRollup
NewMockIRollup creates a new mock instance.
func (*MockIRollup) AllSeries ¶ added in v1.9.10
func (m *MockIRollup) AllSeries(ctx context.Context) ([]storage.RollupHistogramItem, error)
AllSeries mocks base method.
func (*MockIRollup) ById ¶ added in v1.9.9
func (m *MockIRollup) ById(ctx context.Context, rollupId uint64) (storage.RollupWithStats, error)
ById mocks base method.
func (*MockIRollup) BySlug ¶ added in v1.4.0
func (m *MockIRollup) BySlug(ctx context.Context, slug string) (storage.RollupWithStats, error)
BySlug mocks base method.
func (*MockIRollup) Count ¶ added in v1.3.2
func (m *MockIRollup) Count(ctx context.Context) (int64, error)
Count mocks base method.
func (*MockIRollup) CursorList ¶ added in v1.2.0
func (m *MockIRollup) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Rollup, error)
CursorList mocks base method.
func (*MockIRollup) Distribution ¶ added in v1.6.1
func (m *MockIRollup) Distribution(ctx context.Context, rollupId uint64, series, groupBy string) ([]storage.DistributionItem, error)
Distribution mocks base method.
func (*MockIRollup) EXPECT ¶ added in v1.2.0
func (m *MockIRollup) EXPECT() *MockIRollupMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIRollup) IsNoRows ¶ added in v1.2.0
func (m *MockIRollup) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIRollup) LastID ¶ added in v1.2.0
func (m *MockIRollup) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIRollup) Leaderboard ¶ added in v1.2.0
func (m *MockIRollup) Leaderboard(ctx context.Context, sortField string, sort storage0.SortOrder, limit, offset int) ([]storage.RollupWithStats, error)
Leaderboard mocks base method.
func (*MockIRollup) LeaderboardDay ¶ added in v1.9.10
func (m *MockIRollup) LeaderboardDay(ctx context.Context, sortField string, sort storage0.SortOrder, limit, offset int) ([]storage.RollupWithDayStats, error)
LeaderboardDay mocks base method.
func (*MockIRollup) List ¶ added in v1.2.0
func (m *MockIRollup) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Rollup, error)
List mocks base method.
func (*MockIRollup) Namespaces ¶ added in v1.2.0
func (m *MockIRollup) Namespaces(ctx context.Context, rollupId uint64, limit, offset int) ([]uint64, error)
Namespaces mocks base method.
func (*MockIRollup) Providers ¶ added in v1.2.0
func (m *MockIRollup) Providers(ctx context.Context, rollupId uint64) ([]storage.RollupProvider, error)
Providers mocks base method.
func (*MockIRollup) RollupsByNamespace ¶ added in v1.5.0
func (m *MockIRollup) RollupsByNamespace(ctx context.Context, namespaceId uint64, limit, offset int) ([]storage.Rollup, error)
RollupsByNamespace mocks base method.
func (*MockIRollup) Series ¶ added in v1.3.2
func (m *MockIRollup) Series(ctx context.Context, rollupId uint64, timeframe, column string, req storage.SeriesRequest) ([]storage.HistogramItem, error)
Series mocks base method.
type MockIRollupAllSeriesCall ¶ added in v1.9.10
MockIRollupAllSeriesCall wrap *gomock.Call
func (*MockIRollupAllSeriesCall) Do ¶ added in v1.9.10
func (c *MockIRollupAllSeriesCall) Do(f func(context.Context) ([]storage.RollupHistogramItem, error)) *MockIRollupAllSeriesCall
Do rewrite *gomock.Call.Do
func (*MockIRollupAllSeriesCall) DoAndReturn ¶ added in v1.9.10
func (c *MockIRollupAllSeriesCall) DoAndReturn(f func(context.Context) ([]storage.RollupHistogramItem, error)) *MockIRollupAllSeriesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupAllSeriesCall) Return ¶ added in v1.9.10
func (c *MockIRollupAllSeriesCall) Return(arg0 []storage.RollupHistogramItem, arg1 error) *MockIRollupAllSeriesCall
Return rewrite *gomock.Call.Return
type MockIRollupByIdCall ¶ added in v1.9.9
MockIRollupByIdCall wrap *gomock.Call
func (*MockIRollupByIdCall) Do ¶ added in v1.9.9
func (c *MockIRollupByIdCall) Do(f func(context.Context, uint64) (storage.RollupWithStats, error)) *MockIRollupByIdCall
Do rewrite *gomock.Call.Do
func (*MockIRollupByIdCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupByIdCall) DoAndReturn(f func(context.Context, uint64) (storage.RollupWithStats, error)) *MockIRollupByIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupByIdCall) Return ¶ added in v1.9.9
func (c *MockIRollupByIdCall) Return(arg0 storage.RollupWithStats, arg1 error) *MockIRollupByIdCall
Return rewrite *gomock.Call.Return
type MockIRollupBySlugCall ¶ added in v1.9.9
MockIRollupBySlugCall wrap *gomock.Call
func (*MockIRollupBySlugCall) Do ¶ added in v1.9.9
func (c *MockIRollupBySlugCall) Do(f func(context.Context, string) (storage.RollupWithStats, error)) *MockIRollupBySlugCall
Do rewrite *gomock.Call.Do
func (*MockIRollupBySlugCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupBySlugCall) DoAndReturn(f func(context.Context, string) (storage.RollupWithStats, error)) *MockIRollupBySlugCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupBySlugCall) Return ¶ added in v1.9.9
func (c *MockIRollupBySlugCall) Return(arg0 storage.RollupWithStats, arg1 error) *MockIRollupBySlugCall
Return rewrite *gomock.Call.Return
type MockIRollupCountCall ¶ added in v1.9.9
MockIRollupCountCall wrap *gomock.Call
func (*MockIRollupCountCall) Do ¶ added in v1.9.9
func (c *MockIRollupCountCall) Do(f func(context.Context) (int64, error)) *MockIRollupCountCall
Do rewrite *gomock.Call.Do
func (*MockIRollupCountCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupCountCall) DoAndReturn(f func(context.Context) (int64, error)) *MockIRollupCountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupCountCall) Return ¶ added in v1.9.9
func (c *MockIRollupCountCall) Return(arg0 int64, arg1 error) *MockIRollupCountCall
Return rewrite *gomock.Call.Return
type MockIRollupCursorListCall ¶ added in v1.9.9
MockIRollupCursorListCall wrap *gomock.Call
func (*MockIRollupCursorListCall) Do ¶ added in v1.9.9
func (c *MockIRollupCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Rollup, error)) *MockIRollupCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIRollupCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Rollup, error)) *MockIRollupCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupCursorListCall) Return ¶ added in v1.9.9
func (c *MockIRollupCursorListCall) Return(arg0 []*storage.Rollup, arg1 error) *MockIRollupCursorListCall
Return rewrite *gomock.Call.Return
type MockIRollupDistributionCall ¶ added in v1.9.9
MockIRollupDistributionCall wrap *gomock.Call
func (*MockIRollupDistributionCall) Do ¶ added in v1.9.9
func (c *MockIRollupDistributionCall) Do(f func(context.Context, uint64, string, string) ([]storage.DistributionItem, error)) *MockIRollupDistributionCall
Do rewrite *gomock.Call.Do
func (*MockIRollupDistributionCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupDistributionCall) DoAndReturn(f func(context.Context, uint64, string, string) ([]storage.DistributionItem, error)) *MockIRollupDistributionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupDistributionCall) Return ¶ added in v1.9.9
func (c *MockIRollupDistributionCall) Return(items []storage.DistributionItem, err error) *MockIRollupDistributionCall
Return rewrite *gomock.Call.Return
type MockIRollupGetByIDCall ¶ added in v1.9.9
MockIRollupGetByIDCall wrap *gomock.Call
func (*MockIRollupGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIRollupGetByIDCall) Do(f func(context.Context, uint64) (*storage.Rollup, error)) *MockIRollupGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIRollupGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Rollup, error)) *MockIRollupGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIRollupGetByIDCall) Return(arg0 *storage.Rollup, arg1 error) *MockIRollupGetByIDCall
Return rewrite *gomock.Call.Return
type MockIRollupIsNoRowsCall ¶ added in v1.9.9
MockIRollupIsNoRowsCall wrap *gomock.Call
func (*MockIRollupIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIRollupIsNoRowsCall) Do(f func(error) bool) *MockIRollupIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIRollupIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIRollupIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIRollupIsNoRowsCall) Return(arg0 bool) *MockIRollupIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIRollupLastIDCall ¶ added in v1.9.9
MockIRollupLastIDCall wrap *gomock.Call
func (*MockIRollupLastIDCall) Do ¶ added in v1.9.9
func (c *MockIRollupLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIRollupLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIRollupLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIRollupLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupLastIDCall) Return ¶ added in v1.9.9
func (c *MockIRollupLastIDCall) Return(arg0 uint64, arg1 error) *MockIRollupLastIDCall
Return rewrite *gomock.Call.Return
type MockIRollupLeaderboardCall ¶ added in v1.9.9
MockIRollupLeaderboardCall wrap *gomock.Call
func (*MockIRollupLeaderboardCall) Do ¶ added in v1.9.9
func (c *MockIRollupLeaderboardCall) Do(f func(context.Context, string, storage0.SortOrder, int, int) ([]storage.RollupWithStats, error)) *MockIRollupLeaderboardCall
Do rewrite *gomock.Call.Do
func (*MockIRollupLeaderboardCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupLeaderboardCall) DoAndReturn(f func(context.Context, string, storage0.SortOrder, int, int) ([]storage.RollupWithStats, error)) *MockIRollupLeaderboardCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupLeaderboardCall) Return ¶ added in v1.9.9
func (c *MockIRollupLeaderboardCall) Return(arg0 []storage.RollupWithStats, arg1 error) *MockIRollupLeaderboardCall
Return rewrite *gomock.Call.Return
type MockIRollupLeaderboardDayCall ¶ added in v1.9.10
MockIRollupLeaderboardDayCall wrap *gomock.Call
func (*MockIRollupLeaderboardDayCall) Do ¶ added in v1.9.10
func (c *MockIRollupLeaderboardDayCall) Do(f func(context.Context, string, storage0.SortOrder, int, int) ([]storage.RollupWithDayStats, error)) *MockIRollupLeaderboardDayCall
Do rewrite *gomock.Call.Do
func (*MockIRollupLeaderboardDayCall) DoAndReturn ¶ added in v1.9.10
func (c *MockIRollupLeaderboardDayCall) DoAndReturn(f func(context.Context, string, storage0.SortOrder, int, int) ([]storage.RollupWithDayStats, error)) *MockIRollupLeaderboardDayCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupLeaderboardDayCall) Return ¶ added in v1.9.10
func (c *MockIRollupLeaderboardDayCall) Return(arg0 []storage.RollupWithDayStats, arg1 error) *MockIRollupLeaderboardDayCall
Return rewrite *gomock.Call.Return
type MockIRollupListCall ¶ added in v1.9.9
MockIRollupListCall wrap *gomock.Call
func (*MockIRollupListCall) Do ¶ added in v1.9.9
func (c *MockIRollupListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Rollup, error)) *MockIRollupListCall
Do rewrite *gomock.Call.Do
func (*MockIRollupListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Rollup, error)) *MockIRollupListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupListCall) Return ¶ added in v1.9.9
func (c *MockIRollupListCall) Return(arg0 []*storage.Rollup, arg1 error) *MockIRollupListCall
Return rewrite *gomock.Call.Return
type MockIRollupMockRecorder ¶ added in v1.2.0
type MockIRollupMockRecorder struct {
// contains filtered or unexported fields
}
MockIRollupMockRecorder is the mock recorder for MockIRollup.
func (*MockIRollupMockRecorder) AllSeries ¶ added in v1.9.10
func (mr *MockIRollupMockRecorder) AllSeries(ctx any) *MockIRollupAllSeriesCall
AllSeries indicates an expected call of AllSeries.
func (*MockIRollupMockRecorder) ById ¶ added in v1.9.9
func (mr *MockIRollupMockRecorder) ById(ctx, rollupId any) *MockIRollupByIdCall
ById indicates an expected call of ById.
func (*MockIRollupMockRecorder) BySlug ¶ added in v1.4.0
func (mr *MockIRollupMockRecorder) BySlug(ctx, slug any) *MockIRollupBySlugCall
BySlug indicates an expected call of BySlug.
func (*MockIRollupMockRecorder) Count ¶ added in v1.3.2
func (mr *MockIRollupMockRecorder) Count(ctx any) *MockIRollupCountCall
Count indicates an expected call of Count.
func (*MockIRollupMockRecorder) CursorList ¶ added in v1.2.0
func (mr *MockIRollupMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIRollupCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIRollupMockRecorder) Distribution ¶ added in v1.6.1
func (mr *MockIRollupMockRecorder) Distribution(ctx, rollupId, series, groupBy any) *MockIRollupDistributionCall
Distribution indicates an expected call of Distribution.
func (*MockIRollupMockRecorder) GetByID ¶ added in v1.2.0
func (mr *MockIRollupMockRecorder) GetByID(ctx, id any) *MockIRollupGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIRollupMockRecorder) IsNoRows ¶ added in v1.2.0
func (mr *MockIRollupMockRecorder) IsNoRows(err any) *MockIRollupIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIRollupMockRecorder) LastID ¶ added in v1.2.0
func (mr *MockIRollupMockRecorder) LastID(ctx any) *MockIRollupLastIDCall
LastID indicates an expected call of LastID.
func (*MockIRollupMockRecorder) Leaderboard ¶ added in v1.2.0
func (mr *MockIRollupMockRecorder) Leaderboard(ctx, sortField, sort, limit, offset any) *MockIRollupLeaderboardCall
Leaderboard indicates an expected call of Leaderboard.
func (*MockIRollupMockRecorder) LeaderboardDay ¶ added in v1.9.10
func (mr *MockIRollupMockRecorder) LeaderboardDay(ctx, sortField, sort, limit, offset any) *MockIRollupLeaderboardDayCall
LeaderboardDay indicates an expected call of LeaderboardDay.
func (*MockIRollupMockRecorder) List ¶ added in v1.2.0
func (mr *MockIRollupMockRecorder) List(ctx, limit, offset, order any) *MockIRollupListCall
List indicates an expected call of List.
func (*MockIRollupMockRecorder) Namespaces ¶ added in v1.2.0
func (mr *MockIRollupMockRecorder) Namespaces(ctx, rollupId, limit, offset any) *MockIRollupNamespacesCall
Namespaces indicates an expected call of Namespaces.
func (*MockIRollupMockRecorder) Providers ¶ added in v1.2.0
func (mr *MockIRollupMockRecorder) Providers(ctx, rollupId any) *MockIRollupProvidersCall
Providers indicates an expected call of Providers.
func (*MockIRollupMockRecorder) RollupsByNamespace ¶ added in v1.5.0
func (mr *MockIRollupMockRecorder) RollupsByNamespace(ctx, namespaceId, limit, offset any) *MockIRollupRollupsByNamespaceCall
RollupsByNamespace indicates an expected call of RollupsByNamespace.
func (*MockIRollupMockRecorder) Save ¶ added in v1.2.0
func (mr *MockIRollupMockRecorder) Save(ctx, m any) *MockIRollupSaveCall
Save indicates an expected call of Save.
func (*MockIRollupMockRecorder) Series ¶ added in v1.3.2
func (mr *MockIRollupMockRecorder) Series(ctx, rollupId, timeframe, column, req any) *MockIRollupSeriesCall
Series indicates an expected call of Series.
func (*MockIRollupMockRecorder) Update ¶ added in v1.2.0
func (mr *MockIRollupMockRecorder) Update(ctx, m any) *MockIRollupUpdateCall
Update indicates an expected call of Update.
type MockIRollupNamespacesCall ¶ added in v1.9.9
MockIRollupNamespacesCall wrap *gomock.Call
func (*MockIRollupNamespacesCall) Do ¶ added in v1.9.9
func (c *MockIRollupNamespacesCall) Do(f func(context.Context, uint64, int, int) ([]uint64, error)) *MockIRollupNamespacesCall
Do rewrite *gomock.Call.Do
func (*MockIRollupNamespacesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupNamespacesCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]uint64, error)) *MockIRollupNamespacesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupNamespacesCall) Return ¶ added in v1.9.9
func (c *MockIRollupNamespacesCall) Return(namespaceIds []uint64, err error) *MockIRollupNamespacesCall
Return rewrite *gomock.Call.Return
type MockIRollupProvider ¶ added in v1.2.0
type MockIRollupProvider struct {
// contains filtered or unexported fields
}
MockIRollupProvider is a mock of IRollupProvider interface.
func NewMockIRollupProvider ¶ added in v1.2.0
func NewMockIRollupProvider(ctrl *gomock.Controller) *MockIRollupProvider
NewMockIRollupProvider creates a new mock instance.
func (*MockIRollupProvider) CursorList ¶ added in v1.2.0
func (m *MockIRollupProvider) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.RollupProvider, error)
CursorList mocks base method.
func (*MockIRollupProvider) EXPECT ¶ added in v1.2.0
func (m *MockIRollupProvider) EXPECT() *MockIRollupProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIRollupProvider) GetByID ¶ added in v1.2.0
func (m *MockIRollupProvider) GetByID(ctx context.Context, id uint64) (*storage.RollupProvider, error)
GetByID mocks base method.
func (*MockIRollupProvider) IsNoRows ¶ added in v1.2.0
func (m *MockIRollupProvider) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIRollupProvider) LastID ¶ added in v1.2.0
func (m *MockIRollupProvider) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIRollupProvider) List ¶ added in v1.2.0
func (m *MockIRollupProvider) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.RollupProvider, error)
List mocks base method.
func (*MockIRollupProvider) Save ¶ added in v1.2.0
func (m_2 *MockIRollupProvider) Save(ctx context.Context, m *storage.RollupProvider) error
Save mocks base method.
func (*MockIRollupProvider) Update ¶ added in v1.2.0
func (m_2 *MockIRollupProvider) Update(ctx context.Context, m *storage.RollupProvider) error
Update mocks base method.
type MockIRollupProviderCursorListCall ¶ added in v1.9.9
MockIRollupProviderCursorListCall wrap *gomock.Call
func (*MockIRollupProviderCursorListCall) Do ¶ added in v1.9.9
func (c *MockIRollupProviderCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.RollupProvider, error)) *MockIRollupProviderCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIRollupProviderCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupProviderCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.RollupProvider, error)) *MockIRollupProviderCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupProviderCursorListCall) Return ¶ added in v1.9.9
func (c *MockIRollupProviderCursorListCall) Return(arg0 []*storage.RollupProvider, arg1 error) *MockIRollupProviderCursorListCall
Return rewrite *gomock.Call.Return
type MockIRollupProviderGetByIDCall ¶ added in v1.9.9
MockIRollupProviderGetByIDCall wrap *gomock.Call
func (*MockIRollupProviderGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIRollupProviderGetByIDCall) Do(f func(context.Context, uint64) (*storage.RollupProvider, error)) *MockIRollupProviderGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIRollupProviderGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupProviderGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.RollupProvider, error)) *MockIRollupProviderGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupProviderGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIRollupProviderGetByIDCall) Return(arg0 *storage.RollupProvider, arg1 error) *MockIRollupProviderGetByIDCall
Return rewrite *gomock.Call.Return
type MockIRollupProviderIsNoRowsCall ¶ added in v1.9.9
MockIRollupProviderIsNoRowsCall wrap *gomock.Call
func (*MockIRollupProviderIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIRollupProviderIsNoRowsCall) Do(f func(error) bool) *MockIRollupProviderIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIRollupProviderIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupProviderIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIRollupProviderIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupProviderIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIRollupProviderIsNoRowsCall) Return(arg0 bool) *MockIRollupProviderIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIRollupProviderLastIDCall ¶ added in v1.9.9
MockIRollupProviderLastIDCall wrap *gomock.Call
func (*MockIRollupProviderLastIDCall) Do ¶ added in v1.9.9
func (c *MockIRollupProviderLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIRollupProviderLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIRollupProviderLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupProviderLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIRollupProviderLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupProviderLastIDCall) Return ¶ added in v1.9.9
func (c *MockIRollupProviderLastIDCall) Return(arg0 uint64, arg1 error) *MockIRollupProviderLastIDCall
Return rewrite *gomock.Call.Return
type MockIRollupProviderListCall ¶ added in v1.9.9
MockIRollupProviderListCall wrap *gomock.Call
func (*MockIRollupProviderListCall) Do ¶ added in v1.9.9
func (c *MockIRollupProviderListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.RollupProvider, error)) *MockIRollupProviderListCall
Do rewrite *gomock.Call.Do
func (*MockIRollupProviderListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupProviderListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.RollupProvider, error)) *MockIRollupProviderListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupProviderListCall) Return ¶ added in v1.9.9
func (c *MockIRollupProviderListCall) Return(arg0 []*storage.RollupProvider, arg1 error) *MockIRollupProviderListCall
Return rewrite *gomock.Call.Return
type MockIRollupProviderMockRecorder ¶ added in v1.2.0
type MockIRollupProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockIRollupProviderMockRecorder is the mock recorder for MockIRollupProvider.
func (*MockIRollupProviderMockRecorder) CursorList ¶ added in v1.2.0
func (mr *MockIRollupProviderMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIRollupProviderCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIRollupProviderMockRecorder) GetByID ¶ added in v1.2.0
func (mr *MockIRollupProviderMockRecorder) GetByID(ctx, id any) *MockIRollupProviderGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIRollupProviderMockRecorder) IsNoRows ¶ added in v1.2.0
func (mr *MockIRollupProviderMockRecorder) IsNoRows(err any) *MockIRollupProviderIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIRollupProviderMockRecorder) LastID ¶ added in v1.2.0
func (mr *MockIRollupProviderMockRecorder) LastID(ctx any) *MockIRollupProviderLastIDCall
LastID indicates an expected call of LastID.
func (*MockIRollupProviderMockRecorder) List ¶ added in v1.2.0
func (mr *MockIRollupProviderMockRecorder) List(ctx, limit, offset, order any) *MockIRollupProviderListCall
List indicates an expected call of List.
func (*MockIRollupProviderMockRecorder) Save ¶ added in v1.2.0
func (mr *MockIRollupProviderMockRecorder) Save(ctx, m any) *MockIRollupProviderSaveCall
Save indicates an expected call of Save.
func (*MockIRollupProviderMockRecorder) Update ¶ added in v1.2.0
func (mr *MockIRollupProviderMockRecorder) Update(ctx, m any) *MockIRollupProviderUpdateCall
Update indicates an expected call of Update.
type MockIRollupProviderSaveCall ¶ added in v1.9.9
MockIRollupProviderSaveCall wrap *gomock.Call
func (*MockIRollupProviderSaveCall) Do ¶ added in v1.9.9
func (c *MockIRollupProviderSaveCall) Do(f func(context.Context, *storage.RollupProvider) error) *MockIRollupProviderSaveCall
Do rewrite *gomock.Call.Do
func (*MockIRollupProviderSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupProviderSaveCall) DoAndReturn(f func(context.Context, *storage.RollupProvider) error) *MockIRollupProviderSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupProviderSaveCall) Return ¶ added in v1.9.9
func (c *MockIRollupProviderSaveCall) Return(arg0 error) *MockIRollupProviderSaveCall
Return rewrite *gomock.Call.Return
type MockIRollupProviderUpdateCall ¶ added in v1.9.9
MockIRollupProviderUpdateCall wrap *gomock.Call
func (*MockIRollupProviderUpdateCall) Do ¶ added in v1.9.9
func (c *MockIRollupProviderUpdateCall) Do(f func(context.Context, *storage.RollupProvider) error) *MockIRollupProviderUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIRollupProviderUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupProviderUpdateCall) DoAndReturn(f func(context.Context, *storage.RollupProvider) error) *MockIRollupProviderUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupProviderUpdateCall) Return ¶ added in v1.9.9
func (c *MockIRollupProviderUpdateCall) Return(arg0 error) *MockIRollupProviderUpdateCall
Return rewrite *gomock.Call.Return
type MockIRollupProvidersCall ¶ added in v1.9.9
MockIRollupProvidersCall wrap *gomock.Call
func (*MockIRollupProvidersCall) Do ¶ added in v1.9.9
func (c *MockIRollupProvidersCall) Do(f func(context.Context, uint64) ([]storage.RollupProvider, error)) *MockIRollupProvidersCall
Do rewrite *gomock.Call.Do
func (*MockIRollupProvidersCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupProvidersCall) DoAndReturn(f func(context.Context, uint64) ([]storage.RollupProvider, error)) *MockIRollupProvidersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupProvidersCall) Return ¶ added in v1.9.9
func (c *MockIRollupProvidersCall) Return(providers []storage.RollupProvider, err error) *MockIRollupProvidersCall
Return rewrite *gomock.Call.Return
type MockIRollupRollupsByNamespaceCall ¶ added in v1.9.9
MockIRollupRollupsByNamespaceCall wrap *gomock.Call
func (*MockIRollupRollupsByNamespaceCall) Do ¶ added in v1.9.9
func (c *MockIRollupRollupsByNamespaceCall) Do(f func(context.Context, uint64, int, int) ([]storage.Rollup, error)) *MockIRollupRollupsByNamespaceCall
Do rewrite *gomock.Call.Do
func (*MockIRollupRollupsByNamespaceCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupRollupsByNamespaceCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Rollup, error)) *MockIRollupRollupsByNamespaceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupRollupsByNamespaceCall) Return ¶ added in v1.9.9
func (c *MockIRollupRollupsByNamespaceCall) Return(rollups []storage.Rollup, err error) *MockIRollupRollupsByNamespaceCall
Return rewrite *gomock.Call.Return
type MockIRollupSaveCall ¶ added in v1.9.9
MockIRollupSaveCall wrap *gomock.Call
func (*MockIRollupSaveCall) Do ¶ added in v1.9.9
func (c *MockIRollupSaveCall) Do(f func(context.Context, *storage.Rollup) error) *MockIRollupSaveCall
Do rewrite *gomock.Call.Do
func (*MockIRollupSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupSaveCall) DoAndReturn(f func(context.Context, *storage.Rollup) error) *MockIRollupSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupSaveCall) Return ¶ added in v1.9.9
func (c *MockIRollupSaveCall) Return(arg0 error) *MockIRollupSaveCall
Return rewrite *gomock.Call.Return
type MockIRollupSeriesCall ¶ added in v1.9.9
MockIRollupSeriesCall wrap *gomock.Call
func (*MockIRollupSeriesCall) Do ¶ added in v1.9.9
func (c *MockIRollupSeriesCall) Do(f func(context.Context, uint64, string, string, storage.SeriesRequest) ([]storage.HistogramItem, error)) *MockIRollupSeriesCall
Do rewrite *gomock.Call.Do
func (*MockIRollupSeriesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupSeriesCall) DoAndReturn(f func(context.Context, uint64, string, string, storage.SeriesRequest) ([]storage.HistogramItem, error)) *MockIRollupSeriesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupSeriesCall) Return ¶ added in v1.9.9
func (c *MockIRollupSeriesCall) Return(items []storage.HistogramItem, err error) *MockIRollupSeriesCall
Return rewrite *gomock.Call.Return
type MockIRollupUpdateCall ¶ added in v1.9.9
MockIRollupUpdateCall wrap *gomock.Call
func (*MockIRollupUpdateCall) Do ¶ added in v1.9.9
func (c *MockIRollupUpdateCall) Do(f func(context.Context, *storage.Rollup) error) *MockIRollupUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIRollupUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIRollupUpdateCall) DoAndReturn(f func(context.Context, *storage.Rollup) error) *MockIRollupUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupUpdateCall) Return ¶ added in v1.9.9
func (c *MockIRollupUpdateCall) Return(arg0 error) *MockIRollupUpdateCall
Return rewrite *gomock.Call.Return
type MockISearch ¶ added in v1.4.0
type MockISearch struct {
// contains filtered or unexported fields
}
MockISearch is a mock of ISearch interface.
func NewMockISearch ¶ added in v1.4.0
func NewMockISearch(ctrl *gomock.Controller) *MockISearch
NewMockISearch creates a new mock instance.
func (*MockISearch) EXPECT ¶ added in v1.4.0
func (m *MockISearch) EXPECT() *MockISearchMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockISearch) Search ¶ added in v1.4.0
func (m *MockISearch) Search(ctx context.Context, query []byte) ([]storage.SearchResult, error)
Search mocks base method.
func (*MockISearch) SearchText ¶ added in v1.4.0
func (m *MockISearch) SearchText(ctx context.Context, text string) ([]storage.SearchResult, error)
SearchText mocks base method.
type MockISearchMockRecorder ¶ added in v1.4.0
type MockISearchMockRecorder struct {
// contains filtered or unexported fields
}
MockISearchMockRecorder is the mock recorder for MockISearch.
func (*MockISearchMockRecorder) Search ¶ added in v1.4.0
func (mr *MockISearchMockRecorder) Search(ctx, query any) *MockISearchSearchCall
Search indicates an expected call of Search.
func (*MockISearchMockRecorder) SearchText ¶ added in v1.4.0
func (mr *MockISearchMockRecorder) SearchText(ctx, text any) *MockISearchSearchTextCall
SearchText indicates an expected call of SearchText.
type MockISearchSearchCall ¶ added in v1.9.9
MockISearchSearchCall wrap *gomock.Call
func (*MockISearchSearchCall) Do ¶ added in v1.9.9
func (c *MockISearchSearchCall) Do(f func(context.Context, []byte) ([]storage.SearchResult, error)) *MockISearchSearchCall
Do rewrite *gomock.Call.Do
func (*MockISearchSearchCall) DoAndReturn ¶ added in v1.9.9
func (c *MockISearchSearchCall) DoAndReturn(f func(context.Context, []byte) ([]storage.SearchResult, error)) *MockISearchSearchCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockISearchSearchCall) Return ¶ added in v1.9.9
func (c *MockISearchSearchCall) Return(arg0 []storage.SearchResult, arg1 error) *MockISearchSearchCall
Return rewrite *gomock.Call.Return
type MockISearchSearchTextCall ¶ added in v1.9.9
MockISearchSearchTextCall wrap *gomock.Call
func (*MockISearchSearchTextCall) Do ¶ added in v1.9.9
func (c *MockISearchSearchTextCall) Do(f func(context.Context, string) ([]storage.SearchResult, error)) *MockISearchSearchTextCall
Do rewrite *gomock.Call.Do
func (*MockISearchSearchTextCall) DoAndReturn ¶ added in v1.9.9
func (c *MockISearchSearchTextCall) DoAndReturn(f func(context.Context, string) ([]storage.SearchResult, error)) *MockISearchSearchTextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockISearchSearchTextCall) Return ¶ added in v1.9.9
func (c *MockISearchSearchTextCall) Return(arg0 []storage.SearchResult, arg1 error) *MockISearchSearchTextCall
Return rewrite *gomock.Call.Return
type MockIStakingLog ¶ added in v1.6.0
type MockIStakingLog struct {
// contains filtered or unexported fields
}
MockIStakingLog is a mock of IStakingLog interface.
func NewMockIStakingLog ¶ added in v1.6.0
func NewMockIStakingLog(ctrl *gomock.Controller) *MockIStakingLog
NewMockIStakingLog creates a new mock instance.
func (*MockIStakingLog) CursorList ¶ added in v1.6.0
func (m *MockIStakingLog) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.StakingLog, error)
CursorList mocks base method.
func (*MockIStakingLog) EXPECT ¶ added in v1.6.0
func (m *MockIStakingLog) EXPECT() *MockIStakingLogMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIStakingLog) GetByID ¶ added in v1.6.0
func (m *MockIStakingLog) GetByID(ctx context.Context, id uint64) (*storage.StakingLog, error)
GetByID mocks base method.
func (*MockIStakingLog) IsNoRows ¶ added in v1.6.0
func (m *MockIStakingLog) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIStakingLog) LastID ¶ added in v1.6.0
func (m *MockIStakingLog) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIStakingLog) List ¶ added in v1.6.0
func (m *MockIStakingLog) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.StakingLog, error)
List mocks base method.
func (*MockIStakingLog) Save ¶ added in v1.6.0
func (m_2 *MockIStakingLog) Save(ctx context.Context, m *storage.StakingLog) error
Save mocks base method.
func (*MockIStakingLog) Update ¶ added in v1.6.0
func (m_2 *MockIStakingLog) Update(ctx context.Context, m *storage.StakingLog) error
Update mocks base method.
type MockIStakingLogCursorListCall ¶ added in v1.9.9
MockIStakingLogCursorListCall wrap *gomock.Call
func (*MockIStakingLogCursorListCall) Do ¶ added in v1.9.9
func (c *MockIStakingLogCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.StakingLog, error)) *MockIStakingLogCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIStakingLogCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStakingLogCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.StakingLog, error)) *MockIStakingLogCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStakingLogCursorListCall) Return ¶ added in v1.9.9
func (c *MockIStakingLogCursorListCall) Return(arg0 []*storage.StakingLog, arg1 error) *MockIStakingLogCursorListCall
Return rewrite *gomock.Call.Return
type MockIStakingLogGetByIDCall ¶ added in v1.9.9
MockIStakingLogGetByIDCall wrap *gomock.Call
func (*MockIStakingLogGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIStakingLogGetByIDCall) Do(f func(context.Context, uint64) (*storage.StakingLog, error)) *MockIStakingLogGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIStakingLogGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStakingLogGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.StakingLog, error)) *MockIStakingLogGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStakingLogGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIStakingLogGetByIDCall) Return(arg0 *storage.StakingLog, arg1 error) *MockIStakingLogGetByIDCall
Return rewrite *gomock.Call.Return
type MockIStakingLogIsNoRowsCall ¶ added in v1.9.9
MockIStakingLogIsNoRowsCall wrap *gomock.Call
func (*MockIStakingLogIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIStakingLogIsNoRowsCall) Do(f func(error) bool) *MockIStakingLogIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIStakingLogIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStakingLogIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIStakingLogIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStakingLogIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIStakingLogIsNoRowsCall) Return(arg0 bool) *MockIStakingLogIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIStakingLogLastIDCall ¶ added in v1.9.9
MockIStakingLogLastIDCall wrap *gomock.Call
func (*MockIStakingLogLastIDCall) Do ¶ added in v1.9.9
func (c *MockIStakingLogLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIStakingLogLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIStakingLogLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStakingLogLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIStakingLogLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStakingLogLastIDCall) Return ¶ added in v1.9.9
func (c *MockIStakingLogLastIDCall) Return(arg0 uint64, arg1 error) *MockIStakingLogLastIDCall
Return rewrite *gomock.Call.Return
type MockIStakingLogListCall ¶ added in v1.9.9
MockIStakingLogListCall wrap *gomock.Call
func (*MockIStakingLogListCall) Do ¶ added in v1.9.9
func (c *MockIStakingLogListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.StakingLog, error)) *MockIStakingLogListCall
Do rewrite *gomock.Call.Do
func (*MockIStakingLogListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStakingLogListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.StakingLog, error)) *MockIStakingLogListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStakingLogListCall) Return ¶ added in v1.9.9
func (c *MockIStakingLogListCall) Return(arg0 []*storage.StakingLog, arg1 error) *MockIStakingLogListCall
Return rewrite *gomock.Call.Return
type MockIStakingLogMockRecorder ¶ added in v1.6.0
type MockIStakingLogMockRecorder struct {
// contains filtered or unexported fields
}
MockIStakingLogMockRecorder is the mock recorder for MockIStakingLog.
func (*MockIStakingLogMockRecorder) CursorList ¶ added in v1.6.0
func (mr *MockIStakingLogMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIStakingLogCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIStakingLogMockRecorder) GetByID ¶ added in v1.6.0
func (mr *MockIStakingLogMockRecorder) GetByID(ctx, id any) *MockIStakingLogGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIStakingLogMockRecorder) IsNoRows ¶ added in v1.6.0
func (mr *MockIStakingLogMockRecorder) IsNoRows(err any) *MockIStakingLogIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIStakingLogMockRecorder) LastID ¶ added in v1.6.0
func (mr *MockIStakingLogMockRecorder) LastID(ctx any) *MockIStakingLogLastIDCall
LastID indicates an expected call of LastID.
func (*MockIStakingLogMockRecorder) List ¶ added in v1.6.0
func (mr *MockIStakingLogMockRecorder) List(ctx, limit, offset, order any) *MockIStakingLogListCall
List indicates an expected call of List.
func (*MockIStakingLogMockRecorder) Save ¶ added in v1.6.0
func (mr *MockIStakingLogMockRecorder) Save(ctx, m any) *MockIStakingLogSaveCall
Save indicates an expected call of Save.
func (*MockIStakingLogMockRecorder) Update ¶ added in v1.6.0
func (mr *MockIStakingLogMockRecorder) Update(ctx, m any) *MockIStakingLogUpdateCall
Update indicates an expected call of Update.
type MockIStakingLogSaveCall ¶ added in v1.9.9
MockIStakingLogSaveCall wrap *gomock.Call
func (*MockIStakingLogSaveCall) Do ¶ added in v1.9.9
func (c *MockIStakingLogSaveCall) Do(f func(context.Context, *storage.StakingLog) error) *MockIStakingLogSaveCall
Do rewrite *gomock.Call.Do
func (*MockIStakingLogSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStakingLogSaveCall) DoAndReturn(f func(context.Context, *storage.StakingLog) error) *MockIStakingLogSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStakingLogSaveCall) Return ¶ added in v1.9.9
func (c *MockIStakingLogSaveCall) Return(arg0 error) *MockIStakingLogSaveCall
Return rewrite *gomock.Call.Return
type MockIStakingLogUpdateCall ¶ added in v1.9.9
MockIStakingLogUpdateCall wrap *gomock.Call
func (*MockIStakingLogUpdateCall) Do ¶ added in v1.9.9
func (c *MockIStakingLogUpdateCall) Do(f func(context.Context, *storage.StakingLog) error) *MockIStakingLogUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIStakingLogUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStakingLogUpdateCall) DoAndReturn(f func(context.Context, *storage.StakingLog) error) *MockIStakingLogUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStakingLogUpdateCall) Return ¶ added in v1.9.9
func (c *MockIStakingLogUpdateCall) Return(arg0 error) *MockIStakingLogUpdateCall
Return rewrite *gomock.Call.Return
type MockIState ¶
type MockIState struct {
// contains filtered or unexported fields
}
MockIState is a mock of IState interface.
func NewMockIState ¶
func NewMockIState(ctrl *gomock.Controller) *MockIState
NewMockIState creates a new mock instance.
func (*MockIState) CursorList ¶
func (m *MockIState) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.State, error)
CursorList mocks base method.
func (*MockIState) EXPECT ¶
func (m *MockIState) EXPECT() *MockIStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIState) IsNoRows ¶
func (m *MockIState) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIState) LastID ¶
func (m *MockIState) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIState) List ¶
func (m *MockIState) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.State, error)
List mocks base method.
type MockIStateByNameCall ¶ added in v1.9.9
MockIStateByNameCall wrap *gomock.Call
func (*MockIStateByNameCall) Do ¶ added in v1.9.9
func (c *MockIStateByNameCall) Do(f func(context.Context, string) (storage.State, error)) *MockIStateByNameCall
Do rewrite *gomock.Call.Do
func (*MockIStateByNameCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStateByNameCall) DoAndReturn(f func(context.Context, string) (storage.State, error)) *MockIStateByNameCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateByNameCall) Return ¶ added in v1.9.9
func (c *MockIStateByNameCall) Return(arg0 storage.State, arg1 error) *MockIStateByNameCall
Return rewrite *gomock.Call.Return
type MockIStateCursorListCall ¶ added in v1.9.9
MockIStateCursorListCall wrap *gomock.Call
func (*MockIStateCursorListCall) Do ¶ added in v1.9.9
func (c *MockIStateCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.State, error)) *MockIStateCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIStateCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStateCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.State, error)) *MockIStateCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateCursorListCall) Return ¶ added in v1.9.9
func (c *MockIStateCursorListCall) Return(arg0 []*storage.State, arg1 error) *MockIStateCursorListCall
Return rewrite *gomock.Call.Return
type MockIStateGetByIDCall ¶ added in v1.9.9
MockIStateGetByIDCall wrap *gomock.Call
func (*MockIStateGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIStateGetByIDCall) Do(f func(context.Context, uint64) (*storage.State, error)) *MockIStateGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIStateGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStateGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.State, error)) *MockIStateGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIStateGetByIDCall) Return(arg0 *storage.State, arg1 error) *MockIStateGetByIDCall
Return rewrite *gomock.Call.Return
type MockIStateIsNoRowsCall ¶ added in v1.9.9
MockIStateIsNoRowsCall wrap *gomock.Call
func (*MockIStateIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIStateIsNoRowsCall) Do(f func(error) bool) *MockIStateIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIStateIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStateIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIStateIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIStateIsNoRowsCall) Return(arg0 bool) *MockIStateIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIStateLastIDCall ¶ added in v1.9.9
MockIStateLastIDCall wrap *gomock.Call
func (*MockIStateLastIDCall) Do ¶ added in v1.9.9
func (c *MockIStateLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIStateLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIStateLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStateLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIStateLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateLastIDCall) Return ¶ added in v1.9.9
func (c *MockIStateLastIDCall) Return(arg0 uint64, arg1 error) *MockIStateLastIDCall
Return rewrite *gomock.Call.Return
type MockIStateListCall ¶ added in v1.9.9
MockIStateListCall wrap *gomock.Call
func (*MockIStateListCall) Do ¶ added in v1.9.9
func (c *MockIStateListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.State, error)) *MockIStateListCall
Do rewrite *gomock.Call.Do
func (*MockIStateListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStateListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.State, error)) *MockIStateListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateListCall) Return ¶ added in v1.9.9
func (c *MockIStateListCall) Return(arg0 []*storage.State, arg1 error) *MockIStateListCall
Return rewrite *gomock.Call.Return
type MockIStateMockRecorder ¶
type MockIStateMockRecorder struct {
// contains filtered or unexported fields
}
MockIStateMockRecorder is the mock recorder for MockIState.
func (*MockIStateMockRecorder) ByName ¶
func (mr *MockIStateMockRecorder) ByName(ctx, name any) *MockIStateByNameCall
ByName indicates an expected call of ByName.
func (*MockIStateMockRecorder) CursorList ¶
func (mr *MockIStateMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIStateCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIStateMockRecorder) GetByID ¶
func (mr *MockIStateMockRecorder) GetByID(ctx, id any) *MockIStateGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIStateMockRecorder) IsNoRows ¶
func (mr *MockIStateMockRecorder) IsNoRows(err any) *MockIStateIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIStateMockRecorder) LastID ¶
func (mr *MockIStateMockRecorder) LastID(ctx any) *MockIStateLastIDCall
LastID indicates an expected call of LastID.
func (*MockIStateMockRecorder) List ¶
func (mr *MockIStateMockRecorder) List(ctx, limit, offset, order any) *MockIStateListCall
List indicates an expected call of List.
func (*MockIStateMockRecorder) Save ¶
func (mr *MockIStateMockRecorder) Save(ctx, m any) *MockIStateSaveCall
Save indicates an expected call of Save.
func (*MockIStateMockRecorder) Update ¶
func (mr *MockIStateMockRecorder) Update(ctx, m any) *MockIStateUpdateCall
Update indicates an expected call of Update.
type MockIStateSaveCall ¶ added in v1.9.9
MockIStateSaveCall wrap *gomock.Call
func (*MockIStateSaveCall) Do ¶ added in v1.9.9
func (c *MockIStateSaveCall) Do(f func(context.Context, *storage.State) error) *MockIStateSaveCall
Do rewrite *gomock.Call.Do
func (*MockIStateSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStateSaveCall) DoAndReturn(f func(context.Context, *storage.State) error) *MockIStateSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateSaveCall) Return ¶ added in v1.9.9
func (c *MockIStateSaveCall) Return(arg0 error) *MockIStateSaveCall
Return rewrite *gomock.Call.Return
type MockIStateUpdateCall ¶ added in v1.9.9
MockIStateUpdateCall wrap *gomock.Call
func (*MockIStateUpdateCall) Do ¶ added in v1.9.9
func (c *MockIStateUpdateCall) Do(f func(context.Context, *storage.State) error) *MockIStateUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIStateUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStateUpdateCall) DoAndReturn(f func(context.Context, *storage.State) error) *MockIStateUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateUpdateCall) Return ¶ added in v1.9.9
func (c *MockIStateUpdateCall) Return(arg0 error) *MockIStateUpdateCall
Return rewrite *gomock.Call.Return
type MockIStats ¶
type MockIStats struct {
// contains filtered or unexported fields
}
MockIStats is a mock of IStats interface.
func NewMockIStats ¶
func NewMockIStats(ctrl *gomock.Controller) *MockIStats
NewMockIStats creates a new mock instance.
func (*MockIStats) Change24hBlockStats ¶ added in v1.9.7
func (m *MockIStats) Change24hBlockStats(ctx context.Context) (storage.Change24hBlockStats, error)
Change24hBlockStats mocks base method.
func (*MockIStats) Count ¶
func (m *MockIStats) Count(ctx context.Context, req storage.CountRequest) (string, error)
Count mocks base method.
func (*MockIStats) CumulativeSeries ¶ added in v1.9.1
func (m *MockIStats) CumulativeSeries(ctx context.Context, timeframe storage.Timeframe, name string, req storage.SeriesRequest) ([]storage.SeriesItem, error)
CumulativeSeries mocks base method.
func (*MockIStats) EXPECT ¶
func (m *MockIStats) EXPECT() *MockIStatsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIStats) MessagesCount24h ¶ added in v1.9.7
MessagesCount24h mocks base method.
func (*MockIStats) NamespaceSeries ¶ added in v1.1.0
func (m *MockIStats) NamespaceSeries(ctx context.Context, timeframe storage.Timeframe, name string, nsId uint64, req storage.SeriesRequest) ([]storage.SeriesItem, error)
NamespaceSeries mocks base method.
func (*MockIStats) RollupStats24h ¶ added in v1.9.7
func (m *MockIStats) RollupStats24h(ctx context.Context) ([]storage.RollupStats24h, error)
RollupStats24h mocks base method.
func (*MockIStats) Series ¶ added in v1.1.0
func (m *MockIStats) Series(ctx context.Context, timeframe storage.Timeframe, name string, req storage.SeriesRequest) ([]storage.SeriesItem, error)
Series mocks base method.
func (*MockIStats) SquareSize ¶ added in v1.9.6
func (m *MockIStats) SquareSize(ctx context.Context, from, to *time.Time) (map[int][]storage.SeriesItem, error)
SquareSize mocks base method.
func (*MockIStats) StakingSeries ¶ added in v1.6.0
func (m *MockIStats) StakingSeries(ctx context.Context, timeframe storage.Timeframe, name string, validatorId uint64, req storage.SeriesRequest) ([]storage.SeriesItem, error)
StakingSeries mocks base method.
func (*MockIStats) Summary ¶
func (m *MockIStats) Summary(ctx context.Context, req storage.SummaryRequest) (string, error)
Summary mocks base method.
type MockIStatsChange24hBlockStatsCall ¶ added in v1.9.9
MockIStatsChange24hBlockStatsCall wrap *gomock.Call
func (*MockIStatsChange24hBlockStatsCall) Do ¶ added in v1.9.9
func (c *MockIStatsChange24hBlockStatsCall) Do(f func(context.Context) (storage.Change24hBlockStats, error)) *MockIStatsChange24hBlockStatsCall
Do rewrite *gomock.Call.Do
func (*MockIStatsChange24hBlockStatsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStatsChange24hBlockStatsCall) DoAndReturn(f func(context.Context) (storage.Change24hBlockStats, error)) *MockIStatsChange24hBlockStatsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsChange24hBlockStatsCall) Return ¶ added in v1.9.9
func (c *MockIStatsChange24hBlockStatsCall) Return(response storage.Change24hBlockStats, err error) *MockIStatsChange24hBlockStatsCall
Return rewrite *gomock.Call.Return
type MockIStatsCountCall ¶ added in v1.9.9
MockIStatsCountCall wrap *gomock.Call
func (*MockIStatsCountCall) Do ¶ added in v1.9.9
func (c *MockIStatsCountCall) Do(f func(context.Context, storage.CountRequest) (string, error)) *MockIStatsCountCall
Do rewrite *gomock.Call.Do
func (*MockIStatsCountCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStatsCountCall) DoAndReturn(f func(context.Context, storage.CountRequest) (string, error)) *MockIStatsCountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsCountCall) Return ¶ added in v1.9.9
func (c *MockIStatsCountCall) Return(arg0 string, arg1 error) *MockIStatsCountCall
Return rewrite *gomock.Call.Return
type MockIStatsCumulativeSeriesCall ¶ added in v1.9.9
MockIStatsCumulativeSeriesCall wrap *gomock.Call
func (*MockIStatsCumulativeSeriesCall) Do ¶ added in v1.9.9
func (c *MockIStatsCumulativeSeriesCall) Do(f func(context.Context, storage.Timeframe, string, storage.SeriesRequest) ([]storage.SeriesItem, error)) *MockIStatsCumulativeSeriesCall
Do rewrite *gomock.Call.Do
func (*MockIStatsCumulativeSeriesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStatsCumulativeSeriesCall) DoAndReturn(f func(context.Context, storage.Timeframe, string, storage.SeriesRequest) ([]storage.SeriesItem, error)) *MockIStatsCumulativeSeriesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsCumulativeSeriesCall) Return ¶ added in v1.9.9
func (c *MockIStatsCumulativeSeriesCall) Return(arg0 []storage.SeriesItem, arg1 error) *MockIStatsCumulativeSeriesCall
Return rewrite *gomock.Call.Return
type MockIStatsMessagesCount24hCall ¶ added in v1.9.9
MockIStatsMessagesCount24hCall wrap *gomock.Call
func (*MockIStatsMessagesCount24hCall) Do ¶ added in v1.9.9
func (c *MockIStatsMessagesCount24hCall) Do(f func(context.Context) ([]storage.CountItem, error)) *MockIStatsMessagesCount24hCall
Do rewrite *gomock.Call.Do
func (*MockIStatsMessagesCount24hCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStatsMessagesCount24hCall) DoAndReturn(f func(context.Context) ([]storage.CountItem, error)) *MockIStatsMessagesCount24hCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsMessagesCount24hCall) Return ¶ added in v1.9.9
func (c *MockIStatsMessagesCount24hCall) Return(arg0 []storage.CountItem, arg1 error) *MockIStatsMessagesCount24hCall
Return rewrite *gomock.Call.Return
type MockIStatsMockRecorder ¶
type MockIStatsMockRecorder struct {
// contains filtered or unexported fields
}
MockIStatsMockRecorder is the mock recorder for MockIStats.
func (*MockIStatsMockRecorder) Change24hBlockStats ¶ added in v1.9.7
func (mr *MockIStatsMockRecorder) Change24hBlockStats(ctx any) *MockIStatsChange24hBlockStatsCall
Change24hBlockStats indicates an expected call of Change24hBlockStats.
func (*MockIStatsMockRecorder) Count ¶
func (mr *MockIStatsMockRecorder) Count(ctx, req any) *MockIStatsCountCall
Count indicates an expected call of Count.
func (*MockIStatsMockRecorder) CumulativeSeries ¶ added in v1.9.1
func (mr *MockIStatsMockRecorder) CumulativeSeries(ctx, timeframe, name, req any) *MockIStatsCumulativeSeriesCall
CumulativeSeries indicates an expected call of CumulativeSeries.
func (*MockIStatsMockRecorder) MessagesCount24h ¶ added in v1.9.7
func (mr *MockIStatsMockRecorder) MessagesCount24h(ctx any) *MockIStatsMessagesCount24hCall
MessagesCount24h indicates an expected call of MessagesCount24h.
func (*MockIStatsMockRecorder) NamespaceSeries ¶ added in v1.1.0
func (mr *MockIStatsMockRecorder) NamespaceSeries(ctx, timeframe, name, nsId, req any) *MockIStatsNamespaceSeriesCall
NamespaceSeries indicates an expected call of NamespaceSeries.
func (*MockIStatsMockRecorder) RollupStats24h ¶ added in v1.9.7
func (mr *MockIStatsMockRecorder) RollupStats24h(ctx any) *MockIStatsRollupStats24hCall
RollupStats24h indicates an expected call of RollupStats24h.
func (*MockIStatsMockRecorder) Series ¶ added in v1.1.0
func (mr *MockIStatsMockRecorder) Series(ctx, timeframe, name, req any) *MockIStatsSeriesCall
Series indicates an expected call of Series.
func (*MockIStatsMockRecorder) SquareSize ¶ added in v1.9.6
func (mr *MockIStatsMockRecorder) SquareSize(ctx, from, to any) *MockIStatsSquareSizeCall
SquareSize indicates an expected call of SquareSize.
func (*MockIStatsMockRecorder) StakingSeries ¶ added in v1.6.0
func (mr *MockIStatsMockRecorder) StakingSeries(ctx, timeframe, name, validatorId, req any) *MockIStatsStakingSeriesCall
StakingSeries indicates an expected call of StakingSeries.
func (*MockIStatsMockRecorder) Summary ¶
func (mr *MockIStatsMockRecorder) Summary(ctx, req any) *MockIStatsSummaryCall
Summary indicates an expected call of Summary.
func (*MockIStatsMockRecorder) TPS ¶ added in v1.1.0
func (mr *MockIStatsMockRecorder) TPS(ctx any) *MockIStatsTPSCall
TPS indicates an expected call of TPS.
type MockIStatsNamespaceSeriesCall ¶ added in v1.9.9
MockIStatsNamespaceSeriesCall wrap *gomock.Call
func (*MockIStatsNamespaceSeriesCall) Do ¶ added in v1.9.9
func (c *MockIStatsNamespaceSeriesCall) Do(f func(context.Context, storage.Timeframe, string, uint64, storage.SeriesRequest) ([]storage.SeriesItem, error)) *MockIStatsNamespaceSeriesCall
Do rewrite *gomock.Call.Do
func (*MockIStatsNamespaceSeriesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStatsNamespaceSeriesCall) DoAndReturn(f func(context.Context, storage.Timeframe, string, uint64, storage.SeriesRequest) ([]storage.SeriesItem, error)) *MockIStatsNamespaceSeriesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsNamespaceSeriesCall) Return ¶ added in v1.9.9
func (c *MockIStatsNamespaceSeriesCall) Return(response []storage.SeriesItem, err error) *MockIStatsNamespaceSeriesCall
Return rewrite *gomock.Call.Return
type MockIStatsRollupStats24hCall ¶ added in v1.9.9
MockIStatsRollupStats24hCall wrap *gomock.Call
func (*MockIStatsRollupStats24hCall) Do ¶ added in v1.9.9
func (c *MockIStatsRollupStats24hCall) Do(f func(context.Context) ([]storage.RollupStats24h, error)) *MockIStatsRollupStats24hCall
Do rewrite *gomock.Call.Do
func (*MockIStatsRollupStats24hCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStatsRollupStats24hCall) DoAndReturn(f func(context.Context) ([]storage.RollupStats24h, error)) *MockIStatsRollupStats24hCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsRollupStats24hCall) Return ¶ added in v1.9.9
func (c *MockIStatsRollupStats24hCall) Return(arg0 []storage.RollupStats24h, arg1 error) *MockIStatsRollupStats24hCall
Return rewrite *gomock.Call.Return
type MockIStatsSeriesCall ¶ added in v1.9.9
MockIStatsSeriesCall wrap *gomock.Call
func (*MockIStatsSeriesCall) Do ¶ added in v1.9.9
func (c *MockIStatsSeriesCall) Do(f func(context.Context, storage.Timeframe, string, storage.SeriesRequest) ([]storage.SeriesItem, error)) *MockIStatsSeriesCall
Do rewrite *gomock.Call.Do
func (*MockIStatsSeriesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStatsSeriesCall) DoAndReturn(f func(context.Context, storage.Timeframe, string, storage.SeriesRequest) ([]storage.SeriesItem, error)) *MockIStatsSeriesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsSeriesCall) Return ¶ added in v1.9.9
func (c *MockIStatsSeriesCall) Return(arg0 []storage.SeriesItem, arg1 error) *MockIStatsSeriesCall
Return rewrite *gomock.Call.Return
type MockIStatsSquareSizeCall ¶ added in v1.9.9
MockIStatsSquareSizeCall wrap *gomock.Call
func (*MockIStatsSquareSizeCall) Do ¶ added in v1.9.9
func (c *MockIStatsSquareSizeCall) Do(f func(context.Context, *time.Time, *time.Time) (map[int][]storage.SeriesItem, error)) *MockIStatsSquareSizeCall
Do rewrite *gomock.Call.Do
func (*MockIStatsSquareSizeCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStatsSquareSizeCall) DoAndReturn(f func(context.Context, *time.Time, *time.Time) (map[int][]storage.SeriesItem, error)) *MockIStatsSquareSizeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsSquareSizeCall) Return ¶ added in v1.9.9
func (c *MockIStatsSquareSizeCall) Return(arg0 map[int][]storage.SeriesItem, arg1 error) *MockIStatsSquareSizeCall
Return rewrite *gomock.Call.Return
type MockIStatsStakingSeriesCall ¶ added in v1.9.9
MockIStatsStakingSeriesCall wrap *gomock.Call
func (*MockIStatsStakingSeriesCall) Do ¶ added in v1.9.9
func (c *MockIStatsStakingSeriesCall) Do(f func(context.Context, storage.Timeframe, string, uint64, storage.SeriesRequest) ([]storage.SeriesItem, error)) *MockIStatsStakingSeriesCall
Do rewrite *gomock.Call.Do
func (*MockIStatsStakingSeriesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStatsStakingSeriesCall) DoAndReturn(f func(context.Context, storage.Timeframe, string, uint64, storage.SeriesRequest) ([]storage.SeriesItem, error)) *MockIStatsStakingSeriesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsStakingSeriesCall) Return ¶ added in v1.9.9
func (c *MockIStatsStakingSeriesCall) Return(response []storage.SeriesItem, err error) *MockIStatsStakingSeriesCall
Return rewrite *gomock.Call.Return
type MockIStatsSummaryCall ¶ added in v1.9.9
MockIStatsSummaryCall wrap *gomock.Call
func (*MockIStatsSummaryCall) Do ¶ added in v1.9.9
func (c *MockIStatsSummaryCall) Do(f func(context.Context, storage.SummaryRequest) (string, error)) *MockIStatsSummaryCall
Do rewrite *gomock.Call.Do
func (*MockIStatsSummaryCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStatsSummaryCall) DoAndReturn(f func(context.Context, storage.SummaryRequest) (string, error)) *MockIStatsSummaryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsSummaryCall) Return ¶ added in v1.9.9
func (c *MockIStatsSummaryCall) Return(arg0 string, arg1 error) *MockIStatsSummaryCall
Return rewrite *gomock.Call.Return
type MockIStatsTPSCall ¶ added in v1.9.9
MockIStatsTPSCall wrap *gomock.Call
func (*MockIStatsTPSCall) Do ¶ added in v1.9.9
func (c *MockIStatsTPSCall) Do(f func(context.Context) (storage.TPS, error)) *MockIStatsTPSCall
Do rewrite *gomock.Call.Do
func (*MockIStatsTPSCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIStatsTPSCall) DoAndReturn(f func(context.Context) (storage.TPS, error)) *MockIStatsTPSCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsTPSCall) Return ¶ added in v1.9.9
func (c *MockIStatsTPSCall) Return(arg0 storage.TPS, arg1 error) *MockIStatsTPSCall
Return rewrite *gomock.Call.Return
type MockITx ¶
type MockITx struct {
// contains filtered or unexported fields
}
MockITx is a mock of ITx interface.
func NewMockITx ¶
func NewMockITx(ctrl *gomock.Controller) *MockITx
NewMockITx creates a new mock instance.
func (*MockITx) ByAddress ¶
func (m *MockITx) ByAddress(ctx context.Context, addressId uint64, fltrs storage.TxFilter) ([]storage.Tx, error)
ByAddress mocks base method.
func (*MockITx) ByIdWithRelations ¶
ByIdWithRelations mocks base method.
func (*MockITx) CursorList ¶
func (m *MockITx) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Tx, error)
CursorList mocks base method.
func (*MockITx) EXPECT ¶
func (m *MockITx) EXPECT() *MockITxMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockITx) Genesis ¶
func (m *MockITx) Genesis(ctx context.Context, limit, offset int, sortOrder storage0.SortOrder) ([]storage.Tx, error)
Genesis mocks base method.
func (*MockITx) List ¶
func (m *MockITx) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Tx, error)
List mocks base method.
type MockITxByAddressCall ¶ added in v1.9.9
MockITxByAddressCall wrap *gomock.Call
func (*MockITxByAddressCall) Do ¶ added in v1.9.9
func (c *MockITxByAddressCall) Do(f func(context.Context, uint64, storage.TxFilter) ([]storage.Tx, error)) *MockITxByAddressCall
Do rewrite *gomock.Call.Do
func (*MockITxByAddressCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxByAddressCall) DoAndReturn(f func(context.Context, uint64, storage.TxFilter) ([]storage.Tx, error)) *MockITxByAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxByAddressCall) Return ¶ added in v1.9.9
func (c *MockITxByAddressCall) Return(arg0 []storage.Tx, arg1 error) *MockITxByAddressCall
Return rewrite *gomock.Call.Return
type MockITxByHashCall ¶ added in v1.9.9
MockITxByHashCall wrap *gomock.Call
func (*MockITxByHashCall) Do ¶ added in v1.9.9
func (c *MockITxByHashCall) Do(f func(context.Context, []byte) (storage.Tx, error)) *MockITxByHashCall
Do rewrite *gomock.Call.Do
func (*MockITxByHashCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Tx, error)) *MockITxByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxByHashCall) Return ¶ added in v1.9.9
func (c *MockITxByHashCall) Return(arg0 storage.Tx, arg1 error) *MockITxByHashCall
Return rewrite *gomock.Call.Return
type MockITxByIdWithRelationsCall ¶ added in v1.9.9
MockITxByIdWithRelationsCall wrap *gomock.Call
func (*MockITxByIdWithRelationsCall) Do ¶ added in v1.9.9
func (c *MockITxByIdWithRelationsCall) Do(f func(context.Context, uint64) (storage.Tx, error)) *MockITxByIdWithRelationsCall
Do rewrite *gomock.Call.Do
func (*MockITxByIdWithRelationsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxByIdWithRelationsCall) DoAndReturn(f func(context.Context, uint64) (storage.Tx, error)) *MockITxByIdWithRelationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxByIdWithRelationsCall) Return ¶ added in v1.9.9
func (c *MockITxByIdWithRelationsCall) Return(arg0 storage.Tx, arg1 error) *MockITxByIdWithRelationsCall
Return rewrite *gomock.Call.Return
type MockITxCursorListCall ¶ added in v1.9.9
MockITxCursorListCall wrap *gomock.Call
func (*MockITxCursorListCall) Do ¶ added in v1.9.9
func (c *MockITxCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Tx, error)) *MockITxCursorListCall
Do rewrite *gomock.Call.Do
func (*MockITxCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Tx, error)) *MockITxCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxCursorListCall) Return ¶ added in v1.9.9
func (c *MockITxCursorListCall) Return(arg0 []*storage.Tx, arg1 error) *MockITxCursorListCall
Return rewrite *gomock.Call.Return
type MockITxFilterCall ¶ added in v1.9.9
MockITxFilterCall wrap *gomock.Call
func (*MockITxFilterCall) Do ¶ added in v1.9.9
func (c *MockITxFilterCall) Do(f func(context.Context, storage.TxFilter) ([]storage.Tx, error)) *MockITxFilterCall
Do rewrite *gomock.Call.Do
func (*MockITxFilterCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxFilterCall) DoAndReturn(f func(context.Context, storage.TxFilter) ([]storage.Tx, error)) *MockITxFilterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxFilterCall) Return ¶ added in v1.9.9
func (c *MockITxFilterCall) Return(arg0 []storage.Tx, arg1 error) *MockITxFilterCall
Return rewrite *gomock.Call.Return
type MockITxGasCall ¶ added in v1.9.9
MockITxGasCall wrap *gomock.Call
func (*MockITxGasCall) Do ¶ added in v1.9.9
func (c *MockITxGasCall) Do(f func(context.Context, types.Level, time.Time) ([]storage.Gas, error)) *MockITxGasCall
Do rewrite *gomock.Call.Do
func (*MockITxGasCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxGasCall) DoAndReturn(f func(context.Context, types.Level, time.Time) ([]storage.Gas, error)) *MockITxGasCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxGasCall) Return ¶ added in v1.9.9
func (c *MockITxGasCall) Return(arg0 []storage.Gas, arg1 error) *MockITxGasCall
Return rewrite *gomock.Call.Return
type MockITxGenesisCall ¶ added in v1.9.9
MockITxGenesisCall wrap *gomock.Call
func (*MockITxGenesisCall) Do ¶ added in v1.9.9
func (c *MockITxGenesisCall) Do(f func(context.Context, int, int, storage0.SortOrder) ([]storage.Tx, error)) *MockITxGenesisCall
Do rewrite *gomock.Call.Do
func (*MockITxGenesisCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxGenesisCall) DoAndReturn(f func(context.Context, int, int, storage0.SortOrder) ([]storage.Tx, error)) *MockITxGenesisCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxGenesisCall) Return ¶ added in v1.9.9
func (c *MockITxGenesisCall) Return(arg0 []storage.Tx, arg1 error) *MockITxGenesisCall
Return rewrite *gomock.Call.Return
type MockITxGetByIDCall ¶ added in v1.9.9
MockITxGetByIDCall wrap *gomock.Call
func (*MockITxGetByIDCall) Do ¶ added in v1.9.9
func (c *MockITxGetByIDCall) Do(f func(context.Context, uint64) (*storage.Tx, error)) *MockITxGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockITxGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Tx, error)) *MockITxGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxGetByIDCall) Return ¶ added in v1.9.9
func (c *MockITxGetByIDCall) Return(arg0 *storage.Tx, arg1 error) *MockITxGetByIDCall
Return rewrite *gomock.Call.Return
type MockITxIdByHashCall ¶ added in v1.9.9
MockITxIdByHashCall wrap *gomock.Call
func (*MockITxIdByHashCall) Do ¶ added in v1.9.9
func (c *MockITxIdByHashCall) Do(f func(context.Context, []byte) (uint64, error)) *MockITxIdByHashCall
Do rewrite *gomock.Call.Do
func (*MockITxIdByHashCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxIdByHashCall) DoAndReturn(f func(context.Context, []byte) (uint64, error)) *MockITxIdByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxIdByHashCall) Return ¶ added in v1.9.9
func (c *MockITxIdByHashCall) Return(arg0 uint64, arg1 error) *MockITxIdByHashCall
Return rewrite *gomock.Call.Return
type MockITxIsNoRowsCall ¶ added in v1.9.9
MockITxIsNoRowsCall wrap *gomock.Call
func (*MockITxIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockITxIsNoRowsCall) Do(f func(error) bool) *MockITxIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockITxIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxIsNoRowsCall) DoAndReturn(f func(error) bool) *MockITxIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockITxIsNoRowsCall) Return(arg0 bool) *MockITxIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockITxLastIDCall ¶ added in v1.9.9
MockITxLastIDCall wrap *gomock.Call
func (*MockITxLastIDCall) Do ¶ added in v1.9.9
func (c *MockITxLastIDCall) Do(f func(context.Context) (uint64, error)) *MockITxLastIDCall
Do rewrite *gomock.Call.Do
func (*MockITxLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockITxLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxLastIDCall) Return ¶ added in v1.9.9
func (c *MockITxLastIDCall) Return(arg0 uint64, arg1 error) *MockITxLastIDCall
Return rewrite *gomock.Call.Return
type MockITxListCall ¶ added in v1.9.9
MockITxListCall wrap *gomock.Call
func (*MockITxListCall) Do ¶ added in v1.9.9
func (c *MockITxListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Tx, error)) *MockITxListCall
Do rewrite *gomock.Call.Do
func (*MockITxListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Tx, error)) *MockITxListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxListCall) Return ¶ added in v1.9.9
func (c *MockITxListCall) Return(arg0 []*storage.Tx, arg1 error) *MockITxListCall
Return rewrite *gomock.Call.Return
type MockITxMockRecorder ¶
type MockITxMockRecorder struct {
// contains filtered or unexported fields
}
MockITxMockRecorder is the mock recorder for MockITx.
func (*MockITxMockRecorder) ByAddress ¶
func (mr *MockITxMockRecorder) ByAddress(ctx, addressId, fltrs any) *MockITxByAddressCall
ByAddress indicates an expected call of ByAddress.
func (*MockITxMockRecorder) ByHash ¶
func (mr *MockITxMockRecorder) ByHash(ctx, hash any) *MockITxByHashCall
ByHash indicates an expected call of ByHash.
func (*MockITxMockRecorder) ByIdWithRelations ¶
func (mr *MockITxMockRecorder) ByIdWithRelations(ctx, id any) *MockITxByIdWithRelationsCall
ByIdWithRelations indicates an expected call of ByIdWithRelations.
func (*MockITxMockRecorder) CursorList ¶
func (mr *MockITxMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockITxCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockITxMockRecorder) Filter ¶
func (mr *MockITxMockRecorder) Filter(ctx, fltrs any) *MockITxFilterCall
Filter indicates an expected call of Filter.
func (*MockITxMockRecorder) Gas ¶ added in v1.1.0
func (mr *MockITxMockRecorder) Gas(ctx, height, ts any) *MockITxGasCall
Gas indicates an expected call of Gas.
func (*MockITxMockRecorder) Genesis ¶
func (mr *MockITxMockRecorder) Genesis(ctx, limit, offset, sortOrder any) *MockITxGenesisCall
Genesis indicates an expected call of Genesis.
func (*MockITxMockRecorder) GetByID ¶
func (mr *MockITxMockRecorder) GetByID(ctx, id any) *MockITxGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockITxMockRecorder) IdByHash ¶ added in v1.8.1
func (mr *MockITxMockRecorder) IdByHash(ctx, hash any) *MockITxIdByHashCall
IdByHash indicates an expected call of IdByHash.
func (*MockITxMockRecorder) IsNoRows ¶
func (mr *MockITxMockRecorder) IsNoRows(err any) *MockITxIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockITxMockRecorder) LastID ¶
func (mr *MockITxMockRecorder) LastID(ctx any) *MockITxLastIDCall
LastID indicates an expected call of LastID.
func (*MockITxMockRecorder) List ¶
func (mr *MockITxMockRecorder) List(ctx, limit, offset, order any) *MockITxListCall
List indicates an expected call of List.
func (*MockITxMockRecorder) Save ¶
func (mr *MockITxMockRecorder) Save(ctx, m any) *MockITxSaveCall
Save indicates an expected call of Save.
func (*MockITxMockRecorder) Update ¶
func (mr *MockITxMockRecorder) Update(ctx, m any) *MockITxUpdateCall
Update indicates an expected call of Update.
type MockITxSaveCall ¶ added in v1.9.9
MockITxSaveCall wrap *gomock.Call
func (*MockITxSaveCall) Do ¶ added in v1.9.9
func (c *MockITxSaveCall) Do(f func(context.Context, *storage.Tx) error) *MockITxSaveCall
Do rewrite *gomock.Call.Do
func (*MockITxSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxSaveCall) DoAndReturn(f func(context.Context, *storage.Tx) error) *MockITxSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxSaveCall) Return ¶ added in v1.9.9
func (c *MockITxSaveCall) Return(arg0 error) *MockITxSaveCall
Return rewrite *gomock.Call.Return
type MockITxUpdateCall ¶ added in v1.9.9
MockITxUpdateCall wrap *gomock.Call
func (*MockITxUpdateCall) Do ¶ added in v1.9.9
func (c *MockITxUpdateCall) Do(f func(context.Context, *storage.Tx) error) *MockITxUpdateCall
Do rewrite *gomock.Call.Do
func (*MockITxUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockITxUpdateCall) DoAndReturn(f func(context.Context, *storage.Tx) error) *MockITxUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxUpdateCall) Return ¶ added in v1.9.9
func (c *MockITxUpdateCall) Return(arg0 error) *MockITxUpdateCall
Return rewrite *gomock.Call.Return
type MockIUndelegation ¶ added in v1.6.0
type MockIUndelegation struct {
// contains filtered or unexported fields
}
MockIUndelegation is a mock of IUndelegation interface.
func NewMockIUndelegation ¶ added in v1.6.0
func NewMockIUndelegation(ctrl *gomock.Controller) *MockIUndelegation
NewMockIUndelegation creates a new mock instance.
func (*MockIUndelegation) ByAddress ¶ added in v1.6.0
func (m *MockIUndelegation) ByAddress(ctx context.Context, addressId uint64, limit, offset int) ([]storage.Undelegation, error)
ByAddress mocks base method.
func (*MockIUndelegation) CursorList ¶ added in v1.6.0
func (m *MockIUndelegation) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Undelegation, error)
CursorList mocks base method.
func (*MockIUndelegation) EXPECT ¶ added in v1.6.0
func (m *MockIUndelegation) EXPECT() *MockIUndelegationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIUndelegation) GetByID ¶ added in v1.6.0
func (m *MockIUndelegation) GetByID(ctx context.Context, id uint64) (*storage.Undelegation, error)
GetByID mocks base method.
func (*MockIUndelegation) IsNoRows ¶ added in v1.6.0
func (m *MockIUndelegation) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIUndelegation) LastID ¶ added in v1.6.0
func (m *MockIUndelegation) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIUndelegation) List ¶ added in v1.6.0
func (m *MockIUndelegation) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Undelegation, error)
List mocks base method.
func (*MockIUndelegation) Save ¶ added in v1.6.0
func (m_2 *MockIUndelegation) Save(ctx context.Context, m *storage.Undelegation) error
Save mocks base method.
func (*MockIUndelegation) Update ¶ added in v1.6.0
func (m_2 *MockIUndelegation) Update(ctx context.Context, m *storage.Undelegation) error
Update mocks base method.
type MockIUndelegationByAddressCall ¶ added in v1.9.9
MockIUndelegationByAddressCall wrap *gomock.Call
func (*MockIUndelegationByAddressCall) Do ¶ added in v1.9.9
func (c *MockIUndelegationByAddressCall) Do(f func(context.Context, uint64, int, int) ([]storage.Undelegation, error)) *MockIUndelegationByAddressCall
Do rewrite *gomock.Call.Do
func (*MockIUndelegationByAddressCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIUndelegationByAddressCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Undelegation, error)) *MockIUndelegationByAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIUndelegationByAddressCall) Return ¶ added in v1.9.9
func (c *MockIUndelegationByAddressCall) Return(arg0 []storage.Undelegation, arg1 error) *MockIUndelegationByAddressCall
Return rewrite *gomock.Call.Return
type MockIUndelegationCursorListCall ¶ added in v1.9.9
MockIUndelegationCursorListCall wrap *gomock.Call
func (*MockIUndelegationCursorListCall) Do ¶ added in v1.9.9
func (c *MockIUndelegationCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Undelegation, error)) *MockIUndelegationCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIUndelegationCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIUndelegationCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Undelegation, error)) *MockIUndelegationCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIUndelegationCursorListCall) Return ¶ added in v1.9.9
func (c *MockIUndelegationCursorListCall) Return(arg0 []*storage.Undelegation, arg1 error) *MockIUndelegationCursorListCall
Return rewrite *gomock.Call.Return
type MockIUndelegationGetByIDCall ¶ added in v1.9.9
MockIUndelegationGetByIDCall wrap *gomock.Call
func (*MockIUndelegationGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIUndelegationGetByIDCall) Do(f func(context.Context, uint64) (*storage.Undelegation, error)) *MockIUndelegationGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIUndelegationGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIUndelegationGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Undelegation, error)) *MockIUndelegationGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIUndelegationGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIUndelegationGetByIDCall) Return(arg0 *storage.Undelegation, arg1 error) *MockIUndelegationGetByIDCall
Return rewrite *gomock.Call.Return
type MockIUndelegationIsNoRowsCall ¶ added in v1.9.9
MockIUndelegationIsNoRowsCall wrap *gomock.Call
func (*MockIUndelegationIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIUndelegationIsNoRowsCall) Do(f func(error) bool) *MockIUndelegationIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIUndelegationIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIUndelegationIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIUndelegationIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIUndelegationIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIUndelegationIsNoRowsCall) Return(arg0 bool) *MockIUndelegationIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIUndelegationLastIDCall ¶ added in v1.9.9
MockIUndelegationLastIDCall wrap *gomock.Call
func (*MockIUndelegationLastIDCall) Do ¶ added in v1.9.9
func (c *MockIUndelegationLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIUndelegationLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIUndelegationLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIUndelegationLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIUndelegationLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIUndelegationLastIDCall) Return ¶ added in v1.9.9
func (c *MockIUndelegationLastIDCall) Return(arg0 uint64, arg1 error) *MockIUndelegationLastIDCall
Return rewrite *gomock.Call.Return
type MockIUndelegationListCall ¶ added in v1.9.9
MockIUndelegationListCall wrap *gomock.Call
func (*MockIUndelegationListCall) Do ¶ added in v1.9.9
func (c *MockIUndelegationListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Undelegation, error)) *MockIUndelegationListCall
Do rewrite *gomock.Call.Do
func (*MockIUndelegationListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIUndelegationListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Undelegation, error)) *MockIUndelegationListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIUndelegationListCall) Return ¶ added in v1.9.9
func (c *MockIUndelegationListCall) Return(arg0 []*storage.Undelegation, arg1 error) *MockIUndelegationListCall
Return rewrite *gomock.Call.Return
type MockIUndelegationMockRecorder ¶ added in v1.6.0
type MockIUndelegationMockRecorder struct {
// contains filtered or unexported fields
}
MockIUndelegationMockRecorder is the mock recorder for MockIUndelegation.
func (*MockIUndelegationMockRecorder) ByAddress ¶ added in v1.6.0
func (mr *MockIUndelegationMockRecorder) ByAddress(ctx, addressId, limit, offset any) *MockIUndelegationByAddressCall
ByAddress indicates an expected call of ByAddress.
func (*MockIUndelegationMockRecorder) CursorList ¶ added in v1.6.0
func (mr *MockIUndelegationMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIUndelegationCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIUndelegationMockRecorder) GetByID ¶ added in v1.6.0
func (mr *MockIUndelegationMockRecorder) GetByID(ctx, id any) *MockIUndelegationGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIUndelegationMockRecorder) IsNoRows ¶ added in v1.6.0
func (mr *MockIUndelegationMockRecorder) IsNoRows(err any) *MockIUndelegationIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIUndelegationMockRecorder) LastID ¶ added in v1.6.0
func (mr *MockIUndelegationMockRecorder) LastID(ctx any) *MockIUndelegationLastIDCall
LastID indicates an expected call of LastID.
func (*MockIUndelegationMockRecorder) List ¶ added in v1.6.0
func (mr *MockIUndelegationMockRecorder) List(ctx, limit, offset, order any) *MockIUndelegationListCall
List indicates an expected call of List.
func (*MockIUndelegationMockRecorder) Save ¶ added in v1.6.0
func (mr *MockIUndelegationMockRecorder) Save(ctx, m any) *MockIUndelegationSaveCall
Save indicates an expected call of Save.
func (*MockIUndelegationMockRecorder) Update ¶ added in v1.6.0
func (mr *MockIUndelegationMockRecorder) Update(ctx, m any) *MockIUndelegationUpdateCall
Update indicates an expected call of Update.
type MockIUndelegationSaveCall ¶ added in v1.9.9
MockIUndelegationSaveCall wrap *gomock.Call
func (*MockIUndelegationSaveCall) Do ¶ added in v1.9.9
func (c *MockIUndelegationSaveCall) Do(f func(context.Context, *storage.Undelegation) error) *MockIUndelegationSaveCall
Do rewrite *gomock.Call.Do
func (*MockIUndelegationSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIUndelegationSaveCall) DoAndReturn(f func(context.Context, *storage.Undelegation) error) *MockIUndelegationSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIUndelegationSaveCall) Return ¶ added in v1.9.9
func (c *MockIUndelegationSaveCall) Return(arg0 error) *MockIUndelegationSaveCall
Return rewrite *gomock.Call.Return
type MockIUndelegationUpdateCall ¶ added in v1.9.9
MockIUndelegationUpdateCall wrap *gomock.Call
func (*MockIUndelegationUpdateCall) Do ¶ added in v1.9.9
func (c *MockIUndelegationUpdateCall) Do(f func(context.Context, *storage.Undelegation) error) *MockIUndelegationUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIUndelegationUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIUndelegationUpdateCall) DoAndReturn(f func(context.Context, *storage.Undelegation) error) *MockIUndelegationUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIUndelegationUpdateCall) Return ¶ added in v1.9.9
func (c *MockIUndelegationUpdateCall) Return(arg0 error) *MockIUndelegationUpdateCall
Return rewrite *gomock.Call.Return
type MockIValidator ¶
type MockIValidator struct {
// contains filtered or unexported fields
}
MockIValidator is a mock of IValidator interface.
func NewMockIValidator ¶
func NewMockIValidator(ctrl *gomock.Controller) *MockIValidator
NewMockIValidator creates a new mock instance.
func (*MockIValidator) CursorList ¶
func (m *MockIValidator) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Validator, error)
CursorList mocks base method.
func (*MockIValidator) EXPECT ¶
func (m *MockIValidator) EXPECT() *MockIValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIValidator) IsNoRows ¶
func (m *MockIValidator) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIValidator) JailedCount ¶ added in v1.6.0
func (m *MockIValidator) JailedCount(ctx context.Context) (int, error)
JailedCount mocks base method.
func (*MockIValidator) LastID ¶
func (m *MockIValidator) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIValidator) List ¶
func (m *MockIValidator) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Validator, error)
List mocks base method.
func (*MockIValidator) ListByPower ¶ added in v1.6.0
func (m *MockIValidator) ListByPower(ctx context.Context, fltrs storage.ValidatorFilters) ([]storage.Validator, error)
ListByPower mocks base method.
func (*MockIValidator) TotalVotingPower ¶ added in v1.6.0
TotalVotingPower mocks base method.
type MockIValidatorByAddressCall ¶ added in v1.9.9
MockIValidatorByAddressCall wrap *gomock.Call
func (*MockIValidatorByAddressCall) Do ¶ added in v1.9.9
func (c *MockIValidatorByAddressCall) Do(f func(context.Context, string) (storage.Validator, error)) *MockIValidatorByAddressCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorByAddressCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIValidatorByAddressCall) DoAndReturn(f func(context.Context, string) (storage.Validator, error)) *MockIValidatorByAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorByAddressCall) Return ¶ added in v1.9.9
func (c *MockIValidatorByAddressCall) Return(arg0 storage.Validator, arg1 error) *MockIValidatorByAddressCall
Return rewrite *gomock.Call.Return
type MockIValidatorCursorListCall ¶ added in v1.9.9
MockIValidatorCursorListCall wrap *gomock.Call
func (*MockIValidatorCursorListCall) Do ¶ added in v1.9.9
func (c *MockIValidatorCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Validator, error)) *MockIValidatorCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIValidatorCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Validator, error)) *MockIValidatorCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorCursorListCall) Return ¶ added in v1.9.9
func (c *MockIValidatorCursorListCall) Return(arg0 []*storage.Validator, arg1 error) *MockIValidatorCursorListCall
Return rewrite *gomock.Call.Return
type MockIValidatorGetByIDCall ¶ added in v1.9.9
MockIValidatorGetByIDCall wrap *gomock.Call
func (*MockIValidatorGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIValidatorGetByIDCall) Do(f func(context.Context, uint64) (*storage.Validator, error)) *MockIValidatorGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIValidatorGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Validator, error)) *MockIValidatorGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIValidatorGetByIDCall) Return(arg0 *storage.Validator, arg1 error) *MockIValidatorGetByIDCall
Return rewrite *gomock.Call.Return
type MockIValidatorIsNoRowsCall ¶ added in v1.9.9
MockIValidatorIsNoRowsCall wrap *gomock.Call
func (*MockIValidatorIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIValidatorIsNoRowsCall) Do(f func(error) bool) *MockIValidatorIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIValidatorIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIValidatorIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIValidatorIsNoRowsCall) Return(arg0 bool) *MockIValidatorIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIValidatorJailedCountCall ¶ added in v1.9.9
MockIValidatorJailedCountCall wrap *gomock.Call
func (*MockIValidatorJailedCountCall) Do ¶ added in v1.9.9
func (c *MockIValidatorJailedCountCall) Do(f func(context.Context) (int, error)) *MockIValidatorJailedCountCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorJailedCountCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIValidatorJailedCountCall) DoAndReturn(f func(context.Context) (int, error)) *MockIValidatorJailedCountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorJailedCountCall) Return ¶ added in v1.9.9
func (c *MockIValidatorJailedCountCall) Return(arg0 int, arg1 error) *MockIValidatorJailedCountCall
Return rewrite *gomock.Call.Return
type MockIValidatorLastIDCall ¶ added in v1.9.9
MockIValidatorLastIDCall wrap *gomock.Call
func (*MockIValidatorLastIDCall) Do ¶ added in v1.9.9
func (c *MockIValidatorLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIValidatorLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIValidatorLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIValidatorLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorLastIDCall) Return ¶ added in v1.9.9
func (c *MockIValidatorLastIDCall) Return(arg0 uint64, arg1 error) *MockIValidatorLastIDCall
Return rewrite *gomock.Call.Return
type MockIValidatorListByPowerCall ¶ added in v1.9.9
MockIValidatorListByPowerCall wrap *gomock.Call
func (*MockIValidatorListByPowerCall) Do ¶ added in v1.9.9
func (c *MockIValidatorListByPowerCall) Do(f func(context.Context, storage.ValidatorFilters) ([]storage.Validator, error)) *MockIValidatorListByPowerCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorListByPowerCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIValidatorListByPowerCall) DoAndReturn(f func(context.Context, storage.ValidatorFilters) ([]storage.Validator, error)) *MockIValidatorListByPowerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorListByPowerCall) Return ¶ added in v1.9.9
func (c *MockIValidatorListByPowerCall) Return(arg0 []storage.Validator, arg1 error) *MockIValidatorListByPowerCall
Return rewrite *gomock.Call.Return
type MockIValidatorListCall ¶ added in v1.9.9
MockIValidatorListCall wrap *gomock.Call
func (*MockIValidatorListCall) Do ¶ added in v1.9.9
func (c *MockIValidatorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Validator, error)) *MockIValidatorListCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIValidatorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Validator, error)) *MockIValidatorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorListCall) Return ¶ added in v1.9.9
func (c *MockIValidatorListCall) Return(arg0 []*storage.Validator, arg1 error) *MockIValidatorListCall
Return rewrite *gomock.Call.Return
type MockIValidatorMockRecorder ¶
type MockIValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockIValidatorMockRecorder is the mock recorder for MockIValidator.
func (*MockIValidatorMockRecorder) ByAddress ¶
func (mr *MockIValidatorMockRecorder) ByAddress(ctx, address any) *MockIValidatorByAddressCall
ByAddress indicates an expected call of ByAddress.
func (*MockIValidatorMockRecorder) CursorList ¶
func (mr *MockIValidatorMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIValidatorCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIValidatorMockRecorder) GetByID ¶
func (mr *MockIValidatorMockRecorder) GetByID(ctx, id any) *MockIValidatorGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIValidatorMockRecorder) IsNoRows ¶
func (mr *MockIValidatorMockRecorder) IsNoRows(err any) *MockIValidatorIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIValidatorMockRecorder) JailedCount ¶ added in v1.6.0
func (mr *MockIValidatorMockRecorder) JailedCount(ctx any) *MockIValidatorJailedCountCall
JailedCount indicates an expected call of JailedCount.
func (*MockIValidatorMockRecorder) LastID ¶
func (mr *MockIValidatorMockRecorder) LastID(ctx any) *MockIValidatorLastIDCall
LastID indicates an expected call of LastID.
func (*MockIValidatorMockRecorder) List ¶
func (mr *MockIValidatorMockRecorder) List(ctx, limit, offset, order any) *MockIValidatorListCall
List indicates an expected call of List.
func (*MockIValidatorMockRecorder) ListByPower ¶ added in v1.6.0
func (mr *MockIValidatorMockRecorder) ListByPower(ctx, fltrs any) *MockIValidatorListByPowerCall
ListByPower indicates an expected call of ListByPower.
func (*MockIValidatorMockRecorder) Save ¶
func (mr *MockIValidatorMockRecorder) Save(ctx, m any) *MockIValidatorSaveCall
Save indicates an expected call of Save.
func (*MockIValidatorMockRecorder) TotalVotingPower ¶ added in v1.6.0
func (mr *MockIValidatorMockRecorder) TotalVotingPower(ctx any) *MockIValidatorTotalVotingPowerCall
TotalVotingPower indicates an expected call of TotalVotingPower.
func (*MockIValidatorMockRecorder) Update ¶
func (mr *MockIValidatorMockRecorder) Update(ctx, m any) *MockIValidatorUpdateCall
Update indicates an expected call of Update.
type MockIValidatorSaveCall ¶ added in v1.9.9
MockIValidatorSaveCall wrap *gomock.Call
func (*MockIValidatorSaveCall) Do ¶ added in v1.9.9
func (c *MockIValidatorSaveCall) Do(f func(context.Context, *storage.Validator) error) *MockIValidatorSaveCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIValidatorSaveCall) DoAndReturn(f func(context.Context, *storage.Validator) error) *MockIValidatorSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorSaveCall) Return ¶ added in v1.9.9
func (c *MockIValidatorSaveCall) Return(arg0 error) *MockIValidatorSaveCall
Return rewrite *gomock.Call.Return
type MockIValidatorTotalVotingPowerCall ¶ added in v1.9.9
MockIValidatorTotalVotingPowerCall wrap *gomock.Call
func (*MockIValidatorTotalVotingPowerCall) Do ¶ added in v1.9.9
func (c *MockIValidatorTotalVotingPowerCall) Do(f func(context.Context) (decimal.Decimal, error)) *MockIValidatorTotalVotingPowerCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorTotalVotingPowerCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIValidatorTotalVotingPowerCall) DoAndReturn(f func(context.Context) (decimal.Decimal, error)) *MockIValidatorTotalVotingPowerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorTotalVotingPowerCall) Return ¶ added in v1.9.9
func (c *MockIValidatorTotalVotingPowerCall) Return(arg0 decimal.Decimal, arg1 error) *MockIValidatorTotalVotingPowerCall
Return rewrite *gomock.Call.Return
type MockIValidatorUpdateCall ¶ added in v1.9.9
MockIValidatorUpdateCall wrap *gomock.Call
func (*MockIValidatorUpdateCall) Do ¶ added in v1.9.9
func (c *MockIValidatorUpdateCall) Do(f func(context.Context, *storage.Validator) error) *MockIValidatorUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIValidatorUpdateCall) DoAndReturn(f func(context.Context, *storage.Validator) error) *MockIValidatorUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorUpdateCall) Return ¶ added in v1.9.9
func (c *MockIValidatorUpdateCall) Return(arg0 error) *MockIValidatorUpdateCall
Return rewrite *gomock.Call.Return
type MockIVestingAccount ¶ added in v1.7.0
type MockIVestingAccount struct {
// contains filtered or unexported fields
}
MockIVestingAccount is a mock of IVestingAccount interface.
func NewMockIVestingAccount ¶ added in v1.7.0
func NewMockIVestingAccount(ctrl *gomock.Controller) *MockIVestingAccount
NewMockIVestingAccount creates a new mock instance.
func (*MockIVestingAccount) ByAddress ¶ added in v1.7.0
func (m *MockIVestingAccount) ByAddress(ctx context.Context, addressId uint64, limit, offset int, showEnded bool) ([]storage.VestingAccount, error)
ByAddress mocks base method.
func (*MockIVestingAccount) CursorList ¶ added in v1.7.0
func (m *MockIVestingAccount) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.VestingAccount, error)
CursorList mocks base method.
func (*MockIVestingAccount) EXPECT ¶ added in v1.7.0
func (m *MockIVestingAccount) EXPECT() *MockIVestingAccountMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIVestingAccount) GetByID ¶ added in v1.7.0
func (m *MockIVestingAccount) GetByID(ctx context.Context, id uint64) (*storage.VestingAccount, error)
GetByID mocks base method.
func (*MockIVestingAccount) IsNoRows ¶ added in v1.7.0
func (m *MockIVestingAccount) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIVestingAccount) LastID ¶ added in v1.7.0
func (m *MockIVestingAccount) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIVestingAccount) List ¶ added in v1.7.0
func (m *MockIVestingAccount) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.VestingAccount, error)
List mocks base method.
func (*MockIVestingAccount) Save ¶ added in v1.7.0
func (m_2 *MockIVestingAccount) Save(ctx context.Context, m *storage.VestingAccount) error
Save mocks base method.
func (*MockIVestingAccount) Update ¶ added in v1.7.0
func (m_2 *MockIVestingAccount) Update(ctx context.Context, m *storage.VestingAccount) error
Update mocks base method.
type MockIVestingAccountByAddressCall ¶ added in v1.9.9
MockIVestingAccountByAddressCall wrap *gomock.Call
func (*MockIVestingAccountByAddressCall) Do ¶ added in v1.9.9
func (c *MockIVestingAccountByAddressCall) Do(f func(context.Context, uint64, int, int, bool) ([]storage.VestingAccount, error)) *MockIVestingAccountByAddressCall
Do rewrite *gomock.Call.Do
func (*MockIVestingAccountByAddressCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingAccountByAddressCall) DoAndReturn(f func(context.Context, uint64, int, int, bool) ([]storage.VestingAccount, error)) *MockIVestingAccountByAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingAccountByAddressCall) Return ¶ added in v1.9.9
func (c *MockIVestingAccountByAddressCall) Return(arg0 []storage.VestingAccount, arg1 error) *MockIVestingAccountByAddressCall
Return rewrite *gomock.Call.Return
type MockIVestingAccountCursorListCall ¶ added in v1.9.9
MockIVestingAccountCursorListCall wrap *gomock.Call
func (*MockIVestingAccountCursorListCall) Do ¶ added in v1.9.9
func (c *MockIVestingAccountCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.VestingAccount, error)) *MockIVestingAccountCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIVestingAccountCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingAccountCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.VestingAccount, error)) *MockIVestingAccountCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingAccountCursorListCall) Return ¶ added in v1.9.9
func (c *MockIVestingAccountCursorListCall) Return(arg0 []*storage.VestingAccount, arg1 error) *MockIVestingAccountCursorListCall
Return rewrite *gomock.Call.Return
type MockIVestingAccountGetByIDCall ¶ added in v1.9.9
MockIVestingAccountGetByIDCall wrap *gomock.Call
func (*MockIVestingAccountGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIVestingAccountGetByIDCall) Do(f func(context.Context, uint64) (*storage.VestingAccount, error)) *MockIVestingAccountGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIVestingAccountGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingAccountGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.VestingAccount, error)) *MockIVestingAccountGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingAccountGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIVestingAccountGetByIDCall) Return(arg0 *storage.VestingAccount, arg1 error) *MockIVestingAccountGetByIDCall
Return rewrite *gomock.Call.Return
type MockIVestingAccountIsNoRowsCall ¶ added in v1.9.9
MockIVestingAccountIsNoRowsCall wrap *gomock.Call
func (*MockIVestingAccountIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIVestingAccountIsNoRowsCall) Do(f func(error) bool) *MockIVestingAccountIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIVestingAccountIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingAccountIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIVestingAccountIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingAccountIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIVestingAccountIsNoRowsCall) Return(arg0 bool) *MockIVestingAccountIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIVestingAccountLastIDCall ¶ added in v1.9.9
MockIVestingAccountLastIDCall wrap *gomock.Call
func (*MockIVestingAccountLastIDCall) Do ¶ added in v1.9.9
func (c *MockIVestingAccountLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIVestingAccountLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIVestingAccountLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingAccountLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIVestingAccountLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingAccountLastIDCall) Return ¶ added in v1.9.9
func (c *MockIVestingAccountLastIDCall) Return(arg0 uint64, arg1 error) *MockIVestingAccountLastIDCall
Return rewrite *gomock.Call.Return
type MockIVestingAccountListCall ¶ added in v1.9.9
MockIVestingAccountListCall wrap *gomock.Call
func (*MockIVestingAccountListCall) Do ¶ added in v1.9.9
func (c *MockIVestingAccountListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.VestingAccount, error)) *MockIVestingAccountListCall
Do rewrite *gomock.Call.Do
func (*MockIVestingAccountListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingAccountListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.VestingAccount, error)) *MockIVestingAccountListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingAccountListCall) Return ¶ added in v1.9.9
func (c *MockIVestingAccountListCall) Return(arg0 []*storage.VestingAccount, arg1 error) *MockIVestingAccountListCall
Return rewrite *gomock.Call.Return
type MockIVestingAccountMockRecorder ¶ added in v1.7.0
type MockIVestingAccountMockRecorder struct {
// contains filtered or unexported fields
}
MockIVestingAccountMockRecorder is the mock recorder for MockIVestingAccount.
func (*MockIVestingAccountMockRecorder) ByAddress ¶ added in v1.7.0
func (mr *MockIVestingAccountMockRecorder) ByAddress(ctx, addressId, limit, offset, showEnded any) *MockIVestingAccountByAddressCall
ByAddress indicates an expected call of ByAddress.
func (*MockIVestingAccountMockRecorder) CursorList ¶ added in v1.7.0
func (mr *MockIVestingAccountMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIVestingAccountCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIVestingAccountMockRecorder) GetByID ¶ added in v1.7.0
func (mr *MockIVestingAccountMockRecorder) GetByID(ctx, id any) *MockIVestingAccountGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIVestingAccountMockRecorder) IsNoRows ¶ added in v1.7.0
func (mr *MockIVestingAccountMockRecorder) IsNoRows(err any) *MockIVestingAccountIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIVestingAccountMockRecorder) LastID ¶ added in v1.7.0
func (mr *MockIVestingAccountMockRecorder) LastID(ctx any) *MockIVestingAccountLastIDCall
LastID indicates an expected call of LastID.
func (*MockIVestingAccountMockRecorder) List ¶ added in v1.7.0
func (mr *MockIVestingAccountMockRecorder) List(ctx, limit, offset, order any) *MockIVestingAccountListCall
List indicates an expected call of List.
func (*MockIVestingAccountMockRecorder) Save ¶ added in v1.7.0
func (mr *MockIVestingAccountMockRecorder) Save(ctx, m any) *MockIVestingAccountSaveCall
Save indicates an expected call of Save.
func (*MockIVestingAccountMockRecorder) Update ¶ added in v1.7.0
func (mr *MockIVestingAccountMockRecorder) Update(ctx, m any) *MockIVestingAccountUpdateCall
Update indicates an expected call of Update.
type MockIVestingAccountSaveCall ¶ added in v1.9.9
MockIVestingAccountSaveCall wrap *gomock.Call
func (*MockIVestingAccountSaveCall) Do ¶ added in v1.9.9
func (c *MockIVestingAccountSaveCall) Do(f func(context.Context, *storage.VestingAccount) error) *MockIVestingAccountSaveCall
Do rewrite *gomock.Call.Do
func (*MockIVestingAccountSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingAccountSaveCall) DoAndReturn(f func(context.Context, *storage.VestingAccount) error) *MockIVestingAccountSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingAccountSaveCall) Return ¶ added in v1.9.9
func (c *MockIVestingAccountSaveCall) Return(arg0 error) *MockIVestingAccountSaveCall
Return rewrite *gomock.Call.Return
type MockIVestingAccountUpdateCall ¶ added in v1.9.9
MockIVestingAccountUpdateCall wrap *gomock.Call
func (*MockIVestingAccountUpdateCall) Do ¶ added in v1.9.9
func (c *MockIVestingAccountUpdateCall) Do(f func(context.Context, *storage.VestingAccount) error) *MockIVestingAccountUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIVestingAccountUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingAccountUpdateCall) DoAndReturn(f func(context.Context, *storage.VestingAccount) error) *MockIVestingAccountUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingAccountUpdateCall) Return ¶ added in v1.9.9
func (c *MockIVestingAccountUpdateCall) Return(arg0 error) *MockIVestingAccountUpdateCall
Return rewrite *gomock.Call.Return
type MockIVestingPeriod ¶ added in v1.7.0
type MockIVestingPeriod struct {
// contains filtered or unexported fields
}
MockIVestingPeriod is a mock of IVestingPeriod interface.
func NewMockIVestingPeriod ¶ added in v1.7.0
func NewMockIVestingPeriod(ctrl *gomock.Controller) *MockIVestingPeriod
NewMockIVestingPeriod creates a new mock instance.
func (*MockIVestingPeriod) ByVesting ¶ added in v1.7.0
func (m *MockIVestingPeriod) ByVesting(ctx context.Context, id uint64, limit, offset int) ([]storage.VestingPeriod, error)
ByVesting mocks base method.
func (*MockIVestingPeriod) CursorList ¶ added in v1.7.0
func (m *MockIVestingPeriod) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.VestingPeriod, error)
CursorList mocks base method.
func (*MockIVestingPeriod) EXPECT ¶ added in v1.7.0
func (m *MockIVestingPeriod) EXPECT() *MockIVestingPeriodMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIVestingPeriod) GetByID ¶ added in v1.7.0
func (m *MockIVestingPeriod) GetByID(ctx context.Context, id uint64) (*storage.VestingPeriod, error)
GetByID mocks base method.
func (*MockIVestingPeriod) IsNoRows ¶ added in v1.7.0
func (m *MockIVestingPeriod) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIVestingPeriod) LastID ¶ added in v1.7.0
func (m *MockIVestingPeriod) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIVestingPeriod) List ¶ added in v1.7.0
func (m *MockIVestingPeriod) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.VestingPeriod, error)
List mocks base method.
func (*MockIVestingPeriod) Save ¶ added in v1.7.0
func (m_2 *MockIVestingPeriod) Save(ctx context.Context, m *storage.VestingPeriod) error
Save mocks base method.
func (*MockIVestingPeriod) Update ¶ added in v1.7.0
func (m_2 *MockIVestingPeriod) Update(ctx context.Context, m *storage.VestingPeriod) error
Update mocks base method.
type MockIVestingPeriodByVestingCall ¶ added in v1.9.9
MockIVestingPeriodByVestingCall wrap *gomock.Call
func (*MockIVestingPeriodByVestingCall) Do ¶ added in v1.9.9
func (c *MockIVestingPeriodByVestingCall) Do(f func(context.Context, uint64, int, int) ([]storage.VestingPeriod, error)) *MockIVestingPeriodByVestingCall
Do rewrite *gomock.Call.Do
func (*MockIVestingPeriodByVestingCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingPeriodByVestingCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.VestingPeriod, error)) *MockIVestingPeriodByVestingCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingPeriodByVestingCall) Return ¶ added in v1.9.9
func (c *MockIVestingPeriodByVestingCall) Return(arg0 []storage.VestingPeriod, arg1 error) *MockIVestingPeriodByVestingCall
Return rewrite *gomock.Call.Return
type MockIVestingPeriodCursorListCall ¶ added in v1.9.9
MockIVestingPeriodCursorListCall wrap *gomock.Call
func (*MockIVestingPeriodCursorListCall) Do ¶ added in v1.9.9
func (c *MockIVestingPeriodCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.VestingPeriod, error)) *MockIVestingPeriodCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIVestingPeriodCursorListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingPeriodCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.VestingPeriod, error)) *MockIVestingPeriodCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingPeriodCursorListCall) Return ¶ added in v1.9.9
func (c *MockIVestingPeriodCursorListCall) Return(arg0 []*storage.VestingPeriod, arg1 error) *MockIVestingPeriodCursorListCall
Return rewrite *gomock.Call.Return
type MockIVestingPeriodGetByIDCall ¶ added in v1.9.9
MockIVestingPeriodGetByIDCall wrap *gomock.Call
func (*MockIVestingPeriodGetByIDCall) Do ¶ added in v1.9.9
func (c *MockIVestingPeriodGetByIDCall) Do(f func(context.Context, uint64) (*storage.VestingPeriod, error)) *MockIVestingPeriodGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIVestingPeriodGetByIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingPeriodGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.VestingPeriod, error)) *MockIVestingPeriodGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingPeriodGetByIDCall) Return ¶ added in v1.9.9
func (c *MockIVestingPeriodGetByIDCall) Return(arg0 *storage.VestingPeriod, arg1 error) *MockIVestingPeriodGetByIDCall
Return rewrite *gomock.Call.Return
type MockIVestingPeriodIsNoRowsCall ¶ added in v1.9.9
MockIVestingPeriodIsNoRowsCall wrap *gomock.Call
func (*MockIVestingPeriodIsNoRowsCall) Do ¶ added in v1.9.9
func (c *MockIVestingPeriodIsNoRowsCall) Do(f func(error) bool) *MockIVestingPeriodIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIVestingPeriodIsNoRowsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingPeriodIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIVestingPeriodIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingPeriodIsNoRowsCall) Return ¶ added in v1.9.9
func (c *MockIVestingPeriodIsNoRowsCall) Return(arg0 bool) *MockIVestingPeriodIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIVestingPeriodLastIDCall ¶ added in v1.9.9
MockIVestingPeriodLastIDCall wrap *gomock.Call
func (*MockIVestingPeriodLastIDCall) Do ¶ added in v1.9.9
func (c *MockIVestingPeriodLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIVestingPeriodLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIVestingPeriodLastIDCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingPeriodLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIVestingPeriodLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingPeriodLastIDCall) Return ¶ added in v1.9.9
func (c *MockIVestingPeriodLastIDCall) Return(arg0 uint64, arg1 error) *MockIVestingPeriodLastIDCall
Return rewrite *gomock.Call.Return
type MockIVestingPeriodListCall ¶ added in v1.9.9
MockIVestingPeriodListCall wrap *gomock.Call
func (*MockIVestingPeriodListCall) Do ¶ added in v1.9.9
func (c *MockIVestingPeriodListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.VestingPeriod, error)) *MockIVestingPeriodListCall
Do rewrite *gomock.Call.Do
func (*MockIVestingPeriodListCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingPeriodListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.VestingPeriod, error)) *MockIVestingPeriodListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingPeriodListCall) Return ¶ added in v1.9.9
func (c *MockIVestingPeriodListCall) Return(arg0 []*storage.VestingPeriod, arg1 error) *MockIVestingPeriodListCall
Return rewrite *gomock.Call.Return
type MockIVestingPeriodMockRecorder ¶ added in v1.7.0
type MockIVestingPeriodMockRecorder struct {
// contains filtered or unexported fields
}
MockIVestingPeriodMockRecorder is the mock recorder for MockIVestingPeriod.
func (*MockIVestingPeriodMockRecorder) ByVesting ¶ added in v1.7.0
func (mr *MockIVestingPeriodMockRecorder) ByVesting(ctx, id, limit, offset any) *MockIVestingPeriodByVestingCall
ByVesting indicates an expected call of ByVesting.
func (*MockIVestingPeriodMockRecorder) CursorList ¶ added in v1.7.0
func (mr *MockIVestingPeriodMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIVestingPeriodCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIVestingPeriodMockRecorder) GetByID ¶ added in v1.7.0
func (mr *MockIVestingPeriodMockRecorder) GetByID(ctx, id any) *MockIVestingPeriodGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIVestingPeriodMockRecorder) IsNoRows ¶ added in v1.7.0
func (mr *MockIVestingPeriodMockRecorder) IsNoRows(err any) *MockIVestingPeriodIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIVestingPeriodMockRecorder) LastID ¶ added in v1.7.0
func (mr *MockIVestingPeriodMockRecorder) LastID(ctx any) *MockIVestingPeriodLastIDCall
LastID indicates an expected call of LastID.
func (*MockIVestingPeriodMockRecorder) List ¶ added in v1.7.0
func (mr *MockIVestingPeriodMockRecorder) List(ctx, limit, offset, order any) *MockIVestingPeriodListCall
List indicates an expected call of List.
func (*MockIVestingPeriodMockRecorder) Save ¶ added in v1.7.0
func (mr *MockIVestingPeriodMockRecorder) Save(ctx, m any) *MockIVestingPeriodSaveCall
Save indicates an expected call of Save.
func (*MockIVestingPeriodMockRecorder) Update ¶ added in v1.7.0
func (mr *MockIVestingPeriodMockRecorder) Update(ctx, m any) *MockIVestingPeriodUpdateCall
Update indicates an expected call of Update.
type MockIVestingPeriodSaveCall ¶ added in v1.9.9
MockIVestingPeriodSaveCall wrap *gomock.Call
func (*MockIVestingPeriodSaveCall) Do ¶ added in v1.9.9
func (c *MockIVestingPeriodSaveCall) Do(f func(context.Context, *storage.VestingPeriod) error) *MockIVestingPeriodSaveCall
Do rewrite *gomock.Call.Do
func (*MockIVestingPeriodSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingPeriodSaveCall) DoAndReturn(f func(context.Context, *storage.VestingPeriod) error) *MockIVestingPeriodSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingPeriodSaveCall) Return ¶ added in v1.9.9
func (c *MockIVestingPeriodSaveCall) Return(arg0 error) *MockIVestingPeriodSaveCall
Return rewrite *gomock.Call.Return
type MockIVestingPeriodUpdateCall ¶ added in v1.9.9
MockIVestingPeriodUpdateCall wrap *gomock.Call
func (*MockIVestingPeriodUpdateCall) Do ¶ added in v1.9.9
func (c *MockIVestingPeriodUpdateCall) Do(f func(context.Context, *storage.VestingPeriod) error) *MockIVestingPeriodUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIVestingPeriodUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockIVestingPeriodUpdateCall) DoAndReturn(f func(context.Context, *storage.VestingPeriod) error) *MockIVestingPeriodUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIVestingPeriodUpdateCall) Return ¶ added in v1.9.9
func (c *MockIVestingPeriodUpdateCall) Return(arg0 error) *MockIVestingPeriodUpdateCall
Return rewrite *gomock.Call.Return
type MockListener ¶
type MockListener struct {
// contains filtered or unexported fields
}
MockListener is a mock of Listener interface.
func NewMockListener ¶
func NewMockListener(ctrl *gomock.Controller) *MockListener
NewMockListener creates a new mock instance.
func (*MockListener) EXPECT ¶
func (m *MockListener) EXPECT() *MockListenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockListener) Listen ¶
func (m *MockListener) Listen() chan *pq.Notification
Listen mocks base method.
type MockListenerCloseCall ¶ added in v1.9.9
MockListenerCloseCall wrap *gomock.Call
func (*MockListenerCloseCall) Do ¶ added in v1.9.9
func (c *MockListenerCloseCall) Do(f func() error) *MockListenerCloseCall
Do rewrite *gomock.Call.Do
func (*MockListenerCloseCall) DoAndReturn ¶ added in v1.9.9
func (c *MockListenerCloseCall) DoAndReturn(f func() error) *MockListenerCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockListenerCloseCall) Return ¶ added in v1.9.9
func (c *MockListenerCloseCall) Return(arg0 error) *MockListenerCloseCall
Return rewrite *gomock.Call.Return
type MockListenerFactory ¶
type MockListenerFactory struct {
// contains filtered or unexported fields
}
MockListenerFactory is a mock of ListenerFactory interface.
func NewMockListenerFactory ¶
func NewMockListenerFactory(ctrl *gomock.Controller) *MockListenerFactory
NewMockListenerFactory creates a new mock instance.
func (*MockListenerFactory) CreateListener ¶
func (m *MockListenerFactory) CreateListener() storage.Listener
CreateListener mocks base method.
func (*MockListenerFactory) EXPECT ¶
func (m *MockListenerFactory) EXPECT() *MockListenerFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockListenerFactoryCreateListenerCall ¶ added in v1.9.9
MockListenerFactoryCreateListenerCall wrap *gomock.Call
func (*MockListenerFactoryCreateListenerCall) Do ¶ added in v1.9.9
func (c *MockListenerFactoryCreateListenerCall) Do(f func() storage.Listener) *MockListenerFactoryCreateListenerCall
Do rewrite *gomock.Call.Do
func (*MockListenerFactoryCreateListenerCall) DoAndReturn ¶ added in v1.9.9
func (c *MockListenerFactoryCreateListenerCall) DoAndReturn(f func() storage.Listener) *MockListenerFactoryCreateListenerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockListenerFactoryCreateListenerCall) Return ¶ added in v1.9.9
func (c *MockListenerFactoryCreateListenerCall) Return(arg0 storage.Listener) *MockListenerFactoryCreateListenerCall
Return rewrite *gomock.Call.Return
type MockListenerFactoryMockRecorder ¶
type MockListenerFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockListenerFactoryMockRecorder is the mock recorder for MockListenerFactory.
func (*MockListenerFactoryMockRecorder) CreateListener ¶
func (mr *MockListenerFactoryMockRecorder) CreateListener() *MockListenerFactoryCreateListenerCall
CreateListener indicates an expected call of CreateListener.
type MockListenerListenCall ¶ added in v1.9.9
MockListenerListenCall wrap *gomock.Call
func (*MockListenerListenCall) Do ¶ added in v1.9.9
func (c *MockListenerListenCall) Do(f func() chan *pq.Notification) *MockListenerListenCall
Do rewrite *gomock.Call.Do
func (*MockListenerListenCall) DoAndReturn ¶ added in v1.9.9
func (c *MockListenerListenCall) DoAndReturn(f func() chan *pq.Notification) *MockListenerListenCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockListenerListenCall) Return ¶ added in v1.9.9
func (c *MockListenerListenCall) Return(arg0 chan *pq.Notification) *MockListenerListenCall
Return rewrite *gomock.Call.Return
type MockListenerMockRecorder ¶
type MockListenerMockRecorder struct {
// contains filtered or unexported fields
}
MockListenerMockRecorder is the mock recorder for MockListener.
func (*MockListenerMockRecorder) Close ¶
func (mr *MockListenerMockRecorder) Close() *MockListenerCloseCall
Close indicates an expected call of Close.
func (*MockListenerMockRecorder) Listen ¶
func (mr *MockListenerMockRecorder) Listen() *MockListenerListenCall
Listen indicates an expected call of Listen.
func (*MockListenerMockRecorder) Subscribe ¶
func (mr *MockListenerMockRecorder) Subscribe(ctx any, channels ...any) *MockListenerSubscribeCall
Subscribe indicates an expected call of Subscribe.
type MockListenerSubscribeCall ¶ added in v1.9.9
MockListenerSubscribeCall wrap *gomock.Call
func (*MockListenerSubscribeCall) Do ¶ added in v1.9.9
func (c *MockListenerSubscribeCall) Do(f func(context.Context, ...string) error) *MockListenerSubscribeCall
Do rewrite *gomock.Call.Do
func (*MockListenerSubscribeCall) DoAndReturn ¶ added in v1.9.9
func (c *MockListenerSubscribeCall) DoAndReturn(f func(context.Context, ...string) error) *MockListenerSubscribeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockListenerSubscribeCall) Return ¶ added in v1.9.9
func (c *MockListenerSubscribeCall) Return(arg0 error) *MockListenerSubscribeCall
Return rewrite *gomock.Call.Return
type MockNotificator ¶
type MockNotificator struct {
// contains filtered or unexported fields
}
MockNotificator is a mock of Notificator interface.
func NewMockNotificator ¶
func NewMockNotificator(ctrl *gomock.Controller) *MockNotificator
NewMockNotificator creates a new mock instance.
func (*MockNotificator) EXPECT ¶
func (m *MockNotificator) EXPECT() *MockNotificatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockNotificatorMockRecorder ¶
type MockNotificatorMockRecorder struct {
// contains filtered or unexported fields
}
MockNotificatorMockRecorder is the mock recorder for MockNotificator.
func (*MockNotificatorMockRecorder) Notify ¶
func (mr *MockNotificatorMockRecorder) Notify(ctx, channel, payload any) *MockNotificatorNotifyCall
Notify indicates an expected call of Notify.
type MockNotificatorNotifyCall ¶ added in v1.9.9
MockNotificatorNotifyCall wrap *gomock.Call
func (*MockNotificatorNotifyCall) Do ¶ added in v1.9.9
func (c *MockNotificatorNotifyCall) Do(f func(context.Context, string, string) error) *MockNotificatorNotifyCall
Do rewrite *gomock.Call.Do
func (*MockNotificatorNotifyCall) DoAndReturn ¶ added in v1.9.9
func (c *MockNotificatorNotifyCall) DoAndReturn(f func(context.Context, string, string) error) *MockNotificatorNotifyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNotificatorNotifyCall) Return ¶ added in v1.9.9
func (c *MockNotificatorNotifyCall) Return(arg0 error) *MockNotificatorNotifyCall
Return rewrite *gomock.Call.Return
type MockTransaction ¶
type MockTransaction struct {
// contains filtered or unexported fields
}
MockTransaction is a mock of Transaction interface.
func NewMockTransaction ¶
func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction
NewMockTransaction creates a new mock instance.
func (*MockTransaction) Add ¶
func (m *MockTransaction) Add(ctx context.Context, model any) error
Add mocks base method.
func (*MockTransaction) BulkSave ¶
func (m *MockTransaction) BulkSave(ctx context.Context, models []any) error
BulkSave mocks base method.
func (*MockTransaction) CancelUnbondings ¶ added in v1.6.0
func (m *MockTransaction) CancelUnbondings(ctx context.Context, cancellations ...storage.Undelegation) error
CancelUnbondings mocks base method.
func (*MockTransaction) Close ¶
func (m *MockTransaction) Close(ctx context.Context) error
Close mocks base method.
func (*MockTransaction) CopyFrom ¶
func (m *MockTransaction) CopyFrom(ctx context.Context, tableName string, data []storage0.Copiable) error
CopyFrom mocks base method.
func (*MockTransaction) Delegation ¶ added in v1.6.3
func (m *MockTransaction) Delegation(ctx context.Context, validatorId, addressId uint64) (storage.Delegation, error)
Delegation mocks base method.
func (*MockTransaction) DeleteBalances ¶
func (m *MockTransaction) DeleteBalances(ctx context.Context, ids []uint64) error
DeleteBalances mocks base method.
func (*MockTransaction) DeleteDelegationsByValidator ¶ added in v1.6.0
func (m *MockTransaction) DeleteDelegationsByValidator(ctx context.Context, ids ...uint64) error
DeleteDelegationsByValidator mocks base method.
func (*MockTransaction) DeleteProviders ¶ added in v1.2.0
func (m *MockTransaction) DeleteProviders(ctx context.Context, rollupId uint64) error
DeleteProviders mocks base method.
func (*MockTransaction) DeleteRollup ¶ added in v1.2.0
func (m *MockTransaction) DeleteRollup(ctx context.Context, rollupId uint64) error
DeleteRollup mocks base method.
func (*MockTransaction) EXPECT ¶
func (m *MockTransaction) EXPECT() *MockTransactionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransaction) Flush ¶
func (m *MockTransaction) Flush(ctx context.Context) error
Flush mocks base method.
func (*MockTransaction) GetProposerId ¶ added in v1.1.0
GetProposerId mocks base method.
func (*MockTransaction) HandleError ¶
func (m *MockTransaction) HandleError(ctx context.Context, err error) error
HandleError mocks base method.
func (*MockTransaction) LastAddressAction ¶
LastAddressAction mocks base method.
func (*MockTransaction) LastNamespaceMessage ¶ added in v1.1.0
func (m *MockTransaction) LastNamespaceMessage(ctx context.Context, nsId uint64) (storage.NamespaceMessage, error)
LastNamespaceMessage mocks base method.
func (*MockTransaction) RefreshLeaderboard ¶ added in v1.9.2
func (m *MockTransaction) RefreshLeaderboard(ctx context.Context) error
RefreshLeaderboard mocks base method.
func (*MockTransaction) RetentionBlockSignatures ¶ added in v1.4.0
RetentionBlockSignatures mocks base method.
func (*MockTransaction) RetentionCompletedRedelegations ¶ added in v1.6.0
func (m *MockTransaction) RetentionCompletedRedelegations(ctx context.Context, blockTime time.Time) error
RetentionCompletedRedelegations mocks base method.
func (*MockTransaction) RetentionCompletedUnbondings ¶ added in v1.6.0
func (m *MockTransaction) RetentionCompletedUnbondings(ctx context.Context, blockTime time.Time) error
RetentionCompletedUnbondings mocks base method.
func (*MockTransaction) Rollback ¶
func (m *MockTransaction) Rollback(ctx context.Context) error
Rollback mocks base method.
func (*MockTransaction) RollbackAddresses ¶
func (m *MockTransaction) RollbackAddresses(ctx context.Context, height types.Level) ([]storage.Address, error)
RollbackAddresses mocks base method.
func (*MockTransaction) RollbackBlobLog ¶ added in v1.2.0
RollbackBlobLog mocks base method.
func (*MockTransaction) RollbackBlock ¶
RollbackBlock mocks base method.
func (*MockTransaction) RollbackBlockSignatures ¶ added in v1.4.0
RollbackBlockSignatures mocks base method.
func (*MockTransaction) RollbackBlockStats ¶
func (m *MockTransaction) RollbackBlockStats(ctx context.Context, height types.Level) (storage.BlockStats, error)
RollbackBlockStats mocks base method.
func (*MockTransaction) RollbackEvents ¶
func (m *MockTransaction) RollbackEvents(ctx context.Context, height types.Level) ([]storage.Event, error)
RollbackEvents mocks base method.
func (*MockTransaction) RollbackGrants ¶ added in v1.7.0
RollbackGrants mocks base method.
func (*MockTransaction) RollbackJails ¶ added in v1.6.0
func (m *MockTransaction) RollbackJails(ctx context.Context, height types.Level) ([]storage.Jail, error)
RollbackJails mocks base method.
func (*MockTransaction) RollbackMessageAddresses ¶
func (m *MockTransaction) RollbackMessageAddresses(ctx context.Context, msgIds []uint64) error
RollbackMessageAddresses mocks base method.
func (*MockTransaction) RollbackMessages ¶
func (m *MockTransaction) RollbackMessages(ctx context.Context, height types.Level) ([]storage.Message, error)
RollbackMessages mocks base method.
func (*MockTransaction) RollbackNamespaceMessages ¶
func (m *MockTransaction) RollbackNamespaceMessages(ctx context.Context, height types.Level) ([]storage.NamespaceMessage, error)
RollbackNamespaceMessages mocks base method.
func (*MockTransaction) RollbackNamespaces ¶
func (m *MockTransaction) RollbackNamespaces(ctx context.Context, height types.Level) ([]storage.Namespace, error)
RollbackNamespaces mocks base method.
func (*MockTransaction) RollbackRedelegations ¶ added in v1.6.0
RollbackRedelegations mocks base method.
func (*MockTransaction) RollbackSigners ¶
func (m *MockTransaction) RollbackSigners(ctx context.Context, txIds []uint64) error
RollbackSigners mocks base method.
func (*MockTransaction) RollbackStakingLogs ¶ added in v1.6.0
func (m *MockTransaction) RollbackStakingLogs(ctx context.Context, height types.Level) ([]storage.StakingLog, error)
RollbackStakingLogs mocks base method.
func (*MockTransaction) RollbackTxs ¶
func (m *MockTransaction) RollbackTxs(ctx context.Context, height types.Level) ([]storage.Tx, error)
RollbackTxs mocks base method.
func (*MockTransaction) RollbackUndelegations ¶ added in v1.6.0
RollbackUndelegations mocks base method.
func (*MockTransaction) RollbackValidators ¶
func (m *MockTransaction) RollbackValidators(ctx context.Context, height types.Level) ([]storage.Validator, error)
RollbackValidators mocks base method.
func (*MockTransaction) RollbackVestingAccounts ¶ added in v1.7.0
RollbackVestingAccounts mocks base method.
func (*MockTransaction) RollbackVestingPeriods ¶ added in v1.7.0
RollbackVestingPeriods mocks base method.
func (*MockTransaction) SaveAddresses ¶
func (m *MockTransaction) SaveAddresses(ctx context.Context, addresses ...*storage.Address) (int64, error)
SaveAddresses mocks base method.
func (*MockTransaction) SaveBalances ¶
SaveBalances mocks base method.
func (*MockTransaction) SaveBlobLogs ¶ added in v1.2.0
SaveBlobLogs mocks base method.
func (*MockTransaction) SaveBlockSignatures ¶ added in v1.4.0
func (m *MockTransaction) SaveBlockSignatures(ctx context.Context, signs ...storage.BlockSignature) error
SaveBlockSignatures mocks base method.
func (*MockTransaction) SaveConstants ¶
SaveConstants mocks base method.
func (*MockTransaction) SaveDelegations ¶ added in v1.6.0
func (m *MockTransaction) SaveDelegations(ctx context.Context, delegations ...storage.Delegation) error
SaveDelegations mocks base method.
func (*MockTransaction) SaveEvents ¶
SaveEvents mocks base method.
func (*MockTransaction) SaveGrants ¶ added in v1.7.0
SaveGrants mocks base method.
func (*MockTransaction) SaveMessages ¶
SaveMessages mocks base method.
func (*MockTransaction) SaveMsgAddresses ¶
func (m *MockTransaction) SaveMsgAddresses(ctx context.Context, addresses ...storage.MsgAddress) error
SaveMsgAddresses mocks base method.
func (*MockTransaction) SaveNamespaceMessage ¶
func (m *MockTransaction) SaveNamespaceMessage(ctx context.Context, nsMsgs ...storage.NamespaceMessage) error
SaveNamespaceMessage mocks base method.
func (*MockTransaction) SaveNamespaces ¶
func (m *MockTransaction) SaveNamespaces(ctx context.Context, namespaces ...*storage.Namespace) (int64, error)
SaveNamespaces mocks base method.
func (*MockTransaction) SaveProviders ¶ added in v1.2.0
func (m *MockTransaction) SaveProviders(ctx context.Context, providers ...storage.RollupProvider) error
SaveProviders mocks base method.
func (*MockTransaction) SaveRedelegations ¶ added in v1.6.0
func (m *MockTransaction) SaveRedelegations(ctx context.Context, redelegations ...storage.Redelegation) error
SaveRedelegations mocks base method.
func (*MockTransaction) SaveRollup ¶ added in v1.2.0
SaveRollup mocks base method.
func (*MockTransaction) SaveSigners ¶
SaveSigners mocks base method.
func (*MockTransaction) SaveStakingLogs ¶ added in v1.6.0
func (m *MockTransaction) SaveStakingLogs(ctx context.Context, logs ...storage.StakingLog) error
SaveStakingLogs mocks base method.
func (*MockTransaction) SaveTransactions ¶
SaveTransactions mocks base method.
func (*MockTransaction) SaveUndelegations ¶ added in v1.6.0
func (m *MockTransaction) SaveUndelegations(ctx context.Context, undelegations ...storage.Undelegation) error
SaveUndelegations mocks base method.
func (*MockTransaction) SaveValidators ¶
func (m *MockTransaction) SaveValidators(ctx context.Context, validators ...*storage.Validator) (int, error)
SaveValidators mocks base method.
func (*MockTransaction) SaveVestingAccounts ¶ added in v1.7.0
func (m *MockTransaction) SaveVestingAccounts(ctx context.Context, accounts ...*storage.VestingAccount) error
SaveVestingAccounts mocks base method.
func (*MockTransaction) SaveVestingPeriods ¶ added in v1.7.0
func (m *MockTransaction) SaveVestingPeriods(ctx context.Context, periods ...storage.VestingPeriod) error
SaveVestingPeriods mocks base method.
func (*MockTransaction) Update ¶
func (m *MockTransaction) Update(ctx context.Context, model any) error
Update mocks base method.
func (*MockTransaction) UpdateRollup ¶ added in v1.2.0
UpdateRollup mocks base method.
func (*MockTransaction) UpdateSlashedDelegations ¶ added in v1.6.0
func (m *MockTransaction) UpdateSlashedDelegations(ctx context.Context, validatorId uint64, fraction decimal.Decimal) ([]storage.Balance, error)
UpdateSlashedDelegations mocks base method.
func (*MockTransaction) UpdateValidators ¶ added in v1.6.0
func (m *MockTransaction) UpdateValidators(ctx context.Context, validators ...*storage.Validator) error
UpdateValidators mocks base method.
type MockTransactionAddCall ¶ added in v1.9.9
MockTransactionAddCall wrap *gomock.Call
func (*MockTransactionAddCall) Do ¶ added in v1.9.9
func (c *MockTransactionAddCall) Do(f func(context.Context, any) error) *MockTransactionAddCall
Do rewrite *gomock.Call.Do
func (*MockTransactionAddCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionAddCall) DoAndReturn(f func(context.Context, any) error) *MockTransactionAddCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionAddCall) Return ¶ added in v1.9.9
func (c *MockTransactionAddCall) Return(arg0 error) *MockTransactionAddCall
Return rewrite *gomock.Call.Return
type MockTransactionBulkSaveCall ¶ added in v1.9.9
MockTransactionBulkSaveCall wrap *gomock.Call
func (*MockTransactionBulkSaveCall) Do ¶ added in v1.9.9
func (c *MockTransactionBulkSaveCall) Do(f func(context.Context, []any) error) *MockTransactionBulkSaveCall
Do rewrite *gomock.Call.Do
func (*MockTransactionBulkSaveCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionBulkSaveCall) DoAndReturn(f func(context.Context, []any) error) *MockTransactionBulkSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionBulkSaveCall) Return ¶ added in v1.9.9
func (c *MockTransactionBulkSaveCall) Return(arg0 error) *MockTransactionBulkSaveCall
Return rewrite *gomock.Call.Return
type MockTransactionCancelUnbondingsCall ¶ added in v1.9.9
MockTransactionCancelUnbondingsCall wrap *gomock.Call
func (*MockTransactionCancelUnbondingsCall) Do ¶ added in v1.9.9
func (c *MockTransactionCancelUnbondingsCall) Do(f func(context.Context, ...storage.Undelegation) error) *MockTransactionCancelUnbondingsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionCancelUnbondingsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionCancelUnbondingsCall) DoAndReturn(f func(context.Context, ...storage.Undelegation) error) *MockTransactionCancelUnbondingsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionCancelUnbondingsCall) Return ¶ added in v1.9.9
func (c *MockTransactionCancelUnbondingsCall) Return(arg0 error) *MockTransactionCancelUnbondingsCall
Return rewrite *gomock.Call.Return
type MockTransactionCloseCall ¶ added in v1.9.9
MockTransactionCloseCall wrap *gomock.Call
func (*MockTransactionCloseCall) Do ¶ added in v1.9.9
func (c *MockTransactionCloseCall) Do(f func(context.Context) error) *MockTransactionCloseCall
Do rewrite *gomock.Call.Do
func (*MockTransactionCloseCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionCloseCall) DoAndReturn(f func(context.Context) error) *MockTransactionCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionCloseCall) Return ¶ added in v1.9.9
func (c *MockTransactionCloseCall) Return(arg0 error) *MockTransactionCloseCall
Return rewrite *gomock.Call.Return
type MockTransactionCopyFromCall ¶ added in v1.9.9
MockTransactionCopyFromCall wrap *gomock.Call
func (*MockTransactionCopyFromCall) Do ¶ added in v1.9.9
func (c *MockTransactionCopyFromCall) Do(f func(context.Context, string, []storage0.Copiable) error) *MockTransactionCopyFromCall
Do rewrite *gomock.Call.Do
func (*MockTransactionCopyFromCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionCopyFromCall) DoAndReturn(f func(context.Context, string, []storage0.Copiable) error) *MockTransactionCopyFromCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionCopyFromCall) Return ¶ added in v1.9.9
func (c *MockTransactionCopyFromCall) Return(arg0 error) *MockTransactionCopyFromCall
Return rewrite *gomock.Call.Return
type MockTransactionDelegationCall ¶ added in v1.9.9
MockTransactionDelegationCall wrap *gomock.Call
func (*MockTransactionDelegationCall) Do ¶ added in v1.9.9
func (c *MockTransactionDelegationCall) Do(f func(context.Context, uint64, uint64) (storage.Delegation, error)) *MockTransactionDelegationCall
Do rewrite *gomock.Call.Do
func (*MockTransactionDelegationCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionDelegationCall) DoAndReturn(f func(context.Context, uint64, uint64) (storage.Delegation, error)) *MockTransactionDelegationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionDelegationCall) Return ¶ added in v1.9.9
func (c *MockTransactionDelegationCall) Return(val storage.Delegation, err error) *MockTransactionDelegationCall
Return rewrite *gomock.Call.Return
type MockTransactionDeleteBalancesCall ¶ added in v1.9.9
MockTransactionDeleteBalancesCall wrap *gomock.Call
func (*MockTransactionDeleteBalancesCall) Do ¶ added in v1.9.9
func (c *MockTransactionDeleteBalancesCall) Do(f func(context.Context, []uint64) error) *MockTransactionDeleteBalancesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionDeleteBalancesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionDeleteBalancesCall) DoAndReturn(f func(context.Context, []uint64) error) *MockTransactionDeleteBalancesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionDeleteBalancesCall) Return ¶ added in v1.9.9
func (c *MockTransactionDeleteBalancesCall) Return(arg0 error) *MockTransactionDeleteBalancesCall
Return rewrite *gomock.Call.Return
type MockTransactionDeleteDelegationsByValidatorCall ¶ added in v1.9.9
MockTransactionDeleteDelegationsByValidatorCall wrap *gomock.Call
func (*MockTransactionDeleteDelegationsByValidatorCall) Do ¶ added in v1.9.9
func (c *MockTransactionDeleteDelegationsByValidatorCall) Do(f func(context.Context, ...uint64) error) *MockTransactionDeleteDelegationsByValidatorCall
Do rewrite *gomock.Call.Do
func (*MockTransactionDeleteDelegationsByValidatorCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionDeleteDelegationsByValidatorCall) DoAndReturn(f func(context.Context, ...uint64) error) *MockTransactionDeleteDelegationsByValidatorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionDeleteDelegationsByValidatorCall) Return ¶ added in v1.9.9
func (c *MockTransactionDeleteDelegationsByValidatorCall) Return(arg0 error) *MockTransactionDeleteDelegationsByValidatorCall
Return rewrite *gomock.Call.Return
type MockTransactionDeleteProvidersCall ¶ added in v1.9.9
MockTransactionDeleteProvidersCall wrap *gomock.Call
func (*MockTransactionDeleteProvidersCall) Do ¶ added in v1.9.9
func (c *MockTransactionDeleteProvidersCall) Do(f func(context.Context, uint64) error) *MockTransactionDeleteProvidersCall
Do rewrite *gomock.Call.Do
func (*MockTransactionDeleteProvidersCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionDeleteProvidersCall) DoAndReturn(f func(context.Context, uint64) error) *MockTransactionDeleteProvidersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionDeleteProvidersCall) Return ¶ added in v1.9.9
func (c *MockTransactionDeleteProvidersCall) Return(arg0 error) *MockTransactionDeleteProvidersCall
Return rewrite *gomock.Call.Return
type MockTransactionDeleteRollupCall ¶ added in v1.9.9
MockTransactionDeleteRollupCall wrap *gomock.Call
func (*MockTransactionDeleteRollupCall) Do ¶ added in v1.9.9
func (c *MockTransactionDeleteRollupCall) Do(f func(context.Context, uint64) error) *MockTransactionDeleteRollupCall
Do rewrite *gomock.Call.Do
func (*MockTransactionDeleteRollupCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionDeleteRollupCall) DoAndReturn(f func(context.Context, uint64) error) *MockTransactionDeleteRollupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionDeleteRollupCall) Return ¶ added in v1.9.9
func (c *MockTransactionDeleteRollupCall) Return(arg0 error) *MockTransactionDeleteRollupCall
Return rewrite *gomock.Call.Return
type MockTransactionExecCall ¶ added in v1.9.9
MockTransactionExecCall wrap *gomock.Call
func (*MockTransactionExecCall) Do ¶ added in v1.9.9
func (c *MockTransactionExecCall) Do(f func(context.Context, string, ...any) (int64, error)) *MockTransactionExecCall
Do rewrite *gomock.Call.Do
func (*MockTransactionExecCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionExecCall) DoAndReturn(f func(context.Context, string, ...any) (int64, error)) *MockTransactionExecCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionExecCall) Return ¶ added in v1.9.9
func (c *MockTransactionExecCall) Return(arg0 int64, arg1 error) *MockTransactionExecCall
Return rewrite *gomock.Call.Return
type MockTransactionFlushCall ¶ added in v1.9.9
MockTransactionFlushCall wrap *gomock.Call
func (*MockTransactionFlushCall) Do ¶ added in v1.9.9
func (c *MockTransactionFlushCall) Do(f func(context.Context) error) *MockTransactionFlushCall
Do rewrite *gomock.Call.Do
func (*MockTransactionFlushCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionFlushCall) DoAndReturn(f func(context.Context) error) *MockTransactionFlushCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionFlushCall) Return ¶ added in v1.9.9
func (c *MockTransactionFlushCall) Return(arg0 error) *MockTransactionFlushCall
Return rewrite *gomock.Call.Return
type MockTransactionGetProposerIdCall ¶ added in v1.9.9
MockTransactionGetProposerIdCall wrap *gomock.Call
func (*MockTransactionGetProposerIdCall) Do ¶ added in v1.9.9
func (c *MockTransactionGetProposerIdCall) Do(f func(context.Context, string) (uint64, error)) *MockTransactionGetProposerIdCall
Do rewrite *gomock.Call.Do
func (*MockTransactionGetProposerIdCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionGetProposerIdCall) DoAndReturn(f func(context.Context, string) (uint64, error)) *MockTransactionGetProposerIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionGetProposerIdCall) Return ¶ added in v1.9.9
func (c *MockTransactionGetProposerIdCall) Return(arg0 uint64, arg1 error) *MockTransactionGetProposerIdCall
Return rewrite *gomock.Call.Return
type MockTransactionHandleErrorCall ¶ added in v1.9.9
MockTransactionHandleErrorCall wrap *gomock.Call
func (*MockTransactionHandleErrorCall) Do ¶ added in v1.9.9
func (c *MockTransactionHandleErrorCall) Do(f func(context.Context, error) error) *MockTransactionHandleErrorCall
Do rewrite *gomock.Call.Do
func (*MockTransactionHandleErrorCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionHandleErrorCall) DoAndReturn(f func(context.Context, error) error) *MockTransactionHandleErrorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionHandleErrorCall) Return ¶ added in v1.9.9
func (c *MockTransactionHandleErrorCall) Return(arg0 error) *MockTransactionHandleErrorCall
Return rewrite *gomock.Call.Return
type MockTransactionJailCall ¶ added in v1.9.9
MockTransactionJailCall wrap *gomock.Call
func (*MockTransactionJailCall) Do ¶ added in v1.9.9
func (c *MockTransactionJailCall) Do(f func(context.Context, ...*storage.Validator) error) *MockTransactionJailCall
Do rewrite *gomock.Call.Do
func (*MockTransactionJailCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionJailCall) DoAndReturn(f func(context.Context, ...*storage.Validator) error) *MockTransactionJailCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionJailCall) Return ¶ added in v1.9.9
func (c *MockTransactionJailCall) Return(arg0 error) *MockTransactionJailCall
Return rewrite *gomock.Call.Return
type MockTransactionLastAddressActionCall ¶ added in v1.9.9
MockTransactionLastAddressActionCall wrap *gomock.Call
func (*MockTransactionLastAddressActionCall) Do ¶ added in v1.9.9
func (c *MockTransactionLastAddressActionCall) Do(f func(context.Context, []byte) (uint64, error)) *MockTransactionLastAddressActionCall
Do rewrite *gomock.Call.Do
func (*MockTransactionLastAddressActionCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionLastAddressActionCall) DoAndReturn(f func(context.Context, []byte) (uint64, error)) *MockTransactionLastAddressActionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionLastAddressActionCall) Return ¶ added in v1.9.9
func (c *MockTransactionLastAddressActionCall) Return(arg0 uint64, arg1 error) *MockTransactionLastAddressActionCall
Return rewrite *gomock.Call.Return
type MockTransactionLastBlockCall ¶ added in v1.9.9
MockTransactionLastBlockCall wrap *gomock.Call
func (*MockTransactionLastBlockCall) Do ¶ added in v1.9.9
func (c *MockTransactionLastBlockCall) Do(f func(context.Context) (storage.Block, error)) *MockTransactionLastBlockCall
Do rewrite *gomock.Call.Do
func (*MockTransactionLastBlockCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionLastBlockCall) DoAndReturn(f func(context.Context) (storage.Block, error)) *MockTransactionLastBlockCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionLastBlockCall) Return ¶ added in v1.9.9
func (c *MockTransactionLastBlockCall) Return(block storage.Block, err error) *MockTransactionLastBlockCall
Return rewrite *gomock.Call.Return
type MockTransactionLastNamespaceMessageCall ¶ added in v1.9.9
MockTransactionLastNamespaceMessageCall wrap *gomock.Call
func (*MockTransactionLastNamespaceMessageCall) Do ¶ added in v1.9.9
func (c *MockTransactionLastNamespaceMessageCall) Do(f func(context.Context, uint64) (storage.NamespaceMessage, error)) *MockTransactionLastNamespaceMessageCall
Do rewrite *gomock.Call.Do
func (*MockTransactionLastNamespaceMessageCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionLastNamespaceMessageCall) DoAndReturn(f func(context.Context, uint64) (storage.NamespaceMessage, error)) *MockTransactionLastNamespaceMessageCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionLastNamespaceMessageCall) Return ¶ added in v1.9.9
func (c *MockTransactionLastNamespaceMessageCall) Return(msg storage.NamespaceMessage, err error) *MockTransactionLastNamespaceMessageCall
Return rewrite *gomock.Call.Return
type MockTransactionMockRecorder ¶
type MockTransactionMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionMockRecorder is the mock recorder for MockTransaction.
func (*MockTransactionMockRecorder) Add ¶
func (mr *MockTransactionMockRecorder) Add(ctx, model any) *MockTransactionAddCall
Add indicates an expected call of Add.
func (*MockTransactionMockRecorder) BulkSave ¶
func (mr *MockTransactionMockRecorder) BulkSave(ctx, models any) *MockTransactionBulkSaveCall
BulkSave indicates an expected call of BulkSave.
func (*MockTransactionMockRecorder) CancelUnbondings ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) CancelUnbondings(ctx any, cancellations ...any) *MockTransactionCancelUnbondingsCall
CancelUnbondings indicates an expected call of CancelUnbondings.
func (*MockTransactionMockRecorder) Close ¶
func (mr *MockTransactionMockRecorder) Close(ctx any) *MockTransactionCloseCall
Close indicates an expected call of Close.
func (*MockTransactionMockRecorder) CopyFrom ¶
func (mr *MockTransactionMockRecorder) CopyFrom(ctx, tableName, data any) *MockTransactionCopyFromCall
CopyFrom indicates an expected call of CopyFrom.
func (*MockTransactionMockRecorder) Delegation ¶ added in v1.6.3
func (mr *MockTransactionMockRecorder) Delegation(ctx, validatorId, addressId any) *MockTransactionDelegationCall
Delegation indicates an expected call of Delegation.
func (*MockTransactionMockRecorder) DeleteBalances ¶
func (mr *MockTransactionMockRecorder) DeleteBalances(ctx, ids any) *MockTransactionDeleteBalancesCall
DeleteBalances indicates an expected call of DeleteBalances.
func (*MockTransactionMockRecorder) DeleteDelegationsByValidator ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) DeleteDelegationsByValidator(ctx any, ids ...any) *MockTransactionDeleteDelegationsByValidatorCall
DeleteDelegationsByValidator indicates an expected call of DeleteDelegationsByValidator.
func (*MockTransactionMockRecorder) DeleteProviders ¶ added in v1.2.0
func (mr *MockTransactionMockRecorder) DeleteProviders(ctx, rollupId any) *MockTransactionDeleteProvidersCall
DeleteProviders indicates an expected call of DeleteProviders.
func (*MockTransactionMockRecorder) DeleteRollup ¶ added in v1.2.0
func (mr *MockTransactionMockRecorder) DeleteRollup(ctx, rollupId any) *MockTransactionDeleteRollupCall
DeleteRollup indicates an expected call of DeleteRollup.
func (*MockTransactionMockRecorder) Exec ¶
func (mr *MockTransactionMockRecorder) Exec(ctx, query any, params ...any) *MockTransactionExecCall
Exec indicates an expected call of Exec.
func (*MockTransactionMockRecorder) Flush ¶
func (mr *MockTransactionMockRecorder) Flush(ctx any) *MockTransactionFlushCall
Flush indicates an expected call of Flush.
func (*MockTransactionMockRecorder) GetProposerId ¶ added in v1.1.0
func (mr *MockTransactionMockRecorder) GetProposerId(ctx, address any) *MockTransactionGetProposerIdCall
GetProposerId indicates an expected call of GetProposerId.
func (*MockTransactionMockRecorder) HandleError ¶
func (mr *MockTransactionMockRecorder) HandleError(ctx, err any) *MockTransactionHandleErrorCall
HandleError indicates an expected call of HandleError.
func (*MockTransactionMockRecorder) Jail ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) Jail(ctx any, validators ...any) *MockTransactionJailCall
Jail indicates an expected call of Jail.
func (*MockTransactionMockRecorder) LastAddressAction ¶
func (mr *MockTransactionMockRecorder) LastAddressAction(ctx, address any) *MockTransactionLastAddressActionCall
LastAddressAction indicates an expected call of LastAddressAction.
func (*MockTransactionMockRecorder) LastBlock ¶
func (mr *MockTransactionMockRecorder) LastBlock(ctx any) *MockTransactionLastBlockCall
LastBlock indicates an expected call of LastBlock.
func (*MockTransactionMockRecorder) LastNamespaceMessage ¶ added in v1.1.0
func (mr *MockTransactionMockRecorder) LastNamespaceMessage(ctx, nsId any) *MockTransactionLastNamespaceMessageCall
LastNamespaceMessage indicates an expected call of LastNamespaceMessage.
func (*MockTransactionMockRecorder) Namespace ¶
func (mr *MockTransactionMockRecorder) Namespace(ctx, id any) *MockTransactionNamespaceCall
Namespace indicates an expected call of Namespace.
func (*MockTransactionMockRecorder) RefreshLeaderboard ¶ added in v1.9.2
func (mr *MockTransactionMockRecorder) RefreshLeaderboard(ctx any) *MockTransactionRefreshLeaderboardCall
RefreshLeaderboard indicates an expected call of RefreshLeaderboard.
func (*MockTransactionMockRecorder) RetentionBlockSignatures ¶ added in v1.4.0
func (mr *MockTransactionMockRecorder) RetentionBlockSignatures(ctx, height any) *MockTransactionRetentionBlockSignaturesCall
RetentionBlockSignatures indicates an expected call of RetentionBlockSignatures.
func (*MockTransactionMockRecorder) RetentionCompletedRedelegations ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) RetentionCompletedRedelegations(ctx, blockTime any) *MockTransactionRetentionCompletedRedelegationsCall
RetentionCompletedRedelegations indicates an expected call of RetentionCompletedRedelegations.
func (*MockTransactionMockRecorder) RetentionCompletedUnbondings ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) RetentionCompletedUnbondings(ctx, blockTime any) *MockTransactionRetentionCompletedUnbondingsCall
RetentionCompletedUnbondings indicates an expected call of RetentionCompletedUnbondings.
func (*MockTransactionMockRecorder) Rollback ¶
func (mr *MockTransactionMockRecorder) Rollback(ctx any) *MockTransactionRollbackCall
Rollback indicates an expected call of Rollback.
func (*MockTransactionMockRecorder) RollbackAddresses ¶
func (mr *MockTransactionMockRecorder) RollbackAddresses(ctx, height any) *MockTransactionRollbackAddressesCall
RollbackAddresses indicates an expected call of RollbackAddresses.
func (*MockTransactionMockRecorder) RollbackBlobLog ¶ added in v1.2.0
func (mr *MockTransactionMockRecorder) RollbackBlobLog(ctx, height any) *MockTransactionRollbackBlobLogCall
RollbackBlobLog indicates an expected call of RollbackBlobLog.
func (*MockTransactionMockRecorder) RollbackBlock ¶
func (mr *MockTransactionMockRecorder) RollbackBlock(ctx, height any) *MockTransactionRollbackBlockCall
RollbackBlock indicates an expected call of RollbackBlock.
func (*MockTransactionMockRecorder) RollbackBlockSignatures ¶ added in v1.4.0
func (mr *MockTransactionMockRecorder) RollbackBlockSignatures(ctx, height any) *MockTransactionRollbackBlockSignaturesCall
RollbackBlockSignatures indicates an expected call of RollbackBlockSignatures.
func (*MockTransactionMockRecorder) RollbackBlockStats ¶
func (mr *MockTransactionMockRecorder) RollbackBlockStats(ctx, height any) *MockTransactionRollbackBlockStatsCall
RollbackBlockStats indicates an expected call of RollbackBlockStats.
func (*MockTransactionMockRecorder) RollbackEvents ¶
func (mr *MockTransactionMockRecorder) RollbackEvents(ctx, height any) *MockTransactionRollbackEventsCall
RollbackEvents indicates an expected call of RollbackEvents.
func (*MockTransactionMockRecorder) RollbackGrants ¶ added in v1.7.0
func (mr *MockTransactionMockRecorder) RollbackGrants(ctx, height any) *MockTransactionRollbackGrantsCall
RollbackGrants indicates an expected call of RollbackGrants.
func (*MockTransactionMockRecorder) RollbackJails ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) RollbackJails(ctx, height any) *MockTransactionRollbackJailsCall
RollbackJails indicates an expected call of RollbackJails.
func (*MockTransactionMockRecorder) RollbackMessageAddresses ¶
func (mr *MockTransactionMockRecorder) RollbackMessageAddresses(ctx, msgIds any) *MockTransactionRollbackMessageAddressesCall
RollbackMessageAddresses indicates an expected call of RollbackMessageAddresses.
func (*MockTransactionMockRecorder) RollbackMessages ¶
func (mr *MockTransactionMockRecorder) RollbackMessages(ctx, height any) *MockTransactionRollbackMessagesCall
RollbackMessages indicates an expected call of RollbackMessages.
func (*MockTransactionMockRecorder) RollbackNamespaceMessages ¶
func (mr *MockTransactionMockRecorder) RollbackNamespaceMessages(ctx, height any) *MockTransactionRollbackNamespaceMessagesCall
RollbackNamespaceMessages indicates an expected call of RollbackNamespaceMessages.
func (*MockTransactionMockRecorder) RollbackNamespaces ¶
func (mr *MockTransactionMockRecorder) RollbackNamespaces(ctx, height any) *MockTransactionRollbackNamespacesCall
RollbackNamespaces indicates an expected call of RollbackNamespaces.
func (*MockTransactionMockRecorder) RollbackRedelegations ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) RollbackRedelegations(ctx, height any) *MockTransactionRollbackRedelegationsCall
RollbackRedelegations indicates an expected call of RollbackRedelegations.
func (*MockTransactionMockRecorder) RollbackSigners ¶
func (mr *MockTransactionMockRecorder) RollbackSigners(ctx, txIds any) *MockTransactionRollbackSignersCall
RollbackSigners indicates an expected call of RollbackSigners.
func (*MockTransactionMockRecorder) RollbackStakingLogs ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) RollbackStakingLogs(ctx, height any) *MockTransactionRollbackStakingLogsCall
RollbackStakingLogs indicates an expected call of RollbackStakingLogs.
func (*MockTransactionMockRecorder) RollbackTxs ¶
func (mr *MockTransactionMockRecorder) RollbackTxs(ctx, height any) *MockTransactionRollbackTxsCall
RollbackTxs indicates an expected call of RollbackTxs.
func (*MockTransactionMockRecorder) RollbackUndelegations ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) RollbackUndelegations(ctx, height any) *MockTransactionRollbackUndelegationsCall
RollbackUndelegations indicates an expected call of RollbackUndelegations.
func (*MockTransactionMockRecorder) RollbackValidators ¶
func (mr *MockTransactionMockRecorder) RollbackValidators(ctx, height any) *MockTransactionRollbackValidatorsCall
RollbackValidators indicates an expected call of RollbackValidators.
func (*MockTransactionMockRecorder) RollbackVestingAccounts ¶ added in v1.7.0
func (mr *MockTransactionMockRecorder) RollbackVestingAccounts(ctx, height any) *MockTransactionRollbackVestingAccountsCall
RollbackVestingAccounts indicates an expected call of RollbackVestingAccounts.
func (*MockTransactionMockRecorder) RollbackVestingPeriods ¶ added in v1.7.0
func (mr *MockTransactionMockRecorder) RollbackVestingPeriods(ctx, height any) *MockTransactionRollbackVestingPeriodsCall
RollbackVestingPeriods indicates an expected call of RollbackVestingPeriods.
func (*MockTransactionMockRecorder) SaveAddresses ¶
func (mr *MockTransactionMockRecorder) SaveAddresses(ctx any, addresses ...any) *MockTransactionSaveAddressesCall
SaveAddresses indicates an expected call of SaveAddresses.
func (*MockTransactionMockRecorder) SaveBalances ¶
func (mr *MockTransactionMockRecorder) SaveBalances(ctx any, balances ...any) *MockTransactionSaveBalancesCall
SaveBalances indicates an expected call of SaveBalances.
func (*MockTransactionMockRecorder) SaveBlobLogs ¶ added in v1.2.0
func (mr *MockTransactionMockRecorder) SaveBlobLogs(ctx any, logs ...any) *MockTransactionSaveBlobLogsCall
SaveBlobLogs indicates an expected call of SaveBlobLogs.
func (*MockTransactionMockRecorder) SaveBlockSignatures ¶ added in v1.4.0
func (mr *MockTransactionMockRecorder) SaveBlockSignatures(ctx any, signs ...any) *MockTransactionSaveBlockSignaturesCall
SaveBlockSignatures indicates an expected call of SaveBlockSignatures.
func (*MockTransactionMockRecorder) SaveConstants ¶
func (mr *MockTransactionMockRecorder) SaveConstants(ctx any, constants ...any) *MockTransactionSaveConstantsCall
SaveConstants indicates an expected call of SaveConstants.
func (*MockTransactionMockRecorder) SaveDelegations ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) SaveDelegations(ctx any, delegations ...any) *MockTransactionSaveDelegationsCall
SaveDelegations indicates an expected call of SaveDelegations.
func (*MockTransactionMockRecorder) SaveEvents ¶
func (mr *MockTransactionMockRecorder) SaveEvents(ctx any, events ...any) *MockTransactionSaveEventsCall
SaveEvents indicates an expected call of SaveEvents.
func (*MockTransactionMockRecorder) SaveGrants ¶ added in v1.7.0
func (mr *MockTransactionMockRecorder) SaveGrants(ctx any, grants ...any) *MockTransactionSaveGrantsCall
SaveGrants indicates an expected call of SaveGrants.
func (*MockTransactionMockRecorder) SaveJails ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) SaveJails(ctx any, jails ...any) *MockTransactionSaveJailsCall
SaveJails indicates an expected call of SaveJails.
func (*MockTransactionMockRecorder) SaveMessages ¶
func (mr *MockTransactionMockRecorder) SaveMessages(ctx any, msgs ...any) *MockTransactionSaveMessagesCall
SaveMessages indicates an expected call of SaveMessages.
func (*MockTransactionMockRecorder) SaveMsgAddresses ¶
func (mr *MockTransactionMockRecorder) SaveMsgAddresses(ctx any, addresses ...any) *MockTransactionSaveMsgAddressesCall
SaveMsgAddresses indicates an expected call of SaveMsgAddresses.
func (*MockTransactionMockRecorder) SaveNamespaceMessage ¶
func (mr *MockTransactionMockRecorder) SaveNamespaceMessage(ctx any, nsMsgs ...any) *MockTransactionSaveNamespaceMessageCall
SaveNamespaceMessage indicates an expected call of SaveNamespaceMessage.
func (*MockTransactionMockRecorder) SaveNamespaces ¶
func (mr *MockTransactionMockRecorder) SaveNamespaces(ctx any, namespaces ...any) *MockTransactionSaveNamespacesCall
SaveNamespaces indicates an expected call of SaveNamespaces.
func (*MockTransactionMockRecorder) SaveProviders ¶ added in v1.2.0
func (mr *MockTransactionMockRecorder) SaveProviders(ctx any, providers ...any) *MockTransactionSaveProvidersCall
SaveProviders indicates an expected call of SaveProviders.
func (*MockTransactionMockRecorder) SaveRedelegations ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) SaveRedelegations(ctx any, redelegations ...any) *MockTransactionSaveRedelegationsCall
SaveRedelegations indicates an expected call of SaveRedelegations.
func (*MockTransactionMockRecorder) SaveRollup ¶ added in v1.2.0
func (mr *MockTransactionMockRecorder) SaveRollup(ctx, rollup any) *MockTransactionSaveRollupCall
SaveRollup indicates an expected call of SaveRollup.
func (*MockTransactionMockRecorder) SaveSigners ¶
func (mr *MockTransactionMockRecorder) SaveSigners(ctx any, addresses ...any) *MockTransactionSaveSignersCall
SaveSigners indicates an expected call of SaveSigners.
func (*MockTransactionMockRecorder) SaveStakingLogs ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) SaveStakingLogs(ctx any, logs ...any) *MockTransactionSaveStakingLogsCall
SaveStakingLogs indicates an expected call of SaveStakingLogs.
func (*MockTransactionMockRecorder) SaveTransactions ¶
func (mr *MockTransactionMockRecorder) SaveTransactions(ctx any, txs ...any) *MockTransactionSaveTransactionsCall
SaveTransactions indicates an expected call of SaveTransactions.
func (*MockTransactionMockRecorder) SaveUndelegations ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) SaveUndelegations(ctx any, undelegations ...any) *MockTransactionSaveUndelegationsCall
SaveUndelegations indicates an expected call of SaveUndelegations.
func (*MockTransactionMockRecorder) SaveValidators ¶
func (mr *MockTransactionMockRecorder) SaveValidators(ctx any, validators ...any) *MockTransactionSaveValidatorsCall
SaveValidators indicates an expected call of SaveValidators.
func (*MockTransactionMockRecorder) SaveVestingAccounts ¶ added in v1.7.0
func (mr *MockTransactionMockRecorder) SaveVestingAccounts(ctx any, accounts ...any) *MockTransactionSaveVestingAccountsCall
SaveVestingAccounts indicates an expected call of SaveVestingAccounts.
func (*MockTransactionMockRecorder) SaveVestingPeriods ¶ added in v1.7.0
func (mr *MockTransactionMockRecorder) SaveVestingPeriods(ctx any, periods ...any) *MockTransactionSaveVestingPeriodsCall
SaveVestingPeriods indicates an expected call of SaveVestingPeriods.
func (*MockTransactionMockRecorder) State ¶
func (mr *MockTransactionMockRecorder) State(ctx, name any) *MockTransactionStateCall
State indicates an expected call of State.
func (*MockTransactionMockRecorder) Tx ¶
func (mr *MockTransactionMockRecorder) Tx() *MockTransactionTxCall
Tx indicates an expected call of Tx.
func (*MockTransactionMockRecorder) Update ¶
func (mr *MockTransactionMockRecorder) Update(ctx, model any) *MockTransactionUpdateCall
Update indicates an expected call of Update.
func (*MockTransactionMockRecorder) UpdateRollup ¶ added in v1.2.0
func (mr *MockTransactionMockRecorder) UpdateRollup(ctx, rollup any) *MockTransactionUpdateRollupCall
UpdateRollup indicates an expected call of UpdateRollup.
func (*MockTransactionMockRecorder) UpdateSlashedDelegations ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) UpdateSlashedDelegations(ctx, validatorId, fraction any) *MockTransactionUpdateSlashedDelegationsCall
UpdateSlashedDelegations indicates an expected call of UpdateSlashedDelegations.
func (*MockTransactionMockRecorder) UpdateValidators ¶ added in v1.6.0
func (mr *MockTransactionMockRecorder) UpdateValidators(ctx any, validators ...any) *MockTransactionUpdateValidatorsCall
UpdateValidators indicates an expected call of UpdateValidators.
func (*MockTransactionMockRecorder) Validator ¶ added in v1.6.3
func (mr *MockTransactionMockRecorder) Validator(ctx, id any) *MockTransactionValidatorCall
Validator indicates an expected call of Validator.
type MockTransactionNamespaceCall ¶ added in v1.9.9
MockTransactionNamespaceCall wrap *gomock.Call
func (*MockTransactionNamespaceCall) Do ¶ added in v1.9.9
func (c *MockTransactionNamespaceCall) Do(f func(context.Context, uint64) (storage.Namespace, error)) *MockTransactionNamespaceCall
Do rewrite *gomock.Call.Do
func (*MockTransactionNamespaceCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionNamespaceCall) DoAndReturn(f func(context.Context, uint64) (storage.Namespace, error)) *MockTransactionNamespaceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionNamespaceCall) Return ¶ added in v1.9.9
func (c *MockTransactionNamespaceCall) Return(ns storage.Namespace, err error) *MockTransactionNamespaceCall
Return rewrite *gomock.Call.Return
type MockTransactionRefreshLeaderboardCall ¶ added in v1.9.9
MockTransactionRefreshLeaderboardCall wrap *gomock.Call
func (*MockTransactionRefreshLeaderboardCall) Do ¶ added in v1.9.9
func (c *MockTransactionRefreshLeaderboardCall) Do(f func(context.Context) error) *MockTransactionRefreshLeaderboardCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRefreshLeaderboardCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRefreshLeaderboardCall) DoAndReturn(f func(context.Context) error) *MockTransactionRefreshLeaderboardCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRefreshLeaderboardCall) Return ¶ added in v1.9.9
func (c *MockTransactionRefreshLeaderboardCall) Return(arg0 error) *MockTransactionRefreshLeaderboardCall
Return rewrite *gomock.Call.Return
type MockTransactionRetentionBlockSignaturesCall ¶ added in v1.9.9
MockTransactionRetentionBlockSignaturesCall wrap *gomock.Call
func (*MockTransactionRetentionBlockSignaturesCall) Do ¶ added in v1.9.9
func (c *MockTransactionRetentionBlockSignaturesCall) Do(f func(context.Context, types.Level) error) *MockTransactionRetentionBlockSignaturesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRetentionBlockSignaturesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRetentionBlockSignaturesCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRetentionBlockSignaturesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRetentionBlockSignaturesCall) Return ¶ added in v1.9.9
func (c *MockTransactionRetentionBlockSignaturesCall) Return(arg0 error) *MockTransactionRetentionBlockSignaturesCall
Return rewrite *gomock.Call.Return
type MockTransactionRetentionCompletedRedelegationsCall ¶ added in v1.9.9
MockTransactionRetentionCompletedRedelegationsCall wrap *gomock.Call
func (*MockTransactionRetentionCompletedRedelegationsCall) Do ¶ added in v1.9.9
func (c *MockTransactionRetentionCompletedRedelegationsCall) Do(f func(context.Context, time.Time) error) *MockTransactionRetentionCompletedRedelegationsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRetentionCompletedRedelegationsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRetentionCompletedRedelegationsCall) DoAndReturn(f func(context.Context, time.Time) error) *MockTransactionRetentionCompletedRedelegationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRetentionCompletedRedelegationsCall) Return ¶ added in v1.9.9
func (c *MockTransactionRetentionCompletedRedelegationsCall) Return(arg0 error) *MockTransactionRetentionCompletedRedelegationsCall
Return rewrite *gomock.Call.Return
type MockTransactionRetentionCompletedUnbondingsCall ¶ added in v1.9.9
MockTransactionRetentionCompletedUnbondingsCall wrap *gomock.Call
func (*MockTransactionRetentionCompletedUnbondingsCall) Do ¶ added in v1.9.9
func (c *MockTransactionRetentionCompletedUnbondingsCall) Do(f func(context.Context, time.Time) error) *MockTransactionRetentionCompletedUnbondingsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRetentionCompletedUnbondingsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRetentionCompletedUnbondingsCall) DoAndReturn(f func(context.Context, time.Time) error) *MockTransactionRetentionCompletedUnbondingsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRetentionCompletedUnbondingsCall) Return ¶ added in v1.9.9
func (c *MockTransactionRetentionCompletedUnbondingsCall) Return(arg0 error) *MockTransactionRetentionCompletedUnbondingsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackAddressesCall ¶ added in v1.9.9
MockTransactionRollbackAddressesCall wrap *gomock.Call
func (*MockTransactionRollbackAddressesCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackAddressesCall) Do(f func(context.Context, types.Level) ([]storage.Address, error)) *MockTransactionRollbackAddressesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackAddressesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackAddressesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Address, error)) *MockTransactionRollbackAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackAddressesCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackAddressesCall) Return(address []storage.Address, err error) *MockTransactionRollbackAddressesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackBlobLogCall ¶ added in v1.9.9
MockTransactionRollbackBlobLogCall wrap *gomock.Call
func (*MockTransactionRollbackBlobLogCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackBlobLogCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackBlobLogCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackBlobLogCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackBlobLogCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackBlobLogCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackBlobLogCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackBlobLogCall) Return(arg0 error) *MockTransactionRollbackBlobLogCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackBlockCall ¶ added in v1.9.9
MockTransactionRollbackBlockCall wrap *gomock.Call
func (*MockTransactionRollbackBlockCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackBlockCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackBlockCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackBlockCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackBlockCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackBlockCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackBlockCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackBlockCall) Return(arg0 error) *MockTransactionRollbackBlockCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackBlockSignaturesCall ¶ added in v1.9.9
MockTransactionRollbackBlockSignaturesCall wrap *gomock.Call
func (*MockTransactionRollbackBlockSignaturesCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackBlockSignaturesCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackBlockSignaturesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackBlockSignaturesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackBlockSignaturesCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackBlockSignaturesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackBlockSignaturesCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackBlockSignaturesCall) Return(err error) *MockTransactionRollbackBlockSignaturesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackBlockStatsCall ¶ added in v1.9.9
MockTransactionRollbackBlockStatsCall wrap *gomock.Call
func (*MockTransactionRollbackBlockStatsCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackBlockStatsCall) Do(f func(context.Context, types.Level) (storage.BlockStats, error)) *MockTransactionRollbackBlockStatsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackBlockStatsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackBlockStatsCall) DoAndReturn(f func(context.Context, types.Level) (storage.BlockStats, error)) *MockTransactionRollbackBlockStatsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackBlockStatsCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackBlockStatsCall) Return(stats storage.BlockStats, err error) *MockTransactionRollbackBlockStatsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackCall ¶ added in v1.9.9
MockTransactionRollbackCall wrap *gomock.Call
func (*MockTransactionRollbackCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackCall) Do(f func(context.Context) error) *MockTransactionRollbackCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackCall) DoAndReturn(f func(context.Context) error) *MockTransactionRollbackCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackCall) Return(arg0 error) *MockTransactionRollbackCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackEventsCall ¶ added in v1.9.9
MockTransactionRollbackEventsCall wrap *gomock.Call
func (*MockTransactionRollbackEventsCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackEventsCall) Do(f func(context.Context, types.Level) ([]storage.Event, error)) *MockTransactionRollbackEventsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackEventsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackEventsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Event, error)) *MockTransactionRollbackEventsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackEventsCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackEventsCall) Return(events []storage.Event, err error) *MockTransactionRollbackEventsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackGrantsCall ¶ added in v1.9.9
MockTransactionRollbackGrantsCall wrap *gomock.Call
func (*MockTransactionRollbackGrantsCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackGrantsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackGrantsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackGrantsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackGrantsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackGrantsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackGrantsCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackGrantsCall) Return(arg0 error) *MockTransactionRollbackGrantsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackJailsCall ¶ added in v1.9.9
MockTransactionRollbackJailsCall wrap *gomock.Call
func (*MockTransactionRollbackJailsCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackJailsCall) Do(f func(context.Context, types.Level) ([]storage.Jail, error)) *MockTransactionRollbackJailsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackJailsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackJailsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Jail, error)) *MockTransactionRollbackJailsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackJailsCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackJailsCall) Return(arg0 []storage.Jail, arg1 error) *MockTransactionRollbackJailsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackMessageAddressesCall ¶ added in v1.9.9
MockTransactionRollbackMessageAddressesCall wrap *gomock.Call
func (*MockTransactionRollbackMessageAddressesCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackMessageAddressesCall) Do(f func(context.Context, []uint64) error) *MockTransactionRollbackMessageAddressesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackMessageAddressesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackMessageAddressesCall) DoAndReturn(f func(context.Context, []uint64) error) *MockTransactionRollbackMessageAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackMessageAddressesCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackMessageAddressesCall) Return(err error) *MockTransactionRollbackMessageAddressesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackMessagesCall ¶ added in v1.9.9
MockTransactionRollbackMessagesCall wrap *gomock.Call
func (*MockTransactionRollbackMessagesCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackMessagesCall) Do(f func(context.Context, types.Level) ([]storage.Message, error)) *MockTransactionRollbackMessagesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackMessagesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackMessagesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Message, error)) *MockTransactionRollbackMessagesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackMessagesCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackMessagesCall) Return(msgs []storage.Message, err error) *MockTransactionRollbackMessagesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackNamespaceMessagesCall ¶ added in v1.9.9
MockTransactionRollbackNamespaceMessagesCall wrap *gomock.Call
func (*MockTransactionRollbackNamespaceMessagesCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackNamespaceMessagesCall) Do(f func(context.Context, types.Level) ([]storage.NamespaceMessage, error)) *MockTransactionRollbackNamespaceMessagesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackNamespaceMessagesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackNamespaceMessagesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.NamespaceMessage, error)) *MockTransactionRollbackNamespaceMessagesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackNamespaceMessagesCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackNamespaceMessagesCall) Return(msgs []storage.NamespaceMessage, err error) *MockTransactionRollbackNamespaceMessagesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackNamespacesCall ¶ added in v1.9.9
MockTransactionRollbackNamespacesCall wrap *gomock.Call
func (*MockTransactionRollbackNamespacesCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackNamespacesCall) Do(f func(context.Context, types.Level) ([]storage.Namespace, error)) *MockTransactionRollbackNamespacesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackNamespacesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackNamespacesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Namespace, error)) *MockTransactionRollbackNamespacesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackNamespacesCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackNamespacesCall) Return(ns []storage.Namespace, err error) *MockTransactionRollbackNamespacesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackRedelegationsCall ¶ added in v1.9.9
MockTransactionRollbackRedelegationsCall wrap *gomock.Call
func (*MockTransactionRollbackRedelegationsCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackRedelegationsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackRedelegationsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackRedelegationsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackRedelegationsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackRedelegationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackRedelegationsCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackRedelegationsCall) Return(err error) *MockTransactionRollbackRedelegationsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackSignersCall ¶ added in v1.9.9
MockTransactionRollbackSignersCall wrap *gomock.Call
func (*MockTransactionRollbackSignersCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackSignersCall) Do(f func(context.Context, []uint64) error) *MockTransactionRollbackSignersCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackSignersCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackSignersCall) DoAndReturn(f func(context.Context, []uint64) error) *MockTransactionRollbackSignersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackSignersCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackSignersCall) Return(err error) *MockTransactionRollbackSignersCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackStakingLogsCall ¶ added in v1.9.9
MockTransactionRollbackStakingLogsCall wrap *gomock.Call
func (*MockTransactionRollbackStakingLogsCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackStakingLogsCall) Do(f func(context.Context, types.Level) ([]storage.StakingLog, error)) *MockTransactionRollbackStakingLogsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackStakingLogsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackStakingLogsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.StakingLog, error)) *MockTransactionRollbackStakingLogsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackStakingLogsCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackStakingLogsCall) Return(arg0 []storage.StakingLog, arg1 error) *MockTransactionRollbackStakingLogsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackTxsCall ¶ added in v1.9.9
MockTransactionRollbackTxsCall wrap *gomock.Call
func (*MockTransactionRollbackTxsCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackTxsCall) Do(f func(context.Context, types.Level) ([]storage.Tx, error)) *MockTransactionRollbackTxsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackTxsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackTxsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Tx, error)) *MockTransactionRollbackTxsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackTxsCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackTxsCall) Return(txs []storage.Tx, err error) *MockTransactionRollbackTxsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackUndelegationsCall ¶ added in v1.9.9
MockTransactionRollbackUndelegationsCall wrap *gomock.Call
func (*MockTransactionRollbackUndelegationsCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackUndelegationsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackUndelegationsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackUndelegationsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackUndelegationsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackUndelegationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackUndelegationsCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackUndelegationsCall) Return(err error) *MockTransactionRollbackUndelegationsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackValidatorsCall ¶ added in v1.9.9
MockTransactionRollbackValidatorsCall wrap *gomock.Call
func (*MockTransactionRollbackValidatorsCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackValidatorsCall) Do(f func(context.Context, types.Level) ([]storage.Validator, error)) *MockTransactionRollbackValidatorsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackValidatorsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackValidatorsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Validator, error)) *MockTransactionRollbackValidatorsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackValidatorsCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackValidatorsCall) Return(arg0 []storage.Validator, arg1 error) *MockTransactionRollbackValidatorsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackVestingAccountsCall ¶ added in v1.9.9
MockTransactionRollbackVestingAccountsCall wrap *gomock.Call
func (*MockTransactionRollbackVestingAccountsCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackVestingAccountsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackVestingAccountsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackVestingAccountsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackVestingAccountsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackVestingAccountsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackVestingAccountsCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackVestingAccountsCall) Return(arg0 error) *MockTransactionRollbackVestingAccountsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackVestingPeriodsCall ¶ added in v1.9.9
MockTransactionRollbackVestingPeriodsCall wrap *gomock.Call
func (*MockTransactionRollbackVestingPeriodsCall) Do ¶ added in v1.9.9
func (c *MockTransactionRollbackVestingPeriodsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackVestingPeriodsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackVestingPeriodsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionRollbackVestingPeriodsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackVestingPeriodsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackVestingPeriodsCall) Return ¶ added in v1.9.9
func (c *MockTransactionRollbackVestingPeriodsCall) Return(arg0 error) *MockTransactionRollbackVestingPeriodsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveAddressesCall ¶ added in v1.9.9
MockTransactionSaveAddressesCall wrap *gomock.Call
func (*MockTransactionSaveAddressesCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveAddressesCall) Do(f func(context.Context, ...*storage.Address) (int64, error)) *MockTransactionSaveAddressesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveAddressesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveAddressesCall) DoAndReturn(f func(context.Context, ...*storage.Address) (int64, error)) *MockTransactionSaveAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveAddressesCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveAddressesCall) Return(arg0 int64, arg1 error) *MockTransactionSaveAddressesCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveBalancesCall ¶ added in v1.9.9
MockTransactionSaveBalancesCall wrap *gomock.Call
func (*MockTransactionSaveBalancesCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveBalancesCall) Do(f func(context.Context, ...storage.Balance) error) *MockTransactionSaveBalancesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveBalancesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveBalancesCall) DoAndReturn(f func(context.Context, ...storage.Balance) error) *MockTransactionSaveBalancesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveBalancesCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveBalancesCall) Return(arg0 error) *MockTransactionSaveBalancesCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveBlobLogsCall ¶ added in v1.9.9
MockTransactionSaveBlobLogsCall wrap *gomock.Call
func (*MockTransactionSaveBlobLogsCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveBlobLogsCall) Do(f func(context.Context, ...storage.BlobLog) error) *MockTransactionSaveBlobLogsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveBlobLogsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveBlobLogsCall) DoAndReturn(f func(context.Context, ...storage.BlobLog) error) *MockTransactionSaveBlobLogsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveBlobLogsCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveBlobLogsCall) Return(arg0 error) *MockTransactionSaveBlobLogsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveBlockSignaturesCall ¶ added in v1.9.9
MockTransactionSaveBlockSignaturesCall wrap *gomock.Call
func (*MockTransactionSaveBlockSignaturesCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveBlockSignaturesCall) Do(f func(context.Context, ...storage.BlockSignature) error) *MockTransactionSaveBlockSignaturesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveBlockSignaturesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveBlockSignaturesCall) DoAndReturn(f func(context.Context, ...storage.BlockSignature) error) *MockTransactionSaveBlockSignaturesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveBlockSignaturesCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveBlockSignaturesCall) Return(arg0 error) *MockTransactionSaveBlockSignaturesCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveConstantsCall ¶ added in v1.9.9
MockTransactionSaveConstantsCall wrap *gomock.Call
func (*MockTransactionSaveConstantsCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveConstantsCall) Do(f func(context.Context, ...storage.Constant) error) *MockTransactionSaveConstantsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveConstantsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveConstantsCall) DoAndReturn(f func(context.Context, ...storage.Constant) error) *MockTransactionSaveConstantsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveConstantsCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveConstantsCall) Return(arg0 error) *MockTransactionSaveConstantsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveDelegationsCall ¶ added in v1.9.9
MockTransactionSaveDelegationsCall wrap *gomock.Call
func (*MockTransactionSaveDelegationsCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveDelegationsCall) Do(f func(context.Context, ...storage.Delegation) error) *MockTransactionSaveDelegationsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveDelegationsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveDelegationsCall) DoAndReturn(f func(context.Context, ...storage.Delegation) error) *MockTransactionSaveDelegationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveDelegationsCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveDelegationsCall) Return(arg0 error) *MockTransactionSaveDelegationsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveEventsCall ¶ added in v1.9.9
MockTransactionSaveEventsCall wrap *gomock.Call
func (*MockTransactionSaveEventsCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveEventsCall) Do(f func(context.Context, ...storage.Event) error) *MockTransactionSaveEventsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveEventsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveEventsCall) DoAndReturn(f func(context.Context, ...storage.Event) error) *MockTransactionSaveEventsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveEventsCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveEventsCall) Return(arg0 error) *MockTransactionSaveEventsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveGrantsCall ¶ added in v1.9.9
MockTransactionSaveGrantsCall wrap *gomock.Call
func (*MockTransactionSaveGrantsCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveGrantsCall) Do(f func(context.Context, ...storage.Grant) error) *MockTransactionSaveGrantsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveGrantsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveGrantsCall) DoAndReturn(f func(context.Context, ...storage.Grant) error) *MockTransactionSaveGrantsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveGrantsCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveGrantsCall) Return(arg0 error) *MockTransactionSaveGrantsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveJailsCall ¶ added in v1.9.9
MockTransactionSaveJailsCall wrap *gomock.Call
func (*MockTransactionSaveJailsCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveJailsCall) Do(f func(context.Context, ...storage.Jail) error) *MockTransactionSaveJailsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveJailsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveJailsCall) DoAndReturn(f func(context.Context, ...storage.Jail) error) *MockTransactionSaveJailsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveJailsCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveJailsCall) Return(arg0 error) *MockTransactionSaveJailsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveMessagesCall ¶ added in v1.9.9
MockTransactionSaveMessagesCall wrap *gomock.Call
func (*MockTransactionSaveMessagesCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveMessagesCall) Do(f func(context.Context, ...*storage.Message) error) *MockTransactionSaveMessagesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveMessagesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveMessagesCall) DoAndReturn(f func(context.Context, ...*storage.Message) error) *MockTransactionSaveMessagesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveMessagesCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveMessagesCall) Return(arg0 error) *MockTransactionSaveMessagesCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveMsgAddressesCall ¶ added in v1.9.9
MockTransactionSaveMsgAddressesCall wrap *gomock.Call
func (*MockTransactionSaveMsgAddressesCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveMsgAddressesCall) Do(f func(context.Context, ...storage.MsgAddress) error) *MockTransactionSaveMsgAddressesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveMsgAddressesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveMsgAddressesCall) DoAndReturn(f func(context.Context, ...storage.MsgAddress) error) *MockTransactionSaveMsgAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveMsgAddressesCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveMsgAddressesCall) Return(arg0 error) *MockTransactionSaveMsgAddressesCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveNamespaceMessageCall ¶ added in v1.9.9
MockTransactionSaveNamespaceMessageCall wrap *gomock.Call
func (*MockTransactionSaveNamespaceMessageCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveNamespaceMessageCall) Do(f func(context.Context, ...storage.NamespaceMessage) error) *MockTransactionSaveNamespaceMessageCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveNamespaceMessageCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveNamespaceMessageCall) DoAndReturn(f func(context.Context, ...storage.NamespaceMessage) error) *MockTransactionSaveNamespaceMessageCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveNamespaceMessageCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveNamespaceMessageCall) Return(arg0 error) *MockTransactionSaveNamespaceMessageCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveNamespacesCall ¶ added in v1.9.9
MockTransactionSaveNamespacesCall wrap *gomock.Call
func (*MockTransactionSaveNamespacesCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveNamespacesCall) Do(f func(context.Context, ...*storage.Namespace) (int64, error)) *MockTransactionSaveNamespacesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveNamespacesCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveNamespacesCall) DoAndReturn(f func(context.Context, ...*storage.Namespace) (int64, error)) *MockTransactionSaveNamespacesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveNamespacesCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveNamespacesCall) Return(arg0 int64, arg1 error) *MockTransactionSaveNamespacesCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveProvidersCall ¶ added in v1.9.9
MockTransactionSaveProvidersCall wrap *gomock.Call
func (*MockTransactionSaveProvidersCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveProvidersCall) Do(f func(context.Context, ...storage.RollupProvider) error) *MockTransactionSaveProvidersCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveProvidersCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveProvidersCall) DoAndReturn(f func(context.Context, ...storage.RollupProvider) error) *MockTransactionSaveProvidersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveProvidersCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveProvidersCall) Return(arg0 error) *MockTransactionSaveProvidersCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveRedelegationsCall ¶ added in v1.9.9
MockTransactionSaveRedelegationsCall wrap *gomock.Call
func (*MockTransactionSaveRedelegationsCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveRedelegationsCall) Do(f func(context.Context, ...storage.Redelegation) error) *MockTransactionSaveRedelegationsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveRedelegationsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveRedelegationsCall) DoAndReturn(f func(context.Context, ...storage.Redelegation) error) *MockTransactionSaveRedelegationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveRedelegationsCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveRedelegationsCall) Return(arg0 error) *MockTransactionSaveRedelegationsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveRollupCall ¶ added in v1.9.9
MockTransactionSaveRollupCall wrap *gomock.Call
func (*MockTransactionSaveRollupCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveRollupCall) Do(f func(context.Context, *storage.Rollup) error) *MockTransactionSaveRollupCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveRollupCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveRollupCall) DoAndReturn(f func(context.Context, *storage.Rollup) error) *MockTransactionSaveRollupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveRollupCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveRollupCall) Return(arg0 error) *MockTransactionSaveRollupCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveSignersCall ¶ added in v1.9.9
MockTransactionSaveSignersCall wrap *gomock.Call
func (*MockTransactionSaveSignersCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveSignersCall) Do(f func(context.Context, ...storage.Signer) error) *MockTransactionSaveSignersCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveSignersCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveSignersCall) DoAndReturn(f func(context.Context, ...storage.Signer) error) *MockTransactionSaveSignersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveSignersCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveSignersCall) Return(arg0 error) *MockTransactionSaveSignersCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveStakingLogsCall ¶ added in v1.9.9
MockTransactionSaveStakingLogsCall wrap *gomock.Call
func (*MockTransactionSaveStakingLogsCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveStakingLogsCall) Do(f func(context.Context, ...storage.StakingLog) error) *MockTransactionSaveStakingLogsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveStakingLogsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveStakingLogsCall) DoAndReturn(f func(context.Context, ...storage.StakingLog) error) *MockTransactionSaveStakingLogsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveStakingLogsCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveStakingLogsCall) Return(arg0 error) *MockTransactionSaveStakingLogsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveTransactionsCall ¶ added in v1.9.9
MockTransactionSaveTransactionsCall wrap *gomock.Call
func (*MockTransactionSaveTransactionsCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveTransactionsCall) Do(f func(context.Context, ...storage.Tx) error) *MockTransactionSaveTransactionsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveTransactionsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveTransactionsCall) DoAndReturn(f func(context.Context, ...storage.Tx) error) *MockTransactionSaveTransactionsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveTransactionsCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveTransactionsCall) Return(arg0 error) *MockTransactionSaveTransactionsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveUndelegationsCall ¶ added in v1.9.9
MockTransactionSaveUndelegationsCall wrap *gomock.Call
func (*MockTransactionSaveUndelegationsCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveUndelegationsCall) Do(f func(context.Context, ...storage.Undelegation) error) *MockTransactionSaveUndelegationsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveUndelegationsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveUndelegationsCall) DoAndReturn(f func(context.Context, ...storage.Undelegation) error) *MockTransactionSaveUndelegationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveUndelegationsCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveUndelegationsCall) Return(arg0 error) *MockTransactionSaveUndelegationsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveValidatorsCall ¶ added in v1.9.9
MockTransactionSaveValidatorsCall wrap *gomock.Call
func (*MockTransactionSaveValidatorsCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveValidatorsCall) Do(f func(context.Context, ...*storage.Validator) (int, error)) *MockTransactionSaveValidatorsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveValidatorsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveValidatorsCall) DoAndReturn(f func(context.Context, ...*storage.Validator) (int, error)) *MockTransactionSaveValidatorsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveValidatorsCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveValidatorsCall) Return(arg0 int, arg1 error) *MockTransactionSaveValidatorsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveVestingAccountsCall ¶ added in v1.9.9
MockTransactionSaveVestingAccountsCall wrap *gomock.Call
func (*MockTransactionSaveVestingAccountsCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveVestingAccountsCall) Do(f func(context.Context, ...*storage.VestingAccount) error) *MockTransactionSaveVestingAccountsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveVestingAccountsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveVestingAccountsCall) DoAndReturn(f func(context.Context, ...*storage.VestingAccount) error) *MockTransactionSaveVestingAccountsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveVestingAccountsCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveVestingAccountsCall) Return(arg0 error) *MockTransactionSaveVestingAccountsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveVestingPeriodsCall ¶ added in v1.9.9
MockTransactionSaveVestingPeriodsCall wrap *gomock.Call
func (*MockTransactionSaveVestingPeriodsCall) Do ¶ added in v1.9.9
func (c *MockTransactionSaveVestingPeriodsCall) Do(f func(context.Context, ...storage.VestingPeriod) error) *MockTransactionSaveVestingPeriodsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveVestingPeriodsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionSaveVestingPeriodsCall) DoAndReturn(f func(context.Context, ...storage.VestingPeriod) error) *MockTransactionSaveVestingPeriodsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveVestingPeriodsCall) Return ¶ added in v1.9.9
func (c *MockTransactionSaveVestingPeriodsCall) Return(arg0 error) *MockTransactionSaveVestingPeriodsCall
Return rewrite *gomock.Call.Return
type MockTransactionStateCall ¶ added in v1.9.9
MockTransactionStateCall wrap *gomock.Call
func (*MockTransactionStateCall) Do ¶ added in v1.9.9
func (c *MockTransactionStateCall) Do(f func(context.Context, string) (storage.State, error)) *MockTransactionStateCall
Do rewrite *gomock.Call.Do
func (*MockTransactionStateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionStateCall) DoAndReturn(f func(context.Context, string) (storage.State, error)) *MockTransactionStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionStateCall) Return ¶ added in v1.9.9
func (c *MockTransactionStateCall) Return(state storage.State, err error) *MockTransactionStateCall
Return rewrite *gomock.Call.Return
type MockTransactionTxCall ¶ added in v1.9.9
MockTransactionTxCall wrap *gomock.Call
func (*MockTransactionTxCall) Do ¶ added in v1.9.9
func (c *MockTransactionTxCall) Do(f func() *bun.Tx) *MockTransactionTxCall
Do rewrite *gomock.Call.Do
func (*MockTransactionTxCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionTxCall) DoAndReturn(f func() *bun.Tx) *MockTransactionTxCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionTxCall) Return ¶ added in v1.9.9
func (c *MockTransactionTxCall) Return(arg0 *bun.Tx) *MockTransactionTxCall
Return rewrite *gomock.Call.Return
type MockTransactionUpdateCall ¶ added in v1.9.9
MockTransactionUpdateCall wrap *gomock.Call
func (*MockTransactionUpdateCall) Do ¶ added in v1.9.9
func (c *MockTransactionUpdateCall) Do(f func(context.Context, any) error) *MockTransactionUpdateCall
Do rewrite *gomock.Call.Do
func (*MockTransactionUpdateCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionUpdateCall) DoAndReturn(f func(context.Context, any) error) *MockTransactionUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionUpdateCall) Return ¶ added in v1.9.9
func (c *MockTransactionUpdateCall) Return(arg0 error) *MockTransactionUpdateCall
Return rewrite *gomock.Call.Return
type MockTransactionUpdateRollupCall ¶ added in v1.9.9
MockTransactionUpdateRollupCall wrap *gomock.Call
func (*MockTransactionUpdateRollupCall) Do ¶ added in v1.9.9
func (c *MockTransactionUpdateRollupCall) Do(f func(context.Context, *storage.Rollup) error) *MockTransactionUpdateRollupCall
Do rewrite *gomock.Call.Do
func (*MockTransactionUpdateRollupCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionUpdateRollupCall) DoAndReturn(f func(context.Context, *storage.Rollup) error) *MockTransactionUpdateRollupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionUpdateRollupCall) Return ¶ added in v1.9.9
func (c *MockTransactionUpdateRollupCall) Return(arg0 error) *MockTransactionUpdateRollupCall
Return rewrite *gomock.Call.Return
type MockTransactionUpdateSlashedDelegationsCall ¶ added in v1.9.9
MockTransactionUpdateSlashedDelegationsCall wrap *gomock.Call
func (*MockTransactionUpdateSlashedDelegationsCall) Do ¶ added in v1.9.9
func (c *MockTransactionUpdateSlashedDelegationsCall) Do(f func(context.Context, uint64, decimal.Decimal) ([]storage.Balance, error)) *MockTransactionUpdateSlashedDelegationsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionUpdateSlashedDelegationsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionUpdateSlashedDelegationsCall) DoAndReturn(f func(context.Context, uint64, decimal.Decimal) ([]storage.Balance, error)) *MockTransactionUpdateSlashedDelegationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionUpdateSlashedDelegationsCall) Return ¶ added in v1.9.9
func (c *MockTransactionUpdateSlashedDelegationsCall) Return(arg0 []storage.Balance, arg1 error) *MockTransactionUpdateSlashedDelegationsCall
Return rewrite *gomock.Call.Return
type MockTransactionUpdateValidatorsCall ¶ added in v1.9.9
MockTransactionUpdateValidatorsCall wrap *gomock.Call
func (*MockTransactionUpdateValidatorsCall) Do ¶ added in v1.9.9
func (c *MockTransactionUpdateValidatorsCall) Do(f func(context.Context, ...*storage.Validator) error) *MockTransactionUpdateValidatorsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionUpdateValidatorsCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionUpdateValidatorsCall) DoAndReturn(f func(context.Context, ...*storage.Validator) error) *MockTransactionUpdateValidatorsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionUpdateValidatorsCall) Return ¶ added in v1.9.9
func (c *MockTransactionUpdateValidatorsCall) Return(arg0 error) *MockTransactionUpdateValidatorsCall
Return rewrite *gomock.Call.Return
type MockTransactionValidatorCall ¶ added in v1.9.9
MockTransactionValidatorCall wrap *gomock.Call
func (*MockTransactionValidatorCall) Do ¶ added in v1.9.9
func (c *MockTransactionValidatorCall) Do(f func(context.Context, uint64) (storage.Validator, error)) *MockTransactionValidatorCall
Do rewrite *gomock.Call.Do
func (*MockTransactionValidatorCall) DoAndReturn ¶ added in v1.9.9
func (c *MockTransactionValidatorCall) DoAndReturn(f func(context.Context, uint64) (storage.Validator, error)) *MockTransactionValidatorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionValidatorCall) Return ¶ added in v1.9.9
func (c *MockTransactionValidatorCall) Return(val storage.Validator, err error) *MockTransactionValidatorCall
Return rewrite *gomock.Call.Return
type Storage ¶
type Storage struct { Blocks models.IBlock Tx models.ITx Message models.IMessage Event models.IEvent Address models.IAddress Namespace models.INamespace State models.IState // contains filtered or unexported fields }
func Create ¶
func Create(t gomock.TestReporter) Storage
func (Storage) Ctrl ¶
func (s Storage) Ctrl() *gomock.Controller
Source Files ¶
- address.go
- balance.go
- blob_log.go
- block.go
- block_signature.go
- block_stats.go
- constant.go
- core.go
- delegation.go
- denom_metadata.go
- event.go
- generic.go
- grant.go
- jail.go
- message.go
- namespace.go
- price.go
- redelegation.go
- rollup.go
- rollup_provider.go
- staking_log.go
- state.go
- stats.go
- tx.go
- undelegation.go
- validator.go
- vesting_account.go
- vesting_period.go