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.
Index ¶
- type MockIAction
- func (m *MockIAction) ByAddress(ctx context.Context, addressId uint64, filters storage.AddressActionsFilter) ([]storage.AddressAction, error)
- func (m *MockIAction) ByBlock(ctx context.Context, height types.Level, limit, offset int) ([]storage.ActionWithTx, error)
- func (m *MockIAction) ByRollup(ctx context.Context, rollupId uint64, limit, offset int, ...) ([]storage.RollupAction, error)
- func (m *MockIAction) ByRollupAndBridge(ctx context.Context, rollupId uint64, ...) ([]storage.ActionWithTx, error)
- func (m *MockIAction) ByTxId(ctx context.Context, txId uint64, limit, offset int) ([]storage.Action, error)
- func (m *MockIAction) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Action, error)
- func (m *MockIAction) EXPECT() *MockIActionMockRecorder
- func (m *MockIAction) GetByID(ctx context.Context, id uint64) (*storage.Action, error)
- func (m *MockIAction) IsNoRows(err error) bool
- func (m *MockIAction) LastID(ctx context.Context) (uint64, error)
- func (m *MockIAction) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Action, error)
- func (m_2 *MockIAction) Save(ctx context.Context, m *storage.Action) error
- func (m_2 *MockIAction) Update(ctx context.Context, m *storage.Action) error
- type MockIActionByAddressCall
- type MockIActionByBlockCall
- func (c *MockIActionByBlockCall) Do(f func(context.Context, types.Level, int, int) ([]storage.ActionWithTx, error)) *MockIActionByBlockCall
- func (c *MockIActionByBlockCall) DoAndReturn(f func(context.Context, types.Level, int, int) ([]storage.ActionWithTx, error)) *MockIActionByBlockCall
- func (c *MockIActionByBlockCall) Return(arg0 []storage.ActionWithTx, arg1 error) *MockIActionByBlockCall
- type MockIActionByRollupAndBridgeCall
- func (c *MockIActionByRollupAndBridgeCall) Do(...) *MockIActionByRollupAndBridgeCall
- func (c *MockIActionByRollupAndBridgeCall) DoAndReturn(...) *MockIActionByRollupAndBridgeCall
- func (c *MockIActionByRollupAndBridgeCall) Return(arg0 []storage.ActionWithTx, arg1 error) *MockIActionByRollupAndBridgeCall
- type MockIActionByRollupCall
- type MockIActionByTxIdCall
- func (c *MockIActionByTxIdCall) Do(f func(context.Context, uint64, int, int) ([]storage.Action, error)) *MockIActionByTxIdCall
- func (c *MockIActionByTxIdCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Action, error)) *MockIActionByTxIdCall
- func (c *MockIActionByTxIdCall) Return(arg0 []storage.Action, arg1 error) *MockIActionByTxIdCall
- type MockIActionCursorListCall
- type MockIActionGetByIDCall
- func (c *MockIActionGetByIDCall) Do(f func(context.Context, uint64) (*storage.Action, error)) *MockIActionGetByIDCall
- func (c *MockIActionGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Action, error)) *MockIActionGetByIDCall
- func (c *MockIActionGetByIDCall) Return(arg0 *storage.Action, arg1 error) *MockIActionGetByIDCall
- type MockIActionIsNoRowsCall
- type MockIActionLastIDCall
- type MockIActionListCall
- type MockIActionMockRecorder
- func (mr *MockIActionMockRecorder) ByAddress(ctx, addressId, filters any) *MockIActionByAddressCall
- func (mr *MockIActionMockRecorder) ByBlock(ctx, height, limit, offset any) *MockIActionByBlockCall
- func (mr *MockIActionMockRecorder) ByRollup(ctx, rollupId, limit, offset, sort any) *MockIActionByRollupCall
- func (mr *MockIActionMockRecorder) ByRollupAndBridge(ctx, rollupId, fltrs any) *MockIActionByRollupAndBridgeCall
- func (mr *MockIActionMockRecorder) ByTxId(ctx, txId, limit, offset any) *MockIActionByTxIdCall
- func (mr *MockIActionMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIActionCursorListCall
- func (mr *MockIActionMockRecorder) GetByID(ctx, id any) *MockIActionGetByIDCall
- func (mr *MockIActionMockRecorder) IsNoRows(err any) *MockIActionIsNoRowsCall
- func (mr *MockIActionMockRecorder) LastID(ctx any) *MockIActionLastIDCall
- func (mr *MockIActionMockRecorder) List(ctx, limit, offset, order any) *MockIActionListCall
- func (mr *MockIActionMockRecorder) Save(ctx, m any) *MockIActionSaveCall
- func (mr *MockIActionMockRecorder) Update(ctx, m any) *MockIActionUpdateCall
- type MockIActionSaveCall
- type MockIActionUpdateCall
- type MockIAddress
- func (m *MockIAddress) ByHash(ctx context.Context, hash string) (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) 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, fltrs storage.AddressListFilter) ([]storage.Address, error)
- func (m_2 *MockIAddress) Save(ctx context.Context, m *storage.Address) error
- func (m_2 *MockIAddress) Update(ctx context.Context, m *storage.Address) error
- type MockIAddressByHashCall
- func (c *MockIAddressByHashCall) Do(f func(context.Context, string) (storage.Address, error)) *MockIAddressByHashCall
- func (c *MockIAddressByHashCall) DoAndReturn(f func(context.Context, string) (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 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) 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, fltrs any) *MockIAddressListWithBalanceCall
- func (mr *MockIAddressMockRecorder) Save(ctx, m any) *MockIAddressSaveCall
- func (mr *MockIAddressMockRecorder) Update(ctx, m any) *MockIAddressUpdateCall
- type MockIAddressSaveCall
- 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 MockIApp
- func (m *MockIApp) BySlug(ctx context.Context, slug string) (storage.AppWithStats, error)
- func (m *MockIApp) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.App, error)
- func (m *MockIApp) EXPECT() *MockIAppMockRecorder
- func (m *MockIApp) GetByID(ctx context.Context, id uint64) (*storage.App, error)
- func (m *MockIApp) IsNoRows(err error) bool
- func (m *MockIApp) LastID(ctx context.Context) (uint64, error)
- func (m *MockIApp) Leaderboard(ctx context.Context, fltrs storage.LeaderboardFilters) ([]storage.AppWithStats, error)
- func (m *MockIApp) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.App, error)
- func (m_2 *MockIApp) Save(ctx context.Context, m *storage.App) error
- func (m_2 *MockIApp) Update(ctx context.Context, m *storage.App) error
- type MockIAppBySlugCall
- func (c *MockIAppBySlugCall) Do(f func(context.Context, string) (storage.AppWithStats, error)) *MockIAppBySlugCall
- func (c *MockIAppBySlugCall) DoAndReturn(f func(context.Context, string) (storage.AppWithStats, error)) *MockIAppBySlugCall
- func (c *MockIAppBySlugCall) Return(arg0 storage.AppWithStats, arg1 error) *MockIAppBySlugCall
- type MockIAppCursorListCall
- type MockIAppGetByIDCall
- func (c *MockIAppGetByIDCall) Do(f func(context.Context, uint64) (*storage.App, error)) *MockIAppGetByIDCall
- func (c *MockIAppGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.App, error)) *MockIAppGetByIDCall
- func (c *MockIAppGetByIDCall) Return(arg0 *storage.App, arg1 error) *MockIAppGetByIDCall
- type MockIAppIsNoRowsCall
- type MockIAppLastIDCall
- type MockIAppLeaderboardCall
- type MockIAppListCall
- type MockIAppMockRecorder
- func (mr *MockIAppMockRecorder) BySlug(ctx, slug any) *MockIAppBySlugCall
- func (mr *MockIAppMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIAppCursorListCall
- func (mr *MockIAppMockRecorder) GetByID(ctx, id any) *MockIAppGetByIDCall
- func (mr *MockIAppMockRecorder) IsNoRows(err any) *MockIAppIsNoRowsCall
- func (mr *MockIAppMockRecorder) LastID(ctx any) *MockIAppLastIDCall
- func (mr *MockIAppMockRecorder) Leaderboard(ctx, fltrs any) *MockIAppLeaderboardCall
- func (mr *MockIAppMockRecorder) List(ctx, limit, offset, order any) *MockIAppListCall
- func (mr *MockIAppMockRecorder) Save(ctx, m any) *MockIAppSaveCall
- func (mr *MockIAppMockRecorder) Update(ctx, m any) *MockIAppUpdateCall
- type MockIAppSaveCall
- type MockIAppUpdateCall
- 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 MockIBalanceUpdate
- func (m *MockIBalanceUpdate) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.BalanceUpdate, error)
- func (m *MockIBalanceUpdate) EXPECT() *MockIBalanceUpdateMockRecorder
- func (m *MockIBalanceUpdate) GetByID(ctx context.Context, id uint64) (*storage.BalanceUpdate, error)
- func (m *MockIBalanceUpdate) IsNoRows(err error) bool
- func (m *MockIBalanceUpdate) LastID(ctx context.Context) (uint64, error)
- func (m *MockIBalanceUpdate) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.BalanceUpdate, error)
- func (m_2 *MockIBalanceUpdate) Save(ctx context.Context, m *storage.BalanceUpdate) error
- func (m_2 *MockIBalanceUpdate) Update(ctx context.Context, m *storage.BalanceUpdate) error
- 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 MockIBalanceUpdateCursorListCall
- func (c *MockIBalanceUpdateCursorListCall) Do(...) *MockIBalanceUpdateCursorListCall
- func (c *MockIBalanceUpdateCursorListCall) DoAndReturn(...) *MockIBalanceUpdateCursorListCall
- func (c *MockIBalanceUpdateCursorListCall) Return(arg0 []*storage.BalanceUpdate, arg1 error) *MockIBalanceUpdateCursorListCall
- type MockIBalanceUpdateGetByIDCall
- func (c *MockIBalanceUpdateGetByIDCall) Do(f func(context.Context, uint64) (*storage.BalanceUpdate, error)) *MockIBalanceUpdateGetByIDCall
- func (c *MockIBalanceUpdateGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.BalanceUpdate, error)) *MockIBalanceUpdateGetByIDCall
- func (c *MockIBalanceUpdateGetByIDCall) Return(arg0 *storage.BalanceUpdate, arg1 error) *MockIBalanceUpdateGetByIDCall
- type MockIBalanceUpdateIsNoRowsCall
- type MockIBalanceUpdateLastIDCall
- func (c *MockIBalanceUpdateLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIBalanceUpdateLastIDCall
- func (c *MockIBalanceUpdateLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIBalanceUpdateLastIDCall
- func (c *MockIBalanceUpdateLastIDCall) Return(arg0 uint64, arg1 error) *MockIBalanceUpdateLastIDCall
- type MockIBalanceUpdateListCall
- type MockIBalanceUpdateMockRecorder
- func (mr *MockIBalanceUpdateMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBalanceUpdateCursorListCall
- func (mr *MockIBalanceUpdateMockRecorder) GetByID(ctx, id any) *MockIBalanceUpdateGetByIDCall
- func (mr *MockIBalanceUpdateMockRecorder) IsNoRows(err any) *MockIBalanceUpdateIsNoRowsCall
- func (mr *MockIBalanceUpdateMockRecorder) LastID(ctx any) *MockIBalanceUpdateLastIDCall
- func (mr *MockIBalanceUpdateMockRecorder) List(ctx, limit, offset, order any) *MockIBalanceUpdateListCall
- func (mr *MockIBalanceUpdateMockRecorder) Save(ctx, m any) *MockIBalanceUpdateSaveCall
- func (mr *MockIBalanceUpdateMockRecorder) Update(ctx, m any) *MockIBalanceUpdateUpdateCall
- type MockIBalanceUpdateSaveCall
- func (c *MockIBalanceUpdateSaveCall) Do(f func(context.Context, *storage.BalanceUpdate) error) *MockIBalanceUpdateSaveCall
- func (c *MockIBalanceUpdateSaveCall) DoAndReturn(f func(context.Context, *storage.BalanceUpdate) error) *MockIBalanceUpdateSaveCall
- func (c *MockIBalanceUpdateSaveCall) Return(arg0 error) *MockIBalanceUpdateSaveCall
- type MockIBalanceUpdateUpdateCall
- func (c *MockIBalanceUpdateUpdateCall) Do(f func(context.Context, *storage.BalanceUpdate) error) *MockIBalanceUpdateUpdateCall
- func (c *MockIBalanceUpdateUpdateCall) DoAndReturn(f func(context.Context, *storage.BalanceUpdate) error) *MockIBalanceUpdateUpdateCall
- func (c *MockIBalanceUpdateUpdateCall) Return(arg0 error) *MockIBalanceUpdateUpdateCall
- type MockIBlock
- func (m *MockIBlock) ByHash(ctx context.Context, hash []byte) (storage.Block, error)
- func (m *MockIBlock) ByHeight(ctx context.Context, height types.Level, withStats bool) (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_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, bool) (storage.Block, error)) *MockIBlockByHeightCall
- func (c *MockIBlockByHeightCall) DoAndReturn(f func(context.Context, types.Level, bool) (storage.Block, error)) *MockIBlockByHeightCall
- func (c *MockIBlockByHeightCall) Return(arg0 storage.Block, arg1 error) *MockIBlockByHeightCall
- 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
- 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, withStats any) *MockIBlockByHeightCall
- func (mr *MockIBlockMockRecorder) ByIdWithRelations(ctx, id any) *MockIBlockByIdWithRelationsCall
- func (mr *MockIBlockMockRecorder) ByProposer(ctx, proposerId, limit, offset, order 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) 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(stats storage.BlockStats, err error) *MockIBlockStatsByHeightCall
- type MockIBlockStatsMockRecorder
- type MockIBlockUpdateCall
- type MockIBridge
- func (m *MockIBridge) ByAddress(ctx context.Context, addressId uint64) (storage.Bridge, error)
- func (m *MockIBridge) ById(ctx context.Context, id uint64) (storage.Bridge, error)
- func (m *MockIBridge) ByRoles(ctx context.Context, addressId uint64, limit, offset int) ([]storage.Bridge, error)
- func (m *MockIBridge) ByRollup(ctx context.Context, rollupId uint64, limit, offset int) ([]storage.Bridge, error)
- func (m *MockIBridge) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Bridge, error)
- func (m *MockIBridge) EXPECT() *MockIBridgeMockRecorder
- func (m *MockIBridge) GetByID(ctx context.Context, id uint64) (*storage.Bridge, error)
- func (m *MockIBridge) IsNoRows(err error) bool
- func (m *MockIBridge) LastID(ctx context.Context) (uint64, error)
- func (m *MockIBridge) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Bridge, error)
- func (m *MockIBridge) ListWithAddress(ctx context.Context, limit, offset int) ([]storage.Bridge, error)
- func (m_2 *MockIBridge) Save(ctx context.Context, m *storage.Bridge) error
- func (m_2 *MockIBridge) Update(ctx context.Context, m *storage.Bridge) error
- type MockIBridgeByAddressCall
- func (c *MockIBridgeByAddressCall) Do(f func(context.Context, uint64) (storage.Bridge, error)) *MockIBridgeByAddressCall
- func (c *MockIBridgeByAddressCall) DoAndReturn(f func(context.Context, uint64) (storage.Bridge, error)) *MockIBridgeByAddressCall
- func (c *MockIBridgeByAddressCall) Return(arg0 storage.Bridge, arg1 error) *MockIBridgeByAddressCall
- type MockIBridgeByIdCall
- func (c *MockIBridgeByIdCall) Do(f func(context.Context, uint64) (storage.Bridge, error)) *MockIBridgeByIdCall
- func (c *MockIBridgeByIdCall) DoAndReturn(f func(context.Context, uint64) (storage.Bridge, error)) *MockIBridgeByIdCall
- func (c *MockIBridgeByIdCall) Return(arg0 storage.Bridge, arg1 error) *MockIBridgeByIdCall
- type MockIBridgeByRolesCall
- func (c *MockIBridgeByRolesCall) Do(f func(context.Context, uint64, int, int) ([]storage.Bridge, error)) *MockIBridgeByRolesCall
- func (c *MockIBridgeByRolesCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Bridge, error)) *MockIBridgeByRolesCall
- func (c *MockIBridgeByRolesCall) Return(arg0 []storage.Bridge, arg1 error) *MockIBridgeByRolesCall
- type MockIBridgeByRollupCall
- func (c *MockIBridgeByRollupCall) Do(f func(context.Context, uint64, int, int) ([]storage.Bridge, error)) *MockIBridgeByRollupCall
- func (c *MockIBridgeByRollupCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Bridge, error)) *MockIBridgeByRollupCall
- func (c *MockIBridgeByRollupCall) Return(arg0 []storage.Bridge, arg1 error) *MockIBridgeByRollupCall
- type MockIBridgeCursorListCall
- type MockIBridgeGetByIDCall
- func (c *MockIBridgeGetByIDCall) Do(f func(context.Context, uint64) (*storage.Bridge, error)) *MockIBridgeGetByIDCall
- func (c *MockIBridgeGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Bridge, error)) *MockIBridgeGetByIDCall
- func (c *MockIBridgeGetByIDCall) Return(arg0 *storage.Bridge, arg1 error) *MockIBridgeGetByIDCall
- type MockIBridgeIsNoRowsCall
- type MockIBridgeLastIDCall
- type MockIBridgeListCall
- type MockIBridgeListWithAddressCall
- func (c *MockIBridgeListWithAddressCall) Do(f func(context.Context, int, int) ([]storage.Bridge, error)) *MockIBridgeListWithAddressCall
- func (c *MockIBridgeListWithAddressCall) DoAndReturn(f func(context.Context, int, int) ([]storage.Bridge, error)) *MockIBridgeListWithAddressCall
- func (c *MockIBridgeListWithAddressCall) Return(arg0 []storage.Bridge, arg1 error) *MockIBridgeListWithAddressCall
- type MockIBridgeMockRecorder
- func (mr *MockIBridgeMockRecorder) ByAddress(ctx, addressId any) *MockIBridgeByAddressCall
- func (mr *MockIBridgeMockRecorder) ById(ctx, id any) *MockIBridgeByIdCall
- func (mr *MockIBridgeMockRecorder) ByRoles(ctx, addressId, limit, offset any) *MockIBridgeByRolesCall
- func (mr *MockIBridgeMockRecorder) ByRollup(ctx, rollupId, limit, offset any) *MockIBridgeByRollupCall
- func (mr *MockIBridgeMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBridgeCursorListCall
- func (mr *MockIBridgeMockRecorder) GetByID(ctx, id any) *MockIBridgeGetByIDCall
- func (mr *MockIBridgeMockRecorder) IsNoRows(err any) *MockIBridgeIsNoRowsCall
- func (mr *MockIBridgeMockRecorder) LastID(ctx any) *MockIBridgeLastIDCall
- func (mr *MockIBridgeMockRecorder) List(ctx, limit, offset, order any) *MockIBridgeListCall
- func (mr *MockIBridgeMockRecorder) ListWithAddress(ctx, limit, offset any) *MockIBridgeListWithAddressCall
- func (mr *MockIBridgeMockRecorder) Save(ctx, m any) *MockIBridgeSaveCall
- func (mr *MockIBridgeMockRecorder) Update(ctx, m any) *MockIBridgeUpdateCall
- type MockIBridgeSaveCall
- type MockIBridgeUpdateCall
- 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)
- func (m *MockIConstant) IsNoRows(err error) bool
- 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 MockIConstantIsNoRowsCall
- type MockIConstantMockRecorder
- func (mr *MockIConstantMockRecorder) All(ctx any) *MockIConstantAllCall
- func (mr *MockIConstantMockRecorder) ByModule(ctx, module any) *MockIConstantByModuleCall
- func (mr *MockIConstantMockRecorder) Get(ctx, module, name any) *MockIConstantGetCall
- func (mr *MockIConstantMockRecorder) IsNoRows(err any) *MockIConstantIsNoRowsCall
- type MockIDeposit
- func (m *MockIDeposit) ByBridgeId(ctx context.Context, bridgeId uint64, limit, offset int, ...) ([]storage.Deposit, error)
- func (m *MockIDeposit) ByRollupId(ctx context.Context, rollupId uint64, limit, offset int, ...) ([]storage.Deposit, error)
- func (m *MockIDeposit) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Deposit, error)
- func (m *MockIDeposit) EXPECT() *MockIDepositMockRecorder
- func (m *MockIDeposit) GetByID(ctx context.Context, id uint64) (*storage.Deposit, error)
- func (m *MockIDeposit) IsNoRows(err error) bool
- func (m *MockIDeposit) LastID(ctx context.Context) (uint64, error)
- func (m *MockIDeposit) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Deposit, error)
- func (m_2 *MockIDeposit) Save(ctx context.Context, m *storage.Deposit) error
- func (m_2 *MockIDeposit) Update(ctx context.Context, m *storage.Deposit) error
- type MockIDepositByBridgeIdCall
- type MockIDepositByRollupIdCall
- type MockIDepositCursorListCall
- type MockIDepositGetByIDCall
- func (c *MockIDepositGetByIDCall) Do(f func(context.Context, uint64) (*storage.Deposit, error)) *MockIDepositGetByIDCall
- func (c *MockIDepositGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Deposit, error)) *MockIDepositGetByIDCall
- func (c *MockIDepositGetByIDCall) Return(arg0 *storage.Deposit, arg1 error) *MockIDepositGetByIDCall
- type MockIDepositIsNoRowsCall
- type MockIDepositLastIDCall
- type MockIDepositListCall
- type MockIDepositMockRecorder
- func (mr *MockIDepositMockRecorder) ByBridgeId(ctx, bridgeId, limit, offset, sort any) *MockIDepositByBridgeIdCall
- func (mr *MockIDepositMockRecorder) ByRollupId(ctx, rollupId, limit, offset, sort any) *MockIDepositByRollupIdCall
- func (mr *MockIDepositMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIDepositCursorListCall
- func (mr *MockIDepositMockRecorder) GetByID(ctx, id any) *MockIDepositGetByIDCall
- func (mr *MockIDepositMockRecorder) IsNoRows(err any) *MockIDepositIsNoRowsCall
- func (mr *MockIDepositMockRecorder) LastID(ctx any) *MockIDepositLastIDCall
- func (mr *MockIDepositMockRecorder) List(ctx, limit, offset, order any) *MockIDepositListCall
- func (mr *MockIDepositMockRecorder) Save(ctx, m any) *MockIDepositSaveCall
- func (mr *MockIDepositMockRecorder) Update(ctx, m any) *MockIDepositUpdateCall
- type MockIDepositSaveCall
- type MockIDepositUpdateCall
- func (c *MockIDepositUpdateCall) Do(f func(context.Context, *storage.Deposit) error) *MockIDepositUpdateCall
- func (c *MockIDepositUpdateCall) DoAndReturn(f func(context.Context, *storage.Deposit) error) *MockIDepositUpdateCall
- func (c *MockIDepositUpdateCall) Return(arg0 error) *MockIDepositUpdateCall
- type MockIFee
- func (m *MockIFee) ByPayerId(ctx context.Context, id uint64, limit, offset int, sort storage0.SortOrder) ([]storage.Fee, error)
- func (m *MockIFee) ByTxId(ctx context.Context, id uint64, limit, offset int) ([]storage.Fee, error)
- func (m *MockIFee) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Fee, error)
- func (m *MockIFee) EXPECT() *MockIFeeMockRecorder
- func (m *MockIFee) GetByID(ctx context.Context, id uint64) (*storage.Fee, error)
- func (m *MockIFee) IsNoRows(err error) bool
- func (m *MockIFee) LastID(ctx context.Context) (uint64, error)
- func (m *MockIFee) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Fee, error)
- func (m_2 *MockIFee) Save(ctx context.Context, m *storage.Fee) error
- func (m_2 *MockIFee) Update(ctx context.Context, m *storage.Fee) error
- type MockIFeeByPayerIdCall
- type MockIFeeByTxIdCall
- func (c *MockIFeeByTxIdCall) Do(f func(context.Context, uint64, int, int) ([]storage.Fee, error)) *MockIFeeByTxIdCall
- func (c *MockIFeeByTxIdCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Fee, error)) *MockIFeeByTxIdCall
- func (c *MockIFeeByTxIdCall) Return(arg0 []storage.Fee, arg1 error) *MockIFeeByTxIdCall
- type MockIFeeCursorListCall
- type MockIFeeGetByIDCall
- func (c *MockIFeeGetByIDCall) Do(f func(context.Context, uint64) (*storage.Fee, error)) *MockIFeeGetByIDCall
- func (c *MockIFeeGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Fee, error)) *MockIFeeGetByIDCall
- func (c *MockIFeeGetByIDCall) Return(arg0 *storage.Fee, arg1 error) *MockIFeeGetByIDCall
- type MockIFeeIsNoRowsCall
- type MockIFeeLastIDCall
- type MockIFeeListCall
- type MockIFeeMockRecorder
- func (mr *MockIFeeMockRecorder) ByPayerId(ctx, id, limit, offset, sort any) *MockIFeeByPayerIdCall
- func (mr *MockIFeeMockRecorder) ByTxId(ctx, id, limit, offset any) *MockIFeeByTxIdCall
- func (mr *MockIFeeMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIFeeCursorListCall
- func (mr *MockIFeeMockRecorder) GetByID(ctx, id any) *MockIFeeGetByIDCall
- func (mr *MockIFeeMockRecorder) IsNoRows(err any) *MockIFeeIsNoRowsCall
- func (mr *MockIFeeMockRecorder) LastID(ctx any) *MockIFeeLastIDCall
- func (mr *MockIFeeMockRecorder) List(ctx, limit, offset, order any) *MockIFeeListCall
- func (mr *MockIFeeMockRecorder) Save(ctx, m any) *MockIFeeSaveCall
- func (mr *MockIFeeMockRecorder) Update(ctx, m any) *MockIFeeUpdateCall
- type MockIFeeSaveCall
- type MockIFeeUpdateCall
- type MockIRollup
- func (m *MockIRollup) ActionsByHeight(ctx context.Context, height types.Level, limit, offset int) ([]storage.RollupAction, error)
- func (m *MockIRollup) ActionsByTxId(ctx context.Context, txId uint64, limit, offset int) ([]storage.RollupAction, error)
- func (m *MockIRollup) Addresses(ctx context.Context, rollupId uint64, limit, offset int, ...) ([]storage.RollupAddress, error)
- func (m *MockIRollup) ByHash(ctx context.Context, hash []byte) (storage.Rollup, error)
- func (m *MockIRollup) CountActionsByHeight(ctx context.Context, height types.Level) (int64, error)
- func (m *MockIRollup) CountActionsByTxId(ctx context.Context, txId uint64) (int64, error)
- func (m *MockIRollup) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Rollup, 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) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Rollup, error)
- func (m *MockIRollup) ListExt(ctx context.Context, fltrs storage.RollupListFilter) ([]storage.Rollup, error)
- func (m *MockIRollup) ListRollupsByAddress(ctx context.Context, addressId uint64, limit, offset int, ...) ([]storage.RollupAddress, error)
- func (m_2 *MockIRollup) Save(ctx context.Context, m *storage.Rollup) error
- func (m_2 *MockIRollup) Update(ctx context.Context, m *storage.Rollup) error
- type MockIRollupActionsByHeightCall
- func (c *MockIRollupActionsByHeightCall) Do(f func(context.Context, types.Level, int, int) ([]storage.RollupAction, error)) *MockIRollupActionsByHeightCall
- func (c *MockIRollupActionsByHeightCall) DoAndReturn(f func(context.Context, types.Level, int, int) ([]storage.RollupAction, error)) *MockIRollupActionsByHeightCall
- func (c *MockIRollupActionsByHeightCall) Return(arg0 []storage.RollupAction, arg1 error) *MockIRollupActionsByHeightCall
- type MockIRollupActionsByTxIdCall
- func (c *MockIRollupActionsByTxIdCall) Do(f func(context.Context, uint64, int, int) ([]storage.RollupAction, error)) *MockIRollupActionsByTxIdCall
- func (c *MockIRollupActionsByTxIdCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.RollupAction, error)) *MockIRollupActionsByTxIdCall
- func (c *MockIRollupActionsByTxIdCall) Return(arg0 []storage.RollupAction, arg1 error) *MockIRollupActionsByTxIdCall
- type MockIRollupAddressesCall
- type MockIRollupByHashCall
- func (c *MockIRollupByHashCall) Do(f func(context.Context, []byte) (storage.Rollup, error)) *MockIRollupByHashCall
- func (c *MockIRollupByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Rollup, error)) *MockIRollupByHashCall
- func (c *MockIRollupByHashCall) Return(arg0 storage.Rollup, arg1 error) *MockIRollupByHashCall
- type MockIRollupCountActionsByHeightCall
- func (c *MockIRollupCountActionsByHeightCall) Do(f func(context.Context, types.Level) (int64, error)) *MockIRollupCountActionsByHeightCall
- func (c *MockIRollupCountActionsByHeightCall) DoAndReturn(f func(context.Context, types.Level) (int64, error)) *MockIRollupCountActionsByHeightCall
- func (c *MockIRollupCountActionsByHeightCall) Return(arg0 int64, arg1 error) *MockIRollupCountActionsByHeightCall
- type MockIRollupCountActionsByTxIdCall
- func (c *MockIRollupCountActionsByTxIdCall) Do(f func(context.Context, uint64) (int64, error)) *MockIRollupCountActionsByTxIdCall
- func (c *MockIRollupCountActionsByTxIdCall) DoAndReturn(f func(context.Context, uint64) (int64, error)) *MockIRollupCountActionsByTxIdCall
- func (c *MockIRollupCountActionsByTxIdCall) Return(arg0 int64, arg1 error) *MockIRollupCountActionsByTxIdCall
- type MockIRollupCursorListCall
- 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 MockIRollupListCall
- type MockIRollupListExtCall
- func (c *MockIRollupListExtCall) Do(f func(context.Context, storage.RollupListFilter) ([]storage.Rollup, error)) *MockIRollupListExtCall
- func (c *MockIRollupListExtCall) DoAndReturn(f func(context.Context, storage.RollupListFilter) ([]storage.Rollup, error)) *MockIRollupListExtCall
- func (c *MockIRollupListExtCall) Return(arg0 []storage.Rollup, arg1 error) *MockIRollupListExtCall
- type MockIRollupListRollupsByAddressCall
- func (c *MockIRollupListRollupsByAddressCall) Do(...) *MockIRollupListRollupsByAddressCall
- func (c *MockIRollupListRollupsByAddressCall) DoAndReturn(...) *MockIRollupListRollupsByAddressCall
- func (c *MockIRollupListRollupsByAddressCall) Return(arg0 []storage.RollupAddress, arg1 error) *MockIRollupListRollupsByAddressCall
- type MockIRollupMockRecorder
- func (mr *MockIRollupMockRecorder) ActionsByHeight(ctx, height, limit, offset any) *MockIRollupActionsByHeightCall
- func (mr *MockIRollupMockRecorder) ActionsByTxId(ctx, txId, limit, offset any) *MockIRollupActionsByTxIdCall
- func (mr *MockIRollupMockRecorder) Addresses(ctx, rollupId, limit, offset, sort any) *MockIRollupAddressesCall
- func (mr *MockIRollupMockRecorder) ByHash(ctx, hash any) *MockIRollupByHashCall
- func (mr *MockIRollupMockRecorder) CountActionsByHeight(ctx, height any) *MockIRollupCountActionsByHeightCall
- func (mr *MockIRollupMockRecorder) CountActionsByTxId(ctx, txId any) *MockIRollupCountActionsByTxIdCall
- func (mr *MockIRollupMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIRollupCursorListCall
- 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) List(ctx, limit, offset, order any) *MockIRollupListCall
- func (mr *MockIRollupMockRecorder) ListExt(ctx, fltrs any) *MockIRollupListExtCall
- func (mr *MockIRollupMockRecorder) ListRollupsByAddress(ctx, addressId, limit, offset, sort any) *MockIRollupListRollupsByAddressCall
- func (mr *MockIRollupMockRecorder) Save(ctx, m any) *MockIRollupSaveCall
- func (mr *MockIRollupMockRecorder) Update(ctx, m any) *MockIRollupUpdateCall
- type MockIRollupSaveCall
- type MockIRollupUpdateCall
- type MockISearch
- type MockISearchMockRecorder
- type MockISearchSearchCall
- func (c *MockISearchSearchCall) Do(f func(context.Context, string) ([]storage.SearchResult, error)) *MockISearchSearchCall
- func (c *MockISearchSearchCall) DoAndReturn(f func(context.Context, string) ([]storage.SearchResult, error)) *MockISearchSearchCall
- func (c *MockISearchSearchCall) Return(arg0 []storage.SearchResult, arg1 error) *MockISearchSearchCall
- 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) ActiveAddressesCount(ctx context.Context) (int64, error)
- func (m *MockIStats) EXPECT() *MockIStatsMockRecorder
- func (m *MockIStats) FeeSummary(ctx context.Context) ([]storage.FeeSummary, error)
- func (m *MockIStats) RollupSeries(ctx context.Context, rollupId uint64, timeframe storage.Timeframe, name string, ...) ([]storage.SeriesItem, error)
- func (m *MockIStats) Series(ctx context.Context, timeframe storage.Timeframe, name string, ...) ([]storage.SeriesItem, error)
- func (m *MockIStats) Summary(ctx context.Context) (storage.NetworkSummary, error)
- func (m *MockIStats) SummaryTimeframe(ctx context.Context, timeframe storage.Timeframe) (storage.NetworkSummaryWithChange, error)
- func (m *MockIStats) TokenTransferDistribution(ctx context.Context, limit int) ([]storage.TokenTransferDistributionItem, error)
- type MockIStatsActiveAddressesCountCall
- func (c *MockIStatsActiveAddressesCountCall) Do(f func(context.Context) (int64, error)) *MockIStatsActiveAddressesCountCall
- func (c *MockIStatsActiveAddressesCountCall) DoAndReturn(f func(context.Context) (int64, error)) *MockIStatsActiveAddressesCountCall
- func (c *MockIStatsActiveAddressesCountCall) Return(arg0 int64, arg1 error) *MockIStatsActiveAddressesCountCall
- type MockIStatsFeeSummaryCall
- func (c *MockIStatsFeeSummaryCall) Do(f func(context.Context) ([]storage.FeeSummary, error)) *MockIStatsFeeSummaryCall
- func (c *MockIStatsFeeSummaryCall) DoAndReturn(f func(context.Context) ([]storage.FeeSummary, error)) *MockIStatsFeeSummaryCall
- func (c *MockIStatsFeeSummaryCall) Return(arg0 []storage.FeeSummary, arg1 error) *MockIStatsFeeSummaryCall
- type MockIStatsMockRecorder
- func (mr *MockIStatsMockRecorder) ActiveAddressesCount(ctx any) *MockIStatsActiveAddressesCountCall
- func (mr *MockIStatsMockRecorder) FeeSummary(ctx any) *MockIStatsFeeSummaryCall
- func (mr *MockIStatsMockRecorder) RollupSeries(ctx, rollupId, timeframe, name, req any) *MockIStatsRollupSeriesCall
- func (mr *MockIStatsMockRecorder) Series(ctx, timeframe, name, req any) *MockIStatsSeriesCall
- func (mr *MockIStatsMockRecorder) Summary(ctx any) *MockIStatsSummaryCall
- func (mr *MockIStatsMockRecorder) SummaryTimeframe(ctx, timeframe any) *MockIStatsSummaryTimeframeCall
- func (mr *MockIStatsMockRecorder) TokenTransferDistribution(ctx, limit any) *MockIStatsTokenTransferDistributionCall
- type MockIStatsRollupSeriesCall
- type MockIStatsSeriesCall
- type MockIStatsSummaryCall
- func (c *MockIStatsSummaryCall) Do(f func(context.Context) (storage.NetworkSummary, error)) *MockIStatsSummaryCall
- func (c *MockIStatsSummaryCall) DoAndReturn(f func(context.Context) (storage.NetworkSummary, error)) *MockIStatsSummaryCall
- func (c *MockIStatsSummaryCall) Return(arg0 storage.NetworkSummary, arg1 error) *MockIStatsSummaryCall
- type MockIStatsSummaryTimeframeCall
- func (c *MockIStatsSummaryTimeframeCall) Do(...) *MockIStatsSummaryTimeframeCall
- func (c *MockIStatsSummaryTimeframeCall) DoAndReturn(...) *MockIStatsSummaryTimeframeCall
- func (c *MockIStatsSummaryTimeframeCall) Return(arg0 storage.NetworkSummaryWithChange, arg1 error) *MockIStatsSummaryTimeframeCall
- type MockIStatsTokenTransferDistributionCall
- func (c *MockIStatsTokenTransferDistributionCall) Do(f func(context.Context, int) ([]storage.TokenTransferDistributionItem, error)) *MockIStatsTokenTransferDistributionCall
- func (c *MockIStatsTokenTransferDistributionCall) DoAndReturn(f func(context.Context, int) ([]storage.TokenTransferDistributionItem, error)) *MockIStatsTokenTransferDistributionCall
- func (c *MockIStatsTokenTransferDistributionCall) Return(arg0 []storage.TokenTransferDistributionItem, arg1 error) *MockIStatsTokenTransferDistributionCall
- type MockITransfer
- func (m *MockITransfer) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Transfer, error)
- func (m *MockITransfer) EXPECT() *MockITransferMockRecorder
- func (m *MockITransfer) GetByID(ctx context.Context, id uint64) (*storage.Transfer, error)
- func (m *MockITransfer) IsNoRows(err error) bool
- func (m *MockITransfer) LastID(ctx context.Context) (uint64, error)
- func (m *MockITransfer) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Transfer, error)
- func (m_2 *MockITransfer) Save(ctx context.Context, m *storage.Transfer) error
- func (m_2 *MockITransfer) Update(ctx context.Context, m *storage.Transfer) error
- type MockITransferCursorListCall
- type MockITransferGetByIDCall
- func (c *MockITransferGetByIDCall) Do(f func(context.Context, uint64) (*storage.Transfer, error)) *MockITransferGetByIDCall
- func (c *MockITransferGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Transfer, error)) *MockITransferGetByIDCall
- func (c *MockITransferGetByIDCall) Return(arg0 *storage.Transfer, arg1 error) *MockITransferGetByIDCall
- type MockITransferIsNoRowsCall
- type MockITransferLastIDCall
- func (c *MockITransferLastIDCall) Do(f func(context.Context) (uint64, error)) *MockITransferLastIDCall
- func (c *MockITransferLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockITransferLastIDCall
- func (c *MockITransferLastIDCall) Return(arg0 uint64, arg1 error) *MockITransferLastIDCall
- type MockITransferListCall
- type MockITransferMockRecorder
- func (mr *MockITransferMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockITransferCursorListCall
- func (mr *MockITransferMockRecorder) GetByID(ctx, id any) *MockITransferGetByIDCall
- func (mr *MockITransferMockRecorder) IsNoRows(err any) *MockITransferIsNoRowsCall
- func (mr *MockITransferMockRecorder) LastID(ctx any) *MockITransferLastIDCall
- func (mr *MockITransferMockRecorder) List(ctx, limit, offset, order any) *MockITransferListCall
- func (mr *MockITransferMockRecorder) Save(ctx, m any) *MockITransferSaveCall
- func (mr *MockITransferMockRecorder) Update(ctx, m any) *MockITransferUpdateCall
- type MockITransferSaveCall
- type MockITransferUpdateCall
- func (c *MockITransferUpdateCall) Do(f func(context.Context, *storage.Transfer) error) *MockITransferUpdateCall
- func (c *MockITransferUpdateCall) DoAndReturn(f func(context.Context, *storage.Transfer) error) *MockITransferUpdateCall
- func (c *MockITransferUpdateCall) Return(arg0 error) *MockITransferUpdateCall
- 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) ByHeight(ctx context.Context, height types.Level, limit, offset int) ([]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) GetByID(ctx context.Context, id uint64) (*storage.Tx, 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 MockITxByHeightCall
- func (c *MockITxByHeightCall) Do(f func(context.Context, types.Level, int, int) ([]storage.Tx, error)) *MockITxByHeightCall
- func (c *MockITxByHeightCall) DoAndReturn(f func(context.Context, types.Level, int, int) ([]storage.Tx, error)) *MockITxByHeightCall
- func (c *MockITxByHeightCall) Return(arg0 []storage.Tx, arg1 error) *MockITxByHeightCall
- 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 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 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) ByHeight(ctx, height, limit, offset any) *MockITxByHeightCall
- func (mr *MockITxMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockITxCursorListCall
- func (mr *MockITxMockRecorder) Filter(ctx, fltrs any) *MockITxFilterCall
- func (mr *MockITxMockRecorder) GetByID(ctx, id any) *MockITxGetByIDCall
- 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 MockIValidator
- 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) 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, limit, offset int, order storage0.SortOrder) ([]storage.Validator, error)
- func (m_2 *MockIValidator) Save(ctx context.Context, m *storage.Validator) error
- func (m_2 *MockIValidator) Update(ctx context.Context, m *storage.Validator) error
- 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 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
- type MockIValidatorListCall
- type MockIValidatorMockRecorder
- 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) LastID(ctx any) *MockIValidatorLastIDCall
- func (mr *MockIValidatorMockRecorder) List(ctx, limit, offset, order any) *MockIValidatorListCall
- func (mr *MockIValidatorMockRecorder) ListByPower(ctx, limit, offset, order any) *MockIValidatorListByPowerCall
- func (mr *MockIValidatorMockRecorder) Save(ctx, m any) *MockIValidatorSaveCall
- 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 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 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) Close(ctx context.Context) error
- func (m *MockTransaction) CopyFrom(ctx context.Context, tableName string, data []storage0.Copiable) error
- func (m *MockTransaction) DeleteApp(ctx context.Context, appId 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) GetAddressId(ctx context.Context, hash string) (uint64, error)
- func (m *MockTransaction) GetBridgeIdByAddressId(ctx context.Context, id uint64) (uint64, error)
- func (m *MockTransaction) GetProposerId(ctx context.Context, address string) (uint64, error)
- func (m *MockTransaction) GetRollup(ctx context.Context, rollupId []byte) (storage.Rollup, error)
- func (m *MockTransaction) HandleError(ctx context.Context, err error) error
- func (m *MockTransaction) LastBlock(ctx context.Context) (storage.Block, error)
- func (m *MockTransaction) LastNonce(ctx context.Context, id uint64) (uint32, error)
- func (m *MockTransaction) RefreshLeaderboard(ctx context.Context) error
- func (m *MockTransaction) RetentionBlockSignatures(ctx context.Context, height types.Level) error
- func (m *MockTransaction) Rollback(ctx context.Context) error
- func (m *MockTransaction) RollbackActions(ctx context.Context, height types.Level) ([]storage.Action, error)
- func (m *MockTransaction) RollbackAddressActions(ctx context.Context, height types.Level) ([]storage.AddressAction, error)
- func (m *MockTransaction) RollbackAddresses(ctx context.Context, height types.Level) ([]storage.Address, error)
- func (m *MockTransaction) RollbackBalanceUpdates(ctx context.Context, height types.Level) ([]storage.BalanceUpdate, error)
- func (m *MockTransaction) RollbackBalances(ctx context.Context, ids []uint64) 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) RollbackBridges(ctx context.Context, height types.Level) (int, error)
- func (m *MockTransaction) RollbackDeposits(ctx context.Context, height types.Level) error
- func (m *MockTransaction) RollbackFees(ctx context.Context, height types.Level) error
- func (m *MockTransaction) RollbackRollupActions(ctx context.Context, height types.Level) ([]storage.RollupAction, error)
- func (m *MockTransaction) RollbackRollupAddresses(ctx context.Context, height types.Level) error
- func (m *MockTransaction) RollbackRollups(ctx context.Context, height types.Level) ([]storage.Rollup, error)
- func (m *MockTransaction) RollbackTransfers(ctx context.Context, height types.Level) error
- func (m *MockTransaction) RollbackTxs(ctx context.Context, height types.Level) ([]storage.Tx, error)
- func (m *MockTransaction) RollbackValidators(ctx context.Context, height types.Level) error
- func (m *MockTransaction) SaveActions(ctx context.Context, actions ...*storage.Action) error
- func (m *MockTransaction) SaveAddressActions(ctx context.Context, actions ...*storage.AddressAction) error
- func (m *MockTransaction) SaveAddresses(ctx context.Context, addresses ...*storage.Address) (int64, error)
- func (m *MockTransaction) SaveApp(ctx context.Context, app *storage.App) error
- func (m *MockTransaction) SaveBalanceUpdates(ctx context.Context, updates ...storage.BalanceUpdate) error
- func (m *MockTransaction) SaveBalances(ctx context.Context, balances ...storage.Balance) error
- func (m *MockTransaction) SaveBlockSignatures(ctx context.Context, signs ...storage.BlockSignature) error
- func (m *MockTransaction) SaveBridges(ctx context.Context, bridges ...*storage.Bridge) (int64, error)
- func (m *MockTransaction) SaveConstants(ctx context.Context, constants ...storage.Constant) error
- func (m *MockTransaction) SaveDeposits(ctx context.Context, deposits ...*storage.Deposit) error
- func (m *MockTransaction) SaveFees(ctx context.Context, fees ...*storage.Fee) error
- func (m *MockTransaction) SaveRollupActions(ctx context.Context, actions ...*storage.RollupAction) error
- func (m *MockTransaction) SaveRollupAddresses(ctx context.Context, addresses ...*storage.RollupAddress) error
- func (m *MockTransaction) SaveRollups(ctx context.Context, rollups ...*storage.Rollup) (int64, error)
- func (m *MockTransaction) SaveTransactions(ctx context.Context, txs ...*storage.Tx) error
- func (m *MockTransaction) SaveTransfers(ctx context.Context, transfers ...*storage.Transfer) error
- func (m *MockTransaction) SaveValidators(ctx context.Context, validators ...*storage.Validator) 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) UpdateAddresses(ctx context.Context, address ...*storage.Address) error
- func (m *MockTransaction) UpdateApp(ctx context.Context, app *storage.App) error
- func (m *MockTransaction) UpdateConstants(ctx context.Context, constants ...*storage.Constant) error
- func (m *MockTransaction) UpdateRollups(ctx context.Context, rollups ...*storage.Rollup) error
- func (m *MockTransaction) Validators(ctx context.Context) ([]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 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 MockTransactionDeleteAppCall
- func (c *MockTransactionDeleteAppCall) Do(f func(context.Context, uint64) error) *MockTransactionDeleteAppCall
- func (c *MockTransactionDeleteAppCall) DoAndReturn(f func(context.Context, uint64) error) *MockTransactionDeleteAppCall
- func (c *MockTransactionDeleteAppCall) Return(arg0 error) *MockTransactionDeleteAppCall
- 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 MockTransactionGetAddressIdCall
- func (c *MockTransactionGetAddressIdCall) Do(f func(context.Context, string) (uint64, error)) *MockTransactionGetAddressIdCall
- func (c *MockTransactionGetAddressIdCall) DoAndReturn(f func(context.Context, string) (uint64, error)) *MockTransactionGetAddressIdCall
- func (c *MockTransactionGetAddressIdCall) Return(arg0 uint64, arg1 error) *MockTransactionGetAddressIdCall
- type MockTransactionGetBridgeIdByAddressIdCall
- func (c *MockTransactionGetBridgeIdByAddressIdCall) Do(f func(context.Context, uint64) (uint64, error)) *MockTransactionGetBridgeIdByAddressIdCall
- func (c *MockTransactionGetBridgeIdByAddressIdCall) DoAndReturn(f func(context.Context, uint64) (uint64, error)) *MockTransactionGetBridgeIdByAddressIdCall
- func (c *MockTransactionGetBridgeIdByAddressIdCall) Return(arg0 uint64, arg1 error) *MockTransactionGetBridgeIdByAddressIdCall
- 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 MockTransactionGetRollupCall
- func (c *MockTransactionGetRollupCall) Do(f func(context.Context, []byte) (storage.Rollup, error)) *MockTransactionGetRollupCall
- func (c *MockTransactionGetRollupCall) DoAndReturn(f func(context.Context, []byte) (storage.Rollup, error)) *MockTransactionGetRollupCall
- func (c *MockTransactionGetRollupCall) Return(arg0 storage.Rollup, arg1 error) *MockTransactionGetRollupCall
- 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 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 MockTransactionLastNonceCall
- func (c *MockTransactionLastNonceCall) Do(f func(context.Context, uint64) (uint32, error)) *MockTransactionLastNonceCall
- func (c *MockTransactionLastNonceCall) DoAndReturn(f func(context.Context, uint64) (uint32, error)) *MockTransactionLastNonceCall
- func (c *MockTransactionLastNonceCall) Return(arg0 uint32, arg1 error) *MockTransactionLastNonceCall
- type MockTransactionMockRecorder
- func (mr *MockTransactionMockRecorder) Add(ctx, model any) *MockTransactionAddCall
- func (mr *MockTransactionMockRecorder) BulkSave(ctx, models any) *MockTransactionBulkSaveCall
- func (mr *MockTransactionMockRecorder) Close(ctx any) *MockTransactionCloseCall
- func (mr *MockTransactionMockRecorder) CopyFrom(ctx, tableName, data any) *MockTransactionCopyFromCall
- func (mr *MockTransactionMockRecorder) DeleteApp(ctx, appId any) *MockTransactionDeleteAppCall
- func (mr *MockTransactionMockRecorder) Exec(ctx, query any, params ...any) *MockTransactionExecCall
- func (mr *MockTransactionMockRecorder) Flush(ctx any) *MockTransactionFlushCall
- func (mr *MockTransactionMockRecorder) GetAddressId(ctx, hash any) *MockTransactionGetAddressIdCall
- func (mr *MockTransactionMockRecorder) GetBridgeIdByAddressId(ctx, id any) *MockTransactionGetBridgeIdByAddressIdCall
- func (mr *MockTransactionMockRecorder) GetProposerId(ctx, address any) *MockTransactionGetProposerIdCall
- func (mr *MockTransactionMockRecorder) GetRollup(ctx, rollupId any) *MockTransactionGetRollupCall
- func (mr *MockTransactionMockRecorder) HandleError(ctx, err any) *MockTransactionHandleErrorCall
- func (mr *MockTransactionMockRecorder) LastBlock(ctx any) *MockTransactionLastBlockCall
- func (mr *MockTransactionMockRecorder) LastNonce(ctx, id any) *MockTransactionLastNonceCall
- func (mr *MockTransactionMockRecorder) RefreshLeaderboard(ctx any) *MockTransactionRefreshLeaderboardCall
- func (mr *MockTransactionMockRecorder) RetentionBlockSignatures(ctx, height any) *MockTransactionRetentionBlockSignaturesCall
- func (mr *MockTransactionMockRecorder) Rollback(ctx any) *MockTransactionRollbackCall
- func (mr *MockTransactionMockRecorder) RollbackActions(ctx, height any) *MockTransactionRollbackActionsCall
- func (mr *MockTransactionMockRecorder) RollbackAddressActions(ctx, height any) *MockTransactionRollbackAddressActionsCall
- func (mr *MockTransactionMockRecorder) RollbackAddresses(ctx, height any) *MockTransactionRollbackAddressesCall
- func (mr *MockTransactionMockRecorder) RollbackBalanceUpdates(ctx, height any) *MockTransactionRollbackBalanceUpdatesCall
- func (mr *MockTransactionMockRecorder) RollbackBalances(ctx, ids any) *MockTransactionRollbackBalancesCall
- 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) RollbackBridges(ctx, height any) *MockTransactionRollbackBridgesCall
- func (mr *MockTransactionMockRecorder) RollbackDeposits(ctx, height any) *MockTransactionRollbackDepositsCall
- func (mr *MockTransactionMockRecorder) RollbackFees(ctx, height any) *MockTransactionRollbackFeesCall
- func (mr *MockTransactionMockRecorder) RollbackRollupActions(ctx, height any) *MockTransactionRollbackRollupActionsCall
- func (mr *MockTransactionMockRecorder) RollbackRollupAddresses(ctx, height any) *MockTransactionRollbackRollupAddressesCall
- func (mr *MockTransactionMockRecorder) RollbackRollups(ctx, height any) *MockTransactionRollbackRollupsCall
- func (mr *MockTransactionMockRecorder) RollbackTransfers(ctx, height any) *MockTransactionRollbackTransfersCall
- func (mr *MockTransactionMockRecorder) RollbackTxs(ctx, height any) *MockTransactionRollbackTxsCall
- func (mr *MockTransactionMockRecorder) RollbackValidators(ctx, height any) *MockTransactionRollbackValidatorsCall
- func (mr *MockTransactionMockRecorder) SaveActions(ctx any, actions ...any) *MockTransactionSaveActionsCall
- func (mr *MockTransactionMockRecorder) SaveAddressActions(ctx any, actions ...any) *MockTransactionSaveAddressActionsCall
- func (mr *MockTransactionMockRecorder) SaveAddresses(ctx any, addresses ...any) *MockTransactionSaveAddressesCall
- func (mr *MockTransactionMockRecorder) SaveApp(ctx, app any) *MockTransactionSaveAppCall
- func (mr *MockTransactionMockRecorder) SaveBalanceUpdates(ctx any, updates ...any) *MockTransactionSaveBalanceUpdatesCall
- func (mr *MockTransactionMockRecorder) SaveBalances(ctx any, balances ...any) *MockTransactionSaveBalancesCall
- func (mr *MockTransactionMockRecorder) SaveBlockSignatures(ctx any, signs ...any) *MockTransactionSaveBlockSignaturesCall
- func (mr *MockTransactionMockRecorder) SaveBridges(ctx any, bridges ...any) *MockTransactionSaveBridgesCall
- func (mr *MockTransactionMockRecorder) SaveConstants(ctx any, constants ...any) *MockTransactionSaveConstantsCall
- func (mr *MockTransactionMockRecorder) SaveDeposits(ctx any, deposits ...any) *MockTransactionSaveDepositsCall
- func (mr *MockTransactionMockRecorder) SaveFees(ctx any, fees ...any) *MockTransactionSaveFeesCall
- func (mr *MockTransactionMockRecorder) SaveRollupActions(ctx any, actions ...any) *MockTransactionSaveRollupActionsCall
- func (mr *MockTransactionMockRecorder) SaveRollupAddresses(ctx any, addresses ...any) *MockTransactionSaveRollupAddressesCall
- func (mr *MockTransactionMockRecorder) SaveRollups(ctx any, rollups ...any) *MockTransactionSaveRollupsCall
- func (mr *MockTransactionMockRecorder) SaveTransactions(ctx any, txs ...any) *MockTransactionSaveTransactionsCall
- func (mr *MockTransactionMockRecorder) SaveTransfers(ctx any, transfers ...any) *MockTransactionSaveTransfersCall
- func (mr *MockTransactionMockRecorder) SaveValidators(ctx any, validators ...any) *MockTransactionSaveValidatorsCall
- func (mr *MockTransactionMockRecorder) State(ctx, name any) *MockTransactionStateCall
- func (mr *MockTransactionMockRecorder) Tx() *MockTransactionTxCall
- func (mr *MockTransactionMockRecorder) Update(ctx, model any) *MockTransactionUpdateCall
- func (mr *MockTransactionMockRecorder) UpdateAddresses(ctx any, address ...any) *MockTransactionUpdateAddressesCall
- func (mr *MockTransactionMockRecorder) UpdateApp(ctx, app any) *MockTransactionUpdateAppCall
- func (mr *MockTransactionMockRecorder) UpdateConstants(ctx any, constants ...any) *MockTransactionUpdateConstantsCall
- func (mr *MockTransactionMockRecorder) UpdateRollups(ctx any, rollups ...any) *MockTransactionUpdateRollupsCall
- func (mr *MockTransactionMockRecorder) Validators(ctx any) *MockTransactionValidatorsCall
- 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 MockTransactionRollbackActionsCall
- func (c *MockTransactionRollbackActionsCall) Do(f func(context.Context, types.Level) ([]storage.Action, error)) *MockTransactionRollbackActionsCall
- func (c *MockTransactionRollbackActionsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Action, error)) *MockTransactionRollbackActionsCall
- func (c *MockTransactionRollbackActionsCall) Return(actions []storage.Action, err error) *MockTransactionRollbackActionsCall
- type MockTransactionRollbackAddressActionsCall
- func (c *MockTransactionRollbackAddressActionsCall) Do(f func(context.Context, types.Level) ([]storage.AddressAction, error)) *MockTransactionRollbackAddressActionsCall
- func (c *MockTransactionRollbackAddressActionsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.AddressAction, error)) *MockTransactionRollbackAddressActionsCall
- func (c *MockTransactionRollbackAddressActionsCall) Return(addrActions []storage.AddressAction, err error) *MockTransactionRollbackAddressActionsCall
- 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 MockTransactionRollbackBalanceUpdatesCall
- func (c *MockTransactionRollbackBalanceUpdatesCall) Do(f func(context.Context, types.Level) ([]storage.BalanceUpdate, error)) *MockTransactionRollbackBalanceUpdatesCall
- func (c *MockTransactionRollbackBalanceUpdatesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.BalanceUpdate, error)) *MockTransactionRollbackBalanceUpdatesCall
- func (c *MockTransactionRollbackBalanceUpdatesCall) Return(arg0 []storage.BalanceUpdate, arg1 error) *MockTransactionRollbackBalanceUpdatesCall
- type MockTransactionRollbackBalancesCall
- func (c *MockTransactionRollbackBalancesCall) Do(f func(context.Context, []uint64) error) *MockTransactionRollbackBalancesCall
- func (c *MockTransactionRollbackBalancesCall) DoAndReturn(f func(context.Context, []uint64) error) *MockTransactionRollbackBalancesCall
- func (c *MockTransactionRollbackBalancesCall) Return(arg0 error) *MockTransactionRollbackBalancesCall
- 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 MockTransactionRollbackBridgesCall
- func (c *MockTransactionRollbackBridgesCall) Do(f func(context.Context, types.Level) (int, error)) *MockTransactionRollbackBridgesCall
- func (c *MockTransactionRollbackBridgesCall) DoAndReturn(f func(context.Context, types.Level) (int, error)) *MockTransactionRollbackBridgesCall
- func (c *MockTransactionRollbackBridgesCall) Return(arg0 int, arg1 error) *MockTransactionRollbackBridgesCall
- type MockTransactionRollbackCall
- type MockTransactionRollbackDepositsCall
- func (c *MockTransactionRollbackDepositsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackDepositsCall
- func (c *MockTransactionRollbackDepositsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackDepositsCall
- func (c *MockTransactionRollbackDepositsCall) Return(err error) *MockTransactionRollbackDepositsCall
- type MockTransactionRollbackFeesCall
- func (c *MockTransactionRollbackFeesCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackFeesCall
- func (c *MockTransactionRollbackFeesCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackFeesCall
- func (c *MockTransactionRollbackFeesCall) Return(err error) *MockTransactionRollbackFeesCall
- type MockTransactionRollbackRollupActionsCall
- func (c *MockTransactionRollbackRollupActionsCall) Do(f func(context.Context, types.Level) ([]storage.RollupAction, error)) *MockTransactionRollbackRollupActionsCall
- func (c *MockTransactionRollbackRollupActionsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.RollupAction, error)) *MockTransactionRollbackRollupActionsCall
- func (c *MockTransactionRollbackRollupActionsCall) Return(rollupActions []storage.RollupAction, err error) *MockTransactionRollbackRollupActionsCall
- type MockTransactionRollbackRollupAddressesCall
- func (c *MockTransactionRollbackRollupAddressesCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackRollupAddressesCall
- func (c *MockTransactionRollbackRollupAddressesCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackRollupAddressesCall
- func (c *MockTransactionRollbackRollupAddressesCall) Return(err error) *MockTransactionRollbackRollupAddressesCall
- type MockTransactionRollbackRollupsCall
- func (c *MockTransactionRollbackRollupsCall) Do(f func(context.Context, types.Level) ([]storage.Rollup, error)) *MockTransactionRollbackRollupsCall
- func (c *MockTransactionRollbackRollupsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Rollup, error)) *MockTransactionRollbackRollupsCall
- func (c *MockTransactionRollbackRollupsCall) Return(arg0 []storage.Rollup, arg1 error) *MockTransactionRollbackRollupsCall
- type MockTransactionRollbackTransfersCall
- func (c *MockTransactionRollbackTransfersCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackTransfersCall
- func (c *MockTransactionRollbackTransfersCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackTransfersCall
- func (c *MockTransactionRollbackTransfersCall) Return(err error) *MockTransactionRollbackTransfersCall
- 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 MockTransactionRollbackValidatorsCall
- func (c *MockTransactionRollbackValidatorsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackValidatorsCall
- func (c *MockTransactionRollbackValidatorsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackValidatorsCall
- func (c *MockTransactionRollbackValidatorsCall) Return(err error) *MockTransactionRollbackValidatorsCall
- type MockTransactionSaveActionsCall
- func (c *MockTransactionSaveActionsCall) Do(f func(context.Context, ...*storage.Action) error) *MockTransactionSaveActionsCall
- func (c *MockTransactionSaveActionsCall) DoAndReturn(f func(context.Context, ...*storage.Action) error) *MockTransactionSaveActionsCall
- func (c *MockTransactionSaveActionsCall) Return(arg0 error) *MockTransactionSaveActionsCall
- type MockTransactionSaveAddressActionsCall
- func (c *MockTransactionSaveAddressActionsCall) Do(f func(context.Context, ...*storage.AddressAction) error) *MockTransactionSaveAddressActionsCall
- func (c *MockTransactionSaveAddressActionsCall) DoAndReturn(f func(context.Context, ...*storage.AddressAction) error) *MockTransactionSaveAddressActionsCall
- func (c *MockTransactionSaveAddressActionsCall) Return(arg0 error) *MockTransactionSaveAddressActionsCall
- 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 MockTransactionSaveAppCall
- func (c *MockTransactionSaveAppCall) Do(f func(context.Context, *storage.App) error) *MockTransactionSaveAppCall
- func (c *MockTransactionSaveAppCall) DoAndReturn(f func(context.Context, *storage.App) error) *MockTransactionSaveAppCall
- func (c *MockTransactionSaveAppCall) Return(arg0 error) *MockTransactionSaveAppCall
- type MockTransactionSaveBalanceUpdatesCall
- func (c *MockTransactionSaveBalanceUpdatesCall) Do(f func(context.Context, ...storage.BalanceUpdate) error) *MockTransactionSaveBalanceUpdatesCall
- func (c *MockTransactionSaveBalanceUpdatesCall) DoAndReturn(f func(context.Context, ...storage.BalanceUpdate) error) *MockTransactionSaveBalanceUpdatesCall
- func (c *MockTransactionSaveBalanceUpdatesCall) Return(arg0 error) *MockTransactionSaveBalanceUpdatesCall
- 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 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 MockTransactionSaveBridgesCall
- func (c *MockTransactionSaveBridgesCall) Do(f func(context.Context, ...*storage.Bridge) (int64, error)) *MockTransactionSaveBridgesCall
- func (c *MockTransactionSaveBridgesCall) DoAndReturn(f func(context.Context, ...*storage.Bridge) (int64, error)) *MockTransactionSaveBridgesCall
- func (c *MockTransactionSaveBridgesCall) Return(arg0 int64, arg1 error) *MockTransactionSaveBridgesCall
- 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 MockTransactionSaveDepositsCall
- func (c *MockTransactionSaveDepositsCall) Do(f func(context.Context, ...*storage.Deposit) error) *MockTransactionSaveDepositsCall
- func (c *MockTransactionSaveDepositsCall) DoAndReturn(f func(context.Context, ...*storage.Deposit) error) *MockTransactionSaveDepositsCall
- func (c *MockTransactionSaveDepositsCall) Return(arg0 error) *MockTransactionSaveDepositsCall
- type MockTransactionSaveFeesCall
- func (c *MockTransactionSaveFeesCall) Do(f func(context.Context, ...*storage.Fee) error) *MockTransactionSaveFeesCall
- func (c *MockTransactionSaveFeesCall) DoAndReturn(f func(context.Context, ...*storage.Fee) error) *MockTransactionSaveFeesCall
- func (c *MockTransactionSaveFeesCall) Return(arg0 error) *MockTransactionSaveFeesCall
- type MockTransactionSaveRollupActionsCall
- func (c *MockTransactionSaveRollupActionsCall) Do(f func(context.Context, ...*storage.RollupAction) error) *MockTransactionSaveRollupActionsCall
- func (c *MockTransactionSaveRollupActionsCall) DoAndReturn(f func(context.Context, ...*storage.RollupAction) error) *MockTransactionSaveRollupActionsCall
- func (c *MockTransactionSaveRollupActionsCall) Return(arg0 error) *MockTransactionSaveRollupActionsCall
- type MockTransactionSaveRollupAddressesCall
- func (c *MockTransactionSaveRollupAddressesCall) Do(f func(context.Context, ...*storage.RollupAddress) error) *MockTransactionSaveRollupAddressesCall
- func (c *MockTransactionSaveRollupAddressesCall) DoAndReturn(f func(context.Context, ...*storage.RollupAddress) error) *MockTransactionSaveRollupAddressesCall
- func (c *MockTransactionSaveRollupAddressesCall) Return(arg0 error) *MockTransactionSaveRollupAddressesCall
- type MockTransactionSaveRollupsCall
- func (c *MockTransactionSaveRollupsCall) Do(f func(context.Context, ...*storage.Rollup) (int64, error)) *MockTransactionSaveRollupsCall
- func (c *MockTransactionSaveRollupsCall) DoAndReturn(f func(context.Context, ...*storage.Rollup) (int64, error)) *MockTransactionSaveRollupsCall
- func (c *MockTransactionSaveRollupsCall) Return(arg0 int64, arg1 error) *MockTransactionSaveRollupsCall
- 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 MockTransactionSaveTransfersCall
- func (c *MockTransactionSaveTransfersCall) Do(f func(context.Context, ...*storage.Transfer) error) *MockTransactionSaveTransfersCall
- func (c *MockTransactionSaveTransfersCall) DoAndReturn(f func(context.Context, ...*storage.Transfer) error) *MockTransactionSaveTransfersCall
- func (c *MockTransactionSaveTransfersCall) Return(arg0 error) *MockTransactionSaveTransfersCall
- type MockTransactionSaveValidatorsCall
- func (c *MockTransactionSaveValidatorsCall) Do(f func(context.Context, ...*storage.Validator) error) *MockTransactionSaveValidatorsCall
- func (c *MockTransactionSaveValidatorsCall) DoAndReturn(f func(context.Context, ...*storage.Validator) error) *MockTransactionSaveValidatorsCall
- func (c *MockTransactionSaveValidatorsCall) Return(arg0 error) *MockTransactionSaveValidatorsCall
- 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 MockTransactionUpdateAddressesCall
- func (c *MockTransactionUpdateAddressesCall) Do(f func(context.Context, ...*storage.Address) error) *MockTransactionUpdateAddressesCall
- func (c *MockTransactionUpdateAddressesCall) DoAndReturn(f func(context.Context, ...*storage.Address) error) *MockTransactionUpdateAddressesCall
- func (c *MockTransactionUpdateAddressesCall) Return(arg0 error) *MockTransactionUpdateAddressesCall
- type MockTransactionUpdateAppCall
- func (c *MockTransactionUpdateAppCall) Do(f func(context.Context, *storage.App) error) *MockTransactionUpdateAppCall
- func (c *MockTransactionUpdateAppCall) DoAndReturn(f func(context.Context, *storage.App) error) *MockTransactionUpdateAppCall
- func (c *MockTransactionUpdateAppCall) Return(arg0 error) *MockTransactionUpdateAppCall
- type MockTransactionUpdateCall
- type MockTransactionUpdateConstantsCall
- func (c *MockTransactionUpdateConstantsCall) Do(f func(context.Context, ...*storage.Constant) error) *MockTransactionUpdateConstantsCall
- func (c *MockTransactionUpdateConstantsCall) DoAndReturn(f func(context.Context, ...*storage.Constant) error) *MockTransactionUpdateConstantsCall
- func (c *MockTransactionUpdateConstantsCall) Return(arg0 error) *MockTransactionUpdateConstantsCall
- type MockTransactionUpdateRollupsCall
- func (c *MockTransactionUpdateRollupsCall) Do(f func(context.Context, ...*storage.Rollup) error) *MockTransactionUpdateRollupsCall
- func (c *MockTransactionUpdateRollupsCall) DoAndReturn(f func(context.Context, ...*storage.Rollup) error) *MockTransactionUpdateRollupsCall
- func (c *MockTransactionUpdateRollupsCall) Return(arg0 error) *MockTransactionUpdateRollupsCall
- type MockTransactionValidatorsCall
- func (c *MockTransactionValidatorsCall) Do(f func(context.Context) ([]storage.Validator, error)) *MockTransactionValidatorsCall
- func (c *MockTransactionValidatorsCall) DoAndReturn(f func(context.Context) ([]storage.Validator, error)) *MockTransactionValidatorsCall
- func (c *MockTransactionValidatorsCall) Return(arg0 []storage.Validator, arg1 error) *MockTransactionValidatorsCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIAction ¶
type MockIAction struct {
// contains filtered or unexported fields
}
MockIAction is a mock of IAction interface.
func NewMockIAction ¶
func NewMockIAction(ctrl *gomock.Controller) *MockIAction
NewMockIAction creates a new mock instance.
func (*MockIAction) ByAddress ¶
func (m *MockIAction) ByAddress(ctx context.Context, addressId uint64, filters storage.AddressActionsFilter) ([]storage.AddressAction, error)
ByAddress mocks base method.
func (*MockIAction) ByBlock ¶
func (m *MockIAction) ByBlock(ctx context.Context, height types.Level, limit, offset int) ([]storage.ActionWithTx, error)
ByBlock mocks base method.
func (*MockIAction) ByRollup ¶
func (m *MockIAction) ByRollup(ctx context.Context, rollupId uint64, limit, offset int, sort storage0.SortOrder) ([]storage.RollupAction, error)
ByRollup mocks base method.
func (*MockIAction) ByRollupAndBridge ¶
func (m *MockIAction) ByRollupAndBridge(ctx context.Context, rollupId uint64, fltrs storage.RollupAndBridgeActionsFilter) ([]storage.ActionWithTx, error)
ByRollupAndBridge mocks base method.
func (*MockIAction) ByTxId ¶
func (m *MockIAction) ByTxId(ctx context.Context, txId uint64, limit, offset int) ([]storage.Action, error)
ByTxId mocks base method.
func (*MockIAction) CursorList ¶
func (m *MockIAction) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Action, error)
CursorList mocks base method.
func (*MockIAction) EXPECT ¶
func (m *MockIAction) EXPECT() *MockIActionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIAction) IsNoRows ¶
func (m *MockIAction) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIAction) LastID ¶
func (m *MockIAction) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIAction) List ¶
func (m *MockIAction) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Action, error)
List mocks base method.
type MockIActionByAddressCall ¶
MockIActionByAddressCall wrap *gomock.Call
func (*MockIActionByAddressCall) Do ¶
func (c *MockIActionByAddressCall) Do(f func(context.Context, uint64, storage.AddressActionsFilter) ([]storage.AddressAction, error)) *MockIActionByAddressCall
Do rewrite *gomock.Call.Do
func (*MockIActionByAddressCall) DoAndReturn ¶
func (c *MockIActionByAddressCall) DoAndReturn(f func(context.Context, uint64, storage.AddressActionsFilter) ([]storage.AddressAction, error)) *MockIActionByAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIActionByAddressCall) Return ¶
func (c *MockIActionByAddressCall) Return(arg0 []storage.AddressAction, arg1 error) *MockIActionByAddressCall
Return rewrite *gomock.Call.Return
type MockIActionByBlockCall ¶
MockIActionByBlockCall wrap *gomock.Call
func (*MockIActionByBlockCall) Do ¶
func (c *MockIActionByBlockCall) Do(f func(context.Context, types.Level, int, int) ([]storage.ActionWithTx, error)) *MockIActionByBlockCall
Do rewrite *gomock.Call.Do
func (*MockIActionByBlockCall) DoAndReturn ¶
func (c *MockIActionByBlockCall) DoAndReturn(f func(context.Context, types.Level, int, int) ([]storage.ActionWithTx, error)) *MockIActionByBlockCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIActionByBlockCall) Return ¶
func (c *MockIActionByBlockCall) Return(arg0 []storage.ActionWithTx, arg1 error) *MockIActionByBlockCall
Return rewrite *gomock.Call.Return
type MockIActionByRollupAndBridgeCall ¶
MockIActionByRollupAndBridgeCall wrap *gomock.Call
func (*MockIActionByRollupAndBridgeCall) Do ¶
func (c *MockIActionByRollupAndBridgeCall) Do(f func(context.Context, uint64, storage.RollupAndBridgeActionsFilter) ([]storage.ActionWithTx, error)) *MockIActionByRollupAndBridgeCall
Do rewrite *gomock.Call.Do
func (*MockIActionByRollupAndBridgeCall) DoAndReturn ¶
func (c *MockIActionByRollupAndBridgeCall) DoAndReturn(f func(context.Context, uint64, storage.RollupAndBridgeActionsFilter) ([]storage.ActionWithTx, error)) *MockIActionByRollupAndBridgeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIActionByRollupAndBridgeCall) Return ¶
func (c *MockIActionByRollupAndBridgeCall) Return(arg0 []storage.ActionWithTx, arg1 error) *MockIActionByRollupAndBridgeCall
Return rewrite *gomock.Call.Return
type MockIActionByRollupCall ¶
MockIActionByRollupCall wrap *gomock.Call
func (*MockIActionByRollupCall) Do ¶
func (c *MockIActionByRollupCall) Do(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.RollupAction, error)) *MockIActionByRollupCall
Do rewrite *gomock.Call.Do
func (*MockIActionByRollupCall) DoAndReturn ¶
func (c *MockIActionByRollupCall) DoAndReturn(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.RollupAction, error)) *MockIActionByRollupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIActionByRollupCall) Return ¶
func (c *MockIActionByRollupCall) Return(arg0 []storage.RollupAction, arg1 error) *MockIActionByRollupCall
Return rewrite *gomock.Call.Return
type MockIActionByTxIdCall ¶
MockIActionByTxIdCall wrap *gomock.Call
func (*MockIActionByTxIdCall) Do ¶
func (c *MockIActionByTxIdCall) Do(f func(context.Context, uint64, int, int) ([]storage.Action, error)) *MockIActionByTxIdCall
Do rewrite *gomock.Call.Do
func (*MockIActionByTxIdCall) DoAndReturn ¶
func (c *MockIActionByTxIdCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Action, error)) *MockIActionByTxIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIActionByTxIdCall) Return ¶
func (c *MockIActionByTxIdCall) Return(arg0 []storage.Action, arg1 error) *MockIActionByTxIdCall
Return rewrite *gomock.Call.Return
type MockIActionCursorListCall ¶
MockIActionCursorListCall wrap *gomock.Call
func (*MockIActionCursorListCall) Do ¶
func (c *MockIActionCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Action, error)) *MockIActionCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIActionCursorListCall) DoAndReturn ¶
func (c *MockIActionCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Action, error)) *MockIActionCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIActionCursorListCall) Return ¶
func (c *MockIActionCursorListCall) Return(arg0 []*storage.Action, arg1 error) *MockIActionCursorListCall
Return rewrite *gomock.Call.Return
type MockIActionGetByIDCall ¶
MockIActionGetByIDCall wrap *gomock.Call
func (*MockIActionGetByIDCall) Do ¶
func (c *MockIActionGetByIDCall) Do(f func(context.Context, uint64) (*storage.Action, error)) *MockIActionGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIActionGetByIDCall) DoAndReturn ¶
func (c *MockIActionGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Action, error)) *MockIActionGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIActionGetByIDCall) Return ¶
func (c *MockIActionGetByIDCall) Return(arg0 *storage.Action, arg1 error) *MockIActionGetByIDCall
Return rewrite *gomock.Call.Return
type MockIActionIsNoRowsCall ¶
MockIActionIsNoRowsCall wrap *gomock.Call
func (*MockIActionIsNoRowsCall) Do ¶
func (c *MockIActionIsNoRowsCall) Do(f func(error) bool) *MockIActionIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIActionIsNoRowsCall) DoAndReturn ¶
func (c *MockIActionIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIActionIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIActionIsNoRowsCall) Return ¶
func (c *MockIActionIsNoRowsCall) Return(arg0 bool) *MockIActionIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIActionLastIDCall ¶
MockIActionLastIDCall wrap *gomock.Call
func (*MockIActionLastIDCall) Do ¶
func (c *MockIActionLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIActionLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIActionLastIDCall) DoAndReturn ¶
func (c *MockIActionLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIActionLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIActionLastIDCall) Return ¶
func (c *MockIActionLastIDCall) Return(arg0 uint64, arg1 error) *MockIActionLastIDCall
Return rewrite *gomock.Call.Return
type MockIActionListCall ¶
MockIActionListCall wrap *gomock.Call
func (*MockIActionListCall) Do ¶
func (c *MockIActionListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Action, error)) *MockIActionListCall
Do rewrite *gomock.Call.Do
func (*MockIActionListCall) DoAndReturn ¶
func (c *MockIActionListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Action, error)) *MockIActionListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIActionListCall) Return ¶
func (c *MockIActionListCall) Return(arg0 []*storage.Action, arg1 error) *MockIActionListCall
Return rewrite *gomock.Call.Return
type MockIActionMockRecorder ¶
type MockIActionMockRecorder struct {
// contains filtered or unexported fields
}
MockIActionMockRecorder is the mock recorder for MockIAction.
func (*MockIActionMockRecorder) ByAddress ¶
func (mr *MockIActionMockRecorder) ByAddress(ctx, addressId, filters any) *MockIActionByAddressCall
ByAddress indicates an expected call of ByAddress.
func (*MockIActionMockRecorder) ByBlock ¶
func (mr *MockIActionMockRecorder) ByBlock(ctx, height, limit, offset any) *MockIActionByBlockCall
ByBlock indicates an expected call of ByBlock.
func (*MockIActionMockRecorder) ByRollup ¶
func (mr *MockIActionMockRecorder) ByRollup(ctx, rollupId, limit, offset, sort any) *MockIActionByRollupCall
ByRollup indicates an expected call of ByRollup.
func (*MockIActionMockRecorder) ByRollupAndBridge ¶
func (mr *MockIActionMockRecorder) ByRollupAndBridge(ctx, rollupId, fltrs any) *MockIActionByRollupAndBridgeCall
ByRollupAndBridge indicates an expected call of ByRollupAndBridge.
func (*MockIActionMockRecorder) ByTxId ¶
func (mr *MockIActionMockRecorder) ByTxId(ctx, txId, limit, offset any) *MockIActionByTxIdCall
ByTxId indicates an expected call of ByTxId.
func (*MockIActionMockRecorder) CursorList ¶
func (mr *MockIActionMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIActionCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIActionMockRecorder) GetByID ¶
func (mr *MockIActionMockRecorder) GetByID(ctx, id any) *MockIActionGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIActionMockRecorder) IsNoRows ¶
func (mr *MockIActionMockRecorder) IsNoRows(err any) *MockIActionIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIActionMockRecorder) LastID ¶
func (mr *MockIActionMockRecorder) LastID(ctx any) *MockIActionLastIDCall
LastID indicates an expected call of LastID.
func (*MockIActionMockRecorder) List ¶
func (mr *MockIActionMockRecorder) List(ctx, limit, offset, order any) *MockIActionListCall
List indicates an expected call of List.
func (*MockIActionMockRecorder) Save ¶
func (mr *MockIActionMockRecorder) Save(ctx, m any) *MockIActionSaveCall
Save indicates an expected call of Save.
func (*MockIActionMockRecorder) Update ¶
func (mr *MockIActionMockRecorder) Update(ctx, m any) *MockIActionUpdateCall
Update indicates an expected call of Update.
type MockIActionSaveCall ¶
MockIActionSaveCall wrap *gomock.Call
func (*MockIActionSaveCall) Do ¶
func (c *MockIActionSaveCall) Do(f func(context.Context, *storage.Action) error) *MockIActionSaveCall
Do rewrite *gomock.Call.Do
func (*MockIActionSaveCall) DoAndReturn ¶
func (c *MockIActionSaveCall) DoAndReturn(f func(context.Context, *storage.Action) error) *MockIActionSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIActionSaveCall) Return ¶
func (c *MockIActionSaveCall) Return(arg0 error) *MockIActionSaveCall
Return rewrite *gomock.Call.Return
type MockIActionUpdateCall ¶
MockIActionUpdateCall wrap *gomock.Call
func (*MockIActionUpdateCall) Do ¶
func (c *MockIActionUpdateCall) Do(f func(context.Context, *storage.Action) error) *MockIActionUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIActionUpdateCall) DoAndReturn ¶
func (c *MockIActionUpdateCall) DoAndReturn(f func(context.Context, *storage.Action) error) *MockIActionUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIActionUpdateCall) Return ¶
func (c *MockIActionUpdateCall) Return(arg0 error) *MockIActionUpdateCall
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, fltrs storage.AddressListFilter) ([]storage.Address, error)
ListWithBalance mocks base method.
type MockIAddressByHashCall ¶
MockIAddressByHashCall wrap *gomock.Call
func (*MockIAddressByHashCall) Do ¶
func (c *MockIAddressByHashCall) Do(f func(context.Context, string) (storage.Address, error)) *MockIAddressByHashCall
Do rewrite *gomock.Call.Do
func (*MockIAddressByHashCall) DoAndReturn ¶
func (c *MockIAddressByHashCall) DoAndReturn(f func(context.Context, string) (storage.Address, error)) *MockIAddressByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressByHashCall) Return ¶
func (c *MockIAddressByHashCall) Return(arg0 storage.Address, arg1 error) *MockIAddressByHashCall
Return rewrite *gomock.Call.Return
type MockIAddressCursorListCall ¶
MockIAddressCursorListCall wrap *gomock.Call
func (*MockIAddressCursorListCall) Do ¶
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 ¶
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 ¶
func (c *MockIAddressCursorListCall) Return(arg0 []*storage.Address, arg1 error) *MockIAddressCursorListCall
Return rewrite *gomock.Call.Return
type MockIAddressGetByIDCall ¶
MockIAddressGetByIDCall wrap *gomock.Call
func (*MockIAddressGetByIDCall) Do ¶
func (c *MockIAddressGetByIDCall) Do(f func(context.Context, uint64) (*storage.Address, error)) *MockIAddressGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIAddressGetByIDCall) DoAndReturn ¶
func (c *MockIAddressGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Address, error)) *MockIAddressGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressGetByIDCall) Return ¶
func (c *MockIAddressGetByIDCall) Return(arg0 *storage.Address, arg1 error) *MockIAddressGetByIDCall
Return rewrite *gomock.Call.Return
type MockIAddressIsNoRowsCall ¶
MockIAddressIsNoRowsCall wrap *gomock.Call
func (*MockIAddressIsNoRowsCall) Do ¶
func (c *MockIAddressIsNoRowsCall) Do(f func(error) bool) *MockIAddressIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIAddressIsNoRowsCall) DoAndReturn ¶
func (c *MockIAddressIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIAddressIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressIsNoRowsCall) Return ¶
func (c *MockIAddressIsNoRowsCall) Return(arg0 bool) *MockIAddressIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIAddressLastIDCall ¶
MockIAddressLastIDCall wrap *gomock.Call
func (*MockIAddressLastIDCall) Do ¶
func (c *MockIAddressLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIAddressLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIAddressLastIDCall) DoAndReturn ¶
func (c *MockIAddressLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIAddressLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressLastIDCall) Return ¶
func (c *MockIAddressLastIDCall) Return(arg0 uint64, arg1 error) *MockIAddressLastIDCall
Return rewrite *gomock.Call.Return
type MockIAddressListCall ¶
MockIAddressListCall wrap *gomock.Call
func (*MockIAddressListCall) Do ¶
func (c *MockIAddressListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Address, error)) *MockIAddressListCall
Do rewrite *gomock.Call.Do
func (*MockIAddressListCall) DoAndReturn ¶
func (c *MockIAddressListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Address, error)) *MockIAddressListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressListCall) Return ¶
func (c *MockIAddressListCall) Return(arg0 []*storage.Address, arg1 error) *MockIAddressListCall
Return rewrite *gomock.Call.Return
type MockIAddressListWithBalanceCall ¶
MockIAddressListWithBalanceCall wrap *gomock.Call
func (*MockIAddressListWithBalanceCall) Do ¶
func (c *MockIAddressListWithBalanceCall) Do(f func(context.Context, storage.AddressListFilter) ([]storage.Address, error)) *MockIAddressListWithBalanceCall
Do rewrite *gomock.Call.Do
func (*MockIAddressListWithBalanceCall) DoAndReturn ¶
func (c *MockIAddressListWithBalanceCall) DoAndReturn(f func(context.Context, storage.AddressListFilter) ([]storage.Address, error)) *MockIAddressListWithBalanceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressListWithBalanceCall) Return ¶
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) 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, fltrs 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) Update ¶
func (mr *MockIAddressMockRecorder) Update(ctx, m any) *MockIAddressUpdateCall
Update indicates an expected call of Update.
type MockIAddressSaveCall ¶
MockIAddressSaveCall wrap *gomock.Call
func (*MockIAddressSaveCall) Do ¶
func (c *MockIAddressSaveCall) Do(f func(context.Context, *storage.Address) error) *MockIAddressSaveCall
Do rewrite *gomock.Call.Do
func (*MockIAddressSaveCall) DoAndReturn ¶
func (c *MockIAddressSaveCall) DoAndReturn(f func(context.Context, *storage.Address) error) *MockIAddressSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressSaveCall) Return ¶
func (c *MockIAddressSaveCall) Return(arg0 error) *MockIAddressSaveCall
Return rewrite *gomock.Call.Return
type MockIAddressUpdateCall ¶
MockIAddressUpdateCall wrap *gomock.Call
func (*MockIAddressUpdateCall) Do ¶
func (c *MockIAddressUpdateCall) Do(f func(context.Context, *storage.Address) error) *MockIAddressUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIAddressUpdateCall) DoAndReturn ¶
func (c *MockIAddressUpdateCall) DoAndReturn(f func(context.Context, *storage.Address) error) *MockIAddressUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAddressUpdateCall) Return ¶
func (c *MockIAddressUpdateCall) Return(arg0 error) *MockIAddressUpdateCall
Return rewrite *gomock.Call.Return
type MockIApp ¶ added in v1.2.0
type MockIApp struct {
// contains filtered or unexported fields
}
MockIApp is a mock of IApp interface.
func NewMockIApp ¶ added in v1.2.0
func NewMockIApp(ctrl *gomock.Controller) *MockIApp
NewMockIApp creates a new mock instance.
func (*MockIApp) CursorList ¶ added in v1.2.0
func (m *MockIApp) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.App, error)
CursorList mocks base method.
func (*MockIApp) EXPECT ¶ added in v1.2.0
func (m *MockIApp) EXPECT() *MockIAppMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIApp) Leaderboard ¶ added in v1.2.0
func (m *MockIApp) Leaderboard(ctx context.Context, fltrs storage.LeaderboardFilters) ([]storage.AppWithStats, error)
Leaderboard mocks base method.
func (*MockIApp) List ¶ added in v1.2.0
func (m *MockIApp) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.App, error)
List mocks base method.
type MockIAppBySlugCall ¶ added in v1.2.0
MockIAppBySlugCall wrap *gomock.Call
func (*MockIAppBySlugCall) Do ¶ added in v1.2.0
func (c *MockIAppBySlugCall) Do(f func(context.Context, string) (storage.AppWithStats, error)) *MockIAppBySlugCall
Do rewrite *gomock.Call.Do
func (*MockIAppBySlugCall) DoAndReturn ¶ added in v1.2.0
func (c *MockIAppBySlugCall) DoAndReturn(f func(context.Context, string) (storage.AppWithStats, error)) *MockIAppBySlugCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAppBySlugCall) Return ¶ added in v1.2.0
func (c *MockIAppBySlugCall) Return(arg0 storage.AppWithStats, arg1 error) *MockIAppBySlugCall
Return rewrite *gomock.Call.Return
type MockIAppCursorListCall ¶ added in v1.2.0
MockIAppCursorListCall wrap *gomock.Call
func (*MockIAppCursorListCall) Do ¶ added in v1.2.0
func (c *MockIAppCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.App, error)) *MockIAppCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIAppCursorListCall) DoAndReturn ¶ added in v1.2.0
func (c *MockIAppCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.App, error)) *MockIAppCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAppCursorListCall) Return ¶ added in v1.2.0
func (c *MockIAppCursorListCall) Return(arg0 []*storage.App, arg1 error) *MockIAppCursorListCall
Return rewrite *gomock.Call.Return
type MockIAppGetByIDCall ¶ added in v1.2.0
MockIAppGetByIDCall wrap *gomock.Call
func (*MockIAppGetByIDCall) Do ¶ added in v1.2.0
func (c *MockIAppGetByIDCall) Do(f func(context.Context, uint64) (*storage.App, error)) *MockIAppGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIAppGetByIDCall) DoAndReturn ¶ added in v1.2.0
func (c *MockIAppGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.App, error)) *MockIAppGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAppGetByIDCall) Return ¶ added in v1.2.0
func (c *MockIAppGetByIDCall) Return(arg0 *storage.App, arg1 error) *MockIAppGetByIDCall
Return rewrite *gomock.Call.Return
type MockIAppIsNoRowsCall ¶ added in v1.2.0
MockIAppIsNoRowsCall wrap *gomock.Call
func (*MockIAppIsNoRowsCall) Do ¶ added in v1.2.0
func (c *MockIAppIsNoRowsCall) Do(f func(error) bool) *MockIAppIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIAppIsNoRowsCall) DoAndReturn ¶ added in v1.2.0
func (c *MockIAppIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIAppIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAppIsNoRowsCall) Return ¶ added in v1.2.0
func (c *MockIAppIsNoRowsCall) Return(arg0 bool) *MockIAppIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIAppLastIDCall ¶ added in v1.2.0
MockIAppLastIDCall wrap *gomock.Call
func (*MockIAppLastIDCall) Do ¶ added in v1.2.0
func (c *MockIAppLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIAppLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIAppLastIDCall) DoAndReturn ¶ added in v1.2.0
func (c *MockIAppLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIAppLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAppLastIDCall) Return ¶ added in v1.2.0
func (c *MockIAppLastIDCall) Return(arg0 uint64, arg1 error) *MockIAppLastIDCall
Return rewrite *gomock.Call.Return
type MockIAppLeaderboardCall ¶ added in v1.2.0
MockIAppLeaderboardCall wrap *gomock.Call
func (*MockIAppLeaderboardCall) Do ¶ added in v1.2.0
func (c *MockIAppLeaderboardCall) Do(f func(context.Context, storage.LeaderboardFilters) ([]storage.AppWithStats, error)) *MockIAppLeaderboardCall
Do rewrite *gomock.Call.Do
func (*MockIAppLeaderboardCall) DoAndReturn ¶ added in v1.2.0
func (c *MockIAppLeaderboardCall) DoAndReturn(f func(context.Context, storage.LeaderboardFilters) ([]storage.AppWithStats, error)) *MockIAppLeaderboardCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAppLeaderboardCall) Return ¶ added in v1.2.0
func (c *MockIAppLeaderboardCall) Return(arg0 []storage.AppWithStats, arg1 error) *MockIAppLeaderboardCall
Return rewrite *gomock.Call.Return
type MockIAppListCall ¶ added in v1.2.0
MockIAppListCall wrap *gomock.Call
func (*MockIAppListCall) Do ¶ added in v1.2.0
func (c *MockIAppListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.App, error)) *MockIAppListCall
Do rewrite *gomock.Call.Do
func (*MockIAppListCall) DoAndReturn ¶ added in v1.2.0
func (c *MockIAppListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.App, error)) *MockIAppListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAppListCall) Return ¶ added in v1.2.0
func (c *MockIAppListCall) Return(arg0 []*storage.App, arg1 error) *MockIAppListCall
Return rewrite *gomock.Call.Return
type MockIAppMockRecorder ¶ added in v1.2.0
type MockIAppMockRecorder struct {
// contains filtered or unexported fields
}
MockIAppMockRecorder is the mock recorder for MockIApp.
func (*MockIAppMockRecorder) BySlug ¶ added in v1.2.0
func (mr *MockIAppMockRecorder) BySlug(ctx, slug any) *MockIAppBySlugCall
BySlug indicates an expected call of BySlug.
func (*MockIAppMockRecorder) CursorList ¶ added in v1.2.0
func (mr *MockIAppMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIAppCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIAppMockRecorder) GetByID ¶ added in v1.2.0
func (mr *MockIAppMockRecorder) GetByID(ctx, id any) *MockIAppGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIAppMockRecorder) IsNoRows ¶ added in v1.2.0
func (mr *MockIAppMockRecorder) IsNoRows(err any) *MockIAppIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIAppMockRecorder) LastID ¶ added in v1.2.0
func (mr *MockIAppMockRecorder) LastID(ctx any) *MockIAppLastIDCall
LastID indicates an expected call of LastID.
func (*MockIAppMockRecorder) Leaderboard ¶ added in v1.2.0
func (mr *MockIAppMockRecorder) Leaderboard(ctx, fltrs any) *MockIAppLeaderboardCall
Leaderboard indicates an expected call of Leaderboard.
func (*MockIAppMockRecorder) List ¶ added in v1.2.0
func (mr *MockIAppMockRecorder) List(ctx, limit, offset, order any) *MockIAppListCall
List indicates an expected call of List.
func (*MockIAppMockRecorder) Save ¶ added in v1.2.0
func (mr *MockIAppMockRecorder) Save(ctx, m any) *MockIAppSaveCall
Save indicates an expected call of Save.
func (*MockIAppMockRecorder) Update ¶ added in v1.2.0
func (mr *MockIAppMockRecorder) Update(ctx, m any) *MockIAppUpdateCall
Update indicates an expected call of Update.
type MockIAppSaveCall ¶ added in v1.2.0
MockIAppSaveCall wrap *gomock.Call
func (*MockIAppSaveCall) Do ¶ added in v1.2.0
func (c *MockIAppSaveCall) Do(f func(context.Context, *storage.App) error) *MockIAppSaveCall
Do rewrite *gomock.Call.Do
func (*MockIAppSaveCall) DoAndReturn ¶ added in v1.2.0
func (c *MockIAppSaveCall) DoAndReturn(f func(context.Context, *storage.App) error) *MockIAppSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAppSaveCall) Return ¶ added in v1.2.0
func (c *MockIAppSaveCall) Return(arg0 error) *MockIAppSaveCall
Return rewrite *gomock.Call.Return
type MockIAppUpdateCall ¶ added in v1.2.0
MockIAppUpdateCall wrap *gomock.Call
func (*MockIAppUpdateCall) Do ¶ added in v1.2.0
func (c *MockIAppUpdateCall) Do(f func(context.Context, *storage.App) error) *MockIAppUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIAppUpdateCall) DoAndReturn ¶ added in v1.2.0
func (c *MockIAppUpdateCall) DoAndReturn(f func(context.Context, *storage.App) error) *MockIAppUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIAppUpdateCall) Return ¶ added in v1.2.0
func (c *MockIAppUpdateCall) Return(arg0 error) *MockIAppUpdateCall
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 ¶
MockIBalanceCursorListCall wrap *gomock.Call
func (*MockIBalanceCursorListCall) Do ¶
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 ¶
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 ¶
func (c *MockIBalanceCursorListCall) Return(arg0 []*storage.Balance, arg1 error) *MockIBalanceCursorListCall
Return rewrite *gomock.Call.Return
type MockIBalanceGetByIDCall ¶
MockIBalanceGetByIDCall wrap *gomock.Call
func (*MockIBalanceGetByIDCall) Do ¶
func (c *MockIBalanceGetByIDCall) Do(f func(context.Context, uint64) (*storage.Balance, error)) *MockIBalanceGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceGetByIDCall) DoAndReturn ¶
func (c *MockIBalanceGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Balance, error)) *MockIBalanceGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceGetByIDCall) Return ¶
func (c *MockIBalanceGetByIDCall) Return(arg0 *storage.Balance, arg1 error) *MockIBalanceGetByIDCall
Return rewrite *gomock.Call.Return
type MockIBalanceIsNoRowsCall ¶
MockIBalanceIsNoRowsCall wrap *gomock.Call
func (*MockIBalanceIsNoRowsCall) Do ¶
func (c *MockIBalanceIsNoRowsCall) Do(f func(error) bool) *MockIBalanceIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceIsNoRowsCall) DoAndReturn ¶
func (c *MockIBalanceIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIBalanceIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceIsNoRowsCall) Return ¶
func (c *MockIBalanceIsNoRowsCall) Return(arg0 bool) *MockIBalanceIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIBalanceLastIDCall ¶
MockIBalanceLastIDCall wrap *gomock.Call
func (*MockIBalanceLastIDCall) Do ¶
func (c *MockIBalanceLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIBalanceLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceLastIDCall) DoAndReturn ¶
func (c *MockIBalanceLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIBalanceLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceLastIDCall) Return ¶
func (c *MockIBalanceLastIDCall) Return(arg0 uint64, arg1 error) *MockIBalanceLastIDCall
Return rewrite *gomock.Call.Return
type MockIBalanceListCall ¶
MockIBalanceListCall wrap *gomock.Call
func (*MockIBalanceListCall) Do ¶
func (c *MockIBalanceListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Balance, error)) *MockIBalanceListCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceListCall) DoAndReturn ¶
func (c *MockIBalanceListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Balance, error)) *MockIBalanceListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceListCall) Return ¶
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 ¶
MockIBalanceSaveCall wrap *gomock.Call
func (*MockIBalanceSaveCall) Do ¶
func (c *MockIBalanceSaveCall) Do(f func(context.Context, *storage.Balance) error) *MockIBalanceSaveCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceSaveCall) DoAndReturn ¶
func (c *MockIBalanceSaveCall) DoAndReturn(f func(context.Context, *storage.Balance) error) *MockIBalanceSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceSaveCall) Return ¶
func (c *MockIBalanceSaveCall) Return(arg0 error) *MockIBalanceSaveCall
Return rewrite *gomock.Call.Return
type MockIBalanceUpdate ¶
type MockIBalanceUpdate struct {
// contains filtered or unexported fields
}
MockIBalanceUpdate is a mock of IBalanceUpdate interface.
func NewMockIBalanceUpdate ¶
func NewMockIBalanceUpdate(ctrl *gomock.Controller) *MockIBalanceUpdate
NewMockIBalanceUpdate creates a new mock instance.
func (*MockIBalanceUpdate) CursorList ¶
func (m *MockIBalanceUpdate) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.BalanceUpdate, error)
CursorList mocks base method.
func (*MockIBalanceUpdate) EXPECT ¶
func (m *MockIBalanceUpdate) EXPECT() *MockIBalanceUpdateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIBalanceUpdate) GetByID ¶
func (m *MockIBalanceUpdate) GetByID(ctx context.Context, id uint64) (*storage.BalanceUpdate, error)
GetByID mocks base method.
func (*MockIBalanceUpdate) IsNoRows ¶
func (m *MockIBalanceUpdate) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIBalanceUpdate) LastID ¶
func (m *MockIBalanceUpdate) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIBalanceUpdate) List ¶
func (m *MockIBalanceUpdate) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.BalanceUpdate, error)
List mocks base method.
func (*MockIBalanceUpdate) Save ¶
func (m_2 *MockIBalanceUpdate) Save(ctx context.Context, m *storage.BalanceUpdate) error
Save mocks base method.
func (*MockIBalanceUpdate) Update ¶
func (m_2 *MockIBalanceUpdate) Update(ctx context.Context, m *storage.BalanceUpdate) error
Update mocks base method.
type MockIBalanceUpdateCall ¶
MockIBalanceUpdateCall wrap *gomock.Call
func (*MockIBalanceUpdateCall) Do ¶
func (c *MockIBalanceUpdateCall) Do(f func(context.Context, *storage.Balance) error) *MockIBalanceUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceUpdateCall) DoAndReturn ¶
func (c *MockIBalanceUpdateCall) DoAndReturn(f func(context.Context, *storage.Balance) error) *MockIBalanceUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceUpdateCall) Return ¶
func (c *MockIBalanceUpdateCall) Return(arg0 error) *MockIBalanceUpdateCall
Return rewrite *gomock.Call.Return
type MockIBalanceUpdateCursorListCall ¶
MockIBalanceUpdateCursorListCall wrap *gomock.Call
func (*MockIBalanceUpdateCursorListCall) Do ¶
func (c *MockIBalanceUpdateCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.BalanceUpdate, error)) *MockIBalanceUpdateCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceUpdateCursorListCall) DoAndReturn ¶
func (c *MockIBalanceUpdateCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.BalanceUpdate, error)) *MockIBalanceUpdateCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceUpdateCursorListCall) Return ¶
func (c *MockIBalanceUpdateCursorListCall) Return(arg0 []*storage.BalanceUpdate, arg1 error) *MockIBalanceUpdateCursorListCall
Return rewrite *gomock.Call.Return
type MockIBalanceUpdateGetByIDCall ¶
MockIBalanceUpdateGetByIDCall wrap *gomock.Call
func (*MockIBalanceUpdateGetByIDCall) Do ¶
func (c *MockIBalanceUpdateGetByIDCall) Do(f func(context.Context, uint64) (*storage.BalanceUpdate, error)) *MockIBalanceUpdateGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceUpdateGetByIDCall) DoAndReturn ¶
func (c *MockIBalanceUpdateGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.BalanceUpdate, error)) *MockIBalanceUpdateGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceUpdateGetByIDCall) Return ¶
func (c *MockIBalanceUpdateGetByIDCall) Return(arg0 *storage.BalanceUpdate, arg1 error) *MockIBalanceUpdateGetByIDCall
Return rewrite *gomock.Call.Return
type MockIBalanceUpdateIsNoRowsCall ¶
MockIBalanceUpdateIsNoRowsCall wrap *gomock.Call
func (*MockIBalanceUpdateIsNoRowsCall) Do ¶
func (c *MockIBalanceUpdateIsNoRowsCall) Do(f func(error) bool) *MockIBalanceUpdateIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceUpdateIsNoRowsCall) DoAndReturn ¶
func (c *MockIBalanceUpdateIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIBalanceUpdateIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceUpdateIsNoRowsCall) Return ¶
func (c *MockIBalanceUpdateIsNoRowsCall) Return(arg0 bool) *MockIBalanceUpdateIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIBalanceUpdateLastIDCall ¶
MockIBalanceUpdateLastIDCall wrap *gomock.Call
func (*MockIBalanceUpdateLastIDCall) Do ¶
func (c *MockIBalanceUpdateLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIBalanceUpdateLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceUpdateLastIDCall) DoAndReturn ¶
func (c *MockIBalanceUpdateLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIBalanceUpdateLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceUpdateLastIDCall) Return ¶
func (c *MockIBalanceUpdateLastIDCall) Return(arg0 uint64, arg1 error) *MockIBalanceUpdateLastIDCall
Return rewrite *gomock.Call.Return
type MockIBalanceUpdateListCall ¶
MockIBalanceUpdateListCall wrap *gomock.Call
func (*MockIBalanceUpdateListCall) Do ¶
func (c *MockIBalanceUpdateListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.BalanceUpdate, error)) *MockIBalanceUpdateListCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceUpdateListCall) DoAndReturn ¶
func (c *MockIBalanceUpdateListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.BalanceUpdate, error)) *MockIBalanceUpdateListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceUpdateListCall) Return ¶
func (c *MockIBalanceUpdateListCall) Return(arg0 []*storage.BalanceUpdate, arg1 error) *MockIBalanceUpdateListCall
Return rewrite *gomock.Call.Return
type MockIBalanceUpdateMockRecorder ¶
type MockIBalanceUpdateMockRecorder struct {
// contains filtered or unexported fields
}
MockIBalanceUpdateMockRecorder is the mock recorder for MockIBalanceUpdate.
func (*MockIBalanceUpdateMockRecorder) CursorList ¶
func (mr *MockIBalanceUpdateMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBalanceUpdateCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIBalanceUpdateMockRecorder) GetByID ¶
func (mr *MockIBalanceUpdateMockRecorder) GetByID(ctx, id any) *MockIBalanceUpdateGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIBalanceUpdateMockRecorder) IsNoRows ¶
func (mr *MockIBalanceUpdateMockRecorder) IsNoRows(err any) *MockIBalanceUpdateIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIBalanceUpdateMockRecorder) LastID ¶
func (mr *MockIBalanceUpdateMockRecorder) LastID(ctx any) *MockIBalanceUpdateLastIDCall
LastID indicates an expected call of LastID.
func (*MockIBalanceUpdateMockRecorder) List ¶
func (mr *MockIBalanceUpdateMockRecorder) List(ctx, limit, offset, order any) *MockIBalanceUpdateListCall
List indicates an expected call of List.
func (*MockIBalanceUpdateMockRecorder) Save ¶
func (mr *MockIBalanceUpdateMockRecorder) Save(ctx, m any) *MockIBalanceUpdateSaveCall
Save indicates an expected call of Save.
func (*MockIBalanceUpdateMockRecorder) Update ¶
func (mr *MockIBalanceUpdateMockRecorder) Update(ctx, m any) *MockIBalanceUpdateUpdateCall
Update indicates an expected call of Update.
type MockIBalanceUpdateSaveCall ¶
MockIBalanceUpdateSaveCall wrap *gomock.Call
func (*MockIBalanceUpdateSaveCall) Do ¶
func (c *MockIBalanceUpdateSaveCall) Do(f func(context.Context, *storage.BalanceUpdate) error) *MockIBalanceUpdateSaveCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceUpdateSaveCall) DoAndReturn ¶
func (c *MockIBalanceUpdateSaveCall) DoAndReturn(f func(context.Context, *storage.BalanceUpdate) error) *MockIBalanceUpdateSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceUpdateSaveCall) Return ¶
func (c *MockIBalanceUpdateSaveCall) Return(arg0 error) *MockIBalanceUpdateSaveCall
Return rewrite *gomock.Call.Return
type MockIBalanceUpdateUpdateCall ¶
MockIBalanceUpdateUpdateCall wrap *gomock.Call
func (*MockIBalanceUpdateUpdateCall) Do ¶
func (c *MockIBalanceUpdateUpdateCall) Do(f func(context.Context, *storage.BalanceUpdate) error) *MockIBalanceUpdateUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIBalanceUpdateUpdateCall) DoAndReturn ¶
func (c *MockIBalanceUpdateUpdateCall) DoAndReturn(f func(context.Context, *storage.BalanceUpdate) error) *MockIBalanceUpdateUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBalanceUpdateUpdateCall) Return ¶
func (c *MockIBalanceUpdateUpdateCall) Return(arg0 error) *MockIBalanceUpdateUpdateCall
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) ByHeight ¶
func (m *MockIBlock) ByHeight(ctx context.Context, height types.Level, withStats bool) (storage.Block, error)
ByHeight mocks base method.
func (*MockIBlock) ByIdWithRelations ¶
ByIdWithRelations mocks base method.
func (*MockIBlock) ByProposer ¶
func (m *MockIBlock) ByProposer(ctx context.Context, proposerId uint64, limit, offset int, order storage0.SortOrder) ([]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 ¶
MockIBlockByHashCall wrap *gomock.Call
func (*MockIBlockByHashCall) Do ¶
func (c *MockIBlockByHashCall) Do(f func(context.Context, []byte) (storage.Block, error)) *MockIBlockByHashCall
Do rewrite *gomock.Call.Do
func (*MockIBlockByHashCall) DoAndReturn ¶
func (c *MockIBlockByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Block, error)) *MockIBlockByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockByHashCall) Return ¶
func (c *MockIBlockByHashCall) Return(arg0 storage.Block, arg1 error) *MockIBlockByHashCall
Return rewrite *gomock.Call.Return
type MockIBlockByHeightCall ¶
MockIBlockByHeightCall wrap *gomock.Call
func (*MockIBlockByHeightCall) Do ¶
func (c *MockIBlockByHeightCall) Do(f func(context.Context, types.Level, bool) (storage.Block, error)) *MockIBlockByHeightCall
Do rewrite *gomock.Call.Do
func (*MockIBlockByHeightCall) DoAndReturn ¶
func (c *MockIBlockByHeightCall) DoAndReturn(f func(context.Context, types.Level, bool) (storage.Block, error)) *MockIBlockByHeightCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockByHeightCall) Return ¶
func (c *MockIBlockByHeightCall) Return(arg0 storage.Block, arg1 error) *MockIBlockByHeightCall
Return rewrite *gomock.Call.Return
type MockIBlockByIdWithRelationsCall ¶
MockIBlockByIdWithRelationsCall wrap *gomock.Call
func (*MockIBlockByIdWithRelationsCall) Do ¶
func (c *MockIBlockByIdWithRelationsCall) Do(f func(context.Context, uint64) (storage.Block, error)) *MockIBlockByIdWithRelationsCall
Do rewrite *gomock.Call.Do
func (*MockIBlockByIdWithRelationsCall) DoAndReturn ¶
func (c *MockIBlockByIdWithRelationsCall) DoAndReturn(f func(context.Context, uint64) (storage.Block, error)) *MockIBlockByIdWithRelationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockByIdWithRelationsCall) Return ¶
func (c *MockIBlockByIdWithRelationsCall) Return(arg0 storage.Block, arg1 error) *MockIBlockByIdWithRelationsCall
Return rewrite *gomock.Call.Return
type MockIBlockByProposerCall ¶
MockIBlockByProposerCall wrap *gomock.Call
func (*MockIBlockByProposerCall) Do ¶
func (c *MockIBlockByProposerCall) Do(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.Block, error)) *MockIBlockByProposerCall
Do rewrite *gomock.Call.Do
func (*MockIBlockByProposerCall) DoAndReturn ¶
func (c *MockIBlockByProposerCall) DoAndReturn(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.Block, error)) *MockIBlockByProposerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockByProposerCall) Return ¶
func (c *MockIBlockByProposerCall) Return(arg0 []storage.Block, arg1 error) *MockIBlockByProposerCall
Return rewrite *gomock.Call.Return
type MockIBlockCursorListCall ¶
MockIBlockCursorListCall wrap *gomock.Call
func (*MockIBlockCursorListCall) Do ¶
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 ¶
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 ¶
func (c *MockIBlockCursorListCall) Return(arg0 []*storage.Block, arg1 error) *MockIBlockCursorListCall
Return rewrite *gomock.Call.Return
type MockIBlockGetByIDCall ¶
MockIBlockGetByIDCall wrap *gomock.Call
func (*MockIBlockGetByIDCall) Do ¶
func (c *MockIBlockGetByIDCall) Do(f func(context.Context, uint64) (*storage.Block, error)) *MockIBlockGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIBlockGetByIDCall) DoAndReturn ¶
func (c *MockIBlockGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Block, error)) *MockIBlockGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockGetByIDCall) Return ¶
func (c *MockIBlockGetByIDCall) Return(arg0 *storage.Block, arg1 error) *MockIBlockGetByIDCall
Return rewrite *gomock.Call.Return
type MockIBlockIsNoRowsCall ¶
MockIBlockIsNoRowsCall wrap *gomock.Call
func (*MockIBlockIsNoRowsCall) Do ¶
func (c *MockIBlockIsNoRowsCall) Do(f func(error) bool) *MockIBlockIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIBlockIsNoRowsCall) DoAndReturn ¶
func (c *MockIBlockIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIBlockIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockIsNoRowsCall) Return ¶
func (c *MockIBlockIsNoRowsCall) Return(arg0 bool) *MockIBlockIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIBlockLastCall ¶
MockIBlockLastCall wrap *gomock.Call
func (*MockIBlockLastCall) Do ¶
func (c *MockIBlockLastCall) Do(f func(context.Context) (storage.Block, error)) *MockIBlockLastCall
Do rewrite *gomock.Call.Do
func (*MockIBlockLastCall) DoAndReturn ¶
func (c *MockIBlockLastCall) DoAndReturn(f func(context.Context) (storage.Block, error)) *MockIBlockLastCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockLastCall) Return ¶
func (c *MockIBlockLastCall) Return(arg0 storage.Block, arg1 error) *MockIBlockLastCall
Return rewrite *gomock.Call.Return
type MockIBlockLastIDCall ¶
MockIBlockLastIDCall wrap *gomock.Call
func (*MockIBlockLastIDCall) Do ¶
func (c *MockIBlockLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIBlockLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIBlockLastIDCall) DoAndReturn ¶
func (c *MockIBlockLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIBlockLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockLastIDCall) Return ¶
func (c *MockIBlockLastIDCall) Return(arg0 uint64, arg1 error) *MockIBlockLastIDCall
Return rewrite *gomock.Call.Return
type MockIBlockListCall ¶
MockIBlockListCall wrap *gomock.Call
func (*MockIBlockListCall) Do ¶
func (c *MockIBlockListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Block, error)) *MockIBlockListCall
Do rewrite *gomock.Call.Do
func (*MockIBlockListCall) DoAndReturn ¶
func (c *MockIBlockListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Block, error)) *MockIBlockListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockListCall) Return ¶
func (c *MockIBlockListCall) Return(arg0 []*storage.Block, arg1 error) *MockIBlockListCall
Return rewrite *gomock.Call.Return
type MockIBlockListWithStatsCall ¶
MockIBlockListWithStatsCall wrap *gomock.Call
func (*MockIBlockListWithStatsCall) Do ¶
func (c *MockIBlockListWithStatsCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Block, error)) *MockIBlockListWithStatsCall
Do rewrite *gomock.Call.Do
func (*MockIBlockListWithStatsCall) DoAndReturn ¶
func (c *MockIBlockListWithStatsCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Block, error)) *MockIBlockListWithStatsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockListWithStatsCall) Return ¶
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, withStats any) *MockIBlockByHeightCall
ByHeight indicates an expected call of ByHeight.
func (*MockIBlockMockRecorder) ByIdWithRelations ¶
func (mr *MockIBlockMockRecorder) ByIdWithRelations(ctx, id any) *MockIBlockByIdWithRelationsCall
ByIdWithRelations indicates an expected call of ByIdWithRelations.
func (*MockIBlockMockRecorder) ByProposer ¶
func (mr *MockIBlockMockRecorder) ByProposer(ctx, proposerId, limit, offset, order 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) Update ¶
func (mr *MockIBlockMockRecorder) Update(ctx, m any) *MockIBlockUpdateCall
Update indicates an expected call of Update.
type MockIBlockSaveCall ¶
MockIBlockSaveCall wrap *gomock.Call
func (*MockIBlockSaveCall) Do ¶
func (c *MockIBlockSaveCall) Do(f func(context.Context, *storage.Block) error) *MockIBlockSaveCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSaveCall) DoAndReturn ¶
func (c *MockIBlockSaveCall) DoAndReturn(f func(context.Context, *storage.Block) error) *MockIBlockSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSaveCall) Return ¶
func (c *MockIBlockSaveCall) Return(arg0 error) *MockIBlockSaveCall
Return rewrite *gomock.Call.Return
type MockIBlockSignature ¶
type MockIBlockSignature struct {
// contains filtered or unexported fields
}
MockIBlockSignature is a mock of IBlockSignature interface.
func NewMockIBlockSignature ¶
func NewMockIBlockSignature(ctrl *gomock.Controller) *MockIBlockSignature
NewMockIBlockSignature creates a new mock instance.
func (*MockIBlockSignature) CursorList ¶
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 ¶
func (m *MockIBlockSignature) EXPECT() *MockIBlockSignatureMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIBlockSignature) GetByID ¶
func (m *MockIBlockSignature) GetByID(ctx context.Context, id uint64) (*storage.BlockSignature, error)
GetByID mocks base method.
func (*MockIBlockSignature) IsNoRows ¶
func (m *MockIBlockSignature) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIBlockSignature) LastID ¶
func (m *MockIBlockSignature) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIBlockSignature) LevelsByValidator ¶
func (m *MockIBlockSignature) LevelsByValidator(ctx context.Context, validatorId uint64, startHeight types.Level) ([]types.Level, error)
LevelsByValidator mocks base method.
func (*MockIBlockSignature) List ¶
func (m *MockIBlockSignature) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.BlockSignature, error)
List mocks base method.
func (*MockIBlockSignature) Save ¶
func (m_2 *MockIBlockSignature) Save(ctx context.Context, m *storage.BlockSignature) error
Save mocks base method.
func (*MockIBlockSignature) Update ¶
func (m_2 *MockIBlockSignature) Update(ctx context.Context, m *storage.BlockSignature) error
Update mocks base method.
type MockIBlockSignatureCursorListCall ¶
MockIBlockSignatureCursorListCall wrap *gomock.Call
func (*MockIBlockSignatureCursorListCall) Do ¶
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 ¶
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 ¶
func (c *MockIBlockSignatureCursorListCall) Return(arg0 []*storage.BlockSignature, arg1 error) *MockIBlockSignatureCursorListCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureGetByIDCall ¶
MockIBlockSignatureGetByIDCall wrap *gomock.Call
func (*MockIBlockSignatureGetByIDCall) Do ¶
func (c *MockIBlockSignatureGetByIDCall) Do(f func(context.Context, uint64) (*storage.BlockSignature, error)) *MockIBlockSignatureGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureGetByIDCall) DoAndReturn ¶
func (c *MockIBlockSignatureGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.BlockSignature, error)) *MockIBlockSignatureGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureGetByIDCall) Return ¶
func (c *MockIBlockSignatureGetByIDCall) Return(arg0 *storage.BlockSignature, arg1 error) *MockIBlockSignatureGetByIDCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureIsNoRowsCall ¶
MockIBlockSignatureIsNoRowsCall wrap *gomock.Call
func (*MockIBlockSignatureIsNoRowsCall) Do ¶
func (c *MockIBlockSignatureIsNoRowsCall) Do(f func(error) bool) *MockIBlockSignatureIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureIsNoRowsCall) DoAndReturn ¶
func (c *MockIBlockSignatureIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIBlockSignatureIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureIsNoRowsCall) Return ¶
func (c *MockIBlockSignatureIsNoRowsCall) Return(arg0 bool) *MockIBlockSignatureIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureLastIDCall ¶
MockIBlockSignatureLastIDCall wrap *gomock.Call
func (*MockIBlockSignatureLastIDCall) Do ¶
func (c *MockIBlockSignatureLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIBlockSignatureLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureLastIDCall) DoAndReturn ¶
func (c *MockIBlockSignatureLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIBlockSignatureLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureLastIDCall) Return ¶
func (c *MockIBlockSignatureLastIDCall) Return(arg0 uint64, arg1 error) *MockIBlockSignatureLastIDCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureLevelsByValidatorCall ¶
MockIBlockSignatureLevelsByValidatorCall wrap *gomock.Call
func (*MockIBlockSignatureLevelsByValidatorCall) Do ¶
func (c *MockIBlockSignatureLevelsByValidatorCall) Do(f func(context.Context, uint64, types.Level) ([]types.Level, error)) *MockIBlockSignatureLevelsByValidatorCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureLevelsByValidatorCall) DoAndReturn ¶
func (c *MockIBlockSignatureLevelsByValidatorCall) DoAndReturn(f func(context.Context, uint64, types.Level) ([]types.Level, error)) *MockIBlockSignatureLevelsByValidatorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureLevelsByValidatorCall) Return ¶
func (c *MockIBlockSignatureLevelsByValidatorCall) Return(arg0 []types.Level, arg1 error) *MockIBlockSignatureLevelsByValidatorCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureListCall ¶
MockIBlockSignatureListCall wrap *gomock.Call
func (*MockIBlockSignatureListCall) Do ¶
func (c *MockIBlockSignatureListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.BlockSignature, error)) *MockIBlockSignatureListCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureListCall) DoAndReturn ¶
func (c *MockIBlockSignatureListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.BlockSignature, error)) *MockIBlockSignatureListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureListCall) Return ¶
func (c *MockIBlockSignatureListCall) Return(arg0 []*storage.BlockSignature, arg1 error) *MockIBlockSignatureListCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureMockRecorder ¶
type MockIBlockSignatureMockRecorder struct {
// contains filtered or unexported fields
}
MockIBlockSignatureMockRecorder is the mock recorder for MockIBlockSignature.
func (*MockIBlockSignatureMockRecorder) CursorList ¶
func (mr *MockIBlockSignatureMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBlockSignatureCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIBlockSignatureMockRecorder) GetByID ¶
func (mr *MockIBlockSignatureMockRecorder) GetByID(ctx, id any) *MockIBlockSignatureGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIBlockSignatureMockRecorder) IsNoRows ¶
func (mr *MockIBlockSignatureMockRecorder) IsNoRows(err any) *MockIBlockSignatureIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIBlockSignatureMockRecorder) LastID ¶
func (mr *MockIBlockSignatureMockRecorder) LastID(ctx any) *MockIBlockSignatureLastIDCall
LastID indicates an expected call of LastID.
func (*MockIBlockSignatureMockRecorder) LevelsByValidator ¶
func (mr *MockIBlockSignatureMockRecorder) LevelsByValidator(ctx, validatorId, startHeight any) *MockIBlockSignatureLevelsByValidatorCall
LevelsByValidator indicates an expected call of LevelsByValidator.
func (*MockIBlockSignatureMockRecorder) List ¶
func (mr *MockIBlockSignatureMockRecorder) List(ctx, limit, offset, order any) *MockIBlockSignatureListCall
List indicates an expected call of List.
func (*MockIBlockSignatureMockRecorder) Save ¶
func (mr *MockIBlockSignatureMockRecorder) Save(ctx, m any) *MockIBlockSignatureSaveCall
Save indicates an expected call of Save.
func (*MockIBlockSignatureMockRecorder) Update ¶
func (mr *MockIBlockSignatureMockRecorder) Update(ctx, m any) *MockIBlockSignatureUpdateCall
Update indicates an expected call of Update.
type MockIBlockSignatureSaveCall ¶
MockIBlockSignatureSaveCall wrap *gomock.Call
func (*MockIBlockSignatureSaveCall) Do ¶
func (c *MockIBlockSignatureSaveCall) Do(f func(context.Context, *storage.BlockSignature) error) *MockIBlockSignatureSaveCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureSaveCall) DoAndReturn ¶
func (c *MockIBlockSignatureSaveCall) DoAndReturn(f func(context.Context, *storage.BlockSignature) error) *MockIBlockSignatureSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureSaveCall) Return ¶
func (c *MockIBlockSignatureSaveCall) Return(arg0 error) *MockIBlockSignatureSaveCall
Return rewrite *gomock.Call.Return
type MockIBlockSignatureUpdateCall ¶
MockIBlockSignatureUpdateCall wrap *gomock.Call
func (*MockIBlockSignatureUpdateCall) Do ¶
func (c *MockIBlockSignatureUpdateCall) Do(f func(context.Context, *storage.BlockSignature) error) *MockIBlockSignatureUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIBlockSignatureUpdateCall) DoAndReturn ¶
func (c *MockIBlockSignatureUpdateCall) DoAndReturn(f func(context.Context, *storage.BlockSignature) error) *MockIBlockSignatureUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockSignatureUpdateCall) Return ¶
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 ¶
MockIBlockStatsByHeightCall wrap *gomock.Call
func (*MockIBlockStatsByHeightCall) Do ¶
func (c *MockIBlockStatsByHeightCall) Do(f func(context.Context, types.Level) (storage.BlockStats, error)) *MockIBlockStatsByHeightCall
Do rewrite *gomock.Call.Do
func (*MockIBlockStatsByHeightCall) DoAndReturn ¶
func (c *MockIBlockStatsByHeightCall) DoAndReturn(f func(context.Context, types.Level) (storage.BlockStats, error)) *MockIBlockStatsByHeightCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockStatsByHeightCall) Return ¶
func (c *MockIBlockStatsByHeightCall) Return(stats storage.BlockStats, err error) *MockIBlockStatsByHeightCall
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.
type MockIBlockUpdateCall ¶
MockIBlockUpdateCall wrap *gomock.Call
func (*MockIBlockUpdateCall) Do ¶
func (c *MockIBlockUpdateCall) Do(f func(context.Context, *storage.Block) error) *MockIBlockUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIBlockUpdateCall) DoAndReturn ¶
func (c *MockIBlockUpdateCall) DoAndReturn(f func(context.Context, *storage.Block) error) *MockIBlockUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBlockUpdateCall) Return ¶
func (c *MockIBlockUpdateCall) Return(arg0 error) *MockIBlockUpdateCall
Return rewrite *gomock.Call.Return
type MockIBridge ¶
type MockIBridge struct {
// contains filtered or unexported fields
}
MockIBridge is a mock of IBridge interface.
func NewMockIBridge ¶
func NewMockIBridge(ctrl *gomock.Controller) *MockIBridge
NewMockIBridge creates a new mock instance.
func (*MockIBridge) ByRoles ¶
func (m *MockIBridge) ByRoles(ctx context.Context, addressId uint64, limit, offset int) ([]storage.Bridge, error)
ByRoles mocks base method.
func (*MockIBridge) ByRollup ¶
func (m *MockIBridge) ByRollup(ctx context.Context, rollupId uint64, limit, offset int) ([]storage.Bridge, error)
ByRollup mocks base method.
func (*MockIBridge) CursorList ¶
func (m *MockIBridge) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Bridge, error)
CursorList mocks base method.
func (*MockIBridge) EXPECT ¶
func (m *MockIBridge) EXPECT() *MockIBridgeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIBridge) IsNoRows ¶
func (m *MockIBridge) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIBridge) LastID ¶
func (m *MockIBridge) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIBridge) List ¶
func (m *MockIBridge) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Bridge, error)
List mocks base method.
func (*MockIBridge) ListWithAddress ¶ added in v1.1.0
func (m *MockIBridge) ListWithAddress(ctx context.Context, limit, offset int) ([]storage.Bridge, error)
ListWithAddress mocks base method.
type MockIBridgeByAddressCall ¶
MockIBridgeByAddressCall wrap *gomock.Call
func (*MockIBridgeByAddressCall) Do ¶
func (c *MockIBridgeByAddressCall) Do(f func(context.Context, uint64) (storage.Bridge, error)) *MockIBridgeByAddressCall
Do rewrite *gomock.Call.Do
func (*MockIBridgeByAddressCall) DoAndReturn ¶
func (c *MockIBridgeByAddressCall) DoAndReturn(f func(context.Context, uint64) (storage.Bridge, error)) *MockIBridgeByAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBridgeByAddressCall) Return ¶
func (c *MockIBridgeByAddressCall) Return(arg0 storage.Bridge, arg1 error) *MockIBridgeByAddressCall
Return rewrite *gomock.Call.Return
type MockIBridgeByIdCall ¶ added in v1.1.0
MockIBridgeByIdCall wrap *gomock.Call
func (*MockIBridgeByIdCall) Do ¶ added in v1.1.0
func (c *MockIBridgeByIdCall) Do(f func(context.Context, uint64) (storage.Bridge, error)) *MockIBridgeByIdCall
Do rewrite *gomock.Call.Do
func (*MockIBridgeByIdCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIBridgeByIdCall) DoAndReturn(f func(context.Context, uint64) (storage.Bridge, error)) *MockIBridgeByIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBridgeByIdCall) Return ¶ added in v1.1.0
func (c *MockIBridgeByIdCall) Return(arg0 storage.Bridge, arg1 error) *MockIBridgeByIdCall
Return rewrite *gomock.Call.Return
type MockIBridgeByRolesCall ¶
MockIBridgeByRolesCall wrap *gomock.Call
func (*MockIBridgeByRolesCall) Do ¶
func (c *MockIBridgeByRolesCall) Do(f func(context.Context, uint64, int, int) ([]storage.Bridge, error)) *MockIBridgeByRolesCall
Do rewrite *gomock.Call.Do
func (*MockIBridgeByRolesCall) DoAndReturn ¶
func (c *MockIBridgeByRolesCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Bridge, error)) *MockIBridgeByRolesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBridgeByRolesCall) Return ¶
func (c *MockIBridgeByRolesCall) Return(arg0 []storage.Bridge, arg1 error) *MockIBridgeByRolesCall
Return rewrite *gomock.Call.Return
type MockIBridgeByRollupCall ¶
MockIBridgeByRollupCall wrap *gomock.Call
func (*MockIBridgeByRollupCall) Do ¶
func (c *MockIBridgeByRollupCall) Do(f func(context.Context, uint64, int, int) ([]storage.Bridge, error)) *MockIBridgeByRollupCall
Do rewrite *gomock.Call.Do
func (*MockIBridgeByRollupCall) DoAndReturn ¶
func (c *MockIBridgeByRollupCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Bridge, error)) *MockIBridgeByRollupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBridgeByRollupCall) Return ¶
func (c *MockIBridgeByRollupCall) Return(arg0 []storage.Bridge, arg1 error) *MockIBridgeByRollupCall
Return rewrite *gomock.Call.Return
type MockIBridgeCursorListCall ¶
MockIBridgeCursorListCall wrap *gomock.Call
func (*MockIBridgeCursorListCall) Do ¶
func (c *MockIBridgeCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Bridge, error)) *MockIBridgeCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIBridgeCursorListCall) DoAndReturn ¶
func (c *MockIBridgeCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Bridge, error)) *MockIBridgeCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBridgeCursorListCall) Return ¶
func (c *MockIBridgeCursorListCall) Return(arg0 []*storage.Bridge, arg1 error) *MockIBridgeCursorListCall
Return rewrite *gomock.Call.Return
type MockIBridgeGetByIDCall ¶
MockIBridgeGetByIDCall wrap *gomock.Call
func (*MockIBridgeGetByIDCall) Do ¶
func (c *MockIBridgeGetByIDCall) Do(f func(context.Context, uint64) (*storage.Bridge, error)) *MockIBridgeGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIBridgeGetByIDCall) DoAndReturn ¶
func (c *MockIBridgeGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Bridge, error)) *MockIBridgeGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBridgeGetByIDCall) Return ¶
func (c *MockIBridgeGetByIDCall) Return(arg0 *storage.Bridge, arg1 error) *MockIBridgeGetByIDCall
Return rewrite *gomock.Call.Return
type MockIBridgeIsNoRowsCall ¶
MockIBridgeIsNoRowsCall wrap *gomock.Call
func (*MockIBridgeIsNoRowsCall) Do ¶
func (c *MockIBridgeIsNoRowsCall) Do(f func(error) bool) *MockIBridgeIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIBridgeIsNoRowsCall) DoAndReturn ¶
func (c *MockIBridgeIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIBridgeIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBridgeIsNoRowsCall) Return ¶
func (c *MockIBridgeIsNoRowsCall) Return(arg0 bool) *MockIBridgeIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIBridgeLastIDCall ¶
MockIBridgeLastIDCall wrap *gomock.Call
func (*MockIBridgeLastIDCall) Do ¶
func (c *MockIBridgeLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIBridgeLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIBridgeLastIDCall) DoAndReturn ¶
func (c *MockIBridgeLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIBridgeLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBridgeLastIDCall) Return ¶
func (c *MockIBridgeLastIDCall) Return(arg0 uint64, arg1 error) *MockIBridgeLastIDCall
Return rewrite *gomock.Call.Return
type MockIBridgeListCall ¶
MockIBridgeListCall wrap *gomock.Call
func (*MockIBridgeListCall) Do ¶
func (c *MockIBridgeListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Bridge, error)) *MockIBridgeListCall
Do rewrite *gomock.Call.Do
func (*MockIBridgeListCall) DoAndReturn ¶
func (c *MockIBridgeListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Bridge, error)) *MockIBridgeListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBridgeListCall) Return ¶
func (c *MockIBridgeListCall) Return(arg0 []*storage.Bridge, arg1 error) *MockIBridgeListCall
Return rewrite *gomock.Call.Return
type MockIBridgeListWithAddressCall ¶ added in v1.1.0
MockIBridgeListWithAddressCall wrap *gomock.Call
func (*MockIBridgeListWithAddressCall) Do ¶ added in v1.1.0
func (c *MockIBridgeListWithAddressCall) Do(f func(context.Context, int, int) ([]storage.Bridge, error)) *MockIBridgeListWithAddressCall
Do rewrite *gomock.Call.Do
func (*MockIBridgeListWithAddressCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIBridgeListWithAddressCall) DoAndReturn(f func(context.Context, int, int) ([]storage.Bridge, error)) *MockIBridgeListWithAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBridgeListWithAddressCall) Return ¶ added in v1.1.0
func (c *MockIBridgeListWithAddressCall) Return(arg0 []storage.Bridge, arg1 error) *MockIBridgeListWithAddressCall
Return rewrite *gomock.Call.Return
type MockIBridgeMockRecorder ¶
type MockIBridgeMockRecorder struct {
// contains filtered or unexported fields
}
MockIBridgeMockRecorder is the mock recorder for MockIBridge.
func (*MockIBridgeMockRecorder) ByAddress ¶
func (mr *MockIBridgeMockRecorder) ByAddress(ctx, addressId any) *MockIBridgeByAddressCall
ByAddress indicates an expected call of ByAddress.
func (*MockIBridgeMockRecorder) ById ¶ added in v1.1.0
func (mr *MockIBridgeMockRecorder) ById(ctx, id any) *MockIBridgeByIdCall
ById indicates an expected call of ById.
func (*MockIBridgeMockRecorder) ByRoles ¶
func (mr *MockIBridgeMockRecorder) ByRoles(ctx, addressId, limit, offset any) *MockIBridgeByRolesCall
ByRoles indicates an expected call of ByRoles.
func (*MockIBridgeMockRecorder) ByRollup ¶
func (mr *MockIBridgeMockRecorder) ByRollup(ctx, rollupId, limit, offset any) *MockIBridgeByRollupCall
ByRollup indicates an expected call of ByRollup.
func (*MockIBridgeMockRecorder) CursorList ¶
func (mr *MockIBridgeMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBridgeCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIBridgeMockRecorder) GetByID ¶
func (mr *MockIBridgeMockRecorder) GetByID(ctx, id any) *MockIBridgeGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIBridgeMockRecorder) IsNoRows ¶
func (mr *MockIBridgeMockRecorder) IsNoRows(err any) *MockIBridgeIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIBridgeMockRecorder) LastID ¶
func (mr *MockIBridgeMockRecorder) LastID(ctx any) *MockIBridgeLastIDCall
LastID indicates an expected call of LastID.
func (*MockIBridgeMockRecorder) List ¶
func (mr *MockIBridgeMockRecorder) List(ctx, limit, offset, order any) *MockIBridgeListCall
List indicates an expected call of List.
func (*MockIBridgeMockRecorder) ListWithAddress ¶ added in v1.1.0
func (mr *MockIBridgeMockRecorder) ListWithAddress(ctx, limit, offset any) *MockIBridgeListWithAddressCall
ListWithAddress indicates an expected call of ListWithAddress.
func (*MockIBridgeMockRecorder) Save ¶
func (mr *MockIBridgeMockRecorder) Save(ctx, m any) *MockIBridgeSaveCall
Save indicates an expected call of Save.
func (*MockIBridgeMockRecorder) Update ¶
func (mr *MockIBridgeMockRecorder) Update(ctx, m any) *MockIBridgeUpdateCall
Update indicates an expected call of Update.
type MockIBridgeSaveCall ¶
MockIBridgeSaveCall wrap *gomock.Call
func (*MockIBridgeSaveCall) Do ¶
func (c *MockIBridgeSaveCall) Do(f func(context.Context, *storage.Bridge) error) *MockIBridgeSaveCall
Do rewrite *gomock.Call.Do
func (*MockIBridgeSaveCall) DoAndReturn ¶
func (c *MockIBridgeSaveCall) DoAndReturn(f func(context.Context, *storage.Bridge) error) *MockIBridgeSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBridgeSaveCall) Return ¶
func (c *MockIBridgeSaveCall) Return(arg0 error) *MockIBridgeSaveCall
Return rewrite *gomock.Call.Return
type MockIBridgeUpdateCall ¶
MockIBridgeUpdateCall wrap *gomock.Call
func (*MockIBridgeUpdateCall) Do ¶
func (c *MockIBridgeUpdateCall) Do(f func(context.Context, *storage.Bridge) error) *MockIBridgeUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIBridgeUpdateCall) DoAndReturn ¶
func (c *MockIBridgeUpdateCall) DoAndReturn(f func(context.Context, *storage.Bridge) error) *MockIBridgeUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIBridgeUpdateCall) Return ¶
func (c *MockIBridgeUpdateCall) Return(arg0 error) *MockIBridgeUpdateCall
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.
func (*MockIConstant) Get ¶
func (m *MockIConstant) Get(ctx context.Context, module types.ModuleName, name string) (storage.Constant, error)
Get mocks base method.
func (*MockIConstant) IsNoRows ¶
func (m *MockIConstant) IsNoRows(err error) bool
IsNoRows mocks base method.
type MockIConstantAllCall ¶
MockIConstantAllCall wrap *gomock.Call
func (*MockIConstantAllCall) Do ¶
func (c *MockIConstantAllCall) Do(f func(context.Context) ([]storage.Constant, error)) *MockIConstantAllCall
Do rewrite *gomock.Call.Do
func (*MockIConstantAllCall) DoAndReturn ¶
func (c *MockIConstantAllCall) DoAndReturn(f func(context.Context) ([]storage.Constant, error)) *MockIConstantAllCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIConstantAllCall) Return ¶
func (c *MockIConstantAllCall) Return(arg0 []storage.Constant, arg1 error) *MockIConstantAllCall
Return rewrite *gomock.Call.Return
type MockIConstantByModuleCall ¶
MockIConstantByModuleCall wrap *gomock.Call
func (*MockIConstantByModuleCall) Do ¶
func (c *MockIConstantByModuleCall) Do(f func(context.Context, types.ModuleName) ([]storage.Constant, error)) *MockIConstantByModuleCall
Do rewrite *gomock.Call.Do
func (*MockIConstantByModuleCall) DoAndReturn ¶
func (c *MockIConstantByModuleCall) DoAndReturn(f func(context.Context, types.ModuleName) ([]storage.Constant, error)) *MockIConstantByModuleCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIConstantByModuleCall) Return ¶
func (c *MockIConstantByModuleCall) Return(arg0 []storage.Constant, arg1 error) *MockIConstantByModuleCall
Return rewrite *gomock.Call.Return
type MockIConstantGetCall ¶
MockIConstantGetCall wrap *gomock.Call
func (*MockIConstantGetCall) Do ¶
func (c *MockIConstantGetCall) Do(f func(context.Context, types.ModuleName, string) (storage.Constant, error)) *MockIConstantGetCall
Do rewrite *gomock.Call.Do
func (*MockIConstantGetCall) DoAndReturn ¶
func (c *MockIConstantGetCall) DoAndReturn(f func(context.Context, types.ModuleName, string) (storage.Constant, error)) *MockIConstantGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIConstantGetCall) Return ¶
func (c *MockIConstantGetCall) Return(arg0 storage.Constant, arg1 error) *MockIConstantGetCall
Return rewrite *gomock.Call.Return
type MockIConstantIsNoRowsCall ¶
MockIConstantIsNoRowsCall wrap *gomock.Call
func (*MockIConstantIsNoRowsCall) Do ¶
func (c *MockIConstantIsNoRowsCall) Do(f func(error) bool) *MockIConstantIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIConstantIsNoRowsCall) DoAndReturn ¶
func (c *MockIConstantIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIConstantIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIConstantIsNoRowsCall) Return ¶
func (c *MockIConstantIsNoRowsCall) Return(arg0 bool) *MockIConstantIsNoRowsCall
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.
func (*MockIConstantMockRecorder) IsNoRows ¶
func (mr *MockIConstantMockRecorder) IsNoRows(err any) *MockIConstantIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
type MockIDeposit ¶ added in v1.1.0
type MockIDeposit struct {
// contains filtered or unexported fields
}
MockIDeposit is a mock of IDeposit interface.
func NewMockIDeposit ¶ added in v1.1.0
func NewMockIDeposit(ctrl *gomock.Controller) *MockIDeposit
NewMockIDeposit creates a new mock instance.
func (*MockIDeposit) ByBridgeId ¶ added in v1.1.0
func (m *MockIDeposit) ByBridgeId(ctx context.Context, bridgeId uint64, limit, offset int, sort storage0.SortOrder) ([]storage.Deposit, error)
ByBridgeId mocks base method.
func (*MockIDeposit) ByRollupId ¶ added in v1.1.0
func (m *MockIDeposit) ByRollupId(ctx context.Context, rollupId uint64, limit, offset int, sort storage0.SortOrder) ([]storage.Deposit, error)
ByRollupId mocks base method.
func (*MockIDeposit) CursorList ¶ added in v1.1.0
func (m *MockIDeposit) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Deposit, error)
CursorList mocks base method.
func (*MockIDeposit) EXPECT ¶ added in v1.1.0
func (m *MockIDeposit) EXPECT() *MockIDepositMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIDeposit) IsNoRows ¶ added in v1.1.0
func (m *MockIDeposit) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIDeposit) LastID ¶ added in v1.1.0
func (m *MockIDeposit) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIDeposit) List ¶ added in v1.1.0
func (m *MockIDeposit) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Deposit, error)
List mocks base method.
type MockIDepositByBridgeIdCall ¶ added in v1.1.0
MockIDepositByBridgeIdCall wrap *gomock.Call
func (*MockIDepositByBridgeIdCall) Do ¶ added in v1.1.0
func (c *MockIDepositByBridgeIdCall) Do(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.Deposit, error)) *MockIDepositByBridgeIdCall
Do rewrite *gomock.Call.Do
func (*MockIDepositByBridgeIdCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIDepositByBridgeIdCall) DoAndReturn(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.Deposit, error)) *MockIDepositByBridgeIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDepositByBridgeIdCall) Return ¶ added in v1.1.0
func (c *MockIDepositByBridgeIdCall) Return(arg0 []storage.Deposit, arg1 error) *MockIDepositByBridgeIdCall
Return rewrite *gomock.Call.Return
type MockIDepositByRollupIdCall ¶ added in v1.1.0
MockIDepositByRollupIdCall wrap *gomock.Call
func (*MockIDepositByRollupIdCall) Do ¶ added in v1.1.0
func (c *MockIDepositByRollupIdCall) Do(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.Deposit, error)) *MockIDepositByRollupIdCall
Do rewrite *gomock.Call.Do
func (*MockIDepositByRollupIdCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIDepositByRollupIdCall) DoAndReturn(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.Deposit, error)) *MockIDepositByRollupIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDepositByRollupIdCall) Return ¶ added in v1.1.0
func (c *MockIDepositByRollupIdCall) Return(arg0 []storage.Deposit, arg1 error) *MockIDepositByRollupIdCall
Return rewrite *gomock.Call.Return
type MockIDepositCursorListCall ¶ added in v1.1.0
MockIDepositCursorListCall wrap *gomock.Call
func (*MockIDepositCursorListCall) Do ¶ added in v1.1.0
func (c *MockIDepositCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Deposit, error)) *MockIDepositCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIDepositCursorListCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIDepositCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Deposit, error)) *MockIDepositCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDepositCursorListCall) Return ¶ added in v1.1.0
func (c *MockIDepositCursorListCall) Return(arg0 []*storage.Deposit, arg1 error) *MockIDepositCursorListCall
Return rewrite *gomock.Call.Return
type MockIDepositGetByIDCall ¶ added in v1.1.0
MockIDepositGetByIDCall wrap *gomock.Call
func (*MockIDepositGetByIDCall) Do ¶ added in v1.1.0
func (c *MockIDepositGetByIDCall) Do(f func(context.Context, uint64) (*storage.Deposit, error)) *MockIDepositGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIDepositGetByIDCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIDepositGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Deposit, error)) *MockIDepositGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDepositGetByIDCall) Return ¶ added in v1.1.0
func (c *MockIDepositGetByIDCall) Return(arg0 *storage.Deposit, arg1 error) *MockIDepositGetByIDCall
Return rewrite *gomock.Call.Return
type MockIDepositIsNoRowsCall ¶ added in v1.1.0
MockIDepositIsNoRowsCall wrap *gomock.Call
func (*MockIDepositIsNoRowsCall) Do ¶ added in v1.1.0
func (c *MockIDepositIsNoRowsCall) Do(f func(error) bool) *MockIDepositIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIDepositIsNoRowsCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIDepositIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIDepositIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDepositIsNoRowsCall) Return ¶ added in v1.1.0
func (c *MockIDepositIsNoRowsCall) Return(arg0 bool) *MockIDepositIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIDepositLastIDCall ¶ added in v1.1.0
MockIDepositLastIDCall wrap *gomock.Call
func (*MockIDepositLastIDCall) Do ¶ added in v1.1.0
func (c *MockIDepositLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIDepositLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIDepositLastIDCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIDepositLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIDepositLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDepositLastIDCall) Return ¶ added in v1.1.0
func (c *MockIDepositLastIDCall) Return(arg0 uint64, arg1 error) *MockIDepositLastIDCall
Return rewrite *gomock.Call.Return
type MockIDepositListCall ¶ added in v1.1.0
MockIDepositListCall wrap *gomock.Call
func (*MockIDepositListCall) Do ¶ added in v1.1.0
func (c *MockIDepositListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Deposit, error)) *MockIDepositListCall
Do rewrite *gomock.Call.Do
func (*MockIDepositListCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIDepositListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Deposit, error)) *MockIDepositListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDepositListCall) Return ¶ added in v1.1.0
func (c *MockIDepositListCall) Return(arg0 []*storage.Deposit, arg1 error) *MockIDepositListCall
Return rewrite *gomock.Call.Return
type MockIDepositMockRecorder ¶ added in v1.1.0
type MockIDepositMockRecorder struct {
// contains filtered or unexported fields
}
MockIDepositMockRecorder is the mock recorder for MockIDeposit.
func (*MockIDepositMockRecorder) ByBridgeId ¶ added in v1.1.0
func (mr *MockIDepositMockRecorder) ByBridgeId(ctx, bridgeId, limit, offset, sort any) *MockIDepositByBridgeIdCall
ByBridgeId indicates an expected call of ByBridgeId.
func (*MockIDepositMockRecorder) ByRollupId ¶ added in v1.1.0
func (mr *MockIDepositMockRecorder) ByRollupId(ctx, rollupId, limit, offset, sort any) *MockIDepositByRollupIdCall
ByRollupId indicates an expected call of ByRollupId.
func (*MockIDepositMockRecorder) CursorList ¶ added in v1.1.0
func (mr *MockIDepositMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIDepositCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIDepositMockRecorder) GetByID ¶ added in v1.1.0
func (mr *MockIDepositMockRecorder) GetByID(ctx, id any) *MockIDepositGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIDepositMockRecorder) IsNoRows ¶ added in v1.1.0
func (mr *MockIDepositMockRecorder) IsNoRows(err any) *MockIDepositIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIDepositMockRecorder) LastID ¶ added in v1.1.0
func (mr *MockIDepositMockRecorder) LastID(ctx any) *MockIDepositLastIDCall
LastID indicates an expected call of LastID.
func (*MockIDepositMockRecorder) List ¶ added in v1.1.0
func (mr *MockIDepositMockRecorder) List(ctx, limit, offset, order any) *MockIDepositListCall
List indicates an expected call of List.
func (*MockIDepositMockRecorder) Save ¶ added in v1.1.0
func (mr *MockIDepositMockRecorder) Save(ctx, m any) *MockIDepositSaveCall
Save indicates an expected call of Save.
func (*MockIDepositMockRecorder) Update ¶ added in v1.1.0
func (mr *MockIDepositMockRecorder) Update(ctx, m any) *MockIDepositUpdateCall
Update indicates an expected call of Update.
type MockIDepositSaveCall ¶ added in v1.1.0
MockIDepositSaveCall wrap *gomock.Call
func (*MockIDepositSaveCall) Do ¶ added in v1.1.0
func (c *MockIDepositSaveCall) Do(f func(context.Context, *storage.Deposit) error) *MockIDepositSaveCall
Do rewrite *gomock.Call.Do
func (*MockIDepositSaveCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIDepositSaveCall) DoAndReturn(f func(context.Context, *storage.Deposit) error) *MockIDepositSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDepositSaveCall) Return ¶ added in v1.1.0
func (c *MockIDepositSaveCall) Return(arg0 error) *MockIDepositSaveCall
Return rewrite *gomock.Call.Return
type MockIDepositUpdateCall ¶ added in v1.1.0
MockIDepositUpdateCall wrap *gomock.Call
func (*MockIDepositUpdateCall) Do ¶ added in v1.1.0
func (c *MockIDepositUpdateCall) Do(f func(context.Context, *storage.Deposit) error) *MockIDepositUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIDepositUpdateCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIDepositUpdateCall) DoAndReturn(f func(context.Context, *storage.Deposit) error) *MockIDepositUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIDepositUpdateCall) Return ¶ added in v1.1.0
func (c *MockIDepositUpdateCall) Return(arg0 error) *MockIDepositUpdateCall
Return rewrite *gomock.Call.Return
type MockIFee ¶ added in v1.1.0
type MockIFee struct {
// contains filtered or unexported fields
}
MockIFee is a mock of IFee interface.
func NewMockIFee ¶ added in v1.1.0
func NewMockIFee(ctrl *gomock.Controller) *MockIFee
NewMockIFee creates a new mock instance.
func (*MockIFee) ByPayerId ¶ added in v1.1.0
func (m *MockIFee) ByPayerId(ctx context.Context, id uint64, limit, offset int, sort storage0.SortOrder) ([]storage.Fee, error)
ByPayerId mocks base method.
func (*MockIFee) CursorList ¶ added in v1.1.0
func (m *MockIFee) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Fee, error)
CursorList mocks base method.
func (*MockIFee) EXPECT ¶ added in v1.1.0
func (m *MockIFee) EXPECT() *MockIFeeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIFee) List ¶ added in v1.1.0
func (m *MockIFee) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Fee, error)
List mocks base method.
type MockIFeeByPayerIdCall ¶ added in v1.1.0
MockIFeeByPayerIdCall wrap *gomock.Call
func (*MockIFeeByPayerIdCall) Do ¶ added in v1.1.0
func (c *MockIFeeByPayerIdCall) Do(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.Fee, error)) *MockIFeeByPayerIdCall
Do rewrite *gomock.Call.Do
func (*MockIFeeByPayerIdCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIFeeByPayerIdCall) DoAndReturn(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.Fee, error)) *MockIFeeByPayerIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIFeeByPayerIdCall) Return ¶ added in v1.1.0
func (c *MockIFeeByPayerIdCall) Return(arg0 []storage.Fee, arg1 error) *MockIFeeByPayerIdCall
Return rewrite *gomock.Call.Return
type MockIFeeByTxIdCall ¶ added in v1.1.0
MockIFeeByTxIdCall wrap *gomock.Call
func (*MockIFeeByTxIdCall) Do ¶ added in v1.1.0
func (c *MockIFeeByTxIdCall) Do(f func(context.Context, uint64, int, int) ([]storage.Fee, error)) *MockIFeeByTxIdCall
Do rewrite *gomock.Call.Do
func (*MockIFeeByTxIdCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIFeeByTxIdCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.Fee, error)) *MockIFeeByTxIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIFeeByTxIdCall) Return ¶ added in v1.1.0
func (c *MockIFeeByTxIdCall) Return(arg0 []storage.Fee, arg1 error) *MockIFeeByTxIdCall
Return rewrite *gomock.Call.Return
type MockIFeeCursorListCall ¶ added in v1.1.0
MockIFeeCursorListCall wrap *gomock.Call
func (*MockIFeeCursorListCall) Do ¶ added in v1.1.0
func (c *MockIFeeCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Fee, error)) *MockIFeeCursorListCall
Do rewrite *gomock.Call.Do
func (*MockIFeeCursorListCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIFeeCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Fee, error)) *MockIFeeCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIFeeCursorListCall) Return ¶ added in v1.1.0
func (c *MockIFeeCursorListCall) Return(arg0 []*storage.Fee, arg1 error) *MockIFeeCursorListCall
Return rewrite *gomock.Call.Return
type MockIFeeGetByIDCall ¶ added in v1.1.0
MockIFeeGetByIDCall wrap *gomock.Call
func (*MockIFeeGetByIDCall) Do ¶ added in v1.1.0
func (c *MockIFeeGetByIDCall) Do(f func(context.Context, uint64) (*storage.Fee, error)) *MockIFeeGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIFeeGetByIDCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIFeeGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Fee, error)) *MockIFeeGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIFeeGetByIDCall) Return ¶ added in v1.1.0
func (c *MockIFeeGetByIDCall) Return(arg0 *storage.Fee, arg1 error) *MockIFeeGetByIDCall
Return rewrite *gomock.Call.Return
type MockIFeeIsNoRowsCall ¶ added in v1.1.0
MockIFeeIsNoRowsCall wrap *gomock.Call
func (*MockIFeeIsNoRowsCall) Do ¶ added in v1.1.0
func (c *MockIFeeIsNoRowsCall) Do(f func(error) bool) *MockIFeeIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIFeeIsNoRowsCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIFeeIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIFeeIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIFeeIsNoRowsCall) Return ¶ added in v1.1.0
func (c *MockIFeeIsNoRowsCall) Return(arg0 bool) *MockIFeeIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIFeeLastIDCall ¶ added in v1.1.0
MockIFeeLastIDCall wrap *gomock.Call
func (*MockIFeeLastIDCall) Do ¶ added in v1.1.0
func (c *MockIFeeLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIFeeLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIFeeLastIDCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIFeeLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIFeeLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIFeeLastIDCall) Return ¶ added in v1.1.0
func (c *MockIFeeLastIDCall) Return(arg0 uint64, arg1 error) *MockIFeeLastIDCall
Return rewrite *gomock.Call.Return
type MockIFeeListCall ¶ added in v1.1.0
MockIFeeListCall wrap *gomock.Call
func (*MockIFeeListCall) Do ¶ added in v1.1.0
func (c *MockIFeeListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Fee, error)) *MockIFeeListCall
Do rewrite *gomock.Call.Do
func (*MockIFeeListCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIFeeListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Fee, error)) *MockIFeeListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIFeeListCall) Return ¶ added in v1.1.0
func (c *MockIFeeListCall) Return(arg0 []*storage.Fee, arg1 error) *MockIFeeListCall
Return rewrite *gomock.Call.Return
type MockIFeeMockRecorder ¶ added in v1.1.0
type MockIFeeMockRecorder struct {
// contains filtered or unexported fields
}
MockIFeeMockRecorder is the mock recorder for MockIFee.
func (*MockIFeeMockRecorder) ByPayerId ¶ added in v1.1.0
func (mr *MockIFeeMockRecorder) ByPayerId(ctx, id, limit, offset, sort any) *MockIFeeByPayerIdCall
ByPayerId indicates an expected call of ByPayerId.
func (*MockIFeeMockRecorder) ByTxId ¶ added in v1.1.0
func (mr *MockIFeeMockRecorder) ByTxId(ctx, id, limit, offset any) *MockIFeeByTxIdCall
ByTxId indicates an expected call of ByTxId.
func (*MockIFeeMockRecorder) CursorList ¶ added in v1.1.0
func (mr *MockIFeeMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIFeeCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIFeeMockRecorder) GetByID ¶ added in v1.1.0
func (mr *MockIFeeMockRecorder) GetByID(ctx, id any) *MockIFeeGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIFeeMockRecorder) IsNoRows ¶ added in v1.1.0
func (mr *MockIFeeMockRecorder) IsNoRows(err any) *MockIFeeIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIFeeMockRecorder) LastID ¶ added in v1.1.0
func (mr *MockIFeeMockRecorder) LastID(ctx any) *MockIFeeLastIDCall
LastID indicates an expected call of LastID.
func (*MockIFeeMockRecorder) List ¶ added in v1.1.0
func (mr *MockIFeeMockRecorder) List(ctx, limit, offset, order any) *MockIFeeListCall
List indicates an expected call of List.
func (*MockIFeeMockRecorder) Save ¶ added in v1.1.0
func (mr *MockIFeeMockRecorder) Save(ctx, m any) *MockIFeeSaveCall
Save indicates an expected call of Save.
func (*MockIFeeMockRecorder) Update ¶ added in v1.1.0
func (mr *MockIFeeMockRecorder) Update(ctx, m any) *MockIFeeUpdateCall
Update indicates an expected call of Update.
type MockIFeeSaveCall ¶ added in v1.1.0
MockIFeeSaveCall wrap *gomock.Call
func (*MockIFeeSaveCall) Do ¶ added in v1.1.0
func (c *MockIFeeSaveCall) Do(f func(context.Context, *storage.Fee) error) *MockIFeeSaveCall
Do rewrite *gomock.Call.Do
func (*MockIFeeSaveCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIFeeSaveCall) DoAndReturn(f func(context.Context, *storage.Fee) error) *MockIFeeSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIFeeSaveCall) Return ¶ added in v1.1.0
func (c *MockIFeeSaveCall) Return(arg0 error) *MockIFeeSaveCall
Return rewrite *gomock.Call.Return
type MockIFeeUpdateCall ¶ added in v1.1.0
MockIFeeUpdateCall wrap *gomock.Call
func (*MockIFeeUpdateCall) Do ¶ added in v1.1.0
func (c *MockIFeeUpdateCall) Do(f func(context.Context, *storage.Fee) error) *MockIFeeUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIFeeUpdateCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIFeeUpdateCall) DoAndReturn(f func(context.Context, *storage.Fee) error) *MockIFeeUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIFeeUpdateCall) Return ¶ added in v1.1.0
func (c *MockIFeeUpdateCall) Return(arg0 error) *MockIFeeUpdateCall
Return rewrite *gomock.Call.Return
type MockIRollup ¶
type MockIRollup struct {
// contains filtered or unexported fields
}
MockIRollup is a mock of IRollup interface.
func NewMockIRollup ¶
func NewMockIRollup(ctrl *gomock.Controller) *MockIRollup
NewMockIRollup creates a new mock instance.
func (*MockIRollup) ActionsByHeight ¶
func (m *MockIRollup) ActionsByHeight(ctx context.Context, height types.Level, limit, offset int) ([]storage.RollupAction, error)
ActionsByHeight mocks base method.
func (*MockIRollup) ActionsByTxId ¶
func (m *MockIRollup) ActionsByTxId(ctx context.Context, txId uint64, limit, offset int) ([]storage.RollupAction, error)
ActionsByTxId mocks base method.
func (*MockIRollup) Addresses ¶
func (m *MockIRollup) Addresses(ctx context.Context, rollupId uint64, limit, offset int, sort storage0.SortOrder) ([]storage.RollupAddress, error)
Addresses mocks base method.
func (*MockIRollup) CountActionsByHeight ¶
CountActionsByHeight mocks base method.
func (*MockIRollup) CountActionsByTxId ¶
CountActionsByTxId mocks base method.
func (*MockIRollup) CursorList ¶
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) EXPECT ¶
func (m *MockIRollup) EXPECT() *MockIRollupMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIRollup) IsNoRows ¶
func (m *MockIRollup) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIRollup) LastID ¶
func (m *MockIRollup) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIRollup) List ¶
func (m *MockIRollup) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Rollup, error)
List mocks base method.
func (*MockIRollup) ListExt ¶
func (m *MockIRollup) ListExt(ctx context.Context, fltrs storage.RollupListFilter) ([]storage.Rollup, error)
ListExt mocks base method.
func (*MockIRollup) ListRollupsByAddress ¶
func (m *MockIRollup) ListRollupsByAddress(ctx context.Context, addressId uint64, limit, offset int, sort storage0.SortOrder) ([]storage.RollupAddress, error)
ListRollupsByAddress mocks base method.
type MockIRollupActionsByHeightCall ¶
MockIRollupActionsByHeightCall wrap *gomock.Call
func (*MockIRollupActionsByHeightCall) Do ¶
func (c *MockIRollupActionsByHeightCall) Do(f func(context.Context, types.Level, int, int) ([]storage.RollupAction, error)) *MockIRollupActionsByHeightCall
Do rewrite *gomock.Call.Do
func (*MockIRollupActionsByHeightCall) DoAndReturn ¶
func (c *MockIRollupActionsByHeightCall) DoAndReturn(f func(context.Context, types.Level, int, int) ([]storage.RollupAction, error)) *MockIRollupActionsByHeightCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupActionsByHeightCall) Return ¶
func (c *MockIRollupActionsByHeightCall) Return(arg0 []storage.RollupAction, arg1 error) *MockIRollupActionsByHeightCall
Return rewrite *gomock.Call.Return
type MockIRollupActionsByTxIdCall ¶
MockIRollupActionsByTxIdCall wrap *gomock.Call
func (*MockIRollupActionsByTxIdCall) Do ¶
func (c *MockIRollupActionsByTxIdCall) Do(f func(context.Context, uint64, int, int) ([]storage.RollupAction, error)) *MockIRollupActionsByTxIdCall
Do rewrite *gomock.Call.Do
func (*MockIRollupActionsByTxIdCall) DoAndReturn ¶
func (c *MockIRollupActionsByTxIdCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.RollupAction, error)) *MockIRollupActionsByTxIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupActionsByTxIdCall) Return ¶
func (c *MockIRollupActionsByTxIdCall) Return(arg0 []storage.RollupAction, arg1 error) *MockIRollupActionsByTxIdCall
Return rewrite *gomock.Call.Return
type MockIRollupAddressesCall ¶
MockIRollupAddressesCall wrap *gomock.Call
func (*MockIRollupAddressesCall) Do ¶
func (c *MockIRollupAddressesCall) Do(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.RollupAddress, error)) *MockIRollupAddressesCall
Do rewrite *gomock.Call.Do
func (*MockIRollupAddressesCall) DoAndReturn ¶
func (c *MockIRollupAddressesCall) DoAndReturn(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.RollupAddress, error)) *MockIRollupAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupAddressesCall) Return ¶
func (c *MockIRollupAddressesCall) Return(arg0 []storage.RollupAddress, arg1 error) *MockIRollupAddressesCall
Return rewrite *gomock.Call.Return
type MockIRollupByHashCall ¶
MockIRollupByHashCall wrap *gomock.Call
func (*MockIRollupByHashCall) Do ¶
func (c *MockIRollupByHashCall) Do(f func(context.Context, []byte) (storage.Rollup, error)) *MockIRollupByHashCall
Do rewrite *gomock.Call.Do
func (*MockIRollupByHashCall) DoAndReturn ¶
func (c *MockIRollupByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Rollup, error)) *MockIRollupByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupByHashCall) Return ¶
func (c *MockIRollupByHashCall) Return(arg0 storage.Rollup, arg1 error) *MockIRollupByHashCall
Return rewrite *gomock.Call.Return
type MockIRollupCountActionsByHeightCall ¶
MockIRollupCountActionsByHeightCall wrap *gomock.Call
func (*MockIRollupCountActionsByHeightCall) Do ¶
func (c *MockIRollupCountActionsByHeightCall) Do(f func(context.Context, types.Level) (int64, error)) *MockIRollupCountActionsByHeightCall
Do rewrite *gomock.Call.Do
func (*MockIRollupCountActionsByHeightCall) DoAndReturn ¶
func (c *MockIRollupCountActionsByHeightCall) DoAndReturn(f func(context.Context, types.Level) (int64, error)) *MockIRollupCountActionsByHeightCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupCountActionsByHeightCall) Return ¶
func (c *MockIRollupCountActionsByHeightCall) Return(arg0 int64, arg1 error) *MockIRollupCountActionsByHeightCall
Return rewrite *gomock.Call.Return
type MockIRollupCountActionsByTxIdCall ¶
MockIRollupCountActionsByTxIdCall wrap *gomock.Call
func (*MockIRollupCountActionsByTxIdCall) Do ¶
func (c *MockIRollupCountActionsByTxIdCall) Do(f func(context.Context, uint64) (int64, error)) *MockIRollupCountActionsByTxIdCall
Do rewrite *gomock.Call.Do
func (*MockIRollupCountActionsByTxIdCall) DoAndReturn ¶
func (c *MockIRollupCountActionsByTxIdCall) DoAndReturn(f func(context.Context, uint64) (int64, error)) *MockIRollupCountActionsByTxIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupCountActionsByTxIdCall) Return ¶
func (c *MockIRollupCountActionsByTxIdCall) Return(arg0 int64, arg1 error) *MockIRollupCountActionsByTxIdCall
Return rewrite *gomock.Call.Return
type MockIRollupCursorListCall ¶
MockIRollupCursorListCall wrap *gomock.Call
func (*MockIRollupCursorListCall) Do ¶
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 ¶
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 ¶
func (c *MockIRollupCursorListCall) Return(arg0 []*storage.Rollup, arg1 error) *MockIRollupCursorListCall
Return rewrite *gomock.Call.Return
type MockIRollupGetByIDCall ¶
MockIRollupGetByIDCall wrap *gomock.Call
func (*MockIRollupGetByIDCall) Do ¶
func (c *MockIRollupGetByIDCall) Do(f func(context.Context, uint64) (*storage.Rollup, error)) *MockIRollupGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIRollupGetByIDCall) DoAndReturn ¶
func (c *MockIRollupGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Rollup, error)) *MockIRollupGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupGetByIDCall) Return ¶
func (c *MockIRollupGetByIDCall) Return(arg0 *storage.Rollup, arg1 error) *MockIRollupGetByIDCall
Return rewrite *gomock.Call.Return
type MockIRollupIsNoRowsCall ¶
MockIRollupIsNoRowsCall wrap *gomock.Call
func (*MockIRollupIsNoRowsCall) Do ¶
func (c *MockIRollupIsNoRowsCall) Do(f func(error) bool) *MockIRollupIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIRollupIsNoRowsCall) DoAndReturn ¶
func (c *MockIRollupIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIRollupIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupIsNoRowsCall) Return ¶
func (c *MockIRollupIsNoRowsCall) Return(arg0 bool) *MockIRollupIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIRollupLastIDCall ¶
MockIRollupLastIDCall wrap *gomock.Call
func (*MockIRollupLastIDCall) Do ¶
func (c *MockIRollupLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIRollupLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIRollupLastIDCall) DoAndReturn ¶
func (c *MockIRollupLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIRollupLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupLastIDCall) Return ¶
func (c *MockIRollupLastIDCall) Return(arg0 uint64, arg1 error) *MockIRollupLastIDCall
Return rewrite *gomock.Call.Return
type MockIRollupListCall ¶
MockIRollupListCall wrap *gomock.Call
func (*MockIRollupListCall) Do ¶
func (c *MockIRollupListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Rollup, error)) *MockIRollupListCall
Do rewrite *gomock.Call.Do
func (*MockIRollupListCall) DoAndReturn ¶
func (c *MockIRollupListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Rollup, error)) *MockIRollupListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupListCall) Return ¶
func (c *MockIRollupListCall) Return(arg0 []*storage.Rollup, arg1 error) *MockIRollupListCall
Return rewrite *gomock.Call.Return
type MockIRollupListExtCall ¶
MockIRollupListExtCall wrap *gomock.Call
func (*MockIRollupListExtCall) Do ¶
func (c *MockIRollupListExtCall) Do(f func(context.Context, storage.RollupListFilter) ([]storage.Rollup, error)) *MockIRollupListExtCall
Do rewrite *gomock.Call.Do
func (*MockIRollupListExtCall) DoAndReturn ¶
func (c *MockIRollupListExtCall) DoAndReturn(f func(context.Context, storage.RollupListFilter) ([]storage.Rollup, error)) *MockIRollupListExtCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupListExtCall) Return ¶
func (c *MockIRollupListExtCall) Return(arg0 []storage.Rollup, arg1 error) *MockIRollupListExtCall
Return rewrite *gomock.Call.Return
type MockIRollupListRollupsByAddressCall ¶
MockIRollupListRollupsByAddressCall wrap *gomock.Call
func (*MockIRollupListRollupsByAddressCall) Do ¶
func (c *MockIRollupListRollupsByAddressCall) Do(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.RollupAddress, error)) *MockIRollupListRollupsByAddressCall
Do rewrite *gomock.Call.Do
func (*MockIRollupListRollupsByAddressCall) DoAndReturn ¶
func (c *MockIRollupListRollupsByAddressCall) DoAndReturn(f func(context.Context, uint64, int, int, storage0.SortOrder) ([]storage.RollupAddress, error)) *MockIRollupListRollupsByAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupListRollupsByAddressCall) Return ¶
func (c *MockIRollupListRollupsByAddressCall) Return(arg0 []storage.RollupAddress, arg1 error) *MockIRollupListRollupsByAddressCall
Return rewrite *gomock.Call.Return
type MockIRollupMockRecorder ¶
type MockIRollupMockRecorder struct {
// contains filtered or unexported fields
}
MockIRollupMockRecorder is the mock recorder for MockIRollup.
func (*MockIRollupMockRecorder) ActionsByHeight ¶
func (mr *MockIRollupMockRecorder) ActionsByHeight(ctx, height, limit, offset any) *MockIRollupActionsByHeightCall
ActionsByHeight indicates an expected call of ActionsByHeight.
func (*MockIRollupMockRecorder) ActionsByTxId ¶
func (mr *MockIRollupMockRecorder) ActionsByTxId(ctx, txId, limit, offset any) *MockIRollupActionsByTxIdCall
ActionsByTxId indicates an expected call of ActionsByTxId.
func (*MockIRollupMockRecorder) Addresses ¶
func (mr *MockIRollupMockRecorder) Addresses(ctx, rollupId, limit, offset, sort any) *MockIRollupAddressesCall
Addresses indicates an expected call of Addresses.
func (*MockIRollupMockRecorder) ByHash ¶
func (mr *MockIRollupMockRecorder) ByHash(ctx, hash any) *MockIRollupByHashCall
ByHash indicates an expected call of ByHash.
func (*MockIRollupMockRecorder) CountActionsByHeight ¶
func (mr *MockIRollupMockRecorder) CountActionsByHeight(ctx, height any) *MockIRollupCountActionsByHeightCall
CountActionsByHeight indicates an expected call of CountActionsByHeight.
func (*MockIRollupMockRecorder) CountActionsByTxId ¶
func (mr *MockIRollupMockRecorder) CountActionsByTxId(ctx, txId any) *MockIRollupCountActionsByTxIdCall
CountActionsByTxId indicates an expected call of CountActionsByTxId.
func (*MockIRollupMockRecorder) CursorList ¶
func (mr *MockIRollupMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIRollupCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIRollupMockRecorder) GetByID ¶
func (mr *MockIRollupMockRecorder) GetByID(ctx, id any) *MockIRollupGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIRollupMockRecorder) IsNoRows ¶
func (mr *MockIRollupMockRecorder) IsNoRows(err any) *MockIRollupIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIRollupMockRecorder) LastID ¶
func (mr *MockIRollupMockRecorder) LastID(ctx any) *MockIRollupLastIDCall
LastID indicates an expected call of LastID.
func (*MockIRollupMockRecorder) List ¶
func (mr *MockIRollupMockRecorder) List(ctx, limit, offset, order any) *MockIRollupListCall
List indicates an expected call of List.
func (*MockIRollupMockRecorder) ListExt ¶
func (mr *MockIRollupMockRecorder) ListExt(ctx, fltrs any) *MockIRollupListExtCall
ListExt indicates an expected call of ListExt.
func (*MockIRollupMockRecorder) ListRollupsByAddress ¶
func (mr *MockIRollupMockRecorder) ListRollupsByAddress(ctx, addressId, limit, offset, sort any) *MockIRollupListRollupsByAddressCall
ListRollupsByAddress indicates an expected call of ListRollupsByAddress.
func (*MockIRollupMockRecorder) Save ¶
func (mr *MockIRollupMockRecorder) Save(ctx, m any) *MockIRollupSaveCall
Save indicates an expected call of Save.
func (*MockIRollupMockRecorder) Update ¶
func (mr *MockIRollupMockRecorder) Update(ctx, m any) *MockIRollupUpdateCall
Update indicates an expected call of Update.
type MockIRollupSaveCall ¶
MockIRollupSaveCall wrap *gomock.Call
func (*MockIRollupSaveCall) Do ¶
func (c *MockIRollupSaveCall) Do(f func(context.Context, *storage.Rollup) error) *MockIRollupSaveCall
Do rewrite *gomock.Call.Do
func (*MockIRollupSaveCall) DoAndReturn ¶
func (c *MockIRollupSaveCall) DoAndReturn(f func(context.Context, *storage.Rollup) error) *MockIRollupSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupSaveCall) Return ¶
func (c *MockIRollupSaveCall) Return(arg0 error) *MockIRollupSaveCall
Return rewrite *gomock.Call.Return
type MockIRollupUpdateCall ¶
MockIRollupUpdateCall wrap *gomock.Call
func (*MockIRollupUpdateCall) Do ¶
func (c *MockIRollupUpdateCall) Do(f func(context.Context, *storage.Rollup) error) *MockIRollupUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIRollupUpdateCall) DoAndReturn ¶
func (c *MockIRollupUpdateCall) DoAndReturn(f func(context.Context, *storage.Rollup) error) *MockIRollupUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIRollupUpdateCall) Return ¶
func (c *MockIRollupUpdateCall) Return(arg0 error) *MockIRollupUpdateCall
Return rewrite *gomock.Call.Return
type MockISearch ¶
type MockISearch struct {
// contains filtered or unexported fields
}
MockISearch is a mock of ISearch interface.
func NewMockISearch ¶
func NewMockISearch(ctrl *gomock.Controller) *MockISearch
NewMockISearch creates a new mock instance.
func (*MockISearch) EXPECT ¶
func (m *MockISearch) EXPECT() *MockISearchMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockISearch) Search ¶
func (m *MockISearch) Search(ctx context.Context, query string) ([]storage.SearchResult, error)
Search mocks base method.
type MockISearchMockRecorder ¶
type MockISearchMockRecorder struct {
// contains filtered or unexported fields
}
MockISearchMockRecorder is the mock recorder for MockISearch.
func (*MockISearchMockRecorder) Search ¶
func (mr *MockISearchMockRecorder) Search(ctx, query any) *MockISearchSearchCall
Search indicates an expected call of Search.
type MockISearchSearchCall ¶
MockISearchSearchCall wrap *gomock.Call
func (*MockISearchSearchCall) Do ¶
func (c *MockISearchSearchCall) Do(f func(context.Context, string) ([]storage.SearchResult, error)) *MockISearchSearchCall
Do rewrite *gomock.Call.Do
func (*MockISearchSearchCall) DoAndReturn ¶
func (c *MockISearchSearchCall) DoAndReturn(f func(context.Context, string) ([]storage.SearchResult, error)) *MockISearchSearchCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockISearchSearchCall) Return ¶
func (c *MockISearchSearchCall) Return(arg0 []storage.SearchResult, arg1 error) *MockISearchSearchCall
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 ¶
MockIStateByNameCall wrap *gomock.Call
func (*MockIStateByNameCall) Do ¶
func (c *MockIStateByNameCall) Do(f func(context.Context, string) (storage.State, error)) *MockIStateByNameCall
Do rewrite *gomock.Call.Do
func (*MockIStateByNameCall) DoAndReturn ¶
func (c *MockIStateByNameCall) DoAndReturn(f func(context.Context, string) (storage.State, error)) *MockIStateByNameCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateByNameCall) Return ¶
func (c *MockIStateByNameCall) Return(arg0 storage.State, arg1 error) *MockIStateByNameCall
Return rewrite *gomock.Call.Return
type MockIStateCursorListCall ¶
MockIStateCursorListCall wrap *gomock.Call
func (*MockIStateCursorListCall) Do ¶
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 ¶
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 ¶
func (c *MockIStateCursorListCall) Return(arg0 []*storage.State, arg1 error) *MockIStateCursorListCall
Return rewrite *gomock.Call.Return
type MockIStateGetByIDCall ¶
MockIStateGetByIDCall wrap *gomock.Call
func (*MockIStateGetByIDCall) Do ¶
func (c *MockIStateGetByIDCall) Do(f func(context.Context, uint64) (*storage.State, error)) *MockIStateGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIStateGetByIDCall) DoAndReturn ¶
func (c *MockIStateGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.State, error)) *MockIStateGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateGetByIDCall) Return ¶
func (c *MockIStateGetByIDCall) Return(arg0 *storage.State, arg1 error) *MockIStateGetByIDCall
Return rewrite *gomock.Call.Return
type MockIStateIsNoRowsCall ¶
MockIStateIsNoRowsCall wrap *gomock.Call
func (*MockIStateIsNoRowsCall) Do ¶
func (c *MockIStateIsNoRowsCall) Do(f func(error) bool) *MockIStateIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIStateIsNoRowsCall) DoAndReturn ¶
func (c *MockIStateIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIStateIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateIsNoRowsCall) Return ¶
func (c *MockIStateIsNoRowsCall) Return(arg0 bool) *MockIStateIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIStateLastIDCall ¶
MockIStateLastIDCall wrap *gomock.Call
func (*MockIStateLastIDCall) Do ¶
func (c *MockIStateLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIStateLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIStateLastIDCall) DoAndReturn ¶
func (c *MockIStateLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIStateLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateLastIDCall) Return ¶
func (c *MockIStateLastIDCall) Return(arg0 uint64, arg1 error) *MockIStateLastIDCall
Return rewrite *gomock.Call.Return
type MockIStateListCall ¶
MockIStateListCall wrap *gomock.Call
func (*MockIStateListCall) Do ¶
func (c *MockIStateListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.State, error)) *MockIStateListCall
Do rewrite *gomock.Call.Do
func (*MockIStateListCall) DoAndReturn ¶
func (c *MockIStateListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.State, error)) *MockIStateListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateListCall) Return ¶
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 ¶
MockIStateSaveCall wrap *gomock.Call
func (*MockIStateSaveCall) Do ¶
func (c *MockIStateSaveCall) Do(f func(context.Context, *storage.State) error) *MockIStateSaveCall
Do rewrite *gomock.Call.Do
func (*MockIStateSaveCall) DoAndReturn ¶
func (c *MockIStateSaveCall) DoAndReturn(f func(context.Context, *storage.State) error) *MockIStateSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateSaveCall) Return ¶
func (c *MockIStateSaveCall) Return(arg0 error) *MockIStateSaveCall
Return rewrite *gomock.Call.Return
type MockIStateUpdateCall ¶
MockIStateUpdateCall wrap *gomock.Call
func (*MockIStateUpdateCall) Do ¶
func (c *MockIStateUpdateCall) Do(f func(context.Context, *storage.State) error) *MockIStateUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIStateUpdateCall) DoAndReturn ¶
func (c *MockIStateUpdateCall) DoAndReturn(f func(context.Context, *storage.State) error) *MockIStateUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStateUpdateCall) Return ¶
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) ActiveAddressesCount ¶ added in v1.1.0
func (m *MockIStats) ActiveAddressesCount(ctx context.Context) (int64, error)
ActiveAddressesCount 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) FeeSummary ¶ added in v1.1.0
func (m *MockIStats) FeeSummary(ctx context.Context) ([]storage.FeeSummary, error)
FeeSummary mocks base method.
func (*MockIStats) RollupSeries ¶
func (m *MockIStats) RollupSeries(ctx context.Context, rollupId uint64, timeframe storage.Timeframe, name string, req storage.SeriesRequest) ([]storage.SeriesItem, error)
RollupSeries mocks base method.
func (*MockIStats) Series ¶
func (m *MockIStats) Series(ctx context.Context, timeframe storage.Timeframe, name string, req storage.SeriesRequest) ([]storage.SeriesItem, error)
Series mocks base method.
func (*MockIStats) Summary ¶
func (m *MockIStats) Summary(ctx context.Context) (storage.NetworkSummary, error)
Summary mocks base method.
func (*MockIStats) SummaryTimeframe ¶
func (m *MockIStats) SummaryTimeframe(ctx context.Context, timeframe storage.Timeframe) (storage.NetworkSummaryWithChange, error)
SummaryTimeframe mocks base method.
func (*MockIStats) TokenTransferDistribution ¶ added in v1.1.0
func (m *MockIStats) TokenTransferDistribution(ctx context.Context, limit int) ([]storage.TokenTransferDistributionItem, error)
TokenTransferDistribution mocks base method.
type MockIStatsActiveAddressesCountCall ¶ added in v1.1.0
MockIStatsActiveAddressesCountCall wrap *gomock.Call
func (*MockIStatsActiveAddressesCountCall) Do ¶ added in v1.1.0
func (c *MockIStatsActiveAddressesCountCall) Do(f func(context.Context) (int64, error)) *MockIStatsActiveAddressesCountCall
Do rewrite *gomock.Call.Do
func (*MockIStatsActiveAddressesCountCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIStatsActiveAddressesCountCall) DoAndReturn(f func(context.Context) (int64, error)) *MockIStatsActiveAddressesCountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsActiveAddressesCountCall) Return ¶ added in v1.1.0
func (c *MockIStatsActiveAddressesCountCall) Return(arg0 int64, arg1 error) *MockIStatsActiveAddressesCountCall
Return rewrite *gomock.Call.Return
type MockIStatsFeeSummaryCall ¶ added in v1.1.0
MockIStatsFeeSummaryCall wrap *gomock.Call
func (*MockIStatsFeeSummaryCall) Do ¶ added in v1.1.0
func (c *MockIStatsFeeSummaryCall) Do(f func(context.Context) ([]storage.FeeSummary, error)) *MockIStatsFeeSummaryCall
Do rewrite *gomock.Call.Do
func (*MockIStatsFeeSummaryCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIStatsFeeSummaryCall) DoAndReturn(f func(context.Context) ([]storage.FeeSummary, error)) *MockIStatsFeeSummaryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsFeeSummaryCall) Return ¶ added in v1.1.0
func (c *MockIStatsFeeSummaryCall) Return(arg0 []storage.FeeSummary, arg1 error) *MockIStatsFeeSummaryCall
Return rewrite *gomock.Call.Return
type MockIStatsMockRecorder ¶
type MockIStatsMockRecorder struct {
// contains filtered or unexported fields
}
MockIStatsMockRecorder is the mock recorder for MockIStats.
func (*MockIStatsMockRecorder) ActiveAddressesCount ¶ added in v1.1.0
func (mr *MockIStatsMockRecorder) ActiveAddressesCount(ctx any) *MockIStatsActiveAddressesCountCall
ActiveAddressesCount indicates an expected call of ActiveAddressesCount.
func (*MockIStatsMockRecorder) FeeSummary ¶ added in v1.1.0
func (mr *MockIStatsMockRecorder) FeeSummary(ctx any) *MockIStatsFeeSummaryCall
FeeSummary indicates an expected call of FeeSummary.
func (*MockIStatsMockRecorder) RollupSeries ¶
func (mr *MockIStatsMockRecorder) RollupSeries(ctx, rollupId, timeframe, name, req any) *MockIStatsRollupSeriesCall
RollupSeries indicates an expected call of RollupSeries.
func (*MockIStatsMockRecorder) Series ¶
func (mr *MockIStatsMockRecorder) Series(ctx, timeframe, name, req any) *MockIStatsSeriesCall
Series indicates an expected call of Series.
func (*MockIStatsMockRecorder) Summary ¶
func (mr *MockIStatsMockRecorder) Summary(ctx any) *MockIStatsSummaryCall
Summary indicates an expected call of Summary.
func (*MockIStatsMockRecorder) SummaryTimeframe ¶
func (mr *MockIStatsMockRecorder) SummaryTimeframe(ctx, timeframe any) *MockIStatsSummaryTimeframeCall
SummaryTimeframe indicates an expected call of SummaryTimeframe.
func (*MockIStatsMockRecorder) TokenTransferDistribution ¶ added in v1.1.0
func (mr *MockIStatsMockRecorder) TokenTransferDistribution(ctx, limit any) *MockIStatsTokenTransferDistributionCall
TokenTransferDistribution indicates an expected call of TokenTransferDistribution.
type MockIStatsRollupSeriesCall ¶
MockIStatsRollupSeriesCall wrap *gomock.Call
func (*MockIStatsRollupSeriesCall) Do ¶
func (c *MockIStatsRollupSeriesCall) Do(f func(context.Context, uint64, storage.Timeframe, string, storage.SeriesRequest) ([]storage.SeriesItem, error)) *MockIStatsRollupSeriesCall
Do rewrite *gomock.Call.Do
func (*MockIStatsRollupSeriesCall) DoAndReturn ¶
func (c *MockIStatsRollupSeriesCall) DoAndReturn(f func(context.Context, uint64, storage.Timeframe, string, storage.SeriesRequest) ([]storage.SeriesItem, error)) *MockIStatsRollupSeriesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsRollupSeriesCall) Return ¶
func (c *MockIStatsRollupSeriesCall) Return(arg0 []storage.SeriesItem, arg1 error) *MockIStatsRollupSeriesCall
Return rewrite *gomock.Call.Return
type MockIStatsSeriesCall ¶
MockIStatsSeriesCall wrap *gomock.Call
func (*MockIStatsSeriesCall) Do ¶
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 ¶
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 ¶
func (c *MockIStatsSeriesCall) Return(arg0 []storage.SeriesItem, arg1 error) *MockIStatsSeriesCall
Return rewrite *gomock.Call.Return
type MockIStatsSummaryCall ¶
MockIStatsSummaryCall wrap *gomock.Call
func (*MockIStatsSummaryCall) Do ¶
func (c *MockIStatsSummaryCall) Do(f func(context.Context) (storage.NetworkSummary, error)) *MockIStatsSummaryCall
Do rewrite *gomock.Call.Do
func (*MockIStatsSummaryCall) DoAndReturn ¶
func (c *MockIStatsSummaryCall) DoAndReturn(f func(context.Context) (storage.NetworkSummary, error)) *MockIStatsSummaryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsSummaryCall) Return ¶
func (c *MockIStatsSummaryCall) Return(arg0 storage.NetworkSummary, arg1 error) *MockIStatsSummaryCall
Return rewrite *gomock.Call.Return
type MockIStatsSummaryTimeframeCall ¶
MockIStatsSummaryTimeframeCall wrap *gomock.Call
func (*MockIStatsSummaryTimeframeCall) Do ¶
func (c *MockIStatsSummaryTimeframeCall) Do(f func(context.Context, storage.Timeframe) (storage.NetworkSummaryWithChange, error)) *MockIStatsSummaryTimeframeCall
Do rewrite *gomock.Call.Do
func (*MockIStatsSummaryTimeframeCall) DoAndReturn ¶
func (c *MockIStatsSummaryTimeframeCall) DoAndReturn(f func(context.Context, storage.Timeframe) (storage.NetworkSummaryWithChange, error)) *MockIStatsSummaryTimeframeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsSummaryTimeframeCall) Return ¶
func (c *MockIStatsSummaryTimeframeCall) Return(arg0 storage.NetworkSummaryWithChange, arg1 error) *MockIStatsSummaryTimeframeCall
Return rewrite *gomock.Call.Return
type MockIStatsTokenTransferDistributionCall ¶ added in v1.1.0
MockIStatsTokenTransferDistributionCall wrap *gomock.Call
func (*MockIStatsTokenTransferDistributionCall) Do ¶ added in v1.1.0
func (c *MockIStatsTokenTransferDistributionCall) Do(f func(context.Context, int) ([]storage.TokenTransferDistributionItem, error)) *MockIStatsTokenTransferDistributionCall
Do rewrite *gomock.Call.Do
func (*MockIStatsTokenTransferDistributionCall) DoAndReturn ¶ added in v1.1.0
func (c *MockIStatsTokenTransferDistributionCall) DoAndReturn(f func(context.Context, int) ([]storage.TokenTransferDistributionItem, error)) *MockIStatsTokenTransferDistributionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIStatsTokenTransferDistributionCall) Return ¶ added in v1.1.0
func (c *MockIStatsTokenTransferDistributionCall) Return(arg0 []storage.TokenTransferDistributionItem, arg1 error) *MockIStatsTokenTransferDistributionCall
Return rewrite *gomock.Call.Return
type MockITransfer ¶ added in v1.1.0
type MockITransfer struct {
// contains filtered or unexported fields
}
MockITransfer is a mock of ITransfer interface.
func NewMockITransfer ¶ added in v1.1.0
func NewMockITransfer(ctrl *gomock.Controller) *MockITransfer
NewMockITransfer creates a new mock instance.
func (*MockITransfer) CursorList ¶ added in v1.1.0
func (m *MockITransfer) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Transfer, error)
CursorList mocks base method.
func (*MockITransfer) EXPECT ¶ added in v1.1.0
func (m *MockITransfer) EXPECT() *MockITransferMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockITransfer) IsNoRows ¶ added in v1.1.0
func (m *MockITransfer) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockITransfer) LastID ¶ added in v1.1.0
func (m *MockITransfer) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockITransfer) List ¶ added in v1.1.0
func (m *MockITransfer) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Transfer, error)
List mocks base method.
type MockITransferCursorListCall ¶ added in v1.1.0
MockITransferCursorListCall wrap *gomock.Call
func (*MockITransferCursorListCall) Do ¶ added in v1.1.0
func (c *MockITransferCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Transfer, error)) *MockITransferCursorListCall
Do rewrite *gomock.Call.Do
func (*MockITransferCursorListCall) DoAndReturn ¶ added in v1.1.0
func (c *MockITransferCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Transfer, error)) *MockITransferCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITransferCursorListCall) Return ¶ added in v1.1.0
func (c *MockITransferCursorListCall) Return(arg0 []*storage.Transfer, arg1 error) *MockITransferCursorListCall
Return rewrite *gomock.Call.Return
type MockITransferGetByIDCall ¶ added in v1.1.0
MockITransferGetByIDCall wrap *gomock.Call
func (*MockITransferGetByIDCall) Do ¶ added in v1.1.0
func (c *MockITransferGetByIDCall) Do(f func(context.Context, uint64) (*storage.Transfer, error)) *MockITransferGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockITransferGetByIDCall) DoAndReturn ¶ added in v1.1.0
func (c *MockITransferGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Transfer, error)) *MockITransferGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITransferGetByIDCall) Return ¶ added in v1.1.0
func (c *MockITransferGetByIDCall) Return(arg0 *storage.Transfer, arg1 error) *MockITransferGetByIDCall
Return rewrite *gomock.Call.Return
type MockITransferIsNoRowsCall ¶ added in v1.1.0
MockITransferIsNoRowsCall wrap *gomock.Call
func (*MockITransferIsNoRowsCall) Do ¶ added in v1.1.0
func (c *MockITransferIsNoRowsCall) Do(f func(error) bool) *MockITransferIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockITransferIsNoRowsCall) DoAndReturn ¶ added in v1.1.0
func (c *MockITransferIsNoRowsCall) DoAndReturn(f func(error) bool) *MockITransferIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITransferIsNoRowsCall) Return ¶ added in v1.1.0
func (c *MockITransferIsNoRowsCall) Return(arg0 bool) *MockITransferIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockITransferLastIDCall ¶ added in v1.1.0
MockITransferLastIDCall wrap *gomock.Call
func (*MockITransferLastIDCall) Do ¶ added in v1.1.0
func (c *MockITransferLastIDCall) Do(f func(context.Context) (uint64, error)) *MockITransferLastIDCall
Do rewrite *gomock.Call.Do
func (*MockITransferLastIDCall) DoAndReturn ¶ added in v1.1.0
func (c *MockITransferLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockITransferLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITransferLastIDCall) Return ¶ added in v1.1.0
func (c *MockITransferLastIDCall) Return(arg0 uint64, arg1 error) *MockITransferLastIDCall
Return rewrite *gomock.Call.Return
type MockITransferListCall ¶ added in v1.1.0
MockITransferListCall wrap *gomock.Call
func (*MockITransferListCall) Do ¶ added in v1.1.0
func (c *MockITransferListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Transfer, error)) *MockITransferListCall
Do rewrite *gomock.Call.Do
func (*MockITransferListCall) DoAndReturn ¶ added in v1.1.0
func (c *MockITransferListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Transfer, error)) *MockITransferListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITransferListCall) Return ¶ added in v1.1.0
func (c *MockITransferListCall) Return(arg0 []*storage.Transfer, arg1 error) *MockITransferListCall
Return rewrite *gomock.Call.Return
type MockITransferMockRecorder ¶ added in v1.1.0
type MockITransferMockRecorder struct {
// contains filtered or unexported fields
}
MockITransferMockRecorder is the mock recorder for MockITransfer.
func (*MockITransferMockRecorder) CursorList ¶ added in v1.1.0
func (mr *MockITransferMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockITransferCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockITransferMockRecorder) GetByID ¶ added in v1.1.0
func (mr *MockITransferMockRecorder) GetByID(ctx, id any) *MockITransferGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockITransferMockRecorder) IsNoRows ¶ added in v1.1.0
func (mr *MockITransferMockRecorder) IsNoRows(err any) *MockITransferIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockITransferMockRecorder) LastID ¶ added in v1.1.0
func (mr *MockITransferMockRecorder) LastID(ctx any) *MockITransferLastIDCall
LastID indicates an expected call of LastID.
func (*MockITransferMockRecorder) List ¶ added in v1.1.0
func (mr *MockITransferMockRecorder) List(ctx, limit, offset, order any) *MockITransferListCall
List indicates an expected call of List.
func (*MockITransferMockRecorder) Save ¶ added in v1.1.0
func (mr *MockITransferMockRecorder) Save(ctx, m any) *MockITransferSaveCall
Save indicates an expected call of Save.
func (*MockITransferMockRecorder) Update ¶ added in v1.1.0
func (mr *MockITransferMockRecorder) Update(ctx, m any) *MockITransferUpdateCall
Update indicates an expected call of Update.
type MockITransferSaveCall ¶ added in v1.1.0
MockITransferSaveCall wrap *gomock.Call
func (*MockITransferSaveCall) Do ¶ added in v1.1.0
func (c *MockITransferSaveCall) Do(f func(context.Context, *storage.Transfer) error) *MockITransferSaveCall
Do rewrite *gomock.Call.Do
func (*MockITransferSaveCall) DoAndReturn ¶ added in v1.1.0
func (c *MockITransferSaveCall) DoAndReturn(f func(context.Context, *storage.Transfer) error) *MockITransferSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITransferSaveCall) Return ¶ added in v1.1.0
func (c *MockITransferSaveCall) Return(arg0 error) *MockITransferSaveCall
Return rewrite *gomock.Call.Return
type MockITransferUpdateCall ¶ added in v1.1.0
MockITransferUpdateCall wrap *gomock.Call
func (*MockITransferUpdateCall) Do ¶ added in v1.1.0
func (c *MockITransferUpdateCall) Do(f func(context.Context, *storage.Transfer) error) *MockITransferUpdateCall
Do rewrite *gomock.Call.Do
func (*MockITransferUpdateCall) DoAndReturn ¶ added in v1.1.0
func (c *MockITransferUpdateCall) DoAndReturn(f func(context.Context, *storage.Transfer) error) *MockITransferUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITransferUpdateCall) Return ¶ added in v1.1.0
func (c *MockITransferUpdateCall) Return(arg0 error) *MockITransferUpdateCall
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) ByHeight ¶
func (m *MockITx) ByHeight(ctx context.Context, height types.Level, limit, offset int) ([]storage.Tx, error)
ByHeight 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) List ¶
func (m *MockITx) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Tx, error)
List mocks base method.
type MockITxByAddressCall ¶
MockITxByAddressCall wrap *gomock.Call
func (*MockITxByAddressCall) Do ¶
func (c *MockITxByAddressCall) Do(f func(context.Context, uint64, storage.TxFilter) ([]storage.Tx, error)) *MockITxByAddressCall
Do rewrite *gomock.Call.Do
func (*MockITxByAddressCall) DoAndReturn ¶
func (c *MockITxByAddressCall) DoAndReturn(f func(context.Context, uint64, storage.TxFilter) ([]storage.Tx, error)) *MockITxByAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxByAddressCall) Return ¶
func (c *MockITxByAddressCall) Return(arg0 []storage.Tx, arg1 error) *MockITxByAddressCall
Return rewrite *gomock.Call.Return
type MockITxByHashCall ¶
MockITxByHashCall wrap *gomock.Call
func (*MockITxByHashCall) Do ¶
func (c *MockITxByHashCall) Do(f func(context.Context, []byte) (storage.Tx, error)) *MockITxByHashCall
Do rewrite *gomock.Call.Do
func (*MockITxByHashCall) DoAndReturn ¶
func (c *MockITxByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Tx, error)) *MockITxByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxByHashCall) Return ¶
func (c *MockITxByHashCall) Return(arg0 storage.Tx, arg1 error) *MockITxByHashCall
Return rewrite *gomock.Call.Return
type MockITxByHeightCall ¶
MockITxByHeightCall wrap *gomock.Call
func (*MockITxByHeightCall) Do ¶
func (c *MockITxByHeightCall) Do(f func(context.Context, types.Level, int, int) ([]storage.Tx, error)) *MockITxByHeightCall
Do rewrite *gomock.Call.Do
func (*MockITxByHeightCall) DoAndReturn ¶
func (c *MockITxByHeightCall) DoAndReturn(f func(context.Context, types.Level, int, int) ([]storage.Tx, error)) *MockITxByHeightCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxByHeightCall) Return ¶
func (c *MockITxByHeightCall) Return(arg0 []storage.Tx, arg1 error) *MockITxByHeightCall
Return rewrite *gomock.Call.Return
type MockITxCursorListCall ¶
MockITxCursorListCall wrap *gomock.Call
func (*MockITxCursorListCall) Do ¶
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 ¶
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 ¶
func (c *MockITxCursorListCall) Return(arg0 []*storage.Tx, arg1 error) *MockITxCursorListCall
Return rewrite *gomock.Call.Return
type MockITxFilterCall ¶
MockITxFilterCall wrap *gomock.Call
func (*MockITxFilterCall) Do ¶
func (c *MockITxFilterCall) Do(f func(context.Context, storage.TxFilter) ([]storage.Tx, error)) *MockITxFilterCall
Do rewrite *gomock.Call.Do
func (*MockITxFilterCall) DoAndReturn ¶
func (c *MockITxFilterCall) DoAndReturn(f func(context.Context, storage.TxFilter) ([]storage.Tx, error)) *MockITxFilterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxFilterCall) Return ¶
func (c *MockITxFilterCall) Return(arg0 []storage.Tx, arg1 error) *MockITxFilterCall
Return rewrite *gomock.Call.Return
type MockITxGetByIDCall ¶
MockITxGetByIDCall wrap *gomock.Call
func (*MockITxGetByIDCall) Do ¶
func (c *MockITxGetByIDCall) Do(f func(context.Context, uint64) (*storage.Tx, error)) *MockITxGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockITxGetByIDCall) DoAndReturn ¶
func (c *MockITxGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Tx, error)) *MockITxGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxGetByIDCall) Return ¶
func (c *MockITxGetByIDCall) Return(arg0 *storage.Tx, arg1 error) *MockITxGetByIDCall
Return rewrite *gomock.Call.Return
type MockITxIsNoRowsCall ¶
MockITxIsNoRowsCall wrap *gomock.Call
func (*MockITxIsNoRowsCall) Do ¶
func (c *MockITxIsNoRowsCall) Do(f func(error) bool) *MockITxIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockITxIsNoRowsCall) DoAndReturn ¶
func (c *MockITxIsNoRowsCall) DoAndReturn(f func(error) bool) *MockITxIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxIsNoRowsCall) Return ¶
func (c *MockITxIsNoRowsCall) Return(arg0 bool) *MockITxIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockITxLastIDCall ¶
MockITxLastIDCall wrap *gomock.Call
func (*MockITxLastIDCall) Do ¶
func (c *MockITxLastIDCall) Do(f func(context.Context) (uint64, error)) *MockITxLastIDCall
Do rewrite *gomock.Call.Do
func (*MockITxLastIDCall) DoAndReturn ¶
func (c *MockITxLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockITxLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxLastIDCall) Return ¶
func (c *MockITxLastIDCall) Return(arg0 uint64, arg1 error) *MockITxLastIDCall
Return rewrite *gomock.Call.Return
type MockITxListCall ¶
MockITxListCall wrap *gomock.Call
func (*MockITxListCall) Do ¶
func (c *MockITxListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Tx, error)) *MockITxListCall
Do rewrite *gomock.Call.Do
func (*MockITxListCall) DoAndReturn ¶
func (c *MockITxListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Tx, error)) *MockITxListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxListCall) Return ¶
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) ByHeight ¶
func (mr *MockITxMockRecorder) ByHeight(ctx, height, limit, offset any) *MockITxByHeightCall
ByHeight indicates an expected call of ByHeight.
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) GetByID ¶
func (mr *MockITxMockRecorder) GetByID(ctx, id any) *MockITxGetByIDCall
GetByID indicates an expected call of GetByID.
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 ¶
MockITxSaveCall wrap *gomock.Call
func (*MockITxSaveCall) Do ¶
func (c *MockITxSaveCall) Do(f func(context.Context, *storage.Tx) error) *MockITxSaveCall
Do rewrite *gomock.Call.Do
func (*MockITxSaveCall) DoAndReturn ¶
func (c *MockITxSaveCall) DoAndReturn(f func(context.Context, *storage.Tx) error) *MockITxSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxSaveCall) Return ¶
func (c *MockITxSaveCall) Return(arg0 error) *MockITxSaveCall
Return rewrite *gomock.Call.Return
type MockITxUpdateCall ¶
MockITxUpdateCall wrap *gomock.Call
func (*MockITxUpdateCall) Do ¶
func (c *MockITxUpdateCall) Do(f func(context.Context, *storage.Tx) error) *MockITxUpdateCall
Do rewrite *gomock.Call.Do
func (*MockITxUpdateCall) DoAndReturn ¶
func (c *MockITxUpdateCall) DoAndReturn(f func(context.Context, *storage.Tx) error) *MockITxUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockITxUpdateCall) Return ¶
func (c *MockITxUpdateCall) Return(arg0 error) *MockITxUpdateCall
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) 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 ¶
func (m *MockIValidator) ListByPower(ctx context.Context, limit, offset int, order storage0.SortOrder) ([]storage.Validator, error)
ListByPower mocks base method.
type MockIValidatorCursorListCall ¶
MockIValidatorCursorListCall wrap *gomock.Call
func (*MockIValidatorCursorListCall) Do ¶
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 ¶
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 ¶
func (c *MockIValidatorCursorListCall) Return(arg0 []*storage.Validator, arg1 error) *MockIValidatorCursorListCall
Return rewrite *gomock.Call.Return
type MockIValidatorGetByIDCall ¶
MockIValidatorGetByIDCall wrap *gomock.Call
func (*MockIValidatorGetByIDCall) Do ¶
func (c *MockIValidatorGetByIDCall) Do(f func(context.Context, uint64) (*storage.Validator, error)) *MockIValidatorGetByIDCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorGetByIDCall) DoAndReturn ¶
func (c *MockIValidatorGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Validator, error)) *MockIValidatorGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorGetByIDCall) Return ¶
func (c *MockIValidatorGetByIDCall) Return(arg0 *storage.Validator, arg1 error) *MockIValidatorGetByIDCall
Return rewrite *gomock.Call.Return
type MockIValidatorIsNoRowsCall ¶
MockIValidatorIsNoRowsCall wrap *gomock.Call
func (*MockIValidatorIsNoRowsCall) Do ¶
func (c *MockIValidatorIsNoRowsCall) Do(f func(error) bool) *MockIValidatorIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorIsNoRowsCall) DoAndReturn ¶
func (c *MockIValidatorIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIValidatorIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorIsNoRowsCall) Return ¶
func (c *MockIValidatorIsNoRowsCall) Return(arg0 bool) *MockIValidatorIsNoRowsCall
Return rewrite *gomock.Call.Return
type MockIValidatorLastIDCall ¶
MockIValidatorLastIDCall wrap *gomock.Call
func (*MockIValidatorLastIDCall) Do ¶
func (c *MockIValidatorLastIDCall) Do(f func(context.Context) (uint64, error)) *MockIValidatorLastIDCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorLastIDCall) DoAndReturn ¶
func (c *MockIValidatorLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIValidatorLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorLastIDCall) Return ¶
func (c *MockIValidatorLastIDCall) Return(arg0 uint64, arg1 error) *MockIValidatorLastIDCall
Return rewrite *gomock.Call.Return
type MockIValidatorListByPowerCall ¶
MockIValidatorListByPowerCall wrap *gomock.Call
func (*MockIValidatorListByPowerCall) Do ¶
func (c *MockIValidatorListByPowerCall) Do(f func(context.Context, int, int, storage0.SortOrder) ([]storage.Validator, error)) *MockIValidatorListByPowerCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorListByPowerCall) DoAndReturn ¶
func (c *MockIValidatorListByPowerCall) DoAndReturn(f func(context.Context, int, int, storage0.SortOrder) ([]storage.Validator, error)) *MockIValidatorListByPowerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorListByPowerCall) Return ¶
func (c *MockIValidatorListByPowerCall) Return(arg0 []storage.Validator, arg1 error) *MockIValidatorListByPowerCall
Return rewrite *gomock.Call.Return
type MockIValidatorListCall ¶
MockIValidatorListCall wrap *gomock.Call
func (*MockIValidatorListCall) Do ¶
func (c *MockIValidatorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Validator, error)) *MockIValidatorListCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorListCall) DoAndReturn ¶
func (c *MockIValidatorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Validator, error)) *MockIValidatorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorListCall) Return ¶
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) 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) 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 ¶
func (mr *MockIValidatorMockRecorder) ListByPower(ctx, limit, offset, order 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) Update ¶
func (mr *MockIValidatorMockRecorder) Update(ctx, m any) *MockIValidatorUpdateCall
Update indicates an expected call of Update.
type MockIValidatorSaveCall ¶
MockIValidatorSaveCall wrap *gomock.Call
func (*MockIValidatorSaveCall) Do ¶
func (c *MockIValidatorSaveCall) Do(f func(context.Context, *storage.Validator) error) *MockIValidatorSaveCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorSaveCall) DoAndReturn ¶
func (c *MockIValidatorSaveCall) DoAndReturn(f func(context.Context, *storage.Validator) error) *MockIValidatorSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorSaveCall) Return ¶
func (c *MockIValidatorSaveCall) Return(arg0 error) *MockIValidatorSaveCall
Return rewrite *gomock.Call.Return
type MockIValidatorUpdateCall ¶
MockIValidatorUpdateCall wrap *gomock.Call
func (*MockIValidatorUpdateCall) Do ¶
func (c *MockIValidatorUpdateCall) Do(f func(context.Context, *storage.Validator) error) *MockIValidatorUpdateCall
Do rewrite *gomock.Call.Do
func (*MockIValidatorUpdateCall) DoAndReturn ¶
func (c *MockIValidatorUpdateCall) DoAndReturn(f func(context.Context, *storage.Validator) error) *MockIValidatorUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIValidatorUpdateCall) Return ¶
func (c *MockIValidatorUpdateCall) Return(arg0 error) *MockIValidatorUpdateCall
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 ¶
MockListenerCloseCall wrap *gomock.Call
func (*MockListenerCloseCall) Do ¶
func (c *MockListenerCloseCall) Do(f func() error) *MockListenerCloseCall
Do rewrite *gomock.Call.Do
func (*MockListenerCloseCall) DoAndReturn ¶
func (c *MockListenerCloseCall) DoAndReturn(f func() error) *MockListenerCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockListenerCloseCall) Return ¶
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 ¶
MockListenerFactoryCreateListenerCall wrap *gomock.Call
func (*MockListenerFactoryCreateListenerCall) Do ¶
func (c *MockListenerFactoryCreateListenerCall) Do(f func() storage.Listener) *MockListenerFactoryCreateListenerCall
Do rewrite *gomock.Call.Do
func (*MockListenerFactoryCreateListenerCall) DoAndReturn ¶
func (c *MockListenerFactoryCreateListenerCall) DoAndReturn(f func() storage.Listener) *MockListenerFactoryCreateListenerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockListenerFactoryCreateListenerCall) Return ¶
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 ¶
MockListenerListenCall wrap *gomock.Call
func (*MockListenerListenCall) Do ¶
func (c *MockListenerListenCall) Do(f func() chan *pq.Notification) *MockListenerListenCall
Do rewrite *gomock.Call.Do
func (*MockListenerListenCall) DoAndReturn ¶
func (c *MockListenerListenCall) DoAndReturn(f func() chan *pq.Notification) *MockListenerListenCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockListenerListenCall) Return ¶
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 ¶
MockListenerSubscribeCall wrap *gomock.Call
func (*MockListenerSubscribeCall) Do ¶
func (c *MockListenerSubscribeCall) Do(f func(context.Context, ...string) error) *MockListenerSubscribeCall
Do rewrite *gomock.Call.Do
func (*MockListenerSubscribeCall) DoAndReturn ¶
func (c *MockListenerSubscribeCall) DoAndReturn(f func(context.Context, ...string) error) *MockListenerSubscribeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockListenerSubscribeCall) Return ¶
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 ¶
MockNotificatorNotifyCall wrap *gomock.Call
func (*MockNotificatorNotifyCall) Do ¶
func (c *MockNotificatorNotifyCall) Do(f func(context.Context, string, string) error) *MockNotificatorNotifyCall
Do rewrite *gomock.Call.Do
func (*MockNotificatorNotifyCall) DoAndReturn ¶
func (c *MockNotificatorNotifyCall) DoAndReturn(f func(context.Context, string, string) error) *MockNotificatorNotifyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNotificatorNotifyCall) Return ¶
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) 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) DeleteApp ¶ added in v1.2.0
func (m *MockTransaction) DeleteApp(ctx context.Context, appId uint64) error
DeleteApp 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) GetAddressId ¶ added in v1.1.0
GetAddressId mocks base method.
func (*MockTransaction) GetBridgeIdByAddressId ¶ added in v1.1.0
GetBridgeIdByAddressId mocks base method.
func (*MockTransaction) GetProposerId ¶
GetProposerId mocks base method.
func (*MockTransaction) HandleError ¶
func (m *MockTransaction) HandleError(ctx context.Context, err error) error
HandleError mocks base method.
func (*MockTransaction) RefreshLeaderboard ¶ added in v1.2.0
func (m *MockTransaction) RefreshLeaderboard(ctx context.Context) error
RefreshLeaderboard mocks base method.
func (*MockTransaction) RetentionBlockSignatures ¶
RetentionBlockSignatures mocks base method.
func (*MockTransaction) Rollback ¶
func (m *MockTransaction) Rollback(ctx context.Context) error
Rollback mocks base method.
func (*MockTransaction) RollbackActions ¶
func (m *MockTransaction) RollbackActions(ctx context.Context, height types.Level) ([]storage.Action, error)
RollbackActions mocks base method.
func (*MockTransaction) RollbackAddressActions ¶
func (m *MockTransaction) RollbackAddressActions(ctx context.Context, height types.Level) ([]storage.AddressAction, error)
RollbackAddressActions 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) RollbackBalanceUpdates ¶
func (m *MockTransaction) RollbackBalanceUpdates(ctx context.Context, height types.Level) ([]storage.BalanceUpdate, error)
RollbackBalanceUpdates mocks base method.
func (*MockTransaction) RollbackBalances ¶
func (m *MockTransaction) RollbackBalances(ctx context.Context, ids []uint64) error
RollbackBalances mocks base method.
func (*MockTransaction) RollbackBlock ¶
RollbackBlock mocks base method.
func (*MockTransaction) RollbackBlockSignatures ¶
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) RollbackBridges ¶
RollbackBridges mocks base method.
func (*MockTransaction) RollbackDeposits ¶ added in v1.1.0
RollbackDeposits mocks base method.
func (*MockTransaction) RollbackFees ¶
RollbackFees mocks base method.
func (*MockTransaction) RollbackRollupActions ¶
func (m *MockTransaction) RollbackRollupActions(ctx context.Context, height types.Level) ([]storage.RollupAction, error)
RollbackRollupActions mocks base method.
func (*MockTransaction) RollbackRollupAddresses ¶
RollbackRollupAddresses mocks base method.
func (*MockTransaction) RollbackRollups ¶
func (m *MockTransaction) RollbackRollups(ctx context.Context, height types.Level) ([]storage.Rollup, error)
RollbackRollups mocks base method.
func (*MockTransaction) RollbackTransfers ¶ added in v1.1.0
RollbackTransfers 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) RollbackValidators ¶
RollbackValidators mocks base method.
func (*MockTransaction) SaveActions ¶
SaveActions mocks base method.
func (*MockTransaction) SaveAddressActions ¶
func (m *MockTransaction) SaveAddressActions(ctx context.Context, actions ...*storage.AddressAction) error
SaveAddressActions mocks base method.
func (*MockTransaction) SaveAddresses ¶
func (m *MockTransaction) SaveAddresses(ctx context.Context, addresses ...*storage.Address) (int64, error)
SaveAddresses mocks base method.
func (*MockTransaction) SaveBalanceUpdates ¶
func (m *MockTransaction) SaveBalanceUpdates(ctx context.Context, updates ...storage.BalanceUpdate) error
SaveBalanceUpdates mocks base method.
func (*MockTransaction) SaveBalances ¶
SaveBalances mocks base method.
func (*MockTransaction) SaveBlockSignatures ¶
func (m *MockTransaction) SaveBlockSignatures(ctx context.Context, signs ...storage.BlockSignature) error
SaveBlockSignatures mocks base method.
func (*MockTransaction) SaveBridges ¶
func (m *MockTransaction) SaveBridges(ctx context.Context, bridges ...*storage.Bridge) (int64, error)
SaveBridges mocks base method.
func (*MockTransaction) SaveConstants ¶
SaveConstants mocks base method.
func (*MockTransaction) SaveDeposits ¶ added in v1.1.0
SaveDeposits mocks base method.
func (*MockTransaction) SaveRollupActions ¶
func (m *MockTransaction) SaveRollupActions(ctx context.Context, actions ...*storage.RollupAction) error
SaveRollupActions mocks base method.
func (*MockTransaction) SaveRollupAddresses ¶
func (m *MockTransaction) SaveRollupAddresses(ctx context.Context, addresses ...*storage.RollupAddress) error
SaveRollupAddresses mocks base method.
func (*MockTransaction) SaveRollups ¶
func (m *MockTransaction) SaveRollups(ctx context.Context, rollups ...*storage.Rollup) (int64, error)
SaveRollups mocks base method.
func (*MockTransaction) SaveTransactions ¶
SaveTransactions mocks base method.
func (*MockTransaction) SaveTransfers ¶ added in v1.1.0
SaveTransfers mocks base method.
func (*MockTransaction) SaveValidators ¶
func (m *MockTransaction) SaveValidators(ctx context.Context, validators ...*storage.Validator) error
SaveValidators mocks base method.
func (*MockTransaction) Update ¶
func (m *MockTransaction) Update(ctx context.Context, model any) error
Update mocks base method.
func (*MockTransaction) UpdateAddresses ¶
UpdateAddresses mocks base method.
func (*MockTransaction) UpdateConstants ¶
func (m *MockTransaction) UpdateConstants(ctx context.Context, constants ...*storage.Constant) error
UpdateConstants mocks base method.
func (*MockTransaction) UpdateRollups ¶
UpdateRollups mocks base method.
func (*MockTransaction) Validators ¶
Validators mocks base method.
type MockTransactionAddCall ¶
MockTransactionAddCall wrap *gomock.Call
func (*MockTransactionAddCall) Do ¶
func (c *MockTransactionAddCall) Do(f func(context.Context, any) error) *MockTransactionAddCall
Do rewrite *gomock.Call.Do
func (*MockTransactionAddCall) DoAndReturn ¶
func (c *MockTransactionAddCall) DoAndReturn(f func(context.Context, any) error) *MockTransactionAddCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionAddCall) Return ¶
func (c *MockTransactionAddCall) Return(arg0 error) *MockTransactionAddCall
Return rewrite *gomock.Call.Return
type MockTransactionBulkSaveCall ¶
MockTransactionBulkSaveCall wrap *gomock.Call
func (*MockTransactionBulkSaveCall) Do ¶
func (c *MockTransactionBulkSaveCall) Do(f func(context.Context, []any) error) *MockTransactionBulkSaveCall
Do rewrite *gomock.Call.Do
func (*MockTransactionBulkSaveCall) DoAndReturn ¶
func (c *MockTransactionBulkSaveCall) DoAndReturn(f func(context.Context, []any) error) *MockTransactionBulkSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionBulkSaveCall) Return ¶
func (c *MockTransactionBulkSaveCall) Return(arg0 error) *MockTransactionBulkSaveCall
Return rewrite *gomock.Call.Return
type MockTransactionCloseCall ¶
MockTransactionCloseCall wrap *gomock.Call
func (*MockTransactionCloseCall) Do ¶
func (c *MockTransactionCloseCall) Do(f func(context.Context) error) *MockTransactionCloseCall
Do rewrite *gomock.Call.Do
func (*MockTransactionCloseCall) DoAndReturn ¶
func (c *MockTransactionCloseCall) DoAndReturn(f func(context.Context) error) *MockTransactionCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionCloseCall) Return ¶
func (c *MockTransactionCloseCall) Return(arg0 error) *MockTransactionCloseCall
Return rewrite *gomock.Call.Return
type MockTransactionCopyFromCall ¶
MockTransactionCopyFromCall wrap *gomock.Call
func (*MockTransactionCopyFromCall) Do ¶
func (c *MockTransactionCopyFromCall) Do(f func(context.Context, string, []storage0.Copiable) error) *MockTransactionCopyFromCall
Do rewrite *gomock.Call.Do
func (*MockTransactionCopyFromCall) DoAndReturn ¶
func (c *MockTransactionCopyFromCall) DoAndReturn(f func(context.Context, string, []storage0.Copiable) error) *MockTransactionCopyFromCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionCopyFromCall) Return ¶
func (c *MockTransactionCopyFromCall) Return(arg0 error) *MockTransactionCopyFromCall
Return rewrite *gomock.Call.Return
type MockTransactionDeleteAppCall ¶ added in v1.2.0
MockTransactionDeleteAppCall wrap *gomock.Call
func (*MockTransactionDeleteAppCall) Do ¶ added in v1.2.0
func (c *MockTransactionDeleteAppCall) Do(f func(context.Context, uint64) error) *MockTransactionDeleteAppCall
Do rewrite *gomock.Call.Do
func (*MockTransactionDeleteAppCall) DoAndReturn ¶ added in v1.2.0
func (c *MockTransactionDeleteAppCall) DoAndReturn(f func(context.Context, uint64) error) *MockTransactionDeleteAppCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionDeleteAppCall) Return ¶ added in v1.2.0
func (c *MockTransactionDeleteAppCall) Return(arg0 error) *MockTransactionDeleteAppCall
Return rewrite *gomock.Call.Return
type MockTransactionExecCall ¶
MockTransactionExecCall wrap *gomock.Call
func (*MockTransactionExecCall) Do ¶
func (c *MockTransactionExecCall) Do(f func(context.Context, string, ...any) (int64, error)) *MockTransactionExecCall
Do rewrite *gomock.Call.Do
func (*MockTransactionExecCall) DoAndReturn ¶
func (c *MockTransactionExecCall) DoAndReturn(f func(context.Context, string, ...any) (int64, error)) *MockTransactionExecCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionExecCall) Return ¶
func (c *MockTransactionExecCall) Return(arg0 int64, arg1 error) *MockTransactionExecCall
Return rewrite *gomock.Call.Return
type MockTransactionFlushCall ¶
MockTransactionFlushCall wrap *gomock.Call
func (*MockTransactionFlushCall) Do ¶
func (c *MockTransactionFlushCall) Do(f func(context.Context) error) *MockTransactionFlushCall
Do rewrite *gomock.Call.Do
func (*MockTransactionFlushCall) DoAndReturn ¶
func (c *MockTransactionFlushCall) DoAndReturn(f func(context.Context) error) *MockTransactionFlushCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionFlushCall) Return ¶
func (c *MockTransactionFlushCall) Return(arg0 error) *MockTransactionFlushCall
Return rewrite *gomock.Call.Return
type MockTransactionGetAddressIdCall ¶ added in v1.1.0
MockTransactionGetAddressIdCall wrap *gomock.Call
func (*MockTransactionGetAddressIdCall) Do ¶ added in v1.1.0
func (c *MockTransactionGetAddressIdCall) Do(f func(context.Context, string) (uint64, error)) *MockTransactionGetAddressIdCall
Do rewrite *gomock.Call.Do
func (*MockTransactionGetAddressIdCall) DoAndReturn ¶ added in v1.1.0
func (c *MockTransactionGetAddressIdCall) DoAndReturn(f func(context.Context, string) (uint64, error)) *MockTransactionGetAddressIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionGetAddressIdCall) Return ¶ added in v1.1.0
func (c *MockTransactionGetAddressIdCall) Return(arg0 uint64, arg1 error) *MockTransactionGetAddressIdCall
Return rewrite *gomock.Call.Return
type MockTransactionGetBridgeIdByAddressIdCall ¶ added in v1.1.0
MockTransactionGetBridgeIdByAddressIdCall wrap *gomock.Call
func (*MockTransactionGetBridgeIdByAddressIdCall) Do ¶ added in v1.1.0
func (c *MockTransactionGetBridgeIdByAddressIdCall) Do(f func(context.Context, uint64) (uint64, error)) *MockTransactionGetBridgeIdByAddressIdCall
Do rewrite *gomock.Call.Do
func (*MockTransactionGetBridgeIdByAddressIdCall) DoAndReturn ¶ added in v1.1.0
func (c *MockTransactionGetBridgeIdByAddressIdCall) DoAndReturn(f func(context.Context, uint64) (uint64, error)) *MockTransactionGetBridgeIdByAddressIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionGetBridgeIdByAddressIdCall) Return ¶ added in v1.1.0
func (c *MockTransactionGetBridgeIdByAddressIdCall) Return(arg0 uint64, arg1 error) *MockTransactionGetBridgeIdByAddressIdCall
Return rewrite *gomock.Call.Return
type MockTransactionGetProposerIdCall ¶
MockTransactionGetProposerIdCall wrap *gomock.Call
func (*MockTransactionGetProposerIdCall) Do ¶
func (c *MockTransactionGetProposerIdCall) Do(f func(context.Context, string) (uint64, error)) *MockTransactionGetProposerIdCall
Do rewrite *gomock.Call.Do
func (*MockTransactionGetProposerIdCall) DoAndReturn ¶
func (c *MockTransactionGetProposerIdCall) DoAndReturn(f func(context.Context, string) (uint64, error)) *MockTransactionGetProposerIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionGetProposerIdCall) Return ¶
func (c *MockTransactionGetProposerIdCall) Return(arg0 uint64, arg1 error) *MockTransactionGetProposerIdCall
Return rewrite *gomock.Call.Return
type MockTransactionGetRollupCall ¶
MockTransactionGetRollupCall wrap *gomock.Call
func (*MockTransactionGetRollupCall) Do ¶
func (c *MockTransactionGetRollupCall) Do(f func(context.Context, []byte) (storage.Rollup, error)) *MockTransactionGetRollupCall
Do rewrite *gomock.Call.Do
func (*MockTransactionGetRollupCall) DoAndReturn ¶
func (c *MockTransactionGetRollupCall) DoAndReturn(f func(context.Context, []byte) (storage.Rollup, error)) *MockTransactionGetRollupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionGetRollupCall) Return ¶
func (c *MockTransactionGetRollupCall) Return(arg0 storage.Rollup, arg1 error) *MockTransactionGetRollupCall
Return rewrite *gomock.Call.Return
type MockTransactionHandleErrorCall ¶
MockTransactionHandleErrorCall wrap *gomock.Call
func (*MockTransactionHandleErrorCall) Do ¶
func (c *MockTransactionHandleErrorCall) Do(f func(context.Context, error) error) *MockTransactionHandleErrorCall
Do rewrite *gomock.Call.Do
func (*MockTransactionHandleErrorCall) DoAndReturn ¶
func (c *MockTransactionHandleErrorCall) DoAndReturn(f func(context.Context, error) error) *MockTransactionHandleErrorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionHandleErrorCall) Return ¶
func (c *MockTransactionHandleErrorCall) Return(arg0 error) *MockTransactionHandleErrorCall
Return rewrite *gomock.Call.Return
type MockTransactionLastBlockCall ¶
MockTransactionLastBlockCall wrap *gomock.Call
func (*MockTransactionLastBlockCall) Do ¶
func (c *MockTransactionLastBlockCall) Do(f func(context.Context) (storage.Block, error)) *MockTransactionLastBlockCall
Do rewrite *gomock.Call.Do
func (*MockTransactionLastBlockCall) DoAndReturn ¶
func (c *MockTransactionLastBlockCall) DoAndReturn(f func(context.Context) (storage.Block, error)) *MockTransactionLastBlockCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionLastBlockCall) Return ¶
func (c *MockTransactionLastBlockCall) Return(block storage.Block, err error) *MockTransactionLastBlockCall
Return rewrite *gomock.Call.Return
type MockTransactionLastNonceCall ¶
MockTransactionLastNonceCall wrap *gomock.Call
func (*MockTransactionLastNonceCall) Do ¶
func (c *MockTransactionLastNonceCall) Do(f func(context.Context, uint64) (uint32, error)) *MockTransactionLastNonceCall
Do rewrite *gomock.Call.Do
func (*MockTransactionLastNonceCall) DoAndReturn ¶
func (c *MockTransactionLastNonceCall) DoAndReturn(f func(context.Context, uint64) (uint32, error)) *MockTransactionLastNonceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionLastNonceCall) Return ¶
func (c *MockTransactionLastNonceCall) Return(arg0 uint32, arg1 error) *MockTransactionLastNonceCall
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) 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) DeleteApp ¶ added in v1.2.0
func (mr *MockTransactionMockRecorder) DeleteApp(ctx, appId any) *MockTransactionDeleteAppCall
DeleteApp indicates an expected call of DeleteApp.
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) GetAddressId ¶ added in v1.1.0
func (mr *MockTransactionMockRecorder) GetAddressId(ctx, hash any) *MockTransactionGetAddressIdCall
GetAddressId indicates an expected call of GetAddressId.
func (*MockTransactionMockRecorder) GetBridgeIdByAddressId ¶ added in v1.1.0
func (mr *MockTransactionMockRecorder) GetBridgeIdByAddressId(ctx, id any) *MockTransactionGetBridgeIdByAddressIdCall
GetBridgeIdByAddressId indicates an expected call of GetBridgeIdByAddressId.
func (*MockTransactionMockRecorder) GetProposerId ¶
func (mr *MockTransactionMockRecorder) GetProposerId(ctx, address any) *MockTransactionGetProposerIdCall
GetProposerId indicates an expected call of GetProposerId.
func (*MockTransactionMockRecorder) GetRollup ¶
func (mr *MockTransactionMockRecorder) GetRollup(ctx, rollupId any) *MockTransactionGetRollupCall
GetRollup indicates an expected call of GetRollup.
func (*MockTransactionMockRecorder) HandleError ¶
func (mr *MockTransactionMockRecorder) HandleError(ctx, err any) *MockTransactionHandleErrorCall
HandleError indicates an expected call of HandleError.
func (*MockTransactionMockRecorder) LastBlock ¶
func (mr *MockTransactionMockRecorder) LastBlock(ctx any) *MockTransactionLastBlockCall
LastBlock indicates an expected call of LastBlock.
func (*MockTransactionMockRecorder) LastNonce ¶
func (mr *MockTransactionMockRecorder) LastNonce(ctx, id any) *MockTransactionLastNonceCall
LastNonce indicates an expected call of LastNonce.
func (*MockTransactionMockRecorder) RefreshLeaderboard ¶ added in v1.2.0
func (mr *MockTransactionMockRecorder) RefreshLeaderboard(ctx any) *MockTransactionRefreshLeaderboardCall
RefreshLeaderboard indicates an expected call of RefreshLeaderboard.
func (*MockTransactionMockRecorder) RetentionBlockSignatures ¶
func (mr *MockTransactionMockRecorder) RetentionBlockSignatures(ctx, height any) *MockTransactionRetentionBlockSignaturesCall
RetentionBlockSignatures indicates an expected call of RetentionBlockSignatures.
func (*MockTransactionMockRecorder) Rollback ¶
func (mr *MockTransactionMockRecorder) Rollback(ctx any) *MockTransactionRollbackCall
Rollback indicates an expected call of Rollback.
func (*MockTransactionMockRecorder) RollbackActions ¶
func (mr *MockTransactionMockRecorder) RollbackActions(ctx, height any) *MockTransactionRollbackActionsCall
RollbackActions indicates an expected call of RollbackActions.
func (*MockTransactionMockRecorder) RollbackAddressActions ¶
func (mr *MockTransactionMockRecorder) RollbackAddressActions(ctx, height any) *MockTransactionRollbackAddressActionsCall
RollbackAddressActions indicates an expected call of RollbackAddressActions.
func (*MockTransactionMockRecorder) RollbackAddresses ¶
func (mr *MockTransactionMockRecorder) RollbackAddresses(ctx, height any) *MockTransactionRollbackAddressesCall
RollbackAddresses indicates an expected call of RollbackAddresses.
func (*MockTransactionMockRecorder) RollbackBalanceUpdates ¶
func (mr *MockTransactionMockRecorder) RollbackBalanceUpdates(ctx, height any) *MockTransactionRollbackBalanceUpdatesCall
RollbackBalanceUpdates indicates an expected call of RollbackBalanceUpdates.
func (*MockTransactionMockRecorder) RollbackBalances ¶
func (mr *MockTransactionMockRecorder) RollbackBalances(ctx, ids any) *MockTransactionRollbackBalancesCall
RollbackBalances indicates an expected call of RollbackBalances.
func (*MockTransactionMockRecorder) RollbackBlock ¶
func (mr *MockTransactionMockRecorder) RollbackBlock(ctx, height any) *MockTransactionRollbackBlockCall
RollbackBlock indicates an expected call of RollbackBlock.
func (*MockTransactionMockRecorder) RollbackBlockSignatures ¶
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) RollbackBridges ¶
func (mr *MockTransactionMockRecorder) RollbackBridges(ctx, height any) *MockTransactionRollbackBridgesCall
RollbackBridges indicates an expected call of RollbackBridges.
func (*MockTransactionMockRecorder) RollbackDeposits ¶ added in v1.1.0
func (mr *MockTransactionMockRecorder) RollbackDeposits(ctx, height any) *MockTransactionRollbackDepositsCall
RollbackDeposits indicates an expected call of RollbackDeposits.
func (*MockTransactionMockRecorder) RollbackFees ¶
func (mr *MockTransactionMockRecorder) RollbackFees(ctx, height any) *MockTransactionRollbackFeesCall
RollbackFees indicates an expected call of RollbackFees.
func (*MockTransactionMockRecorder) RollbackRollupActions ¶
func (mr *MockTransactionMockRecorder) RollbackRollupActions(ctx, height any) *MockTransactionRollbackRollupActionsCall
RollbackRollupActions indicates an expected call of RollbackRollupActions.
func (*MockTransactionMockRecorder) RollbackRollupAddresses ¶
func (mr *MockTransactionMockRecorder) RollbackRollupAddresses(ctx, height any) *MockTransactionRollbackRollupAddressesCall
RollbackRollupAddresses indicates an expected call of RollbackRollupAddresses.
func (*MockTransactionMockRecorder) RollbackRollups ¶
func (mr *MockTransactionMockRecorder) RollbackRollups(ctx, height any) *MockTransactionRollbackRollupsCall
RollbackRollups indicates an expected call of RollbackRollups.
func (*MockTransactionMockRecorder) RollbackTransfers ¶ added in v1.1.0
func (mr *MockTransactionMockRecorder) RollbackTransfers(ctx, height any) *MockTransactionRollbackTransfersCall
RollbackTransfers indicates an expected call of RollbackTransfers.
func (*MockTransactionMockRecorder) RollbackTxs ¶
func (mr *MockTransactionMockRecorder) RollbackTxs(ctx, height any) *MockTransactionRollbackTxsCall
RollbackTxs indicates an expected call of RollbackTxs.
func (*MockTransactionMockRecorder) RollbackValidators ¶
func (mr *MockTransactionMockRecorder) RollbackValidators(ctx, height any) *MockTransactionRollbackValidatorsCall
RollbackValidators indicates an expected call of RollbackValidators.
func (*MockTransactionMockRecorder) SaveActions ¶
func (mr *MockTransactionMockRecorder) SaveActions(ctx any, actions ...any) *MockTransactionSaveActionsCall
SaveActions indicates an expected call of SaveActions.
func (*MockTransactionMockRecorder) SaveAddressActions ¶
func (mr *MockTransactionMockRecorder) SaveAddressActions(ctx any, actions ...any) *MockTransactionSaveAddressActionsCall
SaveAddressActions indicates an expected call of SaveAddressActions.
func (*MockTransactionMockRecorder) SaveAddresses ¶
func (mr *MockTransactionMockRecorder) SaveAddresses(ctx any, addresses ...any) *MockTransactionSaveAddressesCall
SaveAddresses indicates an expected call of SaveAddresses.
func (*MockTransactionMockRecorder) SaveApp ¶ added in v1.2.0
func (mr *MockTransactionMockRecorder) SaveApp(ctx, app any) *MockTransactionSaveAppCall
SaveApp indicates an expected call of SaveApp.
func (*MockTransactionMockRecorder) SaveBalanceUpdates ¶
func (mr *MockTransactionMockRecorder) SaveBalanceUpdates(ctx any, updates ...any) *MockTransactionSaveBalanceUpdatesCall
SaveBalanceUpdates indicates an expected call of SaveBalanceUpdates.
func (*MockTransactionMockRecorder) SaveBalances ¶
func (mr *MockTransactionMockRecorder) SaveBalances(ctx any, balances ...any) *MockTransactionSaveBalancesCall
SaveBalances indicates an expected call of SaveBalances.
func (*MockTransactionMockRecorder) SaveBlockSignatures ¶
func (mr *MockTransactionMockRecorder) SaveBlockSignatures(ctx any, signs ...any) *MockTransactionSaveBlockSignaturesCall
SaveBlockSignatures indicates an expected call of SaveBlockSignatures.
func (*MockTransactionMockRecorder) SaveBridges ¶
func (mr *MockTransactionMockRecorder) SaveBridges(ctx any, bridges ...any) *MockTransactionSaveBridgesCall
SaveBridges indicates an expected call of SaveBridges.
func (*MockTransactionMockRecorder) SaveConstants ¶
func (mr *MockTransactionMockRecorder) SaveConstants(ctx any, constants ...any) *MockTransactionSaveConstantsCall
SaveConstants indicates an expected call of SaveConstants.
func (*MockTransactionMockRecorder) SaveDeposits ¶ added in v1.1.0
func (mr *MockTransactionMockRecorder) SaveDeposits(ctx any, deposits ...any) *MockTransactionSaveDepositsCall
SaveDeposits indicates an expected call of SaveDeposits.
func (*MockTransactionMockRecorder) SaveFees ¶
func (mr *MockTransactionMockRecorder) SaveFees(ctx any, fees ...any) *MockTransactionSaveFeesCall
SaveFees indicates an expected call of SaveFees.
func (*MockTransactionMockRecorder) SaveRollupActions ¶
func (mr *MockTransactionMockRecorder) SaveRollupActions(ctx any, actions ...any) *MockTransactionSaveRollupActionsCall
SaveRollupActions indicates an expected call of SaveRollupActions.
func (*MockTransactionMockRecorder) SaveRollupAddresses ¶
func (mr *MockTransactionMockRecorder) SaveRollupAddresses(ctx any, addresses ...any) *MockTransactionSaveRollupAddressesCall
SaveRollupAddresses indicates an expected call of SaveRollupAddresses.
func (*MockTransactionMockRecorder) SaveRollups ¶
func (mr *MockTransactionMockRecorder) SaveRollups(ctx any, rollups ...any) *MockTransactionSaveRollupsCall
SaveRollups indicates an expected call of SaveRollups.
func (*MockTransactionMockRecorder) SaveTransactions ¶
func (mr *MockTransactionMockRecorder) SaveTransactions(ctx any, txs ...any) *MockTransactionSaveTransactionsCall
SaveTransactions indicates an expected call of SaveTransactions.
func (*MockTransactionMockRecorder) SaveTransfers ¶ added in v1.1.0
func (mr *MockTransactionMockRecorder) SaveTransfers(ctx any, transfers ...any) *MockTransactionSaveTransfersCall
SaveTransfers indicates an expected call of SaveTransfers.
func (*MockTransactionMockRecorder) SaveValidators ¶
func (mr *MockTransactionMockRecorder) SaveValidators(ctx any, validators ...any) *MockTransactionSaveValidatorsCall
SaveValidators indicates an expected call of SaveValidators.
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) UpdateAddresses ¶
func (mr *MockTransactionMockRecorder) UpdateAddresses(ctx any, address ...any) *MockTransactionUpdateAddressesCall
UpdateAddresses indicates an expected call of UpdateAddresses.
func (*MockTransactionMockRecorder) UpdateApp ¶ added in v1.2.0
func (mr *MockTransactionMockRecorder) UpdateApp(ctx, app any) *MockTransactionUpdateAppCall
UpdateApp indicates an expected call of UpdateApp.
func (*MockTransactionMockRecorder) UpdateConstants ¶
func (mr *MockTransactionMockRecorder) UpdateConstants(ctx any, constants ...any) *MockTransactionUpdateConstantsCall
UpdateConstants indicates an expected call of UpdateConstants.
func (*MockTransactionMockRecorder) UpdateRollups ¶
func (mr *MockTransactionMockRecorder) UpdateRollups(ctx any, rollups ...any) *MockTransactionUpdateRollupsCall
UpdateRollups indicates an expected call of UpdateRollups.
func (*MockTransactionMockRecorder) Validators ¶
func (mr *MockTransactionMockRecorder) Validators(ctx any) *MockTransactionValidatorsCall
Validators indicates an expected call of Validators.
type MockTransactionRefreshLeaderboardCall ¶ added in v1.2.0
MockTransactionRefreshLeaderboardCall wrap *gomock.Call
func (*MockTransactionRefreshLeaderboardCall) Do ¶ added in v1.2.0
func (c *MockTransactionRefreshLeaderboardCall) Do(f func(context.Context) error) *MockTransactionRefreshLeaderboardCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRefreshLeaderboardCall) DoAndReturn ¶ added in v1.2.0
func (c *MockTransactionRefreshLeaderboardCall) DoAndReturn(f func(context.Context) error) *MockTransactionRefreshLeaderboardCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRefreshLeaderboardCall) Return ¶ added in v1.2.0
func (c *MockTransactionRefreshLeaderboardCall) Return(arg0 error) *MockTransactionRefreshLeaderboardCall
Return rewrite *gomock.Call.Return
type MockTransactionRetentionBlockSignaturesCall ¶
MockTransactionRetentionBlockSignaturesCall wrap *gomock.Call
func (*MockTransactionRetentionBlockSignaturesCall) Do ¶
func (c *MockTransactionRetentionBlockSignaturesCall) Do(f func(context.Context, types.Level) error) *MockTransactionRetentionBlockSignaturesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRetentionBlockSignaturesCall) DoAndReturn ¶
func (c *MockTransactionRetentionBlockSignaturesCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRetentionBlockSignaturesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRetentionBlockSignaturesCall) Return ¶
func (c *MockTransactionRetentionBlockSignaturesCall) Return(arg0 error) *MockTransactionRetentionBlockSignaturesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackActionsCall ¶
MockTransactionRollbackActionsCall wrap *gomock.Call
func (*MockTransactionRollbackActionsCall) Do ¶
func (c *MockTransactionRollbackActionsCall) Do(f func(context.Context, types.Level) ([]storage.Action, error)) *MockTransactionRollbackActionsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackActionsCall) DoAndReturn ¶
func (c *MockTransactionRollbackActionsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Action, error)) *MockTransactionRollbackActionsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackActionsCall) Return ¶
func (c *MockTransactionRollbackActionsCall) Return(actions []storage.Action, err error) *MockTransactionRollbackActionsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackAddressActionsCall ¶
MockTransactionRollbackAddressActionsCall wrap *gomock.Call
func (*MockTransactionRollbackAddressActionsCall) Do ¶
func (c *MockTransactionRollbackAddressActionsCall) Do(f func(context.Context, types.Level) ([]storage.AddressAction, error)) *MockTransactionRollbackAddressActionsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackAddressActionsCall) DoAndReturn ¶
func (c *MockTransactionRollbackAddressActionsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.AddressAction, error)) *MockTransactionRollbackAddressActionsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackAddressActionsCall) Return ¶
func (c *MockTransactionRollbackAddressActionsCall) Return(addrActions []storage.AddressAction, err error) *MockTransactionRollbackAddressActionsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackAddressesCall ¶
MockTransactionRollbackAddressesCall wrap *gomock.Call
func (*MockTransactionRollbackAddressesCall) Do ¶
func (c *MockTransactionRollbackAddressesCall) Do(f func(context.Context, types.Level) ([]storage.Address, error)) *MockTransactionRollbackAddressesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackAddressesCall) DoAndReturn ¶
func (c *MockTransactionRollbackAddressesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Address, error)) *MockTransactionRollbackAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackAddressesCall) Return ¶
func (c *MockTransactionRollbackAddressesCall) Return(address []storage.Address, err error) *MockTransactionRollbackAddressesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackBalanceUpdatesCall ¶
MockTransactionRollbackBalanceUpdatesCall wrap *gomock.Call
func (*MockTransactionRollbackBalanceUpdatesCall) Do ¶
func (c *MockTransactionRollbackBalanceUpdatesCall) Do(f func(context.Context, types.Level) ([]storage.BalanceUpdate, error)) *MockTransactionRollbackBalanceUpdatesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackBalanceUpdatesCall) DoAndReturn ¶
func (c *MockTransactionRollbackBalanceUpdatesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.BalanceUpdate, error)) *MockTransactionRollbackBalanceUpdatesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackBalanceUpdatesCall) Return ¶
func (c *MockTransactionRollbackBalanceUpdatesCall) Return(arg0 []storage.BalanceUpdate, arg1 error) *MockTransactionRollbackBalanceUpdatesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackBalancesCall ¶
MockTransactionRollbackBalancesCall wrap *gomock.Call
func (*MockTransactionRollbackBalancesCall) Do ¶
func (c *MockTransactionRollbackBalancesCall) Do(f func(context.Context, []uint64) error) *MockTransactionRollbackBalancesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackBalancesCall) DoAndReturn ¶
func (c *MockTransactionRollbackBalancesCall) DoAndReturn(f func(context.Context, []uint64) error) *MockTransactionRollbackBalancesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackBalancesCall) Return ¶
func (c *MockTransactionRollbackBalancesCall) Return(arg0 error) *MockTransactionRollbackBalancesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackBlockCall ¶
MockTransactionRollbackBlockCall wrap *gomock.Call
func (*MockTransactionRollbackBlockCall) Do ¶
func (c *MockTransactionRollbackBlockCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackBlockCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackBlockCall) DoAndReturn ¶
func (c *MockTransactionRollbackBlockCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackBlockCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackBlockCall) Return ¶
func (c *MockTransactionRollbackBlockCall) Return(arg0 error) *MockTransactionRollbackBlockCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackBlockSignaturesCall ¶
MockTransactionRollbackBlockSignaturesCall wrap *gomock.Call
func (*MockTransactionRollbackBlockSignaturesCall) Do ¶
func (c *MockTransactionRollbackBlockSignaturesCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackBlockSignaturesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackBlockSignaturesCall) DoAndReturn ¶
func (c *MockTransactionRollbackBlockSignaturesCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackBlockSignaturesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackBlockSignaturesCall) Return ¶
func (c *MockTransactionRollbackBlockSignaturesCall) Return(err error) *MockTransactionRollbackBlockSignaturesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackBlockStatsCall ¶
MockTransactionRollbackBlockStatsCall wrap *gomock.Call
func (*MockTransactionRollbackBlockStatsCall) Do ¶
func (c *MockTransactionRollbackBlockStatsCall) Do(f func(context.Context, types.Level) (storage.BlockStats, error)) *MockTransactionRollbackBlockStatsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackBlockStatsCall) DoAndReturn ¶
func (c *MockTransactionRollbackBlockStatsCall) DoAndReturn(f func(context.Context, types.Level) (storage.BlockStats, error)) *MockTransactionRollbackBlockStatsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackBlockStatsCall) Return ¶
func (c *MockTransactionRollbackBlockStatsCall) Return(stats storage.BlockStats, err error) *MockTransactionRollbackBlockStatsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackBridgesCall ¶
MockTransactionRollbackBridgesCall wrap *gomock.Call
func (*MockTransactionRollbackBridgesCall) Do ¶
func (c *MockTransactionRollbackBridgesCall) Do(f func(context.Context, types.Level) (int, error)) *MockTransactionRollbackBridgesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackBridgesCall) DoAndReturn ¶
func (c *MockTransactionRollbackBridgesCall) DoAndReturn(f func(context.Context, types.Level) (int, error)) *MockTransactionRollbackBridgesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackBridgesCall) Return ¶
func (c *MockTransactionRollbackBridgesCall) Return(arg0 int, arg1 error) *MockTransactionRollbackBridgesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackCall ¶
MockTransactionRollbackCall wrap *gomock.Call
func (*MockTransactionRollbackCall) Do ¶
func (c *MockTransactionRollbackCall) Do(f func(context.Context) error) *MockTransactionRollbackCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackCall) DoAndReturn ¶
func (c *MockTransactionRollbackCall) DoAndReturn(f func(context.Context) error) *MockTransactionRollbackCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackCall) Return ¶
func (c *MockTransactionRollbackCall) Return(arg0 error) *MockTransactionRollbackCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackDepositsCall ¶ added in v1.1.0
MockTransactionRollbackDepositsCall wrap *gomock.Call
func (*MockTransactionRollbackDepositsCall) Do ¶ added in v1.1.0
func (c *MockTransactionRollbackDepositsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackDepositsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackDepositsCall) DoAndReturn ¶ added in v1.1.0
func (c *MockTransactionRollbackDepositsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackDepositsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackDepositsCall) Return ¶ added in v1.1.0
func (c *MockTransactionRollbackDepositsCall) Return(err error) *MockTransactionRollbackDepositsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackFeesCall ¶
MockTransactionRollbackFeesCall wrap *gomock.Call
func (*MockTransactionRollbackFeesCall) Do ¶
func (c *MockTransactionRollbackFeesCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackFeesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackFeesCall) DoAndReturn ¶
func (c *MockTransactionRollbackFeesCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackFeesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackFeesCall) Return ¶
func (c *MockTransactionRollbackFeesCall) Return(err error) *MockTransactionRollbackFeesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackRollupActionsCall ¶
MockTransactionRollbackRollupActionsCall wrap *gomock.Call
func (*MockTransactionRollbackRollupActionsCall) Do ¶
func (c *MockTransactionRollbackRollupActionsCall) Do(f func(context.Context, types.Level) ([]storage.RollupAction, error)) *MockTransactionRollbackRollupActionsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackRollupActionsCall) DoAndReturn ¶
func (c *MockTransactionRollbackRollupActionsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.RollupAction, error)) *MockTransactionRollbackRollupActionsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackRollupActionsCall) Return ¶
func (c *MockTransactionRollbackRollupActionsCall) Return(rollupActions []storage.RollupAction, err error) *MockTransactionRollbackRollupActionsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackRollupAddressesCall ¶
MockTransactionRollbackRollupAddressesCall wrap *gomock.Call
func (*MockTransactionRollbackRollupAddressesCall) Do ¶
func (c *MockTransactionRollbackRollupAddressesCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackRollupAddressesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackRollupAddressesCall) DoAndReturn ¶
func (c *MockTransactionRollbackRollupAddressesCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackRollupAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackRollupAddressesCall) Return ¶
func (c *MockTransactionRollbackRollupAddressesCall) Return(err error) *MockTransactionRollbackRollupAddressesCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackRollupsCall ¶
MockTransactionRollbackRollupsCall wrap *gomock.Call
func (*MockTransactionRollbackRollupsCall) Do ¶
func (c *MockTransactionRollbackRollupsCall) Do(f func(context.Context, types.Level) ([]storage.Rollup, error)) *MockTransactionRollbackRollupsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackRollupsCall) DoAndReturn ¶
func (c *MockTransactionRollbackRollupsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Rollup, error)) *MockTransactionRollbackRollupsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackRollupsCall) Return ¶
func (c *MockTransactionRollbackRollupsCall) Return(arg0 []storage.Rollup, arg1 error) *MockTransactionRollbackRollupsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackTransfersCall ¶ added in v1.1.0
MockTransactionRollbackTransfersCall wrap *gomock.Call
func (*MockTransactionRollbackTransfersCall) Do ¶ added in v1.1.0
func (c *MockTransactionRollbackTransfersCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackTransfersCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackTransfersCall) DoAndReturn ¶ added in v1.1.0
func (c *MockTransactionRollbackTransfersCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackTransfersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackTransfersCall) Return ¶ added in v1.1.0
func (c *MockTransactionRollbackTransfersCall) Return(err error) *MockTransactionRollbackTransfersCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackTxsCall ¶
MockTransactionRollbackTxsCall wrap *gomock.Call
func (*MockTransactionRollbackTxsCall) Do ¶
func (c *MockTransactionRollbackTxsCall) Do(f func(context.Context, types.Level) ([]storage.Tx, error)) *MockTransactionRollbackTxsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackTxsCall) DoAndReturn ¶
func (c *MockTransactionRollbackTxsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Tx, error)) *MockTransactionRollbackTxsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackTxsCall) Return ¶
func (c *MockTransactionRollbackTxsCall) Return(txs []storage.Tx, err error) *MockTransactionRollbackTxsCall
Return rewrite *gomock.Call.Return
type MockTransactionRollbackValidatorsCall ¶
MockTransactionRollbackValidatorsCall wrap *gomock.Call
func (*MockTransactionRollbackValidatorsCall) Do ¶
func (c *MockTransactionRollbackValidatorsCall) Do(f func(context.Context, types.Level) error) *MockTransactionRollbackValidatorsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionRollbackValidatorsCall) DoAndReturn ¶
func (c *MockTransactionRollbackValidatorsCall) DoAndReturn(f func(context.Context, types.Level) error) *MockTransactionRollbackValidatorsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionRollbackValidatorsCall) Return ¶
func (c *MockTransactionRollbackValidatorsCall) Return(err error) *MockTransactionRollbackValidatorsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveActionsCall ¶
MockTransactionSaveActionsCall wrap *gomock.Call
func (*MockTransactionSaveActionsCall) Do ¶
func (c *MockTransactionSaveActionsCall) Do(f func(context.Context, ...*storage.Action) error) *MockTransactionSaveActionsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveActionsCall) DoAndReturn ¶
func (c *MockTransactionSaveActionsCall) DoAndReturn(f func(context.Context, ...*storage.Action) error) *MockTransactionSaveActionsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveActionsCall) Return ¶
func (c *MockTransactionSaveActionsCall) Return(arg0 error) *MockTransactionSaveActionsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveAddressActionsCall ¶
MockTransactionSaveAddressActionsCall wrap *gomock.Call
func (*MockTransactionSaveAddressActionsCall) Do ¶
func (c *MockTransactionSaveAddressActionsCall) Do(f func(context.Context, ...*storage.AddressAction) error) *MockTransactionSaveAddressActionsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveAddressActionsCall) DoAndReturn ¶
func (c *MockTransactionSaveAddressActionsCall) DoAndReturn(f func(context.Context, ...*storage.AddressAction) error) *MockTransactionSaveAddressActionsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveAddressActionsCall) Return ¶
func (c *MockTransactionSaveAddressActionsCall) Return(arg0 error) *MockTransactionSaveAddressActionsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveAddressesCall ¶
MockTransactionSaveAddressesCall wrap *gomock.Call
func (*MockTransactionSaveAddressesCall) Do ¶
func (c *MockTransactionSaveAddressesCall) Do(f func(context.Context, ...*storage.Address) (int64, error)) *MockTransactionSaveAddressesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveAddressesCall) DoAndReturn ¶
func (c *MockTransactionSaveAddressesCall) DoAndReturn(f func(context.Context, ...*storage.Address) (int64, error)) *MockTransactionSaveAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveAddressesCall) Return ¶
func (c *MockTransactionSaveAddressesCall) Return(arg0 int64, arg1 error) *MockTransactionSaveAddressesCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveAppCall ¶ added in v1.2.0
MockTransactionSaveAppCall wrap *gomock.Call
func (*MockTransactionSaveAppCall) Do ¶ added in v1.2.0
func (c *MockTransactionSaveAppCall) Do(f func(context.Context, *storage.App) error) *MockTransactionSaveAppCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveAppCall) DoAndReturn ¶ added in v1.2.0
func (c *MockTransactionSaveAppCall) DoAndReturn(f func(context.Context, *storage.App) error) *MockTransactionSaveAppCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveAppCall) Return ¶ added in v1.2.0
func (c *MockTransactionSaveAppCall) Return(arg0 error) *MockTransactionSaveAppCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveBalanceUpdatesCall ¶
MockTransactionSaveBalanceUpdatesCall wrap *gomock.Call
func (*MockTransactionSaveBalanceUpdatesCall) Do ¶
func (c *MockTransactionSaveBalanceUpdatesCall) Do(f func(context.Context, ...storage.BalanceUpdate) error) *MockTransactionSaveBalanceUpdatesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveBalanceUpdatesCall) DoAndReturn ¶
func (c *MockTransactionSaveBalanceUpdatesCall) DoAndReturn(f func(context.Context, ...storage.BalanceUpdate) error) *MockTransactionSaveBalanceUpdatesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveBalanceUpdatesCall) Return ¶
func (c *MockTransactionSaveBalanceUpdatesCall) Return(arg0 error) *MockTransactionSaveBalanceUpdatesCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveBalancesCall ¶
MockTransactionSaveBalancesCall wrap *gomock.Call
func (*MockTransactionSaveBalancesCall) Do ¶
func (c *MockTransactionSaveBalancesCall) Do(f func(context.Context, ...storage.Balance) error) *MockTransactionSaveBalancesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveBalancesCall) DoAndReturn ¶
func (c *MockTransactionSaveBalancesCall) DoAndReturn(f func(context.Context, ...storage.Balance) error) *MockTransactionSaveBalancesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveBalancesCall) Return ¶
func (c *MockTransactionSaveBalancesCall) Return(arg0 error) *MockTransactionSaveBalancesCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveBlockSignaturesCall ¶
MockTransactionSaveBlockSignaturesCall wrap *gomock.Call
func (*MockTransactionSaveBlockSignaturesCall) Do ¶
func (c *MockTransactionSaveBlockSignaturesCall) Do(f func(context.Context, ...storage.BlockSignature) error) *MockTransactionSaveBlockSignaturesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveBlockSignaturesCall) DoAndReturn ¶
func (c *MockTransactionSaveBlockSignaturesCall) DoAndReturn(f func(context.Context, ...storage.BlockSignature) error) *MockTransactionSaveBlockSignaturesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveBlockSignaturesCall) Return ¶
func (c *MockTransactionSaveBlockSignaturesCall) Return(arg0 error) *MockTransactionSaveBlockSignaturesCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveBridgesCall ¶
MockTransactionSaveBridgesCall wrap *gomock.Call
func (*MockTransactionSaveBridgesCall) Do ¶
func (c *MockTransactionSaveBridgesCall) Do(f func(context.Context, ...*storage.Bridge) (int64, error)) *MockTransactionSaveBridgesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveBridgesCall) DoAndReturn ¶
func (c *MockTransactionSaveBridgesCall) DoAndReturn(f func(context.Context, ...*storage.Bridge) (int64, error)) *MockTransactionSaveBridgesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveBridgesCall) Return ¶
func (c *MockTransactionSaveBridgesCall) Return(arg0 int64, arg1 error) *MockTransactionSaveBridgesCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveConstantsCall ¶
MockTransactionSaveConstantsCall wrap *gomock.Call
func (*MockTransactionSaveConstantsCall) Do ¶
func (c *MockTransactionSaveConstantsCall) Do(f func(context.Context, ...storage.Constant) error) *MockTransactionSaveConstantsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveConstantsCall) DoAndReturn ¶
func (c *MockTransactionSaveConstantsCall) DoAndReturn(f func(context.Context, ...storage.Constant) error) *MockTransactionSaveConstantsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveConstantsCall) Return ¶
func (c *MockTransactionSaveConstantsCall) Return(arg0 error) *MockTransactionSaveConstantsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveDepositsCall ¶ added in v1.1.0
MockTransactionSaveDepositsCall wrap *gomock.Call
func (*MockTransactionSaveDepositsCall) Do ¶ added in v1.1.0
func (c *MockTransactionSaveDepositsCall) Do(f func(context.Context, ...*storage.Deposit) error) *MockTransactionSaveDepositsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveDepositsCall) DoAndReturn ¶ added in v1.1.0
func (c *MockTransactionSaveDepositsCall) DoAndReturn(f func(context.Context, ...*storage.Deposit) error) *MockTransactionSaveDepositsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveDepositsCall) Return ¶ added in v1.1.0
func (c *MockTransactionSaveDepositsCall) Return(arg0 error) *MockTransactionSaveDepositsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveFeesCall ¶
MockTransactionSaveFeesCall wrap *gomock.Call
func (*MockTransactionSaveFeesCall) Do ¶
func (c *MockTransactionSaveFeesCall) Do(f func(context.Context, ...*storage.Fee) error) *MockTransactionSaveFeesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveFeesCall) DoAndReturn ¶
func (c *MockTransactionSaveFeesCall) DoAndReturn(f func(context.Context, ...*storage.Fee) error) *MockTransactionSaveFeesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveFeesCall) Return ¶
func (c *MockTransactionSaveFeesCall) Return(arg0 error) *MockTransactionSaveFeesCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveRollupActionsCall ¶
MockTransactionSaveRollupActionsCall wrap *gomock.Call
func (*MockTransactionSaveRollupActionsCall) Do ¶
func (c *MockTransactionSaveRollupActionsCall) Do(f func(context.Context, ...*storage.RollupAction) error) *MockTransactionSaveRollupActionsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveRollupActionsCall) DoAndReturn ¶
func (c *MockTransactionSaveRollupActionsCall) DoAndReturn(f func(context.Context, ...*storage.RollupAction) error) *MockTransactionSaveRollupActionsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveRollupActionsCall) Return ¶
func (c *MockTransactionSaveRollupActionsCall) Return(arg0 error) *MockTransactionSaveRollupActionsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveRollupAddressesCall ¶
MockTransactionSaveRollupAddressesCall wrap *gomock.Call
func (*MockTransactionSaveRollupAddressesCall) Do ¶
func (c *MockTransactionSaveRollupAddressesCall) Do(f func(context.Context, ...*storage.RollupAddress) error) *MockTransactionSaveRollupAddressesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveRollupAddressesCall) DoAndReturn ¶
func (c *MockTransactionSaveRollupAddressesCall) DoAndReturn(f func(context.Context, ...*storage.RollupAddress) error) *MockTransactionSaveRollupAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveRollupAddressesCall) Return ¶
func (c *MockTransactionSaveRollupAddressesCall) Return(arg0 error) *MockTransactionSaveRollupAddressesCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveRollupsCall ¶
MockTransactionSaveRollupsCall wrap *gomock.Call
func (*MockTransactionSaveRollupsCall) Do ¶
func (c *MockTransactionSaveRollupsCall) Do(f func(context.Context, ...*storage.Rollup) (int64, error)) *MockTransactionSaveRollupsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveRollupsCall) DoAndReturn ¶
func (c *MockTransactionSaveRollupsCall) DoAndReturn(f func(context.Context, ...*storage.Rollup) (int64, error)) *MockTransactionSaveRollupsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveRollupsCall) Return ¶
func (c *MockTransactionSaveRollupsCall) Return(arg0 int64, arg1 error) *MockTransactionSaveRollupsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveTransactionsCall ¶
MockTransactionSaveTransactionsCall wrap *gomock.Call
func (*MockTransactionSaveTransactionsCall) Do ¶
func (c *MockTransactionSaveTransactionsCall) Do(f func(context.Context, ...*storage.Tx) error) *MockTransactionSaveTransactionsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveTransactionsCall) DoAndReturn ¶
func (c *MockTransactionSaveTransactionsCall) DoAndReturn(f func(context.Context, ...*storage.Tx) error) *MockTransactionSaveTransactionsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveTransactionsCall) Return ¶
func (c *MockTransactionSaveTransactionsCall) Return(arg0 error) *MockTransactionSaveTransactionsCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveTransfersCall ¶ added in v1.1.0
MockTransactionSaveTransfersCall wrap *gomock.Call
func (*MockTransactionSaveTransfersCall) Do ¶ added in v1.1.0
func (c *MockTransactionSaveTransfersCall) Do(f func(context.Context, ...*storage.Transfer) error) *MockTransactionSaveTransfersCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveTransfersCall) DoAndReturn ¶ added in v1.1.0
func (c *MockTransactionSaveTransfersCall) DoAndReturn(f func(context.Context, ...*storage.Transfer) error) *MockTransactionSaveTransfersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveTransfersCall) Return ¶ added in v1.1.0
func (c *MockTransactionSaveTransfersCall) Return(arg0 error) *MockTransactionSaveTransfersCall
Return rewrite *gomock.Call.Return
type MockTransactionSaveValidatorsCall ¶
MockTransactionSaveValidatorsCall wrap *gomock.Call
func (*MockTransactionSaveValidatorsCall) Do ¶
func (c *MockTransactionSaveValidatorsCall) Do(f func(context.Context, ...*storage.Validator) error) *MockTransactionSaveValidatorsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionSaveValidatorsCall) DoAndReturn ¶
func (c *MockTransactionSaveValidatorsCall) DoAndReturn(f func(context.Context, ...*storage.Validator) error) *MockTransactionSaveValidatorsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionSaveValidatorsCall) Return ¶
func (c *MockTransactionSaveValidatorsCall) Return(arg0 error) *MockTransactionSaveValidatorsCall
Return rewrite *gomock.Call.Return
type MockTransactionStateCall ¶
MockTransactionStateCall wrap *gomock.Call
func (*MockTransactionStateCall) Do ¶
func (c *MockTransactionStateCall) Do(f func(context.Context, string) (storage.State, error)) *MockTransactionStateCall
Do rewrite *gomock.Call.Do
func (*MockTransactionStateCall) DoAndReturn ¶
func (c *MockTransactionStateCall) DoAndReturn(f func(context.Context, string) (storage.State, error)) *MockTransactionStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionStateCall) Return ¶
func (c *MockTransactionStateCall) Return(state storage.State, err error) *MockTransactionStateCall
Return rewrite *gomock.Call.Return
type MockTransactionTxCall ¶
MockTransactionTxCall wrap *gomock.Call
func (*MockTransactionTxCall) Do ¶
func (c *MockTransactionTxCall) Do(f func() *bun.Tx) *MockTransactionTxCall
Do rewrite *gomock.Call.Do
func (*MockTransactionTxCall) DoAndReturn ¶
func (c *MockTransactionTxCall) DoAndReturn(f func() *bun.Tx) *MockTransactionTxCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionTxCall) Return ¶
func (c *MockTransactionTxCall) Return(arg0 *bun.Tx) *MockTransactionTxCall
Return rewrite *gomock.Call.Return
type MockTransactionUpdateAddressesCall ¶
MockTransactionUpdateAddressesCall wrap *gomock.Call
func (*MockTransactionUpdateAddressesCall) Do ¶
func (c *MockTransactionUpdateAddressesCall) Do(f func(context.Context, ...*storage.Address) error) *MockTransactionUpdateAddressesCall
Do rewrite *gomock.Call.Do
func (*MockTransactionUpdateAddressesCall) DoAndReturn ¶
func (c *MockTransactionUpdateAddressesCall) DoAndReturn(f func(context.Context, ...*storage.Address) error) *MockTransactionUpdateAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionUpdateAddressesCall) Return ¶
func (c *MockTransactionUpdateAddressesCall) Return(arg0 error) *MockTransactionUpdateAddressesCall
Return rewrite *gomock.Call.Return
type MockTransactionUpdateAppCall ¶ added in v1.2.0
MockTransactionUpdateAppCall wrap *gomock.Call
func (*MockTransactionUpdateAppCall) Do ¶ added in v1.2.0
func (c *MockTransactionUpdateAppCall) Do(f func(context.Context, *storage.App) error) *MockTransactionUpdateAppCall
Do rewrite *gomock.Call.Do
func (*MockTransactionUpdateAppCall) DoAndReturn ¶ added in v1.2.0
func (c *MockTransactionUpdateAppCall) DoAndReturn(f func(context.Context, *storage.App) error) *MockTransactionUpdateAppCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionUpdateAppCall) Return ¶ added in v1.2.0
func (c *MockTransactionUpdateAppCall) Return(arg0 error) *MockTransactionUpdateAppCall
Return rewrite *gomock.Call.Return
type MockTransactionUpdateCall ¶
MockTransactionUpdateCall wrap *gomock.Call
func (*MockTransactionUpdateCall) Do ¶
func (c *MockTransactionUpdateCall) Do(f func(context.Context, any) error) *MockTransactionUpdateCall
Do rewrite *gomock.Call.Do
func (*MockTransactionUpdateCall) DoAndReturn ¶
func (c *MockTransactionUpdateCall) DoAndReturn(f func(context.Context, any) error) *MockTransactionUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionUpdateCall) Return ¶
func (c *MockTransactionUpdateCall) Return(arg0 error) *MockTransactionUpdateCall
Return rewrite *gomock.Call.Return
type MockTransactionUpdateConstantsCall ¶
MockTransactionUpdateConstantsCall wrap *gomock.Call
func (*MockTransactionUpdateConstantsCall) Do ¶
func (c *MockTransactionUpdateConstantsCall) Do(f func(context.Context, ...*storage.Constant) error) *MockTransactionUpdateConstantsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionUpdateConstantsCall) DoAndReturn ¶
func (c *MockTransactionUpdateConstantsCall) DoAndReturn(f func(context.Context, ...*storage.Constant) error) *MockTransactionUpdateConstantsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionUpdateConstantsCall) Return ¶
func (c *MockTransactionUpdateConstantsCall) Return(arg0 error) *MockTransactionUpdateConstantsCall
Return rewrite *gomock.Call.Return
type MockTransactionUpdateRollupsCall ¶
MockTransactionUpdateRollupsCall wrap *gomock.Call
func (*MockTransactionUpdateRollupsCall) Do ¶
func (c *MockTransactionUpdateRollupsCall) Do(f func(context.Context, ...*storage.Rollup) error) *MockTransactionUpdateRollupsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionUpdateRollupsCall) DoAndReturn ¶
func (c *MockTransactionUpdateRollupsCall) DoAndReturn(f func(context.Context, ...*storage.Rollup) error) *MockTransactionUpdateRollupsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionUpdateRollupsCall) Return ¶
func (c *MockTransactionUpdateRollupsCall) Return(arg0 error) *MockTransactionUpdateRollupsCall
Return rewrite *gomock.Call.Return
type MockTransactionValidatorsCall ¶
MockTransactionValidatorsCall wrap *gomock.Call
func (*MockTransactionValidatorsCall) Do ¶
func (c *MockTransactionValidatorsCall) Do(f func(context.Context) ([]storage.Validator, error)) *MockTransactionValidatorsCall
Do rewrite *gomock.Call.Do
func (*MockTransactionValidatorsCall) DoAndReturn ¶
func (c *MockTransactionValidatorsCall) DoAndReturn(f func(context.Context) ([]storage.Validator, error)) *MockTransactionValidatorsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTransactionValidatorsCall) Return ¶
func (c *MockTransactionValidatorsCall) Return(arg0 []storage.Validator, arg1 error) *MockTransactionValidatorsCall
Return rewrite *gomock.Call.Return