mock

package
v1.10.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExport added in v1.5.0

type MockExport struct {
	// contains filtered or unexported fields
}

MockExport is a mock of Export interface.

func NewMockExport added in v1.5.0

func NewMockExport(ctrl *gomock.Controller) *MockExport

NewMockExport creates a new mock instance.

func (*MockExport) Close added in v1.5.0

func (m *MockExport) Close() error

Close mocks base method.

func (*MockExport) EXPECT added in v1.5.0

func (m *MockExport) EXPECT() *MockExportMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockExport) ToCsv added in v1.5.0

func (m *MockExport) ToCsv(ctx context.Context, writer io.Writer, query string) error

ToCsv mocks base method.

type MockExportCloseCall added in v1.9.9

type MockExportCloseCall struct {
	*gomock.Call
}

MockExportCloseCall wrap *gomock.Call

func (*MockExportCloseCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockExportCloseCall) DoAndReturn added in v1.9.9

func (c *MockExportCloseCall) DoAndReturn(f func() error) *MockExportCloseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExportCloseCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockExportMockRecorder added in v1.5.0

type MockExportMockRecorder struct {
	// contains filtered or unexported fields
}

MockExportMockRecorder is the mock recorder for MockExport.

func (*MockExportMockRecorder) Close added in v1.5.0

Close indicates an expected call of Close.

func (*MockExportMockRecorder) ToCsv added in v1.5.0

func (mr *MockExportMockRecorder) ToCsv(ctx, writer, query any) *MockExportToCsvCall

ToCsv indicates an expected call of ToCsv.

type MockExportToCsvCall added in v1.9.9

type MockExportToCsvCall struct {
	*gomock.Call
}

MockExportToCsvCall wrap *gomock.Call

func (*MockExportToCsvCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockExportToCsvCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExportToCsvCall) Return added in v1.9.9

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) ByHash

func (m *MockIAddress) ByHash(ctx context.Context, hash []byte) (storage.Address, error)

ByHash mocks base method.

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIAddress) GetByID

func (m *MockIAddress) GetByID(ctx context.Context, id uint64) (*storage.Address, error)

GetByID mocks base method.

func (*MockIAddress) IdByAddress added in v1.10.1

func (m *MockIAddress) IdByAddress(ctx context.Context, address string, ids ...uint64) (uint64, error)

IdByAddress mocks base method.

func (*MockIAddress) IdByHash added in v1.7.4

func (m *MockIAddress) IdByHash(ctx context.Context, hash ...[]byte) ([]uint64, error)

IdByHash mocks base method.

func (*MockIAddress) IsNoRows

func (m *MockIAddress) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIAddress) LastID

func (m *MockIAddress) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIAddress) List

func (m *MockIAddress) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Address, error)

List mocks base method.

func (*MockIAddress) ListWithBalance

func (m *MockIAddress) ListWithBalance(ctx context.Context, filters storage.AddressListFilter) ([]storage.Address, error)

ListWithBalance mocks base method.

func (*MockIAddress) Save

func (m_2 *MockIAddress) Save(ctx context.Context, m *storage.Address) error

Save mocks base method.

func (*MockIAddress) Series added in v1.7.4

func (m *MockIAddress) Series(ctx context.Context, addressId uint64, timeframe storage.Timeframe, column string, req storage.SeriesRequest) ([]storage.HistogramItem, error)

Series mocks base method.

func (*MockIAddress) Update

func (m_2 *MockIAddress) Update(ctx context.Context, m *storage.Address) error

Update mocks base method.

type MockIAddressByHashCall added in v1.9.9

type MockIAddressByHashCall struct {
	*gomock.Call
}

MockIAddressByHashCall wrap *gomock.Call

func (*MockIAddressByHashCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIAddressByHashCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIAddressByHashCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIAddressCursorListCall added in v1.9.9

type MockIAddressCursorListCall struct {
	*gomock.Call
}

MockIAddressCursorListCall wrap *gomock.Call

func (*MockIAddressCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIAddressCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIAddressCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIAddressGetByIDCall added in v1.9.9

type MockIAddressGetByIDCall struct {
	*gomock.Call
}

MockIAddressGetByIDCall wrap *gomock.Call

func (*MockIAddressGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIAddressGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIAddressGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIAddressIdByAddressCall added in v1.10.1

type MockIAddressIdByAddressCall struct {
	*gomock.Call
}

MockIAddressIdByAddressCall wrap *gomock.Call

func (*MockIAddressIdByAddressCall) Do added in v1.10.1

Do rewrite *gomock.Call.Do

func (*MockIAddressIdByAddressCall) DoAndReturn added in v1.10.1

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIAddressIdByAddressCall) Return added in v1.10.1

Return rewrite *gomock.Call.Return

type MockIAddressIdByHashCall added in v1.9.9

type MockIAddressIdByHashCall struct {
	*gomock.Call
}

MockIAddressIdByHashCall wrap *gomock.Call

func (*MockIAddressIdByHashCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIAddressIdByHashCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIAddressIdByHashCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIAddressIsNoRowsCall added in v1.9.9

type MockIAddressIsNoRowsCall struct {
	*gomock.Call
}

MockIAddressIsNoRowsCall wrap *gomock.Call

func (*MockIAddressIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIAddressIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIAddressIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIAddressLastIDCall added in v1.9.9

type MockIAddressLastIDCall struct {
	*gomock.Call
}

MockIAddressLastIDCall wrap *gomock.Call

func (*MockIAddressLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIAddressLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIAddressLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIAddressListCall added in v1.9.9

type MockIAddressListCall struct {
	*gomock.Call
}

MockIAddressListCall wrap *gomock.Call

func (*MockIAddressListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIAddressListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIAddressListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIAddressListWithBalanceCall added in v1.9.9

type MockIAddressListWithBalanceCall struct {
	*gomock.Call
}

MockIAddressListWithBalanceCall wrap *gomock.Call

func (*MockIAddressListWithBalanceCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIAddressListWithBalanceCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIAddressListWithBalanceCall) Return added in v1.9.9

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

GetByID indicates an expected call of GetByID.

func (*MockIAddressMockRecorder) IdByAddress added in v1.10.1

func (mr *MockIAddressMockRecorder) IdByAddress(ctx, address any, ids ...any) *MockIAddressIdByAddressCall

IdByAddress indicates an expected call of IdByAddress.

func (*MockIAddressMockRecorder) IdByHash added in v1.7.4

func (mr *MockIAddressMockRecorder) IdByHash(ctx any, hash ...any) *MockIAddressIdByHashCall

IdByHash indicates an expected call of IdByHash.

func (*MockIAddressMockRecorder) IsNoRows

IsNoRows indicates an expected call of IsNoRows.

func (*MockIAddressMockRecorder) LastID

LastID indicates an expected call of LastID.

func (*MockIAddressMockRecorder) List

func (mr *MockIAddressMockRecorder) List(ctx, limit, offset, order any) *MockIAddressListCall

List indicates an expected call of List.

func (*MockIAddressMockRecorder) ListWithBalance

func (mr *MockIAddressMockRecorder) ListWithBalance(ctx, filters any) *MockIAddressListWithBalanceCall

ListWithBalance indicates an expected call of ListWithBalance.

func (*MockIAddressMockRecorder) Save

Save indicates an expected call of Save.

func (*MockIAddressMockRecorder) Series added in v1.7.4

func (mr *MockIAddressMockRecorder) Series(ctx, addressId, timeframe, column, req any) *MockIAddressSeriesCall

Series indicates an expected call of Series.

func (*MockIAddressMockRecorder) Update

Update indicates an expected call of Update.

type MockIAddressSaveCall added in v1.9.9

type MockIAddressSaveCall struct {
	*gomock.Call
}

MockIAddressSaveCall wrap *gomock.Call

func (*MockIAddressSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIAddressSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIAddressSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIAddressSeriesCall added in v1.9.9

type MockIAddressSeriesCall struct {
	*gomock.Call
}

MockIAddressSeriesCall wrap *gomock.Call

func (*MockIAddressSeriesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIAddressSeriesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIAddressSeriesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIAddressUpdateCall added in v1.9.9

type MockIAddressUpdateCall struct {
	*gomock.Call
}

MockIAddressUpdateCall wrap *gomock.Call

func (*MockIAddressUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIAddressUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIAddressUpdateCall) Return added in v1.9.9

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIBalance) GetByID

func (m *MockIBalance) GetByID(ctx context.Context, id uint64) (*storage.Balance, error)

GetByID mocks base method.

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.

func (*MockIBalance) Save

func (m_2 *MockIBalance) Save(ctx context.Context, m *storage.Balance) error

Save mocks base method.

func (*MockIBalance) Update

func (m_2 *MockIBalance) Update(ctx context.Context, m *storage.Balance) error

Update mocks base method.

type MockIBalanceCursorListCall added in v1.9.9

type MockIBalanceCursorListCall struct {
	*gomock.Call
}

MockIBalanceCursorListCall wrap *gomock.Call

func (*MockIBalanceCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBalanceCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBalanceCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBalanceGetByIDCall added in v1.9.9

type MockIBalanceGetByIDCall struct {
	*gomock.Call
}

MockIBalanceGetByIDCall wrap *gomock.Call

func (*MockIBalanceGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBalanceGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBalanceGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBalanceIsNoRowsCall added in v1.9.9

type MockIBalanceIsNoRowsCall struct {
	*gomock.Call
}

MockIBalanceIsNoRowsCall wrap *gomock.Call

func (*MockIBalanceIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBalanceIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBalanceIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBalanceLastIDCall added in v1.9.9

type MockIBalanceLastIDCall struct {
	*gomock.Call
}

MockIBalanceLastIDCall wrap *gomock.Call

func (*MockIBalanceLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBalanceLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBalanceLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBalanceListCall added in v1.9.9

type MockIBalanceListCall struct {
	*gomock.Call
}

MockIBalanceListCall wrap *gomock.Call

func (*MockIBalanceListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBalanceListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBalanceListCall) Return added in v1.9.9

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

GetByID indicates an expected call of GetByID.

func (*MockIBalanceMockRecorder) IsNoRows

IsNoRows indicates an expected call of IsNoRows.

func (*MockIBalanceMockRecorder) LastID

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

Save indicates an expected call of Save.

func (*MockIBalanceMockRecorder) Update

Update indicates an expected call of Update.

type MockIBalanceSaveCall added in v1.9.9

type MockIBalanceSaveCall struct {
	*gomock.Call
}

MockIBalanceSaveCall wrap *gomock.Call

func (*MockIBalanceSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBalanceSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBalanceSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBalanceUpdateCall added in v1.9.9

type MockIBalanceUpdateCall struct {
	*gomock.Call
}

MockIBalanceUpdateCall wrap *gomock.Call

func (*MockIBalanceUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBalanceUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBalanceUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLog added in v1.2.0

type MockIBlobLog struct {
	// contains filtered or unexported fields
}

MockIBlobLog is a mock of IBlobLog interface.

func NewMockIBlobLog added in v1.2.0

func NewMockIBlobLog(ctrl *gomock.Controller) *MockIBlobLog

NewMockIBlobLog creates a new mock instance.

func (*MockIBlobLog) Blob added in v1.7.5

func (m *MockIBlobLog) Blob(ctx context.Context, height types.Level, nsId uint64, commitment string) (storage.BlobLog, error)

Blob mocks base method.

func (*MockIBlobLog) ByHeight added in v1.3.2

func (m *MockIBlobLog) ByHeight(ctx context.Context, height types.Level, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)

ByHeight mocks base method.

func (*MockIBlobLog) ByNamespace added in v1.2.0

func (m *MockIBlobLog) ByNamespace(ctx context.Context, nsId uint64, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)

ByNamespace mocks base method.

func (*MockIBlobLog) ByProviders added in v1.2.0

func (m *MockIBlobLog) ByProviders(ctx context.Context, providers []storage.RollupProvider, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)

ByProviders mocks base method.

func (*MockIBlobLog) BySigner added in v1.2.0

func (m *MockIBlobLog) BySigner(ctx context.Context, signerId uint64, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)

BySigner mocks base method.

func (*MockIBlobLog) ByTxId added in v1.3.2

func (m *MockIBlobLog) ByTxId(ctx context.Context, txId uint64, fltrs storage.BlobLogFilters) ([]storage.BlobLog, error)

ByTxId mocks base method.

func (*MockIBlobLog) CountByTxId added in v1.3.2

func (m *MockIBlobLog) CountByTxId(ctx context.Context, txId uint64) (int, error)

CountByTxId mocks base method.

func (*MockIBlobLog) CursorList added in v1.2.0

func (m *MockIBlobLog) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.BlobLog, error)

CursorList mocks base method.

func (*MockIBlobLog) EXPECT added in v1.2.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIBlobLog) ExportByProviders added in v1.7.0

func (m *MockIBlobLog) ExportByProviders(ctx context.Context, providers []storage.RollupProvider, from, to time.Time, stream io.Writer) error

ExportByProviders mocks base method.

func (*MockIBlobLog) GetByID added in v1.2.0

func (m *MockIBlobLog) GetByID(ctx context.Context, id uint64) (*storage.BlobLog, error)

GetByID mocks base method.

func (*MockIBlobLog) IsNoRows added in v1.2.0

func (m *MockIBlobLog) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIBlobLog) LastID added in v1.2.0

func (m *MockIBlobLog) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIBlobLog) List added in v1.2.0

func (m *MockIBlobLog) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.BlobLog, error)

List mocks base method.

func (*MockIBlobLog) ListBlobs added in v1.10.0

ListBlobs mocks base method.

func (*MockIBlobLog) Save added in v1.2.0

func (m_2 *MockIBlobLog) Save(ctx context.Context, m *storage.BlobLog) error

Save mocks base method.

func (*MockIBlobLog) Update added in v1.2.0

func (m_2 *MockIBlobLog) Update(ctx context.Context, m *storage.BlobLog) error

Update mocks base method.

type MockIBlobLogBlobCall added in v1.9.9

type MockIBlobLogBlobCall struct {
	*gomock.Call
}

MockIBlobLogBlobCall wrap *gomock.Call

func (*MockIBlobLogBlobCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogBlobCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogBlobCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogByHeightCall added in v1.9.9

type MockIBlobLogByHeightCall struct {
	*gomock.Call
}

MockIBlobLogByHeightCall wrap *gomock.Call

func (*MockIBlobLogByHeightCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogByHeightCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogByHeightCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogByNamespaceCall added in v1.9.9

type MockIBlobLogByNamespaceCall struct {
	*gomock.Call
}

MockIBlobLogByNamespaceCall wrap *gomock.Call

func (*MockIBlobLogByNamespaceCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogByNamespaceCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogByNamespaceCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogByProvidersCall added in v1.9.9

type MockIBlobLogByProvidersCall struct {
	*gomock.Call
}

MockIBlobLogByProvidersCall wrap *gomock.Call

func (*MockIBlobLogByProvidersCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogByProvidersCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogByProvidersCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogBySignerCall added in v1.9.9

type MockIBlobLogBySignerCall struct {
	*gomock.Call
}

MockIBlobLogBySignerCall wrap *gomock.Call

func (*MockIBlobLogBySignerCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogBySignerCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogBySignerCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogByTxIdCall added in v1.9.9

type MockIBlobLogByTxIdCall struct {
	*gomock.Call
}

MockIBlobLogByTxIdCall wrap *gomock.Call

func (*MockIBlobLogByTxIdCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogByTxIdCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogByTxIdCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogCountByTxIdCall added in v1.9.9

type MockIBlobLogCountByTxIdCall struct {
	*gomock.Call
}

MockIBlobLogCountByTxIdCall wrap *gomock.Call

func (*MockIBlobLogCountByTxIdCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogCountByTxIdCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogCountByTxIdCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogCursorListCall added in v1.9.9

type MockIBlobLogCursorListCall struct {
	*gomock.Call
}

MockIBlobLogCursorListCall wrap *gomock.Call

func (*MockIBlobLogCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogExportByProvidersCall added in v1.9.9

type MockIBlobLogExportByProvidersCall struct {
	*gomock.Call
}

MockIBlobLogExportByProvidersCall wrap *gomock.Call

func (*MockIBlobLogExportByProvidersCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogExportByProvidersCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogExportByProvidersCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogGetByIDCall added in v1.9.9

type MockIBlobLogGetByIDCall struct {
	*gomock.Call
}

MockIBlobLogGetByIDCall wrap *gomock.Call

func (*MockIBlobLogGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogIsNoRowsCall added in v1.9.9

type MockIBlobLogIsNoRowsCall struct {
	*gomock.Call
}

MockIBlobLogIsNoRowsCall wrap *gomock.Call

func (*MockIBlobLogIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogLastIDCall added in v1.9.9

type MockIBlobLogLastIDCall struct {
	*gomock.Call
}

MockIBlobLogLastIDCall wrap *gomock.Call

func (*MockIBlobLogLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogListBlobsCall added in v1.10.0

type MockIBlobLogListBlobsCall struct {
	*gomock.Call
}

MockIBlobLogListBlobsCall wrap *gomock.Call

func (*MockIBlobLogListBlobsCall) Do added in v1.10.0

Do rewrite *gomock.Call.Do

func (*MockIBlobLogListBlobsCall) DoAndReturn added in v1.10.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogListBlobsCall) Return added in v1.10.0

Return rewrite *gomock.Call.Return

type MockIBlobLogListCall added in v1.9.9

type MockIBlobLogListCall struct {
	*gomock.Call
}

MockIBlobLogListCall wrap *gomock.Call

func (*MockIBlobLogListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogMockRecorder added in v1.2.0

type MockIBlobLogMockRecorder struct {
	// contains filtered or unexported fields
}

MockIBlobLogMockRecorder is the mock recorder for MockIBlobLog.

func (*MockIBlobLogMockRecorder) Blob added in v1.7.5

func (mr *MockIBlobLogMockRecorder) Blob(ctx, height, nsId, commitment any) *MockIBlobLogBlobCall

Blob indicates an expected call of Blob.

func (*MockIBlobLogMockRecorder) ByHeight added in v1.3.2

func (mr *MockIBlobLogMockRecorder) ByHeight(ctx, height, fltrs any) *MockIBlobLogByHeightCall

ByHeight indicates an expected call of ByHeight.

func (*MockIBlobLogMockRecorder) ByNamespace added in v1.2.0

func (mr *MockIBlobLogMockRecorder) ByNamespace(ctx, nsId, fltrs any) *MockIBlobLogByNamespaceCall

ByNamespace indicates an expected call of ByNamespace.

func (*MockIBlobLogMockRecorder) ByProviders added in v1.2.0

func (mr *MockIBlobLogMockRecorder) ByProviders(ctx, providers, fltrs any) *MockIBlobLogByProvidersCall

ByProviders indicates an expected call of ByProviders.

func (*MockIBlobLogMockRecorder) BySigner added in v1.2.0

func (mr *MockIBlobLogMockRecorder) BySigner(ctx, signerId, fltrs any) *MockIBlobLogBySignerCall

BySigner indicates an expected call of BySigner.

func (*MockIBlobLogMockRecorder) ByTxId added in v1.3.2

func (mr *MockIBlobLogMockRecorder) ByTxId(ctx, txId, fltrs any) *MockIBlobLogByTxIdCall

ByTxId indicates an expected call of ByTxId.

func (*MockIBlobLogMockRecorder) CountByTxId added in v1.3.2

func (mr *MockIBlobLogMockRecorder) CountByTxId(ctx, txId any) *MockIBlobLogCountByTxIdCall

CountByTxId indicates an expected call of CountByTxId.

func (*MockIBlobLogMockRecorder) CursorList added in v1.2.0

func (mr *MockIBlobLogMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBlobLogCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIBlobLogMockRecorder) ExportByProviders added in v1.7.0

func (mr *MockIBlobLogMockRecorder) ExportByProviders(ctx, providers, from, to, stream any) *MockIBlobLogExportByProvidersCall

ExportByProviders indicates an expected call of ExportByProviders.

func (*MockIBlobLogMockRecorder) GetByID added in v1.2.0

GetByID indicates an expected call of GetByID.

func (*MockIBlobLogMockRecorder) IsNoRows added in v1.2.0

IsNoRows indicates an expected call of IsNoRows.

func (*MockIBlobLogMockRecorder) LastID added in v1.2.0

LastID indicates an expected call of LastID.

func (*MockIBlobLogMockRecorder) List added in v1.2.0

func (mr *MockIBlobLogMockRecorder) List(ctx, limit, offset, order any) *MockIBlobLogListCall

List indicates an expected call of List.

func (*MockIBlobLogMockRecorder) ListBlobs added in v1.10.0

func (mr *MockIBlobLogMockRecorder) ListBlobs(ctx, fltrs any) *MockIBlobLogListBlobsCall

ListBlobs indicates an expected call of ListBlobs.

func (*MockIBlobLogMockRecorder) Save added in v1.2.0

Save indicates an expected call of Save.

func (*MockIBlobLogMockRecorder) Update added in v1.2.0

Update indicates an expected call of Update.

type MockIBlobLogSaveCall added in v1.9.9

type MockIBlobLogSaveCall struct {
	*gomock.Call
}

MockIBlobLogSaveCall wrap *gomock.Call

func (*MockIBlobLogSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlobLogUpdateCall added in v1.9.9

type MockIBlobLogUpdateCall struct {
	*gomock.Call
}

MockIBlobLogUpdateCall wrap *gomock.Call

func (*MockIBlobLogUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlobLogUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlobLogUpdateCall) Return added in v1.9.9

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) ByHash

func (m *MockIBlock) ByHash(ctx context.Context, hash []byte) (storage.Block, error)

ByHash mocks base method.

func (*MockIBlock) ByHeight

func (m *MockIBlock) ByHeight(ctx context.Context, height types.Level) (storage.Block, error)

ByHeight mocks base method.

func (*MockIBlock) ByHeightWithStats

func (m *MockIBlock) ByHeightWithStats(ctx context.Context, height types.Level) (storage.Block, error)

ByHeightWithStats mocks base method.

func (*MockIBlock) ByIdWithRelations

func (m *MockIBlock) ByIdWithRelations(ctx context.Context, id uint64) (storage.Block, error)

ByIdWithRelations mocks base method.

func (*MockIBlock) ByProposer added in v1.4.0

func (m *MockIBlock) ByProposer(ctx context.Context, proposerId uint64, limit, offset int) ([]storage.Block, error)

ByProposer mocks base method.

func (*MockIBlock) CursorList

func (m *MockIBlock) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Block, error)

CursorList mocks base method.

func (*MockIBlock) EXPECT

func (m *MockIBlock) EXPECT() *MockIBlockMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIBlock) GetByID

func (m *MockIBlock) GetByID(ctx context.Context, id uint64) (*storage.Block, error)

GetByID mocks base method.

func (*MockIBlock) IsNoRows

func (m *MockIBlock) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIBlock) Last

func (m *MockIBlock) Last(ctx context.Context) (storage.Block, error)

Last 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.

func (*MockIBlock) Save

func (m_2 *MockIBlock) Save(ctx context.Context, m *storage.Block) error

Save mocks base method.

func (*MockIBlock) Time added in v1.5.0

func (m *MockIBlock) Time(ctx context.Context, height types.Level) (time.Time, error)

Time mocks base method.

func (*MockIBlock) Update

func (m_2 *MockIBlock) Update(ctx context.Context, m *storage.Block) error

Update mocks base method.

type MockIBlockByHashCall added in v1.9.9

type MockIBlockByHashCall struct {
	*gomock.Call
}

MockIBlockByHashCall wrap *gomock.Call

func (*MockIBlockByHashCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockByHashCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockByHashCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockByHeightCall added in v1.9.9

type MockIBlockByHeightCall struct {
	*gomock.Call
}

MockIBlockByHeightCall wrap *gomock.Call

func (*MockIBlockByHeightCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockByHeightCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockByHeightCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockByHeightWithStatsCall added in v1.9.9

type MockIBlockByHeightWithStatsCall struct {
	*gomock.Call
}

MockIBlockByHeightWithStatsCall wrap *gomock.Call

func (*MockIBlockByHeightWithStatsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockByHeightWithStatsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockByHeightWithStatsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockByIdWithRelationsCall added in v1.9.9

type MockIBlockByIdWithRelationsCall struct {
	*gomock.Call
}

MockIBlockByIdWithRelationsCall wrap *gomock.Call

func (*MockIBlockByIdWithRelationsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockByIdWithRelationsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockByIdWithRelationsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockByProposerCall added in v1.9.9

type MockIBlockByProposerCall struct {
	*gomock.Call
}

MockIBlockByProposerCall wrap *gomock.Call

func (*MockIBlockByProposerCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockByProposerCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockByProposerCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockCursorListCall added in v1.9.9

type MockIBlockCursorListCall struct {
	*gomock.Call
}

MockIBlockCursorListCall wrap *gomock.Call

func (*MockIBlockCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockGetByIDCall added in v1.9.9

type MockIBlockGetByIDCall struct {
	*gomock.Call
}

MockIBlockGetByIDCall wrap *gomock.Call

func (*MockIBlockGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockIsNoRowsCall added in v1.9.9

type MockIBlockIsNoRowsCall struct {
	*gomock.Call
}

MockIBlockIsNoRowsCall wrap *gomock.Call

func (*MockIBlockIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockIsNoRowsCall) DoAndReturn added in v1.9.9

func (c *MockIBlockIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIBlockIsNoRowsCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockLastCall added in v1.9.9

type MockIBlockLastCall struct {
	*gomock.Call
}

MockIBlockLastCall wrap *gomock.Call

func (*MockIBlockLastCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockLastCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockLastCall) Return added in v1.9.9

func (c *MockIBlockLastCall) Return(arg0 storage.Block, arg1 error) *MockIBlockLastCall

Return rewrite *gomock.Call.Return

type MockIBlockLastIDCall added in v1.9.9

type MockIBlockLastIDCall struct {
	*gomock.Call
}

MockIBlockLastIDCall wrap *gomock.Call

func (*MockIBlockLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockLastIDCall) Return added in v1.9.9

func (c *MockIBlockLastIDCall) Return(arg0 uint64, arg1 error) *MockIBlockLastIDCall

Return rewrite *gomock.Call.Return

type MockIBlockListCall added in v1.9.9

type MockIBlockListCall struct {
	*gomock.Call
}

MockIBlockListCall wrap *gomock.Call

func (*MockIBlockListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockListCall) Return added in v1.9.9

func (c *MockIBlockListCall) Return(arg0 []*storage.Block, arg1 error) *MockIBlockListCall

Return rewrite *gomock.Call.Return

type MockIBlockListWithStatsCall added in v1.9.9

type MockIBlockListWithStatsCall struct {
	*gomock.Call
}

MockIBlockListWithStatsCall wrap *gomock.Call

func (*MockIBlockListWithStatsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockListWithStatsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockListWithStatsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockMockRecorder

type MockIBlockMockRecorder struct {
	// contains filtered or unexported fields
}

MockIBlockMockRecorder is the mock recorder for MockIBlock.

func (*MockIBlockMockRecorder) ByHash

func (mr *MockIBlockMockRecorder) ByHash(ctx, hash any) *MockIBlockByHashCall

ByHash indicates an expected call of ByHash.

func (*MockIBlockMockRecorder) ByHeight

func (mr *MockIBlockMockRecorder) ByHeight(ctx, height any) *MockIBlockByHeightCall

ByHeight indicates an expected call of ByHeight.

func (*MockIBlockMockRecorder) ByHeightWithStats

func (mr *MockIBlockMockRecorder) ByHeightWithStats(ctx, height any) *MockIBlockByHeightWithStatsCall

ByHeightWithStats indicates an expected call of ByHeightWithStats.

func (*MockIBlockMockRecorder) ByIdWithRelations

func (mr *MockIBlockMockRecorder) ByIdWithRelations(ctx, id any) *MockIBlockByIdWithRelationsCall

ByIdWithRelations indicates an expected call of ByIdWithRelations.

func (*MockIBlockMockRecorder) ByProposer added in v1.4.0

func (mr *MockIBlockMockRecorder) ByProposer(ctx, proposerId, limit, offset any) *MockIBlockByProposerCall

ByProposer indicates an expected call of ByProposer.

func (*MockIBlockMockRecorder) CursorList

func (mr *MockIBlockMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBlockCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIBlockMockRecorder) GetByID

func (mr *MockIBlockMockRecorder) GetByID(ctx, id any) *MockIBlockGetByIDCall

GetByID indicates an expected call of GetByID.

func (*MockIBlockMockRecorder) IsNoRows

IsNoRows indicates an expected call of IsNoRows.

func (*MockIBlockMockRecorder) Last

Last indicates an expected call of Last.

func (*MockIBlockMockRecorder) LastID

LastID indicates an expected call of LastID.

func (*MockIBlockMockRecorder) List

func (mr *MockIBlockMockRecorder) List(ctx, limit, offset, order any) *MockIBlockListCall

List indicates an expected call of List.

func (*MockIBlockMockRecorder) ListWithStats

func (mr *MockIBlockMockRecorder) ListWithStats(ctx, limit, offset, order any) *MockIBlockListWithStatsCall

ListWithStats indicates an expected call of ListWithStats.

func (*MockIBlockMockRecorder) Save

func (mr *MockIBlockMockRecorder) Save(ctx, m any) *MockIBlockSaveCall

Save indicates an expected call of Save.

func (*MockIBlockMockRecorder) Time added in v1.5.0

func (mr *MockIBlockMockRecorder) Time(ctx, height any) *MockIBlockTimeCall

Time indicates an expected call of Time.

func (*MockIBlockMockRecorder) Update

func (mr *MockIBlockMockRecorder) Update(ctx, m any) *MockIBlockUpdateCall

Update indicates an expected call of Update.

type MockIBlockSaveCall added in v1.9.9

type MockIBlockSaveCall struct {
	*gomock.Call
}

MockIBlockSaveCall wrap *gomock.Call

func (*MockIBlockSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockSaveCall) Return added in v1.9.9

func (c *MockIBlockSaveCall) Return(arg0 error) *MockIBlockSaveCall

Return rewrite *gomock.Call.Return

type MockIBlockSignature added in v1.4.0

type MockIBlockSignature struct {
	// contains filtered or unexported fields
}

MockIBlockSignature is a mock of IBlockSignature interface.

func NewMockIBlockSignature added in v1.4.0

func NewMockIBlockSignature(ctrl *gomock.Controller) *MockIBlockSignature

NewMockIBlockSignature creates a new mock instance.

func (*MockIBlockSignature) CursorList added in v1.4.0

func (m *MockIBlockSignature) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.BlockSignature, error)

CursorList mocks base method.

func (*MockIBlockSignature) EXPECT added in v1.4.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIBlockSignature) GetByID added in v1.4.0

GetByID mocks base method.

func (*MockIBlockSignature) IsNoRows added in v1.4.0

func (m *MockIBlockSignature) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIBlockSignature) LastID added in v1.4.0

func (m *MockIBlockSignature) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIBlockSignature) LevelsByValidator added in v1.4.0

func (m *MockIBlockSignature) LevelsByValidator(ctx context.Context, validatorId uint64, startHeight types.Level) ([]types.Level, error)

LevelsByValidator mocks base method.

func (*MockIBlockSignature) List added in v1.4.0

func (m *MockIBlockSignature) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.BlockSignature, error)

List mocks base method.

func (*MockIBlockSignature) Save added in v1.4.0

Save mocks base method.

func (*MockIBlockSignature) Update added in v1.4.0

Update mocks base method.

type MockIBlockSignatureCursorListCall added in v1.9.9

type MockIBlockSignatureCursorListCall struct {
	*gomock.Call
}

MockIBlockSignatureCursorListCall wrap *gomock.Call

func (*MockIBlockSignatureCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockSignatureCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockSignatureCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockSignatureGetByIDCall added in v1.9.9

type MockIBlockSignatureGetByIDCall struct {
	*gomock.Call
}

MockIBlockSignatureGetByIDCall wrap *gomock.Call

func (*MockIBlockSignatureGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockSignatureGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockSignatureGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockSignatureIsNoRowsCall added in v1.9.9

type MockIBlockSignatureIsNoRowsCall struct {
	*gomock.Call
}

MockIBlockSignatureIsNoRowsCall wrap *gomock.Call

func (*MockIBlockSignatureIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockSignatureIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockSignatureIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockSignatureLastIDCall added in v1.9.9

type MockIBlockSignatureLastIDCall struct {
	*gomock.Call
}

MockIBlockSignatureLastIDCall wrap *gomock.Call

func (*MockIBlockSignatureLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockSignatureLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockSignatureLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockSignatureLevelsByValidatorCall added in v1.9.9

type MockIBlockSignatureLevelsByValidatorCall struct {
	*gomock.Call
}

MockIBlockSignatureLevelsByValidatorCall wrap *gomock.Call

func (*MockIBlockSignatureLevelsByValidatorCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockSignatureLevelsByValidatorCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockSignatureLevelsByValidatorCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockSignatureListCall added in v1.9.9

type MockIBlockSignatureListCall struct {
	*gomock.Call
}

MockIBlockSignatureListCall wrap *gomock.Call

func (*MockIBlockSignatureListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockSignatureListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockSignatureListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockSignatureMockRecorder added in v1.4.0

type MockIBlockSignatureMockRecorder struct {
	// contains filtered or unexported fields
}

MockIBlockSignatureMockRecorder is the mock recorder for MockIBlockSignature.

func (*MockIBlockSignatureMockRecorder) CursorList added in v1.4.0

func (mr *MockIBlockSignatureMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIBlockSignatureCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIBlockSignatureMockRecorder) GetByID added in v1.4.0

GetByID indicates an expected call of GetByID.

func (*MockIBlockSignatureMockRecorder) IsNoRows added in v1.4.0

IsNoRows indicates an expected call of IsNoRows.

func (*MockIBlockSignatureMockRecorder) LastID added in v1.4.0

LastID indicates an expected call of LastID.

func (*MockIBlockSignatureMockRecorder) LevelsByValidator added in v1.4.0

func (mr *MockIBlockSignatureMockRecorder) LevelsByValidator(ctx, validatorId, startHeight any) *MockIBlockSignatureLevelsByValidatorCall

LevelsByValidator indicates an expected call of LevelsByValidator.

func (*MockIBlockSignatureMockRecorder) List added in v1.4.0

func (mr *MockIBlockSignatureMockRecorder) List(ctx, limit, offset, order any) *MockIBlockSignatureListCall

List indicates an expected call of List.

func (*MockIBlockSignatureMockRecorder) Save added in v1.4.0

Save indicates an expected call of Save.

func (*MockIBlockSignatureMockRecorder) Update added in v1.4.0

Update indicates an expected call of Update.

type MockIBlockSignatureSaveCall added in v1.9.9

type MockIBlockSignatureSaveCall struct {
	*gomock.Call
}

MockIBlockSignatureSaveCall wrap *gomock.Call

func (*MockIBlockSignatureSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockSignatureSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockSignatureSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockSignatureUpdateCall added in v1.9.9

type MockIBlockSignatureUpdateCall struct {
	*gomock.Call
}

MockIBlockSignatureUpdateCall wrap *gomock.Call

func (*MockIBlockSignatureUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockSignatureUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockSignatureUpdateCall) Return added in v1.9.9

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIBlockStats) LastFrom added in v1.1.0

func (m *MockIBlockStats) LastFrom(ctx context.Context, head types.Level, limit int) ([]storage.BlockStats, error)

LastFrom mocks base method.

type MockIBlockStatsByHeightCall added in v1.9.9

type MockIBlockStatsByHeightCall struct {
	*gomock.Call
}

MockIBlockStatsByHeightCall wrap *gomock.Call

func (*MockIBlockStatsByHeightCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockStatsByHeightCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockStatsByHeightCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockStatsLastFromCall added in v1.9.9

type MockIBlockStatsLastFromCall struct {
	*gomock.Call
}

MockIBlockStatsLastFromCall wrap *gomock.Call

func (*MockIBlockStatsLastFromCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockStatsLastFromCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockStatsLastFromCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIBlockStatsMockRecorder

type MockIBlockStatsMockRecorder struct {
	// contains filtered or unexported fields
}

MockIBlockStatsMockRecorder is the mock recorder for MockIBlockStats.

func (*MockIBlockStatsMockRecorder) ByHeight

func (mr *MockIBlockStatsMockRecorder) ByHeight(ctx, height any) *MockIBlockStatsByHeightCall

ByHeight indicates an expected call of ByHeight.

func (*MockIBlockStatsMockRecorder) LastFrom added in v1.1.0

func (mr *MockIBlockStatsMockRecorder) LastFrom(ctx, head, limit any) *MockIBlockStatsLastFromCall

LastFrom indicates an expected call of LastFrom.

type MockIBlockTimeCall added in v1.9.9

type MockIBlockTimeCall struct {
	*gomock.Call
}

MockIBlockTimeCall wrap *gomock.Call

func (*MockIBlockTimeCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockTimeCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockTimeCall) Return added in v1.9.9

func (c *MockIBlockTimeCall) Return(arg0 time.Time, arg1 error) *MockIBlockTimeCall

Return rewrite *gomock.Call.Return

type MockIBlockUpdateCall added in v1.9.9

type MockIBlockUpdateCall struct {
	*gomock.Call
}

MockIBlockUpdateCall wrap *gomock.Call

func (*MockIBlockUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIBlockUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIBlockUpdateCall) Return added in v1.9.9

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) All

All mocks base method.

func (*MockIConstant) ByModule

func (m *MockIConstant) ByModule(ctx context.Context, module types.ModuleName) ([]storage.Constant, error)

ByModule mocks base method.

func (*MockIConstant) EXPECT

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.

type MockIConstantAllCall added in v1.9.9

type MockIConstantAllCall struct {
	*gomock.Call
}

MockIConstantAllCall wrap *gomock.Call

func (*MockIConstantAllCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIConstantAllCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIConstantAllCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIConstantByModuleCall added in v1.9.9

type MockIConstantByModuleCall struct {
	*gomock.Call
}

MockIConstantByModuleCall wrap *gomock.Call

func (*MockIConstantByModuleCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIConstantByModuleCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIConstantByModuleCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIConstantGetCall added in v1.9.9

type MockIConstantGetCall struct {
	*gomock.Call
}

MockIConstantGetCall wrap *gomock.Call

func (*MockIConstantGetCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIConstantGetCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIConstantGetCall) Return added in v1.9.9

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

All indicates an expected call of All.

func (*MockIConstantMockRecorder) ByModule

func (mr *MockIConstantMockRecorder) ByModule(ctx, module any) *MockIConstantByModuleCall

ByModule indicates an expected call of ByModule.

func (*MockIConstantMockRecorder) Get

func (mr *MockIConstantMockRecorder) Get(ctx, module, name any) *MockIConstantGetCall

Get indicates an expected call of Get.

type MockIDelegation added in v1.6.0

type MockIDelegation struct {
	// contains filtered or unexported fields
}

MockIDelegation is a mock of IDelegation interface.

func NewMockIDelegation added in v1.6.0

func NewMockIDelegation(ctrl *gomock.Controller) *MockIDelegation

NewMockIDelegation creates a new mock instance.

func (*MockIDelegation) ByAddress added in v1.6.0

func (m *MockIDelegation) ByAddress(ctx context.Context, addressId uint64, limit, offset int, showZero bool) ([]storage.Delegation, error)

ByAddress mocks base method.

func (*MockIDelegation) ByValidator added in v1.6.0

func (m *MockIDelegation) ByValidator(ctx context.Context, validatorId uint64, limit, offset int, showZero bool) ([]storage.Delegation, error)

ByValidator mocks base method.

func (*MockIDelegation) CursorList added in v1.6.0

func (m *MockIDelegation) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Delegation, error)

CursorList mocks base method.

func (*MockIDelegation) EXPECT added in v1.6.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIDelegation) GetByID added in v1.6.0

func (m *MockIDelegation) GetByID(ctx context.Context, id uint64) (*storage.Delegation, error)

GetByID mocks base method.

func (*MockIDelegation) IsNoRows added in v1.6.0

func (m *MockIDelegation) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIDelegation) LastID added in v1.6.0

func (m *MockIDelegation) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIDelegation) List added in v1.6.0

func (m *MockIDelegation) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Delegation, error)

List mocks base method.

func (*MockIDelegation) Save added in v1.6.0

Save mocks base method.

func (*MockIDelegation) Update added in v1.6.0

func (m_2 *MockIDelegation) Update(ctx context.Context, m *storage.Delegation) error

Update mocks base method.

type MockIDelegationByAddressCall added in v1.9.9

type MockIDelegationByAddressCall struct {
	*gomock.Call
}

MockIDelegationByAddressCall wrap *gomock.Call

func (*MockIDelegationByAddressCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIDelegationByAddressCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIDelegationByAddressCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIDelegationByValidatorCall added in v1.9.9

type MockIDelegationByValidatorCall struct {
	*gomock.Call
}

MockIDelegationByValidatorCall wrap *gomock.Call

func (*MockIDelegationByValidatorCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIDelegationByValidatorCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIDelegationByValidatorCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIDelegationCursorListCall added in v1.9.9

type MockIDelegationCursorListCall struct {
	*gomock.Call
}

MockIDelegationCursorListCall wrap *gomock.Call

func (*MockIDelegationCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIDelegationCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIDelegationCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIDelegationGetByIDCall added in v1.9.9

type MockIDelegationGetByIDCall struct {
	*gomock.Call
}

MockIDelegationGetByIDCall wrap *gomock.Call

func (*MockIDelegationGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIDelegationGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIDelegationGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIDelegationIsNoRowsCall added in v1.9.9

type MockIDelegationIsNoRowsCall struct {
	*gomock.Call
}

MockIDelegationIsNoRowsCall wrap *gomock.Call

func (*MockIDelegationIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIDelegationIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIDelegationIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIDelegationLastIDCall added in v1.9.9

type MockIDelegationLastIDCall struct {
	*gomock.Call
}

MockIDelegationLastIDCall wrap *gomock.Call

func (*MockIDelegationLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIDelegationLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIDelegationLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIDelegationListCall added in v1.9.9

type MockIDelegationListCall struct {
	*gomock.Call
}

MockIDelegationListCall wrap *gomock.Call

func (*MockIDelegationListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIDelegationListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIDelegationListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIDelegationMockRecorder added in v1.6.0

type MockIDelegationMockRecorder struct {
	// contains filtered or unexported fields
}

MockIDelegationMockRecorder is the mock recorder for MockIDelegation.

func (*MockIDelegationMockRecorder) ByAddress added in v1.6.0

func (mr *MockIDelegationMockRecorder) ByAddress(ctx, addressId, limit, offset, showZero any) *MockIDelegationByAddressCall

ByAddress indicates an expected call of ByAddress.

func (*MockIDelegationMockRecorder) ByValidator added in v1.6.0

func (mr *MockIDelegationMockRecorder) ByValidator(ctx, validatorId, limit, offset, showZero any) *MockIDelegationByValidatorCall

ByValidator indicates an expected call of ByValidator.

func (*MockIDelegationMockRecorder) CursorList added in v1.6.0

func (mr *MockIDelegationMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIDelegationCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIDelegationMockRecorder) GetByID added in v1.6.0

GetByID indicates an expected call of GetByID.

func (*MockIDelegationMockRecorder) IsNoRows added in v1.6.0

IsNoRows indicates an expected call of IsNoRows.

func (*MockIDelegationMockRecorder) LastID added in v1.6.0

LastID indicates an expected call of LastID.

func (*MockIDelegationMockRecorder) List added in v1.6.0

func (mr *MockIDelegationMockRecorder) List(ctx, limit, offset, order any) *MockIDelegationListCall

List indicates an expected call of List.

func (*MockIDelegationMockRecorder) Save added in v1.6.0

Save indicates an expected call of Save.

func (*MockIDelegationMockRecorder) Update added in v1.6.0

Update indicates an expected call of Update.

type MockIDelegationSaveCall added in v1.9.9

type MockIDelegationSaveCall struct {
	*gomock.Call
}

MockIDelegationSaveCall wrap *gomock.Call

func (*MockIDelegationSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIDelegationSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIDelegationSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIDelegationUpdateCall added in v1.9.9

type MockIDelegationUpdateCall struct {
	*gomock.Call
}

MockIDelegationUpdateCall wrap *gomock.Call

func (*MockIDelegationUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIDelegationUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIDelegationUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIDenomMetadata

type MockIDenomMetadata struct {
	// contains filtered or unexported fields
}

MockIDenomMetadata is a mock of IDenomMetadata interface.

func NewMockIDenomMetadata

func NewMockIDenomMetadata(ctrl *gomock.Controller) *MockIDenomMetadata

NewMockIDenomMetadata creates a new mock instance.

func (*MockIDenomMetadata) All

All mocks base method.

func (*MockIDenomMetadata) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockIDenomMetadataAllCall added in v1.9.9

type MockIDenomMetadataAllCall struct {
	*gomock.Call
}

MockIDenomMetadataAllCall wrap *gomock.Call

func (*MockIDenomMetadataAllCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIDenomMetadataAllCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIDenomMetadataAllCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIDenomMetadataMockRecorder

type MockIDenomMetadataMockRecorder struct {
	// contains filtered or unexported fields
}

MockIDenomMetadataMockRecorder is the mock recorder for MockIDenomMetadata.

func (*MockIDenomMetadataMockRecorder) All

All indicates an expected call of All.

type MockIEvent

type MockIEvent struct {
	// contains filtered or unexported fields
}

MockIEvent is a mock of IEvent interface.

func NewMockIEvent

func NewMockIEvent(ctrl *gomock.Controller) *MockIEvent

NewMockIEvent creates a new mock instance.

func (*MockIEvent) ByBlock

func (m *MockIEvent) ByBlock(ctx context.Context, height types.Level, fltrs storage.EventFilter) ([]storage.Event, error)

ByBlock mocks base method.

func (*MockIEvent) ByTxId

func (m *MockIEvent) ByTxId(ctx context.Context, txId uint64, fltrs storage.EventFilter) ([]storage.Event, error)

ByTxId mocks base method.

func (*MockIEvent) CursorList

func (m *MockIEvent) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Event, error)

CursorList mocks base method.

func (*MockIEvent) EXPECT

func (m *MockIEvent) EXPECT() *MockIEventMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIEvent) GetByID

func (m *MockIEvent) GetByID(ctx context.Context, id uint64) (*storage.Event, error)

GetByID mocks base method.

func (*MockIEvent) IsNoRows

func (m *MockIEvent) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIEvent) LastID

func (m *MockIEvent) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIEvent) List

func (m *MockIEvent) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Event, error)

List mocks base method.

func (*MockIEvent) Save

func (m_2 *MockIEvent) Save(ctx context.Context, m *storage.Event) error

Save mocks base method.

func (*MockIEvent) Update

func (m_2 *MockIEvent) Update(ctx context.Context, m *storage.Event) error

Update mocks base method.

type MockIEventByBlockCall added in v1.9.9

type MockIEventByBlockCall struct {
	*gomock.Call
}

MockIEventByBlockCall wrap *gomock.Call

func (*MockIEventByBlockCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIEventByBlockCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIEventByBlockCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIEventByTxIdCall added in v1.9.9

type MockIEventByTxIdCall struct {
	*gomock.Call
}

MockIEventByTxIdCall wrap *gomock.Call

func (*MockIEventByTxIdCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIEventByTxIdCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIEventByTxIdCall) Return added in v1.9.9

func (c *MockIEventByTxIdCall) Return(arg0 []storage.Event, arg1 error) *MockIEventByTxIdCall

Return rewrite *gomock.Call.Return

type MockIEventCursorListCall added in v1.9.9

type MockIEventCursorListCall struct {
	*gomock.Call
}

MockIEventCursorListCall wrap *gomock.Call

func (*MockIEventCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIEventCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIEventCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIEventGetByIDCall added in v1.9.9

type MockIEventGetByIDCall struct {
	*gomock.Call
}

MockIEventGetByIDCall wrap *gomock.Call

func (*MockIEventGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIEventGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIEventGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIEventIsNoRowsCall added in v1.9.9

type MockIEventIsNoRowsCall struct {
	*gomock.Call
}

MockIEventIsNoRowsCall wrap *gomock.Call

func (*MockIEventIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIEventIsNoRowsCall) DoAndReturn added in v1.9.9

func (c *MockIEventIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIEventIsNoRowsCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIEventIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIEventLastIDCall added in v1.9.9

type MockIEventLastIDCall struct {
	*gomock.Call
}

MockIEventLastIDCall wrap *gomock.Call

func (*MockIEventLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIEventLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIEventLastIDCall) Return added in v1.9.9

func (c *MockIEventLastIDCall) Return(arg0 uint64, arg1 error) *MockIEventLastIDCall

Return rewrite *gomock.Call.Return

type MockIEventListCall added in v1.9.9

type MockIEventListCall struct {
	*gomock.Call
}

MockIEventListCall wrap *gomock.Call

func (*MockIEventListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIEventListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIEventListCall) Return added in v1.9.9

func (c *MockIEventListCall) Return(arg0 []*storage.Event, arg1 error) *MockIEventListCall

Return rewrite *gomock.Call.Return

type MockIEventMockRecorder

type MockIEventMockRecorder struct {
	// contains filtered or unexported fields
}

MockIEventMockRecorder is the mock recorder for MockIEvent.

func (*MockIEventMockRecorder) ByBlock

func (mr *MockIEventMockRecorder) ByBlock(ctx, height, fltrs any) *MockIEventByBlockCall

ByBlock indicates an expected call of ByBlock.

func (*MockIEventMockRecorder) ByTxId

func (mr *MockIEventMockRecorder) ByTxId(ctx, txId, fltrs any) *MockIEventByTxIdCall

ByTxId indicates an expected call of ByTxId.

func (*MockIEventMockRecorder) CursorList

func (mr *MockIEventMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIEventCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIEventMockRecorder) GetByID

func (mr *MockIEventMockRecorder) GetByID(ctx, id any) *MockIEventGetByIDCall

GetByID indicates an expected call of GetByID.

func (*MockIEventMockRecorder) IsNoRows

IsNoRows indicates an expected call of IsNoRows.

func (*MockIEventMockRecorder) LastID

LastID indicates an expected call of LastID.

func (*MockIEventMockRecorder) List

func (mr *MockIEventMockRecorder) List(ctx, limit, offset, order any) *MockIEventListCall

List indicates an expected call of List.

func (*MockIEventMockRecorder) Save

func (mr *MockIEventMockRecorder) Save(ctx, m any) *MockIEventSaveCall

Save indicates an expected call of Save.

func (*MockIEventMockRecorder) Update

func (mr *MockIEventMockRecorder) Update(ctx, m any) *MockIEventUpdateCall

Update indicates an expected call of Update.

type MockIEventSaveCall added in v1.9.9

type MockIEventSaveCall struct {
	*gomock.Call
}

MockIEventSaveCall wrap *gomock.Call

func (*MockIEventSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIEventSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIEventSaveCall) Return added in v1.9.9

func (c *MockIEventSaveCall) Return(arg0 error) *MockIEventSaveCall

Return rewrite *gomock.Call.Return

type MockIEventUpdateCall added in v1.9.9

type MockIEventUpdateCall struct {
	*gomock.Call
}

MockIEventUpdateCall wrap *gomock.Call

func (*MockIEventUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIEventUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIEventUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIGrant added in v1.7.0

type MockIGrant struct {
	// contains filtered or unexported fields
}

MockIGrant is a mock of IGrant interface.

func NewMockIGrant added in v1.7.0

func NewMockIGrant(ctrl *gomock.Controller) *MockIGrant

NewMockIGrant creates a new mock instance.

func (*MockIGrant) ByGrantee added in v1.7.0

func (m *MockIGrant) ByGrantee(ctx context.Context, id uint64, limit, offset int) ([]storage.Grant, error)

ByGrantee mocks base method.

func (*MockIGrant) ByGranter added in v1.7.0

func (m *MockIGrant) ByGranter(ctx context.Context, id uint64, limit, offset int) ([]storage.Grant, error)

ByGranter mocks base method.

func (*MockIGrant) CursorList added in v1.7.0

func (m *MockIGrant) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Grant, error)

CursorList mocks base method.

func (*MockIGrant) EXPECT added in v1.7.0

func (m *MockIGrant) EXPECT() *MockIGrantMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIGrant) GetByID added in v1.7.0

func (m *MockIGrant) GetByID(ctx context.Context, id uint64) (*storage.Grant, error)

GetByID mocks base method.

func (*MockIGrant) IsNoRows added in v1.7.0

func (m *MockIGrant) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIGrant) LastID added in v1.7.0

func (m *MockIGrant) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIGrant) List added in v1.7.0

func (m *MockIGrant) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Grant, error)

List mocks base method.

func (*MockIGrant) Save added in v1.7.0

func (m_2 *MockIGrant) Save(ctx context.Context, m *storage.Grant) error

Save mocks base method.

func (*MockIGrant) Update added in v1.7.0

func (m_2 *MockIGrant) Update(ctx context.Context, m *storage.Grant) error

Update mocks base method.

type MockIGrantByGranteeCall added in v1.9.9

type MockIGrantByGranteeCall struct {
	*gomock.Call
}

MockIGrantByGranteeCall wrap *gomock.Call

func (*MockIGrantByGranteeCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIGrantByGranteeCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIGrantByGranteeCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIGrantByGranterCall added in v1.9.9

type MockIGrantByGranterCall struct {
	*gomock.Call
}

MockIGrantByGranterCall wrap *gomock.Call

func (*MockIGrantByGranterCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIGrantByGranterCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIGrantByGranterCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIGrantCursorListCall added in v1.9.9

type MockIGrantCursorListCall struct {
	*gomock.Call
}

MockIGrantCursorListCall wrap *gomock.Call

func (*MockIGrantCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIGrantCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIGrantCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIGrantGetByIDCall added in v1.9.9

type MockIGrantGetByIDCall struct {
	*gomock.Call
}

MockIGrantGetByIDCall wrap *gomock.Call

func (*MockIGrantGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIGrantGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIGrantGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIGrantIsNoRowsCall added in v1.9.9

type MockIGrantIsNoRowsCall struct {
	*gomock.Call
}

MockIGrantIsNoRowsCall wrap *gomock.Call

func (*MockIGrantIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIGrantIsNoRowsCall) DoAndReturn added in v1.9.9

func (c *MockIGrantIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIGrantIsNoRowsCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIGrantIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIGrantLastIDCall added in v1.9.9

type MockIGrantLastIDCall struct {
	*gomock.Call
}

MockIGrantLastIDCall wrap *gomock.Call

func (*MockIGrantLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIGrantLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIGrantLastIDCall) Return added in v1.9.9

func (c *MockIGrantLastIDCall) Return(arg0 uint64, arg1 error) *MockIGrantLastIDCall

Return rewrite *gomock.Call.Return

type MockIGrantListCall added in v1.9.9

type MockIGrantListCall struct {
	*gomock.Call
}

MockIGrantListCall wrap *gomock.Call

func (*MockIGrantListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIGrantListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIGrantListCall) Return added in v1.9.9

func (c *MockIGrantListCall) Return(arg0 []*storage.Grant, arg1 error) *MockIGrantListCall

Return rewrite *gomock.Call.Return

type MockIGrantMockRecorder added in v1.7.0

type MockIGrantMockRecorder struct {
	// contains filtered or unexported fields
}

MockIGrantMockRecorder is the mock recorder for MockIGrant.

func (*MockIGrantMockRecorder) ByGrantee added in v1.7.0

func (mr *MockIGrantMockRecorder) ByGrantee(ctx, id, limit, offset any) *MockIGrantByGranteeCall

ByGrantee indicates an expected call of ByGrantee.

func (*MockIGrantMockRecorder) ByGranter added in v1.7.0

func (mr *MockIGrantMockRecorder) ByGranter(ctx, id, limit, offset any) *MockIGrantByGranterCall

ByGranter indicates an expected call of ByGranter.

func (*MockIGrantMockRecorder) CursorList added in v1.7.0

func (mr *MockIGrantMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIGrantCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIGrantMockRecorder) GetByID added in v1.7.0

func (mr *MockIGrantMockRecorder) GetByID(ctx, id any) *MockIGrantGetByIDCall

GetByID indicates an expected call of GetByID.

func (*MockIGrantMockRecorder) IsNoRows added in v1.7.0

IsNoRows indicates an expected call of IsNoRows.

func (*MockIGrantMockRecorder) LastID added in v1.7.0

LastID indicates an expected call of LastID.

func (*MockIGrantMockRecorder) List added in v1.7.0

func (mr *MockIGrantMockRecorder) List(ctx, limit, offset, order any) *MockIGrantListCall

List indicates an expected call of List.

func (*MockIGrantMockRecorder) Save added in v1.7.0

func (mr *MockIGrantMockRecorder) Save(ctx, m any) *MockIGrantSaveCall

Save indicates an expected call of Save.

func (*MockIGrantMockRecorder) Update added in v1.7.0

func (mr *MockIGrantMockRecorder) Update(ctx, m any) *MockIGrantUpdateCall

Update indicates an expected call of Update.

type MockIGrantSaveCall added in v1.9.9

type MockIGrantSaveCall struct {
	*gomock.Call
}

MockIGrantSaveCall wrap *gomock.Call

func (*MockIGrantSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIGrantSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIGrantSaveCall) Return added in v1.9.9

func (c *MockIGrantSaveCall) Return(arg0 error) *MockIGrantSaveCall

Return rewrite *gomock.Call.Return

type MockIGrantUpdateCall added in v1.9.9

type MockIGrantUpdateCall struct {
	*gomock.Call
}

MockIGrantUpdateCall wrap *gomock.Call

func (*MockIGrantUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIGrantUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIGrantUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIJail added in v1.6.0

type MockIJail struct {
	// contains filtered or unexported fields
}

MockIJail is a mock of IJail interface.

func NewMockIJail added in v1.6.0

func NewMockIJail(ctrl *gomock.Controller) *MockIJail

NewMockIJail creates a new mock instance.

func (*MockIJail) ByValidator added in v1.6.0

func (m *MockIJail) ByValidator(ctx context.Context, id uint64, limit, offset int) ([]storage.Jail, error)

ByValidator mocks base method.

func (*MockIJail) CursorList added in v1.6.0

func (m *MockIJail) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Jail, error)

CursorList mocks base method.

func (*MockIJail) EXPECT added in v1.6.0

func (m *MockIJail) EXPECT() *MockIJailMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIJail) GetByID added in v1.6.0

func (m *MockIJail) GetByID(ctx context.Context, id uint64) (*storage.Jail, error)

GetByID mocks base method.

func (*MockIJail) IsNoRows added in v1.6.0

func (m *MockIJail) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIJail) LastID added in v1.6.0

func (m *MockIJail) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIJail) List added in v1.6.0

func (m *MockIJail) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Jail, error)

List mocks base method.

func (*MockIJail) Save added in v1.6.0

func (m_2 *MockIJail) Save(ctx context.Context, m *storage.Jail) error

Save mocks base method.

func (*MockIJail) Update added in v1.6.0

func (m_2 *MockIJail) Update(ctx context.Context, m *storage.Jail) error

Update mocks base method.

type MockIJailByValidatorCall added in v1.9.9

type MockIJailByValidatorCall struct {
	*gomock.Call
}

MockIJailByValidatorCall wrap *gomock.Call

func (*MockIJailByValidatorCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIJailByValidatorCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIJailByValidatorCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIJailCursorListCall added in v1.9.9

type MockIJailCursorListCall struct {
	*gomock.Call
}

MockIJailCursorListCall wrap *gomock.Call

func (*MockIJailCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIJailCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIJailCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIJailGetByIDCall added in v1.9.9

type MockIJailGetByIDCall struct {
	*gomock.Call
}

MockIJailGetByIDCall wrap *gomock.Call

func (*MockIJailGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIJailGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIJailGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIJailIsNoRowsCall added in v1.9.9

type MockIJailIsNoRowsCall struct {
	*gomock.Call
}

MockIJailIsNoRowsCall wrap *gomock.Call

func (*MockIJailIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIJailIsNoRowsCall) DoAndReturn added in v1.9.9

func (c *MockIJailIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIJailIsNoRowsCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIJailIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIJailLastIDCall added in v1.9.9

type MockIJailLastIDCall struct {
	*gomock.Call
}

MockIJailLastIDCall wrap *gomock.Call

func (*MockIJailLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIJailLastIDCall) DoAndReturn added in v1.9.9

func (c *MockIJailLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockIJailLastIDCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIJailLastIDCall) Return added in v1.9.9

func (c *MockIJailLastIDCall) Return(arg0 uint64, arg1 error) *MockIJailLastIDCall

Return rewrite *gomock.Call.Return

type MockIJailListCall added in v1.9.9

type MockIJailListCall struct {
	*gomock.Call
}

MockIJailListCall wrap *gomock.Call

func (*MockIJailListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIJailListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIJailListCall) Return added in v1.9.9

func (c *MockIJailListCall) Return(arg0 []*storage.Jail, arg1 error) *MockIJailListCall

Return rewrite *gomock.Call.Return

type MockIJailMockRecorder added in v1.6.0

type MockIJailMockRecorder struct {
	// contains filtered or unexported fields
}

MockIJailMockRecorder is the mock recorder for MockIJail.

func (*MockIJailMockRecorder) ByValidator added in v1.6.0

func (mr *MockIJailMockRecorder) ByValidator(ctx, id, limit, offset any) *MockIJailByValidatorCall

ByValidator indicates an expected call of ByValidator.

func (*MockIJailMockRecorder) CursorList added in v1.6.0

func (mr *MockIJailMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIJailCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIJailMockRecorder) GetByID added in v1.6.0

func (mr *MockIJailMockRecorder) GetByID(ctx, id any) *MockIJailGetByIDCall

GetByID indicates an expected call of GetByID.

func (*MockIJailMockRecorder) IsNoRows added in v1.6.0

func (mr *MockIJailMockRecorder) IsNoRows(err any) *MockIJailIsNoRowsCall

IsNoRows indicates an expected call of IsNoRows.

func (*MockIJailMockRecorder) LastID added in v1.6.0

LastID indicates an expected call of LastID.

func (*MockIJailMockRecorder) List added in v1.6.0

func (mr *MockIJailMockRecorder) List(ctx, limit, offset, order any) *MockIJailListCall

List indicates an expected call of List.

func (*MockIJailMockRecorder) Save added in v1.6.0

func (mr *MockIJailMockRecorder) Save(ctx, m any) *MockIJailSaveCall

Save indicates an expected call of Save.

func (*MockIJailMockRecorder) Update added in v1.6.0

func (mr *MockIJailMockRecorder) Update(ctx, m any) *MockIJailUpdateCall

Update indicates an expected call of Update.

type MockIJailSaveCall added in v1.9.9

type MockIJailSaveCall struct {
	*gomock.Call
}

MockIJailSaveCall wrap *gomock.Call

func (*MockIJailSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIJailSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIJailSaveCall) Return added in v1.9.9

func (c *MockIJailSaveCall) Return(arg0 error) *MockIJailSaveCall

Return rewrite *gomock.Call.Return

type MockIJailUpdateCall added in v1.9.9

type MockIJailUpdateCall struct {
	*gomock.Call
}

MockIJailUpdateCall wrap *gomock.Call

func (*MockIJailUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIJailUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIJailUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIMessage

type MockIMessage struct {
	// contains filtered or unexported fields
}

MockIMessage is a mock of IMessage interface.

func NewMockIMessage

func NewMockIMessage(ctrl *gomock.Controller) *MockIMessage

NewMockIMessage creates a new mock instance.

func (*MockIMessage) ByAddress added in v1.2.0

ByAddress mocks base method.

func (*MockIMessage) ByTxId

func (m *MockIMessage) ByTxId(ctx context.Context, txId uint64, limit, offset int) ([]storage.Message, error)

ByTxId mocks base method.

func (*MockIMessage) CursorList

func (m *MockIMessage) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Message, error)

CursorList mocks base method.

func (*MockIMessage) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIMessage) GetByID

func (m *MockIMessage) GetByID(ctx context.Context, id uint64) (*storage.Message, error)

GetByID mocks base method.

func (*MockIMessage) IsNoRows

func (m *MockIMessage) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIMessage) LastID

func (m *MockIMessage) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIMessage) List

func (m *MockIMessage) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Message, error)

List mocks base method.

func (*MockIMessage) ListWithTx added in v1.0.4

ListWithTx mocks base method.

func (*MockIMessage) Save

func (m_2 *MockIMessage) Save(ctx context.Context, m *storage.Message) error

Save mocks base method.

func (*MockIMessage) Update

func (m_2 *MockIMessage) Update(ctx context.Context, m *storage.Message) error

Update mocks base method.

type MockIMessageByAddressCall added in v1.9.9

type MockIMessageByAddressCall struct {
	*gomock.Call
}

MockIMessageByAddressCall wrap *gomock.Call

func (*MockIMessageByAddressCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIMessageByAddressCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIMessageByAddressCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIMessageByTxIdCall added in v1.9.9

type MockIMessageByTxIdCall struct {
	*gomock.Call
}

MockIMessageByTxIdCall wrap *gomock.Call

func (*MockIMessageByTxIdCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIMessageByTxIdCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIMessageByTxIdCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIMessageCursorListCall added in v1.9.9

type MockIMessageCursorListCall struct {
	*gomock.Call
}

MockIMessageCursorListCall wrap *gomock.Call

func (*MockIMessageCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIMessageCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIMessageCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIMessageGetByIDCall added in v1.9.9

type MockIMessageGetByIDCall struct {
	*gomock.Call
}

MockIMessageGetByIDCall wrap *gomock.Call

func (*MockIMessageGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIMessageGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIMessageGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIMessageIsNoRowsCall added in v1.9.9

type MockIMessageIsNoRowsCall struct {
	*gomock.Call
}

MockIMessageIsNoRowsCall wrap *gomock.Call

func (*MockIMessageIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIMessageIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIMessageIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIMessageLastIDCall added in v1.9.9

type MockIMessageLastIDCall struct {
	*gomock.Call
}

MockIMessageLastIDCall wrap *gomock.Call

func (*MockIMessageLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIMessageLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIMessageLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIMessageListCall added in v1.9.9

type MockIMessageListCall struct {
	*gomock.Call
}

MockIMessageListCall wrap *gomock.Call

func (*MockIMessageListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIMessageListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIMessageListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIMessageListWithTxCall added in v1.9.9

type MockIMessageListWithTxCall struct {
	*gomock.Call
}

MockIMessageListWithTxCall wrap *gomock.Call

func (*MockIMessageListWithTxCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIMessageListWithTxCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIMessageListWithTxCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIMessageMockRecorder

type MockIMessageMockRecorder struct {
	// contains filtered or unexported fields
}

MockIMessageMockRecorder is the mock recorder for MockIMessage.

func (*MockIMessageMockRecorder) ByAddress added in v1.2.0

func (mr *MockIMessageMockRecorder) ByAddress(ctx, id, filters any) *MockIMessageByAddressCall

ByAddress indicates an expected call of ByAddress.

func (*MockIMessageMockRecorder) ByTxId

func (mr *MockIMessageMockRecorder) ByTxId(ctx, txId, limit, offset any) *MockIMessageByTxIdCall

ByTxId indicates an expected call of ByTxId.

func (*MockIMessageMockRecorder) CursorList

func (mr *MockIMessageMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIMessageCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIMessageMockRecorder) GetByID

GetByID indicates an expected call of GetByID.

func (*MockIMessageMockRecorder) IsNoRows

IsNoRows indicates an expected call of IsNoRows.

func (*MockIMessageMockRecorder) LastID

LastID indicates an expected call of LastID.

func (*MockIMessageMockRecorder) List

func (mr *MockIMessageMockRecorder) List(ctx, limit, offset, order any) *MockIMessageListCall

List indicates an expected call of List.

func (*MockIMessageMockRecorder) ListWithTx added in v1.0.4

func (mr *MockIMessageMockRecorder) ListWithTx(ctx, filters any) *MockIMessageListWithTxCall

ListWithTx indicates an expected call of ListWithTx.

func (*MockIMessageMockRecorder) Save

Save indicates an expected call of Save.

func (*MockIMessageMockRecorder) Update

Update indicates an expected call of Update.

type MockIMessageSaveCall added in v1.9.9

type MockIMessageSaveCall struct {
	*gomock.Call
}

MockIMessageSaveCall wrap *gomock.Call

func (*MockIMessageSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIMessageSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIMessageSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIMessageUpdateCall added in v1.9.9

type MockIMessageUpdateCall struct {
	*gomock.Call
}

MockIMessageUpdateCall wrap *gomock.Call

func (*MockIMessageUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIMessageUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIMessageUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockINamespace

type MockINamespace struct {
	// contains filtered or unexported fields
}

MockINamespace is a mock of INamespace interface.

func NewMockINamespace

func NewMockINamespace(ctrl *gomock.Controller) *MockINamespace

NewMockINamespace creates a new mock instance.

func (*MockINamespace) ByNamespaceId

func (m *MockINamespace) ByNamespaceId(ctx context.Context, namespaceId []byte) ([]storage.Namespace, error)

ByNamespaceId mocks base method.

func (*MockINamespace) ByNamespaceIdAndVersion

func (m *MockINamespace) ByNamespaceIdAndVersion(ctx context.Context, namespaceId []byte, version byte) (storage.Namespace, error)

ByNamespaceIdAndVersion mocks base method.

func (*MockINamespace) CursorList

func (m *MockINamespace) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Namespace, error)

CursorList mocks base method.

func (*MockINamespace) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockINamespace) GetByID

func (m *MockINamespace) GetByID(ctx context.Context, id uint64) (*storage.Namespace, error)

GetByID mocks base method.

func (*MockINamespace) GetByIds added in v1.2.0

func (m *MockINamespace) GetByIds(ctx context.Context, ids ...uint64) ([]storage.Namespace, error)

GetByIds mocks base method.

func (*MockINamespace) IsNoRows

func (m *MockINamespace) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockINamespace) LastID

func (m *MockINamespace) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockINamespace) List

func (m *MockINamespace) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Namespace, error)

List mocks base method.

func (*MockINamespace) ListWithSort added in v1.1.2

func (m *MockINamespace) ListWithSort(ctx context.Context, sortField string, sort storage0.SortOrder, limit, offset int) ([]storage.Namespace, error)

ListWithSort mocks base method.

func (*MockINamespace) Messages

func (m *MockINamespace) Messages(ctx context.Context, id uint64, limit, offset int) ([]storage.NamespaceMessage, error)

Messages mocks base method.

func (*MockINamespace) Save

func (m_2 *MockINamespace) Save(ctx context.Context, m *storage.Namespace) error

Save mocks base method.

func (*MockINamespace) Update

func (m_2 *MockINamespace) Update(ctx context.Context, m *storage.Namespace) error

Update mocks base method.

type MockINamespaceByNamespaceIdAndVersionCall added in v1.9.9

type MockINamespaceByNamespaceIdAndVersionCall struct {
	*gomock.Call
}

MockINamespaceByNamespaceIdAndVersionCall wrap *gomock.Call

func (*MockINamespaceByNamespaceIdAndVersionCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockINamespaceByNamespaceIdAndVersionCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockINamespaceByNamespaceIdAndVersionCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockINamespaceByNamespaceIdCall added in v1.9.9

type MockINamespaceByNamespaceIdCall struct {
	*gomock.Call
}

MockINamespaceByNamespaceIdCall wrap *gomock.Call

func (*MockINamespaceByNamespaceIdCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockINamespaceByNamespaceIdCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockINamespaceByNamespaceIdCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockINamespaceCursorListCall added in v1.9.9

type MockINamespaceCursorListCall struct {
	*gomock.Call
}

MockINamespaceCursorListCall wrap *gomock.Call

func (*MockINamespaceCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockINamespaceCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockINamespaceCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockINamespaceGetByIDCall added in v1.9.9

type MockINamespaceGetByIDCall struct {
	*gomock.Call
}

MockINamespaceGetByIDCall wrap *gomock.Call

func (*MockINamespaceGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockINamespaceGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockINamespaceGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockINamespaceGetByIdsCall added in v1.9.9

type MockINamespaceGetByIdsCall struct {
	*gomock.Call
}

MockINamespaceGetByIdsCall wrap *gomock.Call

func (*MockINamespaceGetByIdsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockINamespaceGetByIdsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockINamespaceGetByIdsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockINamespaceIsNoRowsCall added in v1.9.9

type MockINamespaceIsNoRowsCall struct {
	*gomock.Call
}

MockINamespaceIsNoRowsCall wrap *gomock.Call

func (*MockINamespaceIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockINamespaceIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockINamespaceIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockINamespaceLastIDCall added in v1.9.9

type MockINamespaceLastIDCall struct {
	*gomock.Call
}

MockINamespaceLastIDCall wrap *gomock.Call

func (*MockINamespaceLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockINamespaceLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockINamespaceLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockINamespaceListCall added in v1.9.9

type MockINamespaceListCall struct {
	*gomock.Call
}

MockINamespaceListCall wrap *gomock.Call

func (*MockINamespaceListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockINamespaceListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockINamespaceListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockINamespaceListWithSortCall added in v1.9.9

type MockINamespaceListWithSortCall struct {
	*gomock.Call
}

MockINamespaceListWithSortCall wrap *gomock.Call

func (*MockINamespaceListWithSortCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockINamespaceListWithSortCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockINamespaceListWithSortCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockINamespaceMessagesCall added in v1.9.9

type MockINamespaceMessagesCall struct {
	*gomock.Call
}

MockINamespaceMessagesCall wrap *gomock.Call

func (*MockINamespaceMessagesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockINamespaceMessagesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockINamespaceMessagesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockINamespaceMockRecorder

type MockINamespaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockINamespaceMockRecorder is the mock recorder for MockINamespace.

func (*MockINamespaceMockRecorder) ByNamespaceId

func (mr *MockINamespaceMockRecorder) ByNamespaceId(ctx, namespaceId any) *MockINamespaceByNamespaceIdCall

ByNamespaceId indicates an expected call of ByNamespaceId.

func (*MockINamespaceMockRecorder) ByNamespaceIdAndVersion

func (mr *MockINamespaceMockRecorder) ByNamespaceIdAndVersion(ctx, namespaceId, version any) *MockINamespaceByNamespaceIdAndVersionCall

ByNamespaceIdAndVersion indicates an expected call of ByNamespaceIdAndVersion.

func (*MockINamespaceMockRecorder) CursorList

func (mr *MockINamespaceMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockINamespaceCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockINamespaceMockRecorder) GetByID

GetByID indicates an expected call of GetByID.

func (*MockINamespaceMockRecorder) GetByIds added in v1.2.0

func (mr *MockINamespaceMockRecorder) GetByIds(ctx any, ids ...any) *MockINamespaceGetByIdsCall

GetByIds indicates an expected call of GetByIds.

func (*MockINamespaceMockRecorder) IsNoRows

IsNoRows indicates an expected call of IsNoRows.

func (*MockINamespaceMockRecorder) LastID

LastID indicates an expected call of LastID.

func (*MockINamespaceMockRecorder) List

func (mr *MockINamespaceMockRecorder) List(ctx, limit, offset, order any) *MockINamespaceListCall

List indicates an expected call of List.

func (*MockINamespaceMockRecorder) ListWithSort added in v1.1.2

func (mr *MockINamespaceMockRecorder) ListWithSort(ctx, sortField, sort, limit, offset any) *MockINamespaceListWithSortCall

ListWithSort indicates an expected call of ListWithSort.

func (*MockINamespaceMockRecorder) Messages

func (mr *MockINamespaceMockRecorder) Messages(ctx, id, limit, offset any) *MockINamespaceMessagesCall

Messages indicates an expected call of Messages.

func (*MockINamespaceMockRecorder) Save

Save indicates an expected call of Save.

func (*MockINamespaceMockRecorder) Update

Update indicates an expected call of Update.

type MockINamespaceSaveCall added in v1.9.9

type MockINamespaceSaveCall struct {
	*gomock.Call
}

MockINamespaceSaveCall wrap *gomock.Call

func (*MockINamespaceSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockINamespaceSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockINamespaceSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockINamespaceUpdateCall added in v1.9.9

type MockINamespaceUpdateCall struct {
	*gomock.Call
}

MockINamespaceUpdateCall wrap *gomock.Call

func (*MockINamespaceUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockINamespaceUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockINamespaceUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIPrice added in v1.2.0

type MockIPrice struct {
	// contains filtered or unexported fields
}

MockIPrice is a mock of IPrice interface.

func NewMockIPrice added in v1.2.0

func NewMockIPrice(ctrl *gomock.Controller) *MockIPrice

NewMockIPrice creates a new mock instance.

func (*MockIPrice) EXPECT added in v1.2.0

func (m *MockIPrice) EXPECT() *MockIPriceMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIPrice) Get added in v1.2.0

func (m *MockIPrice) Get(ctx context.Context, timeframe string, start, end time.Time, limit int) ([]storage.Price, error)

Get mocks base method.

func (*MockIPrice) Last added in v1.2.0

func (m *MockIPrice) Last(ctx context.Context) (storage.Price, error)

Last mocks base method.

func (*MockIPrice) Save added in v1.2.0

func (m *MockIPrice) Save(ctx context.Context, price *storage.Price) error

Save mocks base method.

type MockIPriceGetCall added in v1.9.9

type MockIPriceGetCall struct {
	*gomock.Call
}

MockIPriceGetCall wrap *gomock.Call

func (*MockIPriceGetCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIPriceGetCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIPriceGetCall) Return added in v1.9.9

func (c *MockIPriceGetCall) Return(arg0 []storage.Price, arg1 error) *MockIPriceGetCall

Return rewrite *gomock.Call.Return

type MockIPriceLastCall added in v1.9.9

type MockIPriceLastCall struct {
	*gomock.Call
}

MockIPriceLastCall wrap *gomock.Call

func (*MockIPriceLastCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIPriceLastCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIPriceLastCall) Return added in v1.9.9

func (c *MockIPriceLastCall) Return(arg0 storage.Price, arg1 error) *MockIPriceLastCall

Return rewrite *gomock.Call.Return

type MockIPriceMockRecorder added in v1.2.0

type MockIPriceMockRecorder struct {
	// contains filtered or unexported fields
}

MockIPriceMockRecorder is the mock recorder for MockIPrice.

func (*MockIPriceMockRecorder) Get added in v1.2.0

func (mr *MockIPriceMockRecorder) Get(ctx, timeframe, start, end, limit any) *MockIPriceGetCall

Get indicates an expected call of Get.

func (*MockIPriceMockRecorder) Last added in v1.2.0

Last indicates an expected call of Last.

func (*MockIPriceMockRecorder) Save added in v1.2.0

func (mr *MockIPriceMockRecorder) Save(ctx, price any) *MockIPriceSaveCall

Save indicates an expected call of Save.

type MockIPriceSaveCall added in v1.9.9

type MockIPriceSaveCall struct {
	*gomock.Call
}

MockIPriceSaveCall wrap *gomock.Call

func (*MockIPriceSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIPriceSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIPriceSaveCall) Return added in v1.9.9

func (c *MockIPriceSaveCall) Return(arg0 error) *MockIPriceSaveCall

Return rewrite *gomock.Call.Return

type MockIRedelegation added in v1.6.0

type MockIRedelegation struct {
	// contains filtered or unexported fields
}

MockIRedelegation is a mock of IRedelegation interface.

func NewMockIRedelegation added in v1.6.0

func NewMockIRedelegation(ctrl *gomock.Controller) *MockIRedelegation

NewMockIRedelegation creates a new mock instance.

func (*MockIRedelegation) ByAddress added in v1.6.0

func (m *MockIRedelegation) ByAddress(ctx context.Context, addressId uint64, limit, offset int) ([]storage.Redelegation, error)

ByAddress mocks base method.

func (*MockIRedelegation) CursorList added in v1.6.0

func (m *MockIRedelegation) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Redelegation, error)

CursorList mocks base method.

func (*MockIRedelegation) EXPECT added in v1.6.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIRedelegation) GetByID added in v1.6.0

GetByID mocks base method.

func (*MockIRedelegation) IsNoRows added in v1.6.0

func (m *MockIRedelegation) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIRedelegation) LastID added in v1.6.0

func (m *MockIRedelegation) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIRedelegation) List added in v1.6.0

func (m *MockIRedelegation) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Redelegation, error)

List mocks base method.

func (*MockIRedelegation) Save added in v1.6.0

Save mocks base method.

func (*MockIRedelegation) Update added in v1.6.0

Update mocks base method.

type MockIRedelegationByAddressCall added in v1.9.9

type MockIRedelegationByAddressCall struct {
	*gomock.Call
}

MockIRedelegationByAddressCall wrap *gomock.Call

func (*MockIRedelegationByAddressCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRedelegationByAddressCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRedelegationByAddressCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRedelegationCursorListCall added in v1.9.9

type MockIRedelegationCursorListCall struct {
	*gomock.Call
}

MockIRedelegationCursorListCall wrap *gomock.Call

func (*MockIRedelegationCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRedelegationCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRedelegationCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRedelegationGetByIDCall added in v1.9.9

type MockIRedelegationGetByIDCall struct {
	*gomock.Call
}

MockIRedelegationGetByIDCall wrap *gomock.Call

func (*MockIRedelegationGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRedelegationGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRedelegationGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRedelegationIsNoRowsCall added in v1.9.9

type MockIRedelegationIsNoRowsCall struct {
	*gomock.Call
}

MockIRedelegationIsNoRowsCall wrap *gomock.Call

func (*MockIRedelegationIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRedelegationIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRedelegationIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRedelegationLastIDCall added in v1.9.9

type MockIRedelegationLastIDCall struct {
	*gomock.Call
}

MockIRedelegationLastIDCall wrap *gomock.Call

func (*MockIRedelegationLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRedelegationLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRedelegationLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRedelegationListCall added in v1.9.9

type MockIRedelegationListCall struct {
	*gomock.Call
}

MockIRedelegationListCall wrap *gomock.Call

func (*MockIRedelegationListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRedelegationListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRedelegationListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRedelegationMockRecorder added in v1.6.0

type MockIRedelegationMockRecorder struct {
	// contains filtered or unexported fields
}

MockIRedelegationMockRecorder is the mock recorder for MockIRedelegation.

func (*MockIRedelegationMockRecorder) ByAddress added in v1.6.0

func (mr *MockIRedelegationMockRecorder) ByAddress(ctx, addressId, limit, offset any) *MockIRedelegationByAddressCall

ByAddress indicates an expected call of ByAddress.

func (*MockIRedelegationMockRecorder) CursorList added in v1.6.0

func (mr *MockIRedelegationMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIRedelegationCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIRedelegationMockRecorder) GetByID added in v1.6.0

GetByID indicates an expected call of GetByID.

func (*MockIRedelegationMockRecorder) IsNoRows added in v1.6.0

IsNoRows indicates an expected call of IsNoRows.

func (*MockIRedelegationMockRecorder) LastID added in v1.6.0

LastID indicates an expected call of LastID.

func (*MockIRedelegationMockRecorder) List added in v1.6.0

func (mr *MockIRedelegationMockRecorder) List(ctx, limit, offset, order any) *MockIRedelegationListCall

List indicates an expected call of List.

func (*MockIRedelegationMockRecorder) Save added in v1.6.0

Save indicates an expected call of Save.

func (*MockIRedelegationMockRecorder) Update added in v1.6.0

Update indicates an expected call of Update.

type MockIRedelegationSaveCall added in v1.9.9

type MockIRedelegationSaveCall struct {
	*gomock.Call
}

MockIRedelegationSaveCall wrap *gomock.Call

func (*MockIRedelegationSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRedelegationSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRedelegationSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRedelegationUpdateCall added in v1.9.9

type MockIRedelegationUpdateCall struct {
	*gomock.Call
}

MockIRedelegationUpdateCall wrap *gomock.Call

func (*MockIRedelegationUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRedelegationUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRedelegationUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollup added in v1.2.0

type MockIRollup struct {
	// contains filtered or unexported fields
}

MockIRollup is a mock of IRollup interface.

func NewMockIRollup added in v1.2.0

func NewMockIRollup(ctrl *gomock.Controller) *MockIRollup

NewMockIRollup creates a new mock instance.

func (*MockIRollup) AllSeries added in v1.9.10

AllSeries mocks base method.

func (*MockIRollup) ById added in v1.9.9

func (m *MockIRollup) ById(ctx context.Context, rollupId uint64) (storage.RollupWithStats, error)

ById mocks base method.

func (*MockIRollup) BySlug added in v1.4.0

func (m *MockIRollup) BySlug(ctx context.Context, slug string) (storage.RollupWithStats, error)

BySlug mocks base method.

func (*MockIRollup) Count added in v1.3.2

func (m *MockIRollup) Count(ctx context.Context) (int64, error)

Count mocks base method.

func (*MockIRollup) CursorList added in v1.2.0

func (m *MockIRollup) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Rollup, error)

CursorList mocks base method.

func (*MockIRollup) Distribution added in v1.6.1

func (m *MockIRollup) Distribution(ctx context.Context, rollupId uint64, series, groupBy string) ([]storage.DistributionItem, error)

Distribution mocks base method.

func (*MockIRollup) EXPECT added in v1.2.0

func (m *MockIRollup) EXPECT() *MockIRollupMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIRollup) GetByID added in v1.2.0

func (m *MockIRollup) GetByID(ctx context.Context, id uint64) (*storage.Rollup, error)

GetByID mocks base method.

func (*MockIRollup) IsNoRows added in v1.2.0

func (m *MockIRollup) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIRollup) LastID added in v1.2.0

func (m *MockIRollup) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIRollup) Leaderboard added in v1.2.0

Leaderboard mocks base method.

func (*MockIRollup) LeaderboardDay added in v1.9.10

LeaderboardDay mocks base method.

func (*MockIRollup) List added in v1.2.0

func (m *MockIRollup) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Rollup, error)

List mocks base method.

func (*MockIRollup) Namespaces added in v1.2.0

func (m *MockIRollup) Namespaces(ctx context.Context, rollupId uint64, limit, offset int) ([]uint64, error)

Namespaces mocks base method.

func (*MockIRollup) Providers added in v1.2.0

func (m *MockIRollup) Providers(ctx context.Context, rollupId uint64) ([]storage.RollupProvider, error)

Providers mocks base method.

func (*MockIRollup) RollupStatsGrouping added in v1.10.8

RollupStatsGrouping mocks base method.

func (*MockIRollup) RollupsByNamespace added in v1.5.0

func (m *MockIRollup) RollupsByNamespace(ctx context.Context, namespaceId uint64, limit, offset int) ([]storage.Rollup, error)

RollupsByNamespace mocks base method.

func (*MockIRollup) Save added in v1.2.0

func (m_2 *MockIRollup) Save(ctx context.Context, m *storage.Rollup) error

Save mocks base method.

func (*MockIRollup) Series added in v1.3.2

func (m *MockIRollup) Series(ctx context.Context, rollupId uint64, timeframe, column string, req storage.SeriesRequest) ([]storage.HistogramItem, error)

Series mocks base method.

func (*MockIRollup) Update added in v1.2.0

func (m_2 *MockIRollup) Update(ctx context.Context, m *storage.Rollup) error

Update mocks base method.

type MockIRollupAllSeriesCall added in v1.9.10

type MockIRollupAllSeriesCall struct {
	*gomock.Call
}

MockIRollupAllSeriesCall wrap *gomock.Call

func (*MockIRollupAllSeriesCall) Do added in v1.9.10

Do rewrite *gomock.Call.Do

func (*MockIRollupAllSeriesCall) DoAndReturn added in v1.9.10

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupAllSeriesCall) Return added in v1.9.10

Return rewrite *gomock.Call.Return

type MockIRollupByIdCall added in v1.9.9

type MockIRollupByIdCall struct {
	*gomock.Call
}

MockIRollupByIdCall wrap *gomock.Call

func (*MockIRollupByIdCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupByIdCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupByIdCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupBySlugCall added in v1.9.9

type MockIRollupBySlugCall struct {
	*gomock.Call
}

MockIRollupBySlugCall wrap *gomock.Call

func (*MockIRollupBySlugCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupBySlugCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupBySlugCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupCountCall added in v1.9.9

type MockIRollupCountCall struct {
	*gomock.Call
}

MockIRollupCountCall wrap *gomock.Call

func (*MockIRollupCountCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupCountCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupCountCall) Return added in v1.9.9

func (c *MockIRollupCountCall) Return(arg0 int64, arg1 error) *MockIRollupCountCall

Return rewrite *gomock.Call.Return

type MockIRollupCursorListCall added in v1.9.9

type MockIRollupCursorListCall struct {
	*gomock.Call
}

MockIRollupCursorListCall wrap *gomock.Call

func (*MockIRollupCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupDistributionCall added in v1.9.9

type MockIRollupDistributionCall struct {
	*gomock.Call
}

MockIRollupDistributionCall wrap *gomock.Call

func (*MockIRollupDistributionCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupDistributionCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupDistributionCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupGetByIDCall added in v1.9.9

type MockIRollupGetByIDCall struct {
	*gomock.Call
}

MockIRollupGetByIDCall wrap *gomock.Call

func (*MockIRollupGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupIsNoRowsCall added in v1.9.9

type MockIRollupIsNoRowsCall struct {
	*gomock.Call
}

MockIRollupIsNoRowsCall wrap *gomock.Call

func (*MockIRollupIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupIsNoRowsCall) DoAndReturn added in v1.9.9

func (c *MockIRollupIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIRollupIsNoRowsCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupLastIDCall added in v1.9.9

type MockIRollupLastIDCall struct {
	*gomock.Call
}

MockIRollupLastIDCall wrap *gomock.Call

func (*MockIRollupLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupLeaderboardCall added in v1.9.9

type MockIRollupLeaderboardCall struct {
	*gomock.Call
}

MockIRollupLeaderboardCall wrap *gomock.Call

func (*MockIRollupLeaderboardCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupLeaderboardCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupLeaderboardCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupLeaderboardDayCall added in v1.9.10

type MockIRollupLeaderboardDayCall struct {
	*gomock.Call
}

MockIRollupLeaderboardDayCall wrap *gomock.Call

func (*MockIRollupLeaderboardDayCall) Do added in v1.9.10

Do rewrite *gomock.Call.Do

func (*MockIRollupLeaderboardDayCall) DoAndReturn added in v1.9.10

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupLeaderboardDayCall) Return added in v1.9.10

Return rewrite *gomock.Call.Return

type MockIRollupListCall added in v1.9.9

type MockIRollupListCall struct {
	*gomock.Call
}

MockIRollupListCall wrap *gomock.Call

func (*MockIRollupListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupListCall) Return added in v1.9.9

func (c *MockIRollupListCall) Return(arg0 []*storage.Rollup, arg1 error) *MockIRollupListCall

Return rewrite *gomock.Call.Return

type MockIRollupMockRecorder added in v1.2.0

type MockIRollupMockRecorder struct {
	// contains filtered or unexported fields
}

MockIRollupMockRecorder is the mock recorder for MockIRollup.

func (*MockIRollupMockRecorder) AllSeries added in v1.9.10

AllSeries indicates an expected call of AllSeries.

func (*MockIRollupMockRecorder) ById added in v1.9.9

func (mr *MockIRollupMockRecorder) ById(ctx, rollupId any) *MockIRollupByIdCall

ById indicates an expected call of ById.

func (*MockIRollupMockRecorder) BySlug added in v1.4.0

func (mr *MockIRollupMockRecorder) BySlug(ctx, slug any) *MockIRollupBySlugCall

BySlug indicates an expected call of BySlug.

func (*MockIRollupMockRecorder) Count added in v1.3.2

Count indicates an expected call of Count.

func (*MockIRollupMockRecorder) CursorList added in v1.2.0

func (mr *MockIRollupMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIRollupCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIRollupMockRecorder) Distribution added in v1.6.1

func (mr *MockIRollupMockRecorder) Distribution(ctx, rollupId, series, groupBy any) *MockIRollupDistributionCall

Distribution indicates an expected call of Distribution.

func (*MockIRollupMockRecorder) GetByID added in v1.2.0

func (mr *MockIRollupMockRecorder) GetByID(ctx, id any) *MockIRollupGetByIDCall

GetByID indicates an expected call of GetByID.

func (*MockIRollupMockRecorder) IsNoRows added in v1.2.0

IsNoRows indicates an expected call of IsNoRows.

func (*MockIRollupMockRecorder) LastID added in v1.2.0

LastID indicates an expected call of LastID.

func (*MockIRollupMockRecorder) Leaderboard added in v1.2.0

func (mr *MockIRollupMockRecorder) Leaderboard(ctx, fltrs any) *MockIRollupLeaderboardCall

Leaderboard indicates an expected call of Leaderboard.

func (*MockIRollupMockRecorder) LeaderboardDay added in v1.9.10

func (mr *MockIRollupMockRecorder) LeaderboardDay(ctx, fltrs any) *MockIRollupLeaderboardDayCall

LeaderboardDay indicates an expected call of LeaderboardDay.

func (*MockIRollupMockRecorder) List added in v1.2.0

func (mr *MockIRollupMockRecorder) List(ctx, limit, offset, order any) *MockIRollupListCall

List indicates an expected call of List.

func (*MockIRollupMockRecorder) Namespaces added in v1.2.0

func (mr *MockIRollupMockRecorder) Namespaces(ctx, rollupId, limit, offset any) *MockIRollupNamespacesCall

Namespaces indicates an expected call of Namespaces.

func (*MockIRollupMockRecorder) Providers added in v1.2.0

func (mr *MockIRollupMockRecorder) Providers(ctx, rollupId any) *MockIRollupProvidersCall

Providers indicates an expected call of Providers.

func (*MockIRollupMockRecorder) RollupStatsGrouping added in v1.10.8

func (mr *MockIRollupMockRecorder) RollupStatsGrouping(ctx, fltrs any) *MockIRollupRollupStatsGroupingCall

RollupStatsGrouping indicates an expected call of RollupStatsGrouping.

func (*MockIRollupMockRecorder) RollupsByNamespace added in v1.5.0

func (mr *MockIRollupMockRecorder) RollupsByNamespace(ctx, namespaceId, limit, offset any) *MockIRollupRollupsByNamespaceCall

RollupsByNamespace indicates an expected call of RollupsByNamespace.

func (*MockIRollupMockRecorder) Save added in v1.2.0

Save indicates an expected call of Save.

func (*MockIRollupMockRecorder) Series added in v1.3.2

func (mr *MockIRollupMockRecorder) Series(ctx, rollupId, timeframe, column, req any) *MockIRollupSeriesCall

Series indicates an expected call of Series.

func (*MockIRollupMockRecorder) Update added in v1.2.0

Update indicates an expected call of Update.

type MockIRollupNamespacesCall added in v1.9.9

type MockIRollupNamespacesCall struct {
	*gomock.Call
}

MockIRollupNamespacesCall wrap *gomock.Call

func (*MockIRollupNamespacesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupNamespacesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupNamespacesCall) Return added in v1.9.9

func (c *MockIRollupNamespacesCall) Return(namespaceIds []uint64, err error) *MockIRollupNamespacesCall

Return rewrite *gomock.Call.Return

type MockIRollupProvider added in v1.2.0

type MockIRollupProvider struct {
	// contains filtered or unexported fields
}

MockIRollupProvider is a mock of IRollupProvider interface.

func NewMockIRollupProvider added in v1.2.0

func NewMockIRollupProvider(ctrl *gomock.Controller) *MockIRollupProvider

NewMockIRollupProvider creates a new mock instance.

func (*MockIRollupProvider) CursorList added in v1.2.0

func (m *MockIRollupProvider) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.RollupProvider, error)

CursorList mocks base method.

func (*MockIRollupProvider) EXPECT added in v1.2.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIRollupProvider) GetByID added in v1.2.0

GetByID mocks base method.

func (*MockIRollupProvider) IsNoRows added in v1.2.0

func (m *MockIRollupProvider) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIRollupProvider) LastID added in v1.2.0

func (m *MockIRollupProvider) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIRollupProvider) List added in v1.2.0

func (m *MockIRollupProvider) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.RollupProvider, error)

List mocks base method.

func (*MockIRollupProvider) Save added in v1.2.0

Save mocks base method.

func (*MockIRollupProvider) Update added in v1.2.0

Update mocks base method.

type MockIRollupProviderCursorListCall added in v1.9.9

type MockIRollupProviderCursorListCall struct {
	*gomock.Call
}

MockIRollupProviderCursorListCall wrap *gomock.Call

func (*MockIRollupProviderCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupProviderCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupProviderCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupProviderGetByIDCall added in v1.9.9

type MockIRollupProviderGetByIDCall struct {
	*gomock.Call
}

MockIRollupProviderGetByIDCall wrap *gomock.Call

func (*MockIRollupProviderGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupProviderGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupProviderGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupProviderIsNoRowsCall added in v1.9.9

type MockIRollupProviderIsNoRowsCall struct {
	*gomock.Call
}

MockIRollupProviderIsNoRowsCall wrap *gomock.Call

func (*MockIRollupProviderIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupProviderIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupProviderIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupProviderLastIDCall added in v1.9.9

type MockIRollupProviderLastIDCall struct {
	*gomock.Call
}

MockIRollupProviderLastIDCall wrap *gomock.Call

func (*MockIRollupProviderLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupProviderLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupProviderLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupProviderListCall added in v1.9.9

type MockIRollupProviderListCall struct {
	*gomock.Call
}

MockIRollupProviderListCall wrap *gomock.Call

func (*MockIRollupProviderListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupProviderListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupProviderListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupProviderMockRecorder added in v1.2.0

type MockIRollupProviderMockRecorder struct {
	// contains filtered or unexported fields
}

MockIRollupProviderMockRecorder is the mock recorder for MockIRollupProvider.

func (*MockIRollupProviderMockRecorder) CursorList added in v1.2.0

func (mr *MockIRollupProviderMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIRollupProviderCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIRollupProviderMockRecorder) GetByID added in v1.2.0

GetByID indicates an expected call of GetByID.

func (*MockIRollupProviderMockRecorder) IsNoRows added in v1.2.0

IsNoRows indicates an expected call of IsNoRows.

func (*MockIRollupProviderMockRecorder) LastID added in v1.2.0

LastID indicates an expected call of LastID.

func (*MockIRollupProviderMockRecorder) List added in v1.2.0

func (mr *MockIRollupProviderMockRecorder) List(ctx, limit, offset, order any) *MockIRollupProviderListCall

List indicates an expected call of List.

func (*MockIRollupProviderMockRecorder) Save added in v1.2.0

Save indicates an expected call of Save.

func (*MockIRollupProviderMockRecorder) Update added in v1.2.0

Update indicates an expected call of Update.

type MockIRollupProviderSaveCall added in v1.9.9

type MockIRollupProviderSaveCall struct {
	*gomock.Call
}

MockIRollupProviderSaveCall wrap *gomock.Call

func (*MockIRollupProviderSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupProviderSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupProviderSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupProviderUpdateCall added in v1.9.9

type MockIRollupProviderUpdateCall struct {
	*gomock.Call
}

MockIRollupProviderUpdateCall wrap *gomock.Call

func (*MockIRollupProviderUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupProviderUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupProviderUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupProvidersCall added in v1.9.9

type MockIRollupProvidersCall struct {
	*gomock.Call
}

MockIRollupProvidersCall wrap *gomock.Call

func (*MockIRollupProvidersCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupProvidersCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupProvidersCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupRollupStatsGroupingCall added in v1.10.8

type MockIRollupRollupStatsGroupingCall struct {
	*gomock.Call
}

MockIRollupRollupStatsGroupingCall wrap *gomock.Call

func (*MockIRollupRollupStatsGroupingCall) Do added in v1.10.8

Do rewrite *gomock.Call.Do

func (*MockIRollupRollupStatsGroupingCall) DoAndReturn added in v1.10.8

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupRollupStatsGroupingCall) Return added in v1.10.8

Return rewrite *gomock.Call.Return

type MockIRollupRollupsByNamespaceCall added in v1.9.9

type MockIRollupRollupsByNamespaceCall struct {
	*gomock.Call
}

MockIRollupRollupsByNamespaceCall wrap *gomock.Call

func (*MockIRollupRollupsByNamespaceCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupRollupsByNamespaceCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupRollupsByNamespaceCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupSaveCall added in v1.9.9

type MockIRollupSaveCall struct {
	*gomock.Call
}

MockIRollupSaveCall wrap *gomock.Call

func (*MockIRollupSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupSeriesCall added in v1.9.9

type MockIRollupSeriesCall struct {
	*gomock.Call
}

MockIRollupSeriesCall wrap *gomock.Call

func (*MockIRollupSeriesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupSeriesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupSeriesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIRollupUpdateCall added in v1.9.9

type MockIRollupUpdateCall struct {
	*gomock.Call
}

MockIRollupUpdateCall wrap *gomock.Call

func (*MockIRollupUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIRollupUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIRollupUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockISearch added in v1.4.0

type MockISearch struct {
	// contains filtered or unexported fields
}

MockISearch is a mock of ISearch interface.

func NewMockISearch added in v1.4.0

func NewMockISearch(ctrl *gomock.Controller) *MockISearch

NewMockISearch creates a new mock instance.

func (*MockISearch) EXPECT added in v1.4.0

func (m *MockISearch) EXPECT() *MockISearchMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockISearch) Search added in v1.4.0

func (m *MockISearch) Search(ctx context.Context, query []byte) ([]storage.SearchResult, error)

Search mocks base method.

func (*MockISearch) SearchText added in v1.4.0

func (m *MockISearch) SearchText(ctx context.Context, text string) ([]storage.SearchResult, error)

SearchText mocks base method.

type MockISearchMockRecorder added in v1.4.0

type MockISearchMockRecorder struct {
	// contains filtered or unexported fields
}

MockISearchMockRecorder is the mock recorder for MockISearch.

func (*MockISearchMockRecorder) Search added in v1.4.0

func (mr *MockISearchMockRecorder) Search(ctx, query any) *MockISearchSearchCall

Search indicates an expected call of Search.

func (*MockISearchMockRecorder) SearchText added in v1.4.0

func (mr *MockISearchMockRecorder) SearchText(ctx, text any) *MockISearchSearchTextCall

SearchText indicates an expected call of SearchText.

type MockISearchSearchCall added in v1.9.9

type MockISearchSearchCall struct {
	*gomock.Call
}

MockISearchSearchCall wrap *gomock.Call

func (*MockISearchSearchCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockISearchSearchCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockISearchSearchCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockISearchSearchTextCall added in v1.9.9

type MockISearchSearchTextCall struct {
	*gomock.Call
}

MockISearchSearchTextCall wrap *gomock.Call

func (*MockISearchSearchTextCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockISearchSearchTextCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockISearchSearchTextCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStakingLog added in v1.6.0

type MockIStakingLog struct {
	// contains filtered or unexported fields
}

MockIStakingLog is a mock of IStakingLog interface.

func NewMockIStakingLog added in v1.6.0

func NewMockIStakingLog(ctrl *gomock.Controller) *MockIStakingLog

NewMockIStakingLog creates a new mock instance.

func (*MockIStakingLog) CursorList added in v1.6.0

func (m *MockIStakingLog) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.StakingLog, error)

CursorList mocks base method.

func (*MockIStakingLog) EXPECT added in v1.6.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIStakingLog) GetByID added in v1.6.0

func (m *MockIStakingLog) GetByID(ctx context.Context, id uint64) (*storage.StakingLog, error)

GetByID mocks base method.

func (*MockIStakingLog) IsNoRows added in v1.6.0

func (m *MockIStakingLog) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIStakingLog) LastID added in v1.6.0

func (m *MockIStakingLog) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIStakingLog) List added in v1.6.0

func (m *MockIStakingLog) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.StakingLog, error)

List mocks base method.

func (*MockIStakingLog) Save added in v1.6.0

Save mocks base method.

func (*MockIStakingLog) Update added in v1.6.0

func (m_2 *MockIStakingLog) Update(ctx context.Context, m *storage.StakingLog) error

Update mocks base method.

type MockIStakingLogCursorListCall added in v1.9.9

type MockIStakingLogCursorListCall struct {
	*gomock.Call
}

MockIStakingLogCursorListCall wrap *gomock.Call

func (*MockIStakingLogCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStakingLogCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStakingLogCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStakingLogGetByIDCall added in v1.9.9

type MockIStakingLogGetByIDCall struct {
	*gomock.Call
}

MockIStakingLogGetByIDCall wrap *gomock.Call

func (*MockIStakingLogGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStakingLogGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStakingLogGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStakingLogIsNoRowsCall added in v1.9.9

type MockIStakingLogIsNoRowsCall struct {
	*gomock.Call
}

MockIStakingLogIsNoRowsCall wrap *gomock.Call

func (*MockIStakingLogIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStakingLogIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStakingLogIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStakingLogLastIDCall added in v1.9.9

type MockIStakingLogLastIDCall struct {
	*gomock.Call
}

MockIStakingLogLastIDCall wrap *gomock.Call

func (*MockIStakingLogLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStakingLogLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStakingLogLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStakingLogListCall added in v1.9.9

type MockIStakingLogListCall struct {
	*gomock.Call
}

MockIStakingLogListCall wrap *gomock.Call

func (*MockIStakingLogListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStakingLogListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStakingLogListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStakingLogMockRecorder added in v1.6.0

type MockIStakingLogMockRecorder struct {
	// contains filtered or unexported fields
}

MockIStakingLogMockRecorder is the mock recorder for MockIStakingLog.

func (*MockIStakingLogMockRecorder) CursorList added in v1.6.0

func (mr *MockIStakingLogMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIStakingLogCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIStakingLogMockRecorder) GetByID added in v1.6.0

GetByID indicates an expected call of GetByID.

func (*MockIStakingLogMockRecorder) IsNoRows added in v1.6.0

IsNoRows indicates an expected call of IsNoRows.

func (*MockIStakingLogMockRecorder) LastID added in v1.6.0

LastID indicates an expected call of LastID.

func (*MockIStakingLogMockRecorder) List added in v1.6.0

func (mr *MockIStakingLogMockRecorder) List(ctx, limit, offset, order any) *MockIStakingLogListCall

List indicates an expected call of List.

func (*MockIStakingLogMockRecorder) Save added in v1.6.0

Save indicates an expected call of Save.

func (*MockIStakingLogMockRecorder) Update added in v1.6.0

Update indicates an expected call of Update.

type MockIStakingLogSaveCall added in v1.9.9

type MockIStakingLogSaveCall struct {
	*gomock.Call
}

MockIStakingLogSaveCall wrap *gomock.Call

func (*MockIStakingLogSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStakingLogSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStakingLogSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStakingLogUpdateCall added in v1.9.9

type MockIStakingLogUpdateCall struct {
	*gomock.Call
}

MockIStakingLogUpdateCall wrap *gomock.Call

func (*MockIStakingLogUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStakingLogUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStakingLogUpdateCall) Return added in v1.9.9

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) ByName

func (m *MockIState) ByName(ctx context.Context, name string) (storage.State, error)

ByName mocks base method.

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) GetByID

func (m *MockIState) GetByID(ctx context.Context, id uint64) (*storage.State, error)

GetByID mocks base method.

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.

func (*MockIState) Save

func (m_2 *MockIState) Save(ctx context.Context, m *storage.State) error

Save mocks base method.

func (*MockIState) Update

func (m_2 *MockIState) Update(ctx context.Context, m *storage.State) error

Update mocks base method.

type MockIStateByNameCall added in v1.9.9

type MockIStateByNameCall struct {
	*gomock.Call
}

MockIStateByNameCall wrap *gomock.Call

func (*MockIStateByNameCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStateByNameCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStateByNameCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStateCursorListCall added in v1.9.9

type MockIStateCursorListCall struct {
	*gomock.Call
}

MockIStateCursorListCall wrap *gomock.Call

func (*MockIStateCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStateCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStateCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStateGetByIDCall added in v1.9.9

type MockIStateGetByIDCall struct {
	*gomock.Call
}

MockIStateGetByIDCall wrap *gomock.Call

func (*MockIStateGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStateGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStateGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStateIsNoRowsCall added in v1.9.9

type MockIStateIsNoRowsCall struct {
	*gomock.Call
}

MockIStateIsNoRowsCall wrap *gomock.Call

func (*MockIStateIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStateIsNoRowsCall) DoAndReturn added in v1.9.9

func (c *MockIStateIsNoRowsCall) DoAndReturn(f func(error) bool) *MockIStateIsNoRowsCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStateIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStateLastIDCall added in v1.9.9

type MockIStateLastIDCall struct {
	*gomock.Call
}

MockIStateLastIDCall wrap *gomock.Call

func (*MockIStateLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStateLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStateLastIDCall) Return added in v1.9.9

func (c *MockIStateLastIDCall) Return(arg0 uint64, arg1 error) *MockIStateLastIDCall

Return rewrite *gomock.Call.Return

type MockIStateListCall added in v1.9.9

type MockIStateListCall struct {
	*gomock.Call
}

MockIStateListCall wrap *gomock.Call

func (*MockIStateListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStateListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStateListCall) Return added in v1.9.9

func (c *MockIStateListCall) Return(arg0 []*storage.State, arg1 error) *MockIStateListCall

Return rewrite *gomock.Call.Return

type MockIStateMockRecorder

type MockIStateMockRecorder struct {
	// contains filtered or unexported fields
}

MockIStateMockRecorder is the mock recorder for MockIState.

func (*MockIStateMockRecorder) ByName

func (mr *MockIStateMockRecorder) ByName(ctx, name any) *MockIStateByNameCall

ByName indicates an expected call of ByName.

func (*MockIStateMockRecorder) CursorList

func (mr *MockIStateMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIStateCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIStateMockRecorder) GetByID

func (mr *MockIStateMockRecorder) GetByID(ctx, id any) *MockIStateGetByIDCall

GetByID indicates an expected call of GetByID.

func (*MockIStateMockRecorder) IsNoRows

IsNoRows indicates an expected call of IsNoRows.

func (*MockIStateMockRecorder) LastID

LastID indicates an expected call of LastID.

func (*MockIStateMockRecorder) List

func (mr *MockIStateMockRecorder) List(ctx, limit, offset, order any) *MockIStateListCall

List indicates an expected call of List.

func (*MockIStateMockRecorder) Save

func (mr *MockIStateMockRecorder) Save(ctx, m any) *MockIStateSaveCall

Save indicates an expected call of Save.

func (*MockIStateMockRecorder) Update

func (mr *MockIStateMockRecorder) Update(ctx, m any) *MockIStateUpdateCall

Update indicates an expected call of Update.

type MockIStateSaveCall added in v1.9.9

type MockIStateSaveCall struct {
	*gomock.Call
}

MockIStateSaveCall wrap *gomock.Call

func (*MockIStateSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStateSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStateSaveCall) Return added in v1.9.9

func (c *MockIStateSaveCall) Return(arg0 error) *MockIStateSaveCall

Return rewrite *gomock.Call.Return

type MockIStateUpdateCall added in v1.9.9

type MockIStateUpdateCall struct {
	*gomock.Call
}

MockIStateUpdateCall wrap *gomock.Call

func (*MockIStateUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStateUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStateUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStats

type MockIStats struct {
	// contains filtered or unexported fields
}

MockIStats is a mock of IStats interface.

func NewMockIStats

func NewMockIStats(ctrl *gomock.Controller) *MockIStats

NewMockIStats creates a new mock instance.

func (*MockIStats) Change24hBlockStats added in v1.9.7

func (m *MockIStats) Change24hBlockStats(ctx context.Context) (storage.Change24hBlockStats, error)

Change24hBlockStats mocks base method.

func (*MockIStats) Count

func (m *MockIStats) Count(ctx context.Context, req storage.CountRequest) (string, error)

Count mocks base method.

func (*MockIStats) CumulativeSeries added in v1.9.1

func (m *MockIStats) CumulativeSeries(ctx context.Context, timeframe storage.Timeframe, name string, req storage.SeriesRequest) ([]storage.SeriesItem, error)

CumulativeSeries mocks base method.

func (*MockIStats) EXPECT

func (m *MockIStats) EXPECT() *MockIStatsMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIStats) MessagesCount24h added in v1.9.7

func (m *MockIStats) MessagesCount24h(ctx context.Context) ([]storage.CountItem, error)

MessagesCount24h mocks base method.

func (*MockIStats) NamespaceSeries added in v1.1.0

func (m *MockIStats) NamespaceSeries(ctx context.Context, timeframe storage.Timeframe, name string, nsId uint64, req storage.SeriesRequest) ([]storage.SeriesItem, error)

NamespaceSeries mocks base method.

func (*MockIStats) RollupStats24h added in v1.9.7

func (m *MockIStats) RollupStats24h(ctx context.Context) ([]storage.RollupStats24h, error)

RollupStats24h mocks base method.

func (*MockIStats) Series added in v1.1.0

func (m *MockIStats) Series(ctx context.Context, timeframe storage.Timeframe, name string, req storage.SeriesRequest) ([]storage.SeriesItem, error)

Series mocks base method.

func (*MockIStats) SquareSize added in v1.9.6

func (m *MockIStats) SquareSize(ctx context.Context, from, to *time.Time) (map[int][]storage.SeriesItem, error)

SquareSize mocks base method.

func (*MockIStats) StakingSeries added in v1.6.0

func (m *MockIStats) StakingSeries(ctx context.Context, timeframe storage.Timeframe, name string, validatorId uint64, req storage.SeriesRequest) ([]storage.SeriesItem, error)

StakingSeries mocks base method.

func (*MockIStats) Summary

func (m *MockIStats) Summary(ctx context.Context, req storage.SummaryRequest) (string, error)

Summary mocks base method.

func (*MockIStats) TPS added in v1.1.0

func (m *MockIStats) TPS(ctx context.Context) (storage.TPS, error)

TPS mocks base method.

type MockIStatsChange24hBlockStatsCall added in v1.9.9

type MockIStatsChange24hBlockStatsCall struct {
	*gomock.Call
}

MockIStatsChange24hBlockStatsCall wrap *gomock.Call

func (*MockIStatsChange24hBlockStatsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStatsChange24hBlockStatsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStatsChange24hBlockStatsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStatsCountCall added in v1.9.9

type MockIStatsCountCall struct {
	*gomock.Call
}

MockIStatsCountCall wrap *gomock.Call

func (*MockIStatsCountCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStatsCountCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStatsCountCall) Return added in v1.9.9

func (c *MockIStatsCountCall) Return(arg0 string, arg1 error) *MockIStatsCountCall

Return rewrite *gomock.Call.Return

type MockIStatsCumulativeSeriesCall added in v1.9.9

type MockIStatsCumulativeSeriesCall struct {
	*gomock.Call
}

MockIStatsCumulativeSeriesCall wrap *gomock.Call

func (*MockIStatsCumulativeSeriesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStatsCumulativeSeriesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStatsCumulativeSeriesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStatsMessagesCount24hCall added in v1.9.9

type MockIStatsMessagesCount24hCall struct {
	*gomock.Call
}

MockIStatsMessagesCount24hCall wrap *gomock.Call

func (*MockIStatsMessagesCount24hCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStatsMessagesCount24hCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStatsMessagesCount24hCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStatsMockRecorder

type MockIStatsMockRecorder struct {
	// contains filtered or unexported fields
}

MockIStatsMockRecorder is the mock recorder for MockIStats.

func (*MockIStatsMockRecorder) Change24hBlockStats added in v1.9.7

func (mr *MockIStatsMockRecorder) Change24hBlockStats(ctx any) *MockIStatsChange24hBlockStatsCall

Change24hBlockStats indicates an expected call of Change24hBlockStats.

func (*MockIStatsMockRecorder) Count

func (mr *MockIStatsMockRecorder) Count(ctx, req any) *MockIStatsCountCall

Count indicates an expected call of Count.

func (*MockIStatsMockRecorder) CumulativeSeries added in v1.9.1

func (mr *MockIStatsMockRecorder) CumulativeSeries(ctx, timeframe, name, req any) *MockIStatsCumulativeSeriesCall

CumulativeSeries indicates an expected call of CumulativeSeries.

func (*MockIStatsMockRecorder) MessagesCount24h added in v1.9.7

func (mr *MockIStatsMockRecorder) MessagesCount24h(ctx any) *MockIStatsMessagesCount24hCall

MessagesCount24h indicates an expected call of MessagesCount24h.

func (*MockIStatsMockRecorder) NamespaceSeries added in v1.1.0

func (mr *MockIStatsMockRecorder) NamespaceSeries(ctx, timeframe, name, nsId, req any) *MockIStatsNamespaceSeriesCall

NamespaceSeries indicates an expected call of NamespaceSeries.

func (*MockIStatsMockRecorder) RollupStats24h added in v1.9.7

func (mr *MockIStatsMockRecorder) RollupStats24h(ctx any) *MockIStatsRollupStats24hCall

RollupStats24h indicates an expected call of RollupStats24h.

func (*MockIStatsMockRecorder) Series added in v1.1.0

func (mr *MockIStatsMockRecorder) Series(ctx, timeframe, name, req any) *MockIStatsSeriesCall

Series indicates an expected call of Series.

func (*MockIStatsMockRecorder) SquareSize added in v1.9.6

func (mr *MockIStatsMockRecorder) SquareSize(ctx, from, to any) *MockIStatsSquareSizeCall

SquareSize indicates an expected call of SquareSize.

func (*MockIStatsMockRecorder) StakingSeries added in v1.6.0

func (mr *MockIStatsMockRecorder) StakingSeries(ctx, timeframe, name, validatorId, req any) *MockIStatsStakingSeriesCall

StakingSeries indicates an expected call of StakingSeries.

func (*MockIStatsMockRecorder) Summary

func (mr *MockIStatsMockRecorder) Summary(ctx, req any) *MockIStatsSummaryCall

Summary indicates an expected call of Summary.

func (*MockIStatsMockRecorder) TPS added in v1.1.0

TPS indicates an expected call of TPS.

type MockIStatsNamespaceSeriesCall added in v1.9.9

type MockIStatsNamespaceSeriesCall struct {
	*gomock.Call
}

MockIStatsNamespaceSeriesCall wrap *gomock.Call

func (*MockIStatsNamespaceSeriesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStatsNamespaceSeriesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStatsNamespaceSeriesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStatsRollupStats24hCall added in v1.9.9

type MockIStatsRollupStats24hCall struct {
	*gomock.Call
}

MockIStatsRollupStats24hCall wrap *gomock.Call

func (*MockIStatsRollupStats24hCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStatsRollupStats24hCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStatsRollupStats24hCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStatsSeriesCall added in v1.9.9

type MockIStatsSeriesCall struct {
	*gomock.Call
}

MockIStatsSeriesCall wrap *gomock.Call

func (*MockIStatsSeriesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStatsSeriesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStatsSeriesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStatsSquareSizeCall added in v1.9.9

type MockIStatsSquareSizeCall struct {
	*gomock.Call
}

MockIStatsSquareSizeCall wrap *gomock.Call

func (*MockIStatsSquareSizeCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStatsSquareSizeCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStatsSquareSizeCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStatsStakingSeriesCall added in v1.9.9

type MockIStatsStakingSeriesCall struct {
	*gomock.Call
}

MockIStatsStakingSeriesCall wrap *gomock.Call

func (*MockIStatsStakingSeriesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStatsStakingSeriesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStatsStakingSeriesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStatsSummaryCall added in v1.9.9

type MockIStatsSummaryCall struct {
	*gomock.Call
}

MockIStatsSummaryCall wrap *gomock.Call

func (*MockIStatsSummaryCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStatsSummaryCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStatsSummaryCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIStatsTPSCall added in v1.9.9

type MockIStatsTPSCall struct {
	*gomock.Call
}

MockIStatsTPSCall wrap *gomock.Call

func (*MockIStatsTPSCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIStatsTPSCall) DoAndReturn added in v1.9.9

func (c *MockIStatsTPSCall) DoAndReturn(f func(context.Context) (storage.TPS, error)) *MockIStatsTPSCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIStatsTPSCall) Return added in v1.9.9

func (c *MockIStatsTPSCall) Return(arg0 storage.TPS, arg1 error) *MockIStatsTPSCall

Return rewrite *gomock.Call.Return

type MockITx

type MockITx struct {
	// contains filtered or unexported fields
}

MockITx is a mock of ITx interface.

func NewMockITx

func NewMockITx(ctrl *gomock.Controller) *MockITx

NewMockITx creates a new mock instance.

func (*MockITx) ByAddress

func (m *MockITx) ByAddress(ctx context.Context, addressId uint64, fltrs storage.TxFilter) ([]storage.Tx, error)

ByAddress mocks base method.

func (*MockITx) ByHash

func (m *MockITx) ByHash(ctx context.Context, hash []byte) (storage.Tx, error)

ByHash mocks base method.

func (*MockITx) ByIdWithRelations

func (m *MockITx) ByIdWithRelations(ctx context.Context, id uint64) (storage.Tx, error)

ByIdWithRelations mocks base method.

func (*MockITx) CursorList

func (m *MockITx) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Tx, error)

CursorList mocks base method.

func (*MockITx) EXPECT

func (m *MockITx) EXPECT() *MockITxMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockITx) Filter

func (m *MockITx) Filter(ctx context.Context, fltrs storage.TxFilter) ([]storage.Tx, error)

Filter mocks base method.

func (*MockITx) Gas added in v1.1.0

func (m *MockITx) Gas(ctx context.Context, height types.Level, ts time.Time) ([]storage.Gas, error)

Gas mocks base method.

func (*MockITx) Genesis

func (m *MockITx) Genesis(ctx context.Context, limit, offset int, sortOrder storage0.SortOrder) ([]storage.Tx, error)

Genesis mocks base method.

func (*MockITx) GetByID

func (m *MockITx) GetByID(ctx context.Context, id uint64) (*storage.Tx, error)

GetByID mocks base method.

func (*MockITx) IdAndTimeByHash added in v1.10.6

func (m *MockITx) IdAndTimeByHash(ctx context.Context, hash []byte) (uint64, time.Time, error)

IdAndTimeByHash mocks base method.

func (*MockITx) IsNoRows

func (m *MockITx) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockITx) LastID

func (m *MockITx) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockITx) List

func (m *MockITx) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Tx, error)

List mocks base method.

func (*MockITx) Save

func (m_2 *MockITx) Save(ctx context.Context, m *storage.Tx) error

Save mocks base method.

func (*MockITx) Update

func (m_2 *MockITx) Update(ctx context.Context, m *storage.Tx) error

Update mocks base method.

type MockITxByAddressCall added in v1.9.9

type MockITxByAddressCall struct {
	*gomock.Call
}

MockITxByAddressCall wrap *gomock.Call

func (*MockITxByAddressCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockITxByAddressCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxByAddressCall) Return added in v1.9.9

func (c *MockITxByAddressCall) Return(arg0 []storage.Tx, arg1 error) *MockITxByAddressCall

Return rewrite *gomock.Call.Return

type MockITxByHashCall added in v1.9.9

type MockITxByHashCall struct {
	*gomock.Call
}

MockITxByHashCall wrap *gomock.Call

func (*MockITxByHashCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockITxByHashCall) DoAndReturn added in v1.9.9

func (c *MockITxByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Tx, error)) *MockITxByHashCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxByHashCall) Return added in v1.9.9

func (c *MockITxByHashCall) Return(arg0 storage.Tx, arg1 error) *MockITxByHashCall

Return rewrite *gomock.Call.Return

type MockITxByIdWithRelationsCall added in v1.9.9

type MockITxByIdWithRelationsCall struct {
	*gomock.Call
}

MockITxByIdWithRelationsCall wrap *gomock.Call

func (*MockITxByIdWithRelationsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockITxByIdWithRelationsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxByIdWithRelationsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockITxCursorListCall added in v1.9.9

type MockITxCursorListCall struct {
	*gomock.Call
}

MockITxCursorListCall wrap *gomock.Call

func (*MockITxCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockITxCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxCursorListCall) Return added in v1.9.9

func (c *MockITxCursorListCall) Return(arg0 []*storage.Tx, arg1 error) *MockITxCursorListCall

Return rewrite *gomock.Call.Return

type MockITxFilterCall added in v1.9.9

type MockITxFilterCall struct {
	*gomock.Call
}

MockITxFilterCall wrap *gomock.Call

func (*MockITxFilterCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockITxFilterCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxFilterCall) Return added in v1.9.9

func (c *MockITxFilterCall) Return(arg0 []storage.Tx, arg1 error) *MockITxFilterCall

Return rewrite *gomock.Call.Return

type MockITxGasCall added in v1.9.9

type MockITxGasCall struct {
	*gomock.Call
}

MockITxGasCall wrap *gomock.Call

func (*MockITxGasCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockITxGasCall) DoAndReturn added in v1.9.9

func (c *MockITxGasCall) DoAndReturn(f func(context.Context, types.Level, time.Time) ([]storage.Gas, error)) *MockITxGasCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxGasCall) Return added in v1.9.9

func (c *MockITxGasCall) Return(arg0 []storage.Gas, arg1 error) *MockITxGasCall

Return rewrite *gomock.Call.Return

type MockITxGenesisCall added in v1.9.9

type MockITxGenesisCall struct {
	*gomock.Call
}

MockITxGenesisCall wrap *gomock.Call

func (*MockITxGenesisCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockITxGenesisCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxGenesisCall) Return added in v1.9.9

func (c *MockITxGenesisCall) Return(arg0 []storage.Tx, arg1 error) *MockITxGenesisCall

Return rewrite *gomock.Call.Return

type MockITxGetByIDCall added in v1.9.9

type MockITxGetByIDCall struct {
	*gomock.Call
}

MockITxGetByIDCall wrap *gomock.Call

func (*MockITxGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockITxGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxGetByIDCall) Return added in v1.9.9

func (c *MockITxGetByIDCall) Return(arg0 *storage.Tx, arg1 error) *MockITxGetByIDCall

Return rewrite *gomock.Call.Return

type MockITxIdAndTimeByHashCall added in v1.10.6

type MockITxIdAndTimeByHashCall struct {
	*gomock.Call
}

MockITxIdAndTimeByHashCall wrap *gomock.Call

func (*MockITxIdAndTimeByHashCall) Do added in v1.10.6

Do rewrite *gomock.Call.Do

func (*MockITxIdAndTimeByHashCall) DoAndReturn added in v1.10.6

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxIdAndTimeByHashCall) Return added in v1.10.6

Return rewrite *gomock.Call.Return

type MockITxIsNoRowsCall added in v1.9.9

type MockITxIsNoRowsCall struct {
	*gomock.Call
}

MockITxIsNoRowsCall wrap *gomock.Call

func (*MockITxIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockITxIsNoRowsCall) DoAndReturn added in v1.9.9

func (c *MockITxIsNoRowsCall) DoAndReturn(f func(error) bool) *MockITxIsNoRowsCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxIsNoRowsCall) Return added in v1.9.9

func (c *MockITxIsNoRowsCall) Return(arg0 bool) *MockITxIsNoRowsCall

Return rewrite *gomock.Call.Return

type MockITxLastIDCall added in v1.9.9

type MockITxLastIDCall struct {
	*gomock.Call
}

MockITxLastIDCall wrap *gomock.Call

func (*MockITxLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockITxLastIDCall) DoAndReturn added in v1.9.9

func (c *MockITxLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *MockITxLastIDCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxLastIDCall) Return added in v1.9.9

func (c *MockITxLastIDCall) Return(arg0 uint64, arg1 error) *MockITxLastIDCall

Return rewrite *gomock.Call.Return

type MockITxListCall added in v1.9.9

type MockITxListCall struct {
	*gomock.Call
}

MockITxListCall wrap *gomock.Call

func (*MockITxListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockITxListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxListCall) Return added in v1.9.9

func (c *MockITxListCall) Return(arg0 []*storage.Tx, arg1 error) *MockITxListCall

Return rewrite *gomock.Call.Return

type MockITxMockRecorder

type MockITxMockRecorder struct {
	// contains filtered or unexported fields
}

MockITxMockRecorder is the mock recorder for MockITx.

func (*MockITxMockRecorder) ByAddress

func (mr *MockITxMockRecorder) ByAddress(ctx, addressId, fltrs any) *MockITxByAddressCall

ByAddress indicates an expected call of ByAddress.

func (*MockITxMockRecorder) ByHash

func (mr *MockITxMockRecorder) ByHash(ctx, hash any) *MockITxByHashCall

ByHash indicates an expected call of ByHash.

func (*MockITxMockRecorder) ByIdWithRelations

func (mr *MockITxMockRecorder) ByIdWithRelations(ctx, id any) *MockITxByIdWithRelationsCall

ByIdWithRelations indicates an expected call of ByIdWithRelations.

func (*MockITxMockRecorder) CursorList

func (mr *MockITxMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockITxCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockITxMockRecorder) Filter

func (mr *MockITxMockRecorder) Filter(ctx, fltrs any) *MockITxFilterCall

Filter indicates an expected call of Filter.

func (*MockITxMockRecorder) Gas added in v1.1.0

func (mr *MockITxMockRecorder) Gas(ctx, height, ts any) *MockITxGasCall

Gas indicates an expected call of Gas.

func (*MockITxMockRecorder) Genesis

func (mr *MockITxMockRecorder) Genesis(ctx, limit, offset, sortOrder any) *MockITxGenesisCall

Genesis indicates an expected call of Genesis.

func (*MockITxMockRecorder) GetByID

func (mr *MockITxMockRecorder) GetByID(ctx, id any) *MockITxGetByIDCall

GetByID indicates an expected call of GetByID.

func (*MockITxMockRecorder) IdAndTimeByHash added in v1.10.6

func (mr *MockITxMockRecorder) IdAndTimeByHash(ctx, hash any) *MockITxIdAndTimeByHashCall

IdAndTimeByHash indicates an expected call of IdAndTimeByHash.

func (*MockITxMockRecorder) IsNoRows

func (mr *MockITxMockRecorder) IsNoRows(err any) *MockITxIsNoRowsCall

IsNoRows indicates an expected call of IsNoRows.

func (*MockITxMockRecorder) LastID

func (mr *MockITxMockRecorder) LastID(ctx any) *MockITxLastIDCall

LastID indicates an expected call of LastID.

func (*MockITxMockRecorder) List

func (mr *MockITxMockRecorder) List(ctx, limit, offset, order any) *MockITxListCall

List indicates an expected call of List.

func (*MockITxMockRecorder) Save

func (mr *MockITxMockRecorder) Save(ctx, m any) *MockITxSaveCall

Save indicates an expected call of Save.

func (*MockITxMockRecorder) Update

func (mr *MockITxMockRecorder) Update(ctx, m any) *MockITxUpdateCall

Update indicates an expected call of Update.

type MockITxSaveCall added in v1.9.9

type MockITxSaveCall struct {
	*gomock.Call
}

MockITxSaveCall wrap *gomock.Call

func (*MockITxSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockITxSaveCall) DoAndReturn added in v1.9.9

func (c *MockITxSaveCall) DoAndReturn(f func(context.Context, *storage.Tx) error) *MockITxSaveCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxSaveCall) Return added in v1.9.9

func (c *MockITxSaveCall) Return(arg0 error) *MockITxSaveCall

Return rewrite *gomock.Call.Return

type MockITxUpdateCall added in v1.9.9

type MockITxUpdateCall struct {
	*gomock.Call
}

MockITxUpdateCall wrap *gomock.Call

func (*MockITxUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockITxUpdateCall) DoAndReturn added in v1.9.9

func (c *MockITxUpdateCall) DoAndReturn(f func(context.Context, *storage.Tx) error) *MockITxUpdateCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockITxUpdateCall) Return added in v1.9.9

func (c *MockITxUpdateCall) Return(arg0 error) *MockITxUpdateCall

Return rewrite *gomock.Call.Return

type MockIUndelegation added in v1.6.0

type MockIUndelegation struct {
	// contains filtered or unexported fields
}

MockIUndelegation is a mock of IUndelegation interface.

func NewMockIUndelegation added in v1.6.0

func NewMockIUndelegation(ctrl *gomock.Controller) *MockIUndelegation

NewMockIUndelegation creates a new mock instance.

func (*MockIUndelegation) ByAddress added in v1.6.0

func (m *MockIUndelegation) ByAddress(ctx context.Context, addressId uint64, limit, offset int) ([]storage.Undelegation, error)

ByAddress mocks base method.

func (*MockIUndelegation) CursorList added in v1.6.0

func (m *MockIUndelegation) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Undelegation, error)

CursorList mocks base method.

func (*MockIUndelegation) EXPECT added in v1.6.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIUndelegation) GetByID added in v1.6.0

GetByID mocks base method.

func (*MockIUndelegation) IsNoRows added in v1.6.0

func (m *MockIUndelegation) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIUndelegation) LastID added in v1.6.0

func (m *MockIUndelegation) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIUndelegation) List added in v1.6.0

func (m *MockIUndelegation) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Undelegation, error)

List mocks base method.

func (*MockIUndelegation) Save added in v1.6.0

Save mocks base method.

func (*MockIUndelegation) Update added in v1.6.0

Update mocks base method.

type MockIUndelegationByAddressCall added in v1.9.9

type MockIUndelegationByAddressCall struct {
	*gomock.Call
}

MockIUndelegationByAddressCall wrap *gomock.Call

func (*MockIUndelegationByAddressCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIUndelegationByAddressCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIUndelegationByAddressCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIUndelegationCursorListCall added in v1.9.9

type MockIUndelegationCursorListCall struct {
	*gomock.Call
}

MockIUndelegationCursorListCall wrap *gomock.Call

func (*MockIUndelegationCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIUndelegationCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIUndelegationCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIUndelegationGetByIDCall added in v1.9.9

type MockIUndelegationGetByIDCall struct {
	*gomock.Call
}

MockIUndelegationGetByIDCall wrap *gomock.Call

func (*MockIUndelegationGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIUndelegationGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIUndelegationGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIUndelegationIsNoRowsCall added in v1.9.9

type MockIUndelegationIsNoRowsCall struct {
	*gomock.Call
}

MockIUndelegationIsNoRowsCall wrap *gomock.Call

func (*MockIUndelegationIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIUndelegationIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIUndelegationIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIUndelegationLastIDCall added in v1.9.9

type MockIUndelegationLastIDCall struct {
	*gomock.Call
}

MockIUndelegationLastIDCall wrap *gomock.Call

func (*MockIUndelegationLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIUndelegationLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIUndelegationLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIUndelegationListCall added in v1.9.9

type MockIUndelegationListCall struct {
	*gomock.Call
}

MockIUndelegationListCall wrap *gomock.Call

func (*MockIUndelegationListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIUndelegationListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIUndelegationListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIUndelegationMockRecorder added in v1.6.0

type MockIUndelegationMockRecorder struct {
	// contains filtered or unexported fields
}

MockIUndelegationMockRecorder is the mock recorder for MockIUndelegation.

func (*MockIUndelegationMockRecorder) ByAddress added in v1.6.0

func (mr *MockIUndelegationMockRecorder) ByAddress(ctx, addressId, limit, offset any) *MockIUndelegationByAddressCall

ByAddress indicates an expected call of ByAddress.

func (*MockIUndelegationMockRecorder) CursorList added in v1.6.0

func (mr *MockIUndelegationMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIUndelegationCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIUndelegationMockRecorder) GetByID added in v1.6.0

GetByID indicates an expected call of GetByID.

func (*MockIUndelegationMockRecorder) IsNoRows added in v1.6.0

IsNoRows indicates an expected call of IsNoRows.

func (*MockIUndelegationMockRecorder) LastID added in v1.6.0

LastID indicates an expected call of LastID.

func (*MockIUndelegationMockRecorder) List added in v1.6.0

func (mr *MockIUndelegationMockRecorder) List(ctx, limit, offset, order any) *MockIUndelegationListCall

List indicates an expected call of List.

func (*MockIUndelegationMockRecorder) Save added in v1.6.0

Save indicates an expected call of Save.

func (*MockIUndelegationMockRecorder) Update added in v1.6.0

Update indicates an expected call of Update.

type MockIUndelegationSaveCall added in v1.9.9

type MockIUndelegationSaveCall struct {
	*gomock.Call
}

MockIUndelegationSaveCall wrap *gomock.Call

func (*MockIUndelegationSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIUndelegationSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIUndelegationSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIUndelegationUpdateCall added in v1.9.9

type MockIUndelegationUpdateCall struct {
	*gomock.Call
}

MockIUndelegationUpdateCall wrap *gomock.Call

func (*MockIUndelegationUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIUndelegationUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIUndelegationUpdateCall) Return added in v1.9.9

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) ByAddress

func (m *MockIValidator) ByAddress(ctx context.Context, address string) (storage.Validator, error)

ByAddress mocks base method.

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIValidator) GetByID

func (m *MockIValidator) GetByID(ctx context.Context, id uint64) (*storage.Validator, error)

GetByID mocks base method.

func (*MockIValidator) IsNoRows

func (m *MockIValidator) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIValidator) JailedCount added in v1.6.0

func (m *MockIValidator) JailedCount(ctx context.Context) (int, error)

JailedCount mocks base method.

func (*MockIValidator) LastID

func (m *MockIValidator) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIValidator) List

func (m *MockIValidator) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Validator, error)

List mocks base method.

func (*MockIValidator) ListByPower added in v1.6.0

func (m *MockIValidator) ListByPower(ctx context.Context, fltrs storage.ValidatorFilters) ([]storage.Validator, error)

ListByPower mocks base method.

func (*MockIValidator) Save

func (m_2 *MockIValidator) Save(ctx context.Context, m *storage.Validator) error

Save mocks base method.

func (*MockIValidator) TotalVotingPower added in v1.6.0

func (m *MockIValidator) TotalVotingPower(ctx context.Context) (decimal.Decimal, error)

TotalVotingPower mocks base method.

func (*MockIValidator) Update

func (m_2 *MockIValidator) Update(ctx context.Context, m *storage.Validator) error

Update mocks base method.

type MockIValidatorByAddressCall added in v1.9.9

type MockIValidatorByAddressCall struct {
	*gomock.Call
}

MockIValidatorByAddressCall wrap *gomock.Call

func (*MockIValidatorByAddressCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIValidatorByAddressCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIValidatorByAddressCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIValidatorCursorListCall added in v1.9.9

type MockIValidatorCursorListCall struct {
	*gomock.Call
}

MockIValidatorCursorListCall wrap *gomock.Call

func (*MockIValidatorCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIValidatorCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIValidatorCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIValidatorGetByIDCall added in v1.9.9

type MockIValidatorGetByIDCall struct {
	*gomock.Call
}

MockIValidatorGetByIDCall wrap *gomock.Call

func (*MockIValidatorGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIValidatorGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIValidatorGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIValidatorIsNoRowsCall added in v1.9.9

type MockIValidatorIsNoRowsCall struct {
	*gomock.Call
}

MockIValidatorIsNoRowsCall wrap *gomock.Call

func (*MockIValidatorIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIValidatorIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIValidatorIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIValidatorJailedCountCall added in v1.9.9

type MockIValidatorJailedCountCall struct {
	*gomock.Call
}

MockIValidatorJailedCountCall wrap *gomock.Call

func (*MockIValidatorJailedCountCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIValidatorJailedCountCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIValidatorJailedCountCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIValidatorLastIDCall added in v1.9.9

type MockIValidatorLastIDCall struct {
	*gomock.Call
}

MockIValidatorLastIDCall wrap *gomock.Call

func (*MockIValidatorLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIValidatorLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIValidatorLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIValidatorListByPowerCall added in v1.9.9

type MockIValidatorListByPowerCall struct {
	*gomock.Call
}

MockIValidatorListByPowerCall wrap *gomock.Call

func (*MockIValidatorListByPowerCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIValidatorListByPowerCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIValidatorListByPowerCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIValidatorListCall added in v1.9.9

type MockIValidatorListCall struct {
	*gomock.Call
}

MockIValidatorListCall wrap *gomock.Call

func (*MockIValidatorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIValidatorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIValidatorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIValidatorMockRecorder

type MockIValidatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockIValidatorMockRecorder is the mock recorder for MockIValidator.

func (*MockIValidatorMockRecorder) ByAddress

func (mr *MockIValidatorMockRecorder) ByAddress(ctx, address any) *MockIValidatorByAddressCall

ByAddress indicates an expected call of ByAddress.

func (*MockIValidatorMockRecorder) CursorList

func (mr *MockIValidatorMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIValidatorCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIValidatorMockRecorder) GetByID

GetByID indicates an expected call of GetByID.

func (*MockIValidatorMockRecorder) IsNoRows

IsNoRows indicates an expected call of IsNoRows.

func (*MockIValidatorMockRecorder) JailedCount added in v1.6.0

JailedCount indicates an expected call of JailedCount.

func (*MockIValidatorMockRecorder) LastID

LastID indicates an expected call of LastID.

func (*MockIValidatorMockRecorder) List

func (mr *MockIValidatorMockRecorder) List(ctx, limit, offset, order any) *MockIValidatorListCall

List indicates an expected call of List.

func (*MockIValidatorMockRecorder) ListByPower added in v1.6.0

func (mr *MockIValidatorMockRecorder) ListByPower(ctx, fltrs any) *MockIValidatorListByPowerCall

ListByPower indicates an expected call of ListByPower.

func (*MockIValidatorMockRecorder) Save

Save indicates an expected call of Save.

func (*MockIValidatorMockRecorder) TotalVotingPower added in v1.6.0

TotalVotingPower indicates an expected call of TotalVotingPower.

func (*MockIValidatorMockRecorder) Update

Update indicates an expected call of Update.

type MockIValidatorSaveCall added in v1.9.9

type MockIValidatorSaveCall struct {
	*gomock.Call
}

MockIValidatorSaveCall wrap *gomock.Call

func (*MockIValidatorSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIValidatorSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIValidatorSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIValidatorTotalVotingPowerCall added in v1.9.9

type MockIValidatorTotalVotingPowerCall struct {
	*gomock.Call
}

MockIValidatorTotalVotingPowerCall wrap *gomock.Call

func (*MockIValidatorTotalVotingPowerCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIValidatorTotalVotingPowerCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIValidatorTotalVotingPowerCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIValidatorUpdateCall added in v1.9.9

type MockIValidatorUpdateCall struct {
	*gomock.Call
}

MockIValidatorUpdateCall wrap *gomock.Call

func (*MockIValidatorUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIValidatorUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIValidatorUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingAccount added in v1.7.0

type MockIVestingAccount struct {
	// contains filtered or unexported fields
}

MockIVestingAccount is a mock of IVestingAccount interface.

func NewMockIVestingAccount added in v1.7.0

func NewMockIVestingAccount(ctrl *gomock.Controller) *MockIVestingAccount

NewMockIVestingAccount creates a new mock instance.

func (*MockIVestingAccount) ByAddress added in v1.7.0

func (m *MockIVestingAccount) ByAddress(ctx context.Context, addressId uint64, limit, offset int, showEnded bool) ([]storage.VestingAccount, error)

ByAddress mocks base method.

func (*MockIVestingAccount) CursorList added in v1.7.0

func (m *MockIVestingAccount) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.VestingAccount, error)

CursorList mocks base method.

func (*MockIVestingAccount) EXPECT added in v1.7.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIVestingAccount) GetByID added in v1.7.0

GetByID mocks base method.

func (*MockIVestingAccount) IsNoRows added in v1.7.0

func (m *MockIVestingAccount) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIVestingAccount) LastID added in v1.7.0

func (m *MockIVestingAccount) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIVestingAccount) List added in v1.7.0

func (m *MockIVestingAccount) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.VestingAccount, error)

List mocks base method.

func (*MockIVestingAccount) Save added in v1.7.0

Save mocks base method.

func (*MockIVestingAccount) Update added in v1.7.0

Update mocks base method.

type MockIVestingAccountByAddressCall added in v1.9.9

type MockIVestingAccountByAddressCall struct {
	*gomock.Call
}

MockIVestingAccountByAddressCall wrap *gomock.Call

func (*MockIVestingAccountByAddressCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingAccountByAddressCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingAccountByAddressCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingAccountCursorListCall added in v1.9.9

type MockIVestingAccountCursorListCall struct {
	*gomock.Call
}

MockIVestingAccountCursorListCall wrap *gomock.Call

func (*MockIVestingAccountCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingAccountCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingAccountCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingAccountGetByIDCall added in v1.9.9

type MockIVestingAccountGetByIDCall struct {
	*gomock.Call
}

MockIVestingAccountGetByIDCall wrap *gomock.Call

func (*MockIVestingAccountGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingAccountGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingAccountGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingAccountIsNoRowsCall added in v1.9.9

type MockIVestingAccountIsNoRowsCall struct {
	*gomock.Call
}

MockIVestingAccountIsNoRowsCall wrap *gomock.Call

func (*MockIVestingAccountIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingAccountIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingAccountIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingAccountLastIDCall added in v1.9.9

type MockIVestingAccountLastIDCall struct {
	*gomock.Call
}

MockIVestingAccountLastIDCall wrap *gomock.Call

func (*MockIVestingAccountLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingAccountLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingAccountLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingAccountListCall added in v1.9.9

type MockIVestingAccountListCall struct {
	*gomock.Call
}

MockIVestingAccountListCall wrap *gomock.Call

func (*MockIVestingAccountListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingAccountListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingAccountListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingAccountMockRecorder added in v1.7.0

type MockIVestingAccountMockRecorder struct {
	// contains filtered or unexported fields
}

MockIVestingAccountMockRecorder is the mock recorder for MockIVestingAccount.

func (*MockIVestingAccountMockRecorder) ByAddress added in v1.7.0

func (mr *MockIVestingAccountMockRecorder) ByAddress(ctx, addressId, limit, offset, showEnded any) *MockIVestingAccountByAddressCall

ByAddress indicates an expected call of ByAddress.

func (*MockIVestingAccountMockRecorder) CursorList added in v1.7.0

func (mr *MockIVestingAccountMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIVestingAccountCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIVestingAccountMockRecorder) GetByID added in v1.7.0

GetByID indicates an expected call of GetByID.

func (*MockIVestingAccountMockRecorder) IsNoRows added in v1.7.0

IsNoRows indicates an expected call of IsNoRows.

func (*MockIVestingAccountMockRecorder) LastID added in v1.7.0

LastID indicates an expected call of LastID.

func (*MockIVestingAccountMockRecorder) List added in v1.7.0

func (mr *MockIVestingAccountMockRecorder) List(ctx, limit, offset, order any) *MockIVestingAccountListCall

List indicates an expected call of List.

func (*MockIVestingAccountMockRecorder) Save added in v1.7.0

Save indicates an expected call of Save.

func (*MockIVestingAccountMockRecorder) Update added in v1.7.0

Update indicates an expected call of Update.

type MockIVestingAccountSaveCall added in v1.9.9

type MockIVestingAccountSaveCall struct {
	*gomock.Call
}

MockIVestingAccountSaveCall wrap *gomock.Call

func (*MockIVestingAccountSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingAccountSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingAccountSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingAccountUpdateCall added in v1.9.9

type MockIVestingAccountUpdateCall struct {
	*gomock.Call
}

MockIVestingAccountUpdateCall wrap *gomock.Call

func (*MockIVestingAccountUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingAccountUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingAccountUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingPeriod added in v1.7.0

type MockIVestingPeriod struct {
	// contains filtered or unexported fields
}

MockIVestingPeriod is a mock of IVestingPeriod interface.

func NewMockIVestingPeriod added in v1.7.0

func NewMockIVestingPeriod(ctrl *gomock.Controller) *MockIVestingPeriod

NewMockIVestingPeriod creates a new mock instance.

func (*MockIVestingPeriod) ByVesting added in v1.7.0

func (m *MockIVestingPeriod) ByVesting(ctx context.Context, id uint64, limit, offset int) ([]storage.VestingPeriod, error)

ByVesting mocks base method.

func (*MockIVestingPeriod) CursorList added in v1.7.0

func (m *MockIVestingPeriod) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.VestingPeriod, error)

CursorList mocks base method.

func (*MockIVestingPeriod) EXPECT added in v1.7.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIVestingPeriod) GetByID added in v1.7.0

GetByID mocks base method.

func (*MockIVestingPeriod) IsNoRows added in v1.7.0

func (m *MockIVestingPeriod) IsNoRows(err error) bool

IsNoRows mocks base method.

func (*MockIVestingPeriod) LastID added in v1.7.0

func (m *MockIVestingPeriod) LastID(ctx context.Context) (uint64, error)

LastID mocks base method.

func (*MockIVestingPeriod) List added in v1.7.0

func (m *MockIVestingPeriod) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.VestingPeriod, error)

List mocks base method.

func (*MockIVestingPeriod) Save added in v1.7.0

Save mocks base method.

func (*MockIVestingPeriod) Update added in v1.7.0

Update mocks base method.

type MockIVestingPeriodByVestingCall added in v1.9.9

type MockIVestingPeriodByVestingCall struct {
	*gomock.Call
}

MockIVestingPeriodByVestingCall wrap *gomock.Call

func (*MockIVestingPeriodByVestingCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingPeriodByVestingCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingPeriodByVestingCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingPeriodCursorListCall added in v1.9.9

type MockIVestingPeriodCursorListCall struct {
	*gomock.Call
}

MockIVestingPeriodCursorListCall wrap *gomock.Call

func (*MockIVestingPeriodCursorListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingPeriodCursorListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingPeriodCursorListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingPeriodGetByIDCall added in v1.9.9

type MockIVestingPeriodGetByIDCall struct {
	*gomock.Call
}

MockIVestingPeriodGetByIDCall wrap *gomock.Call

func (*MockIVestingPeriodGetByIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingPeriodGetByIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingPeriodGetByIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingPeriodIsNoRowsCall added in v1.9.9

type MockIVestingPeriodIsNoRowsCall struct {
	*gomock.Call
}

MockIVestingPeriodIsNoRowsCall wrap *gomock.Call

func (*MockIVestingPeriodIsNoRowsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingPeriodIsNoRowsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingPeriodIsNoRowsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingPeriodLastIDCall added in v1.9.9

type MockIVestingPeriodLastIDCall struct {
	*gomock.Call
}

MockIVestingPeriodLastIDCall wrap *gomock.Call

func (*MockIVestingPeriodLastIDCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingPeriodLastIDCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingPeriodLastIDCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingPeriodListCall added in v1.9.9

type MockIVestingPeriodListCall struct {
	*gomock.Call
}

MockIVestingPeriodListCall wrap *gomock.Call

func (*MockIVestingPeriodListCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingPeriodListCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingPeriodListCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingPeriodMockRecorder added in v1.7.0

type MockIVestingPeriodMockRecorder struct {
	// contains filtered or unexported fields
}

MockIVestingPeriodMockRecorder is the mock recorder for MockIVestingPeriod.

func (*MockIVestingPeriodMockRecorder) ByVesting added in v1.7.0

func (mr *MockIVestingPeriodMockRecorder) ByVesting(ctx, id, limit, offset any) *MockIVestingPeriodByVestingCall

ByVesting indicates an expected call of ByVesting.

func (*MockIVestingPeriodMockRecorder) CursorList added in v1.7.0

func (mr *MockIVestingPeriodMockRecorder) CursorList(ctx, id, limit, order, cmp any) *MockIVestingPeriodCursorListCall

CursorList indicates an expected call of CursorList.

func (*MockIVestingPeriodMockRecorder) GetByID added in v1.7.0

GetByID indicates an expected call of GetByID.

func (*MockIVestingPeriodMockRecorder) IsNoRows added in v1.7.0

IsNoRows indicates an expected call of IsNoRows.

func (*MockIVestingPeriodMockRecorder) LastID added in v1.7.0

LastID indicates an expected call of LastID.

func (*MockIVestingPeriodMockRecorder) List added in v1.7.0

func (mr *MockIVestingPeriodMockRecorder) List(ctx, limit, offset, order any) *MockIVestingPeriodListCall

List indicates an expected call of List.

func (*MockIVestingPeriodMockRecorder) Save added in v1.7.0

Save indicates an expected call of Save.

func (*MockIVestingPeriodMockRecorder) Update added in v1.7.0

Update indicates an expected call of Update.

type MockIVestingPeriodSaveCall added in v1.9.9

type MockIVestingPeriodSaveCall struct {
	*gomock.Call
}

MockIVestingPeriodSaveCall wrap *gomock.Call

func (*MockIVestingPeriodSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingPeriodSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingPeriodSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockIVestingPeriodUpdateCall added in v1.9.9

type MockIVestingPeriodUpdateCall struct {
	*gomock.Call
}

MockIVestingPeriodUpdateCall wrap *gomock.Call

func (*MockIVestingPeriodUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockIVestingPeriodUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIVestingPeriodUpdateCall) Return added in v1.9.9

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) Close

func (m *MockListener) Close() error

Close mocks base method.

func (*MockListener) EXPECT

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.

func (*MockListener) Subscribe

func (m *MockListener) Subscribe(ctx context.Context, channels ...string) error

Subscribe mocks base method.

type MockListenerCloseCall added in v1.9.9

type MockListenerCloseCall struct {
	*gomock.Call
}

MockListenerCloseCall wrap *gomock.Call

func (*MockListenerCloseCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockListenerCloseCall) DoAndReturn added in v1.9.9

func (c *MockListenerCloseCall) DoAndReturn(f func() error) *MockListenerCloseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockListenerCloseCall) Return added in v1.9.9

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

EXPECT returns an object that allows the caller to indicate expected use.

type MockListenerFactoryCreateListenerCall added in v1.9.9

type MockListenerFactoryCreateListenerCall struct {
	*gomock.Call
}

MockListenerFactoryCreateListenerCall wrap *gomock.Call

func (*MockListenerFactoryCreateListenerCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockListenerFactoryCreateListenerCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockListenerFactoryCreateListenerCall) Return added in v1.9.9

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

CreateListener indicates an expected call of CreateListener.

type MockListenerListenCall added in v1.9.9

type MockListenerListenCall struct {
	*gomock.Call
}

MockListenerListenCall wrap *gomock.Call

func (*MockListenerListenCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockListenerListenCall) DoAndReturn added in v1.9.9

func (c *MockListenerListenCall) DoAndReturn(f func() chan *pq.Notification) *MockListenerListenCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockListenerListenCall) Return added in v1.9.9

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

Close indicates an expected call of Close.

func (*MockListenerMockRecorder) Listen

Listen indicates an expected call of Listen.

func (*MockListenerMockRecorder) Subscribe

func (mr *MockListenerMockRecorder) Subscribe(ctx any, channels ...any) *MockListenerSubscribeCall

Subscribe indicates an expected call of Subscribe.

type MockListenerSubscribeCall added in v1.9.9

type MockListenerSubscribeCall struct {
	*gomock.Call
}

MockListenerSubscribeCall wrap *gomock.Call

func (*MockListenerSubscribeCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockListenerSubscribeCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockListenerSubscribeCall) Return added in v1.9.9

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNotificator) Notify

func (m *MockNotificator) Notify(ctx context.Context, channel, payload string) error

Notify mocks base method.

type MockNotificatorMockRecorder

type MockNotificatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockNotificatorMockRecorder is the mock recorder for MockNotificator.

func (*MockNotificatorMockRecorder) Notify

func (mr *MockNotificatorMockRecorder) Notify(ctx, channel, payload any) *MockNotificatorNotifyCall

Notify indicates an expected call of Notify.

type MockNotificatorNotifyCall added in v1.9.9

type MockNotificatorNotifyCall struct {
	*gomock.Call
}

MockNotificatorNotifyCall wrap *gomock.Call

func (*MockNotificatorNotifyCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockNotificatorNotifyCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNotificatorNotifyCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransaction

type MockTransaction struct {
	// contains filtered or unexported fields
}

MockTransaction is a mock of Transaction interface.

func NewMockTransaction

func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction

NewMockTransaction creates a new mock instance.

func (*MockTransaction) Add

func (m *MockTransaction) Add(ctx context.Context, model any) error

Add mocks base method.

func (*MockTransaction) BulkSave

func (m *MockTransaction) BulkSave(ctx context.Context, models []any) error

BulkSave mocks base method.

func (*MockTransaction) CancelUnbondings added in v1.6.0

func (m *MockTransaction) CancelUnbondings(ctx context.Context, cancellations ...storage.Undelegation) error

CancelUnbondings mocks base method.

func (*MockTransaction) Close

func (m *MockTransaction) Close(ctx context.Context) error

Close mocks base method.

func (*MockTransaction) CopyFrom

func (m *MockTransaction) CopyFrom(ctx context.Context, tableName string, data []storage0.Copiable) error

CopyFrom mocks base method.

func (*MockTransaction) Delegation added in v1.6.3

func (m *MockTransaction) Delegation(ctx context.Context, validatorId, addressId uint64) (storage.Delegation, error)

Delegation mocks base method.

func (*MockTransaction) DeleteBalances

func (m *MockTransaction) DeleteBalances(ctx context.Context, ids []uint64) error

DeleteBalances mocks base method.

func (*MockTransaction) DeleteDelegationsByValidator added in v1.6.0

func (m *MockTransaction) DeleteDelegationsByValidator(ctx context.Context, ids ...uint64) error

DeleteDelegationsByValidator mocks base method.

func (*MockTransaction) DeleteProviders added in v1.2.0

func (m *MockTransaction) DeleteProviders(ctx context.Context, rollupId uint64) error

DeleteProviders mocks base method.

func (*MockTransaction) DeleteRollup added in v1.2.0

func (m *MockTransaction) DeleteRollup(ctx context.Context, rollupId uint64) error

DeleteRollup mocks base method.

func (*MockTransaction) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTransaction) Exec

func (m *MockTransaction) Exec(ctx context.Context, query string, params ...any) (int64, error)

Exec mocks base method.

func (*MockTransaction) Flush

func (m *MockTransaction) Flush(ctx context.Context) error

Flush mocks base method.

func (*MockTransaction) GetProposerId added in v1.1.0

func (m *MockTransaction) GetProposerId(ctx context.Context, address string) (uint64, error)

GetProposerId mocks base method.

func (*MockTransaction) HandleError

func (m *MockTransaction) HandleError(ctx context.Context, err error) error

HandleError mocks base method.

func (*MockTransaction) Jail added in v1.6.0

func (m *MockTransaction) Jail(ctx context.Context, validators ...*storage.Validator) error

Jail mocks base method.

func (*MockTransaction) LastAddressAction

func (m *MockTransaction) LastAddressAction(ctx context.Context, address []byte) (uint64, error)

LastAddressAction mocks base method.

func (*MockTransaction) LastBlock

func (m *MockTransaction) LastBlock(ctx context.Context) (storage.Block, error)

LastBlock mocks base method.

func (*MockTransaction) LastNamespaceMessage added in v1.1.0

func (m *MockTransaction) LastNamespaceMessage(ctx context.Context, nsId uint64) (storage.NamespaceMessage, error)

LastNamespaceMessage mocks base method.

func (*MockTransaction) Namespace

func (m *MockTransaction) Namespace(ctx context.Context, id uint64) (storage.Namespace, error)

Namespace mocks base method.

func (*MockTransaction) RefreshLeaderboard added in v1.9.2

func (m *MockTransaction) RefreshLeaderboard(ctx context.Context) error

RefreshLeaderboard mocks base method.

func (*MockTransaction) RetentionBlockSignatures added in v1.4.0

func (m *MockTransaction) RetentionBlockSignatures(ctx context.Context, height types.Level) error

RetentionBlockSignatures mocks base method.

func (*MockTransaction) RetentionCompletedRedelegations added in v1.6.0

func (m *MockTransaction) RetentionCompletedRedelegations(ctx context.Context, blockTime time.Time) error

RetentionCompletedRedelegations mocks base method.

func (*MockTransaction) RetentionCompletedUnbondings added in v1.6.0

func (m *MockTransaction) RetentionCompletedUnbondings(ctx context.Context, blockTime time.Time) error

RetentionCompletedUnbondings mocks base method.

func (*MockTransaction) Rollback

func (m *MockTransaction) Rollback(ctx context.Context) error

Rollback mocks base method.

func (*MockTransaction) RollbackAddresses

func (m *MockTransaction) RollbackAddresses(ctx context.Context, height types.Level) ([]storage.Address, error)

RollbackAddresses mocks base method.

func (*MockTransaction) RollbackBlobLog added in v1.2.0

func (m *MockTransaction) RollbackBlobLog(ctx context.Context, height types.Level) error

RollbackBlobLog mocks base method.

func (*MockTransaction) RollbackBlock

func (m *MockTransaction) RollbackBlock(ctx context.Context, height types.Level) error

RollbackBlock mocks base method.

func (*MockTransaction) RollbackBlockSignatures added in v1.4.0

func (m *MockTransaction) RollbackBlockSignatures(ctx context.Context, height types.Level) error

RollbackBlockSignatures mocks base method.

func (*MockTransaction) RollbackBlockStats

func (m *MockTransaction) RollbackBlockStats(ctx context.Context, height types.Level) (storage.BlockStats, error)

RollbackBlockStats mocks base method.

func (*MockTransaction) RollbackEvents

func (m *MockTransaction) RollbackEvents(ctx context.Context, height types.Level) ([]storage.Event, error)

RollbackEvents mocks base method.

func (*MockTransaction) RollbackGrants added in v1.7.0

func (m *MockTransaction) RollbackGrants(ctx context.Context, height types.Level) error

RollbackGrants mocks base method.

func (*MockTransaction) RollbackJails added in v1.6.0

func (m *MockTransaction) RollbackJails(ctx context.Context, height types.Level) ([]storage.Jail, error)

RollbackJails mocks base method.

func (*MockTransaction) RollbackMessageAddresses

func (m *MockTransaction) RollbackMessageAddresses(ctx context.Context, msgIds []uint64) error

RollbackMessageAddresses mocks base method.

func (*MockTransaction) RollbackMessages

func (m *MockTransaction) RollbackMessages(ctx context.Context, height types.Level) ([]storage.Message, error)

RollbackMessages mocks base method.

func (*MockTransaction) RollbackNamespaceMessages

func (m *MockTransaction) RollbackNamespaceMessages(ctx context.Context, height types.Level) ([]storage.NamespaceMessage, error)

RollbackNamespaceMessages mocks base method.

func (*MockTransaction) RollbackNamespaces

func (m *MockTransaction) RollbackNamespaces(ctx context.Context, height types.Level) ([]storage.Namespace, error)

RollbackNamespaces mocks base method.

func (*MockTransaction) RollbackRedelegations added in v1.6.0

func (m *MockTransaction) RollbackRedelegations(ctx context.Context, height types.Level) error

RollbackRedelegations mocks base method.

func (*MockTransaction) RollbackSigners

func (m *MockTransaction) RollbackSigners(ctx context.Context, txIds []uint64) error

RollbackSigners mocks base method.

func (*MockTransaction) RollbackStakingLogs added in v1.6.0

func (m *MockTransaction) RollbackStakingLogs(ctx context.Context, height types.Level) ([]storage.StakingLog, error)

RollbackStakingLogs mocks base method.

func (*MockTransaction) RollbackTxs

func (m *MockTransaction) RollbackTxs(ctx context.Context, height types.Level) ([]storage.Tx, error)

RollbackTxs mocks base method.

func (*MockTransaction) RollbackUndelegations added in v1.6.0

func (m *MockTransaction) RollbackUndelegations(ctx context.Context, height types.Level) error

RollbackUndelegations mocks base method.

func (*MockTransaction) RollbackValidators

func (m *MockTransaction) RollbackValidators(ctx context.Context, height types.Level) ([]storage.Validator, error)

RollbackValidators mocks base method.

func (*MockTransaction) RollbackVestingAccounts added in v1.7.0

func (m *MockTransaction) RollbackVestingAccounts(ctx context.Context, height types.Level) error

RollbackVestingAccounts mocks base method.

func (*MockTransaction) RollbackVestingPeriods added in v1.7.0

func (m *MockTransaction) RollbackVestingPeriods(ctx context.Context, height types.Level) error

RollbackVestingPeriods mocks base method.

func (*MockTransaction) SaveAddresses

func (m *MockTransaction) SaveAddresses(ctx context.Context, addresses ...*storage.Address) (int64, error)

SaveAddresses mocks base method.

func (*MockTransaction) SaveBalances

func (m *MockTransaction) SaveBalances(ctx context.Context, balances ...storage.Balance) error

SaveBalances mocks base method.

func (*MockTransaction) SaveBlobLogs added in v1.2.0

func (m *MockTransaction) SaveBlobLogs(ctx context.Context, logs ...storage.BlobLog) error

SaveBlobLogs mocks base method.

func (*MockTransaction) SaveBlockSignatures added in v1.4.0

func (m *MockTransaction) SaveBlockSignatures(ctx context.Context, signs ...storage.BlockSignature) error

SaveBlockSignatures mocks base method.

func (*MockTransaction) SaveConstants

func (m *MockTransaction) SaveConstants(ctx context.Context, constants ...storage.Constant) error

SaveConstants mocks base method.

func (*MockTransaction) SaveDelegations added in v1.6.0

func (m *MockTransaction) SaveDelegations(ctx context.Context, delegations ...storage.Delegation) error

SaveDelegations mocks base method.

func (*MockTransaction) SaveEvents

func (m *MockTransaction) SaveEvents(ctx context.Context, events ...storage.Event) error

SaveEvents mocks base method.

func (*MockTransaction) SaveGrants added in v1.7.0

func (m *MockTransaction) SaveGrants(ctx context.Context, grants ...storage.Grant) error

SaveGrants mocks base method.

func (*MockTransaction) SaveJails added in v1.6.0

func (m *MockTransaction) SaveJails(ctx context.Context, jails ...storage.Jail) error

SaveJails mocks base method.

func (*MockTransaction) SaveMessages

func (m *MockTransaction) SaveMessages(ctx context.Context, msgs ...*storage.Message) error

SaveMessages mocks base method.

func (*MockTransaction) SaveMsgAddresses

func (m *MockTransaction) SaveMsgAddresses(ctx context.Context, addresses ...storage.MsgAddress) error

SaveMsgAddresses mocks base method.

func (*MockTransaction) SaveNamespaceMessage

func (m *MockTransaction) SaveNamespaceMessage(ctx context.Context, nsMsgs ...storage.NamespaceMessage) error

SaveNamespaceMessage mocks base method.

func (*MockTransaction) SaveNamespaces

func (m *MockTransaction) SaveNamespaces(ctx context.Context, namespaces ...*storage.Namespace) (int64, error)

SaveNamespaces mocks base method.

func (*MockTransaction) SaveProviders added in v1.2.0

func (m *MockTransaction) SaveProviders(ctx context.Context, providers ...storage.RollupProvider) error

SaveProviders mocks base method.

func (*MockTransaction) SaveRedelegations added in v1.6.0

func (m *MockTransaction) SaveRedelegations(ctx context.Context, redelegations ...storage.Redelegation) error

SaveRedelegations mocks base method.

func (*MockTransaction) SaveRollup added in v1.2.0

func (m *MockTransaction) SaveRollup(ctx context.Context, rollup *storage.Rollup) error

SaveRollup mocks base method.

func (*MockTransaction) SaveSigners

func (m *MockTransaction) SaveSigners(ctx context.Context, addresses ...storage.Signer) error

SaveSigners mocks base method.

func (*MockTransaction) SaveStakingLogs added in v1.6.0

func (m *MockTransaction) SaveStakingLogs(ctx context.Context, logs ...storage.StakingLog) error

SaveStakingLogs mocks base method.

func (*MockTransaction) SaveTransactions

func (m *MockTransaction) SaveTransactions(ctx context.Context, txs ...storage.Tx) error

SaveTransactions mocks base method.

func (*MockTransaction) SaveUndelegations added in v1.6.0

func (m *MockTransaction) SaveUndelegations(ctx context.Context, undelegations ...storage.Undelegation) error

SaveUndelegations mocks base method.

func (*MockTransaction) SaveValidators

func (m *MockTransaction) SaveValidators(ctx context.Context, validators ...*storage.Validator) (int, error)

SaveValidators mocks base method.

func (*MockTransaction) SaveVestingAccounts added in v1.7.0

func (m *MockTransaction) SaveVestingAccounts(ctx context.Context, accounts ...*storage.VestingAccount) error

SaveVestingAccounts mocks base method.

func (*MockTransaction) SaveVestingPeriods added in v1.7.0

func (m *MockTransaction) SaveVestingPeriods(ctx context.Context, periods ...storage.VestingPeriod) error

SaveVestingPeriods mocks base method.

func (*MockTransaction) State

func (m *MockTransaction) State(ctx context.Context, name string) (storage.State, error)

State mocks base method.

func (*MockTransaction) Tx

func (m *MockTransaction) Tx() *bun.Tx

Tx mocks base method.

func (*MockTransaction) Update

func (m *MockTransaction) Update(ctx context.Context, model any) error

Update mocks base method.

func (*MockTransaction) UpdateRollup added in v1.2.0

func (m *MockTransaction) UpdateRollup(ctx context.Context, rollup *storage.Rollup) error

UpdateRollup mocks base method.

func (*MockTransaction) UpdateSlashedDelegations added in v1.6.0

func (m *MockTransaction) UpdateSlashedDelegations(ctx context.Context, validatorId uint64, fraction decimal.Decimal) ([]storage.Balance, error)

UpdateSlashedDelegations mocks base method.

func (*MockTransaction) UpdateValidators added in v1.6.0

func (m *MockTransaction) UpdateValidators(ctx context.Context, validators ...*storage.Validator) error

UpdateValidators mocks base method.

func (*MockTransaction) Validator added in v1.6.3

func (m *MockTransaction) Validator(ctx context.Context, id uint64) (storage.Validator, error)

Validator mocks base method.

type MockTransactionAddCall added in v1.9.9

type MockTransactionAddCall struct {
	*gomock.Call
}

MockTransactionAddCall wrap *gomock.Call

func (*MockTransactionAddCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionAddCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionAddCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionBulkSaveCall added in v1.9.9

type MockTransactionBulkSaveCall struct {
	*gomock.Call
}

MockTransactionBulkSaveCall wrap *gomock.Call

func (*MockTransactionBulkSaveCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionBulkSaveCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionBulkSaveCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionCancelUnbondingsCall added in v1.9.9

type MockTransactionCancelUnbondingsCall struct {
	*gomock.Call
}

MockTransactionCancelUnbondingsCall wrap *gomock.Call

func (*MockTransactionCancelUnbondingsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionCancelUnbondingsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionCancelUnbondingsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionCloseCall added in v1.9.9

type MockTransactionCloseCall struct {
	*gomock.Call
}

MockTransactionCloseCall wrap *gomock.Call

func (*MockTransactionCloseCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionCloseCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionCloseCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionCopyFromCall added in v1.9.9

type MockTransactionCopyFromCall struct {
	*gomock.Call
}

MockTransactionCopyFromCall wrap *gomock.Call

func (*MockTransactionCopyFromCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionCopyFromCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionCopyFromCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionDelegationCall added in v1.9.9

type MockTransactionDelegationCall struct {
	*gomock.Call
}

MockTransactionDelegationCall wrap *gomock.Call

func (*MockTransactionDelegationCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionDelegationCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionDelegationCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionDeleteBalancesCall added in v1.9.9

type MockTransactionDeleteBalancesCall struct {
	*gomock.Call
}

MockTransactionDeleteBalancesCall wrap *gomock.Call

func (*MockTransactionDeleteBalancesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionDeleteBalancesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionDeleteBalancesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionDeleteDelegationsByValidatorCall added in v1.9.9

type MockTransactionDeleteDelegationsByValidatorCall struct {
	*gomock.Call
}

MockTransactionDeleteDelegationsByValidatorCall wrap *gomock.Call

func (*MockTransactionDeleteDelegationsByValidatorCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionDeleteDelegationsByValidatorCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionDeleteDelegationsByValidatorCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionDeleteProvidersCall added in v1.9.9

type MockTransactionDeleteProvidersCall struct {
	*gomock.Call
}

MockTransactionDeleteProvidersCall wrap *gomock.Call

func (*MockTransactionDeleteProvidersCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionDeleteProvidersCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionDeleteProvidersCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionDeleteRollupCall added in v1.9.9

type MockTransactionDeleteRollupCall struct {
	*gomock.Call
}

MockTransactionDeleteRollupCall wrap *gomock.Call

func (*MockTransactionDeleteRollupCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionDeleteRollupCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionDeleteRollupCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionExecCall added in v1.9.9

type MockTransactionExecCall struct {
	*gomock.Call
}

MockTransactionExecCall wrap *gomock.Call

func (*MockTransactionExecCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionExecCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionExecCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionFlushCall added in v1.9.9

type MockTransactionFlushCall struct {
	*gomock.Call
}

MockTransactionFlushCall wrap *gomock.Call

func (*MockTransactionFlushCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionFlushCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionFlushCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionGetProposerIdCall added in v1.9.9

type MockTransactionGetProposerIdCall struct {
	*gomock.Call
}

MockTransactionGetProposerIdCall wrap *gomock.Call

func (*MockTransactionGetProposerIdCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionGetProposerIdCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionGetProposerIdCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionHandleErrorCall added in v1.9.9

type MockTransactionHandleErrorCall struct {
	*gomock.Call
}

MockTransactionHandleErrorCall wrap *gomock.Call

func (*MockTransactionHandleErrorCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionHandleErrorCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionHandleErrorCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionJailCall added in v1.9.9

type MockTransactionJailCall struct {
	*gomock.Call
}

MockTransactionJailCall wrap *gomock.Call

func (*MockTransactionJailCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionJailCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionJailCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionLastAddressActionCall added in v1.9.9

type MockTransactionLastAddressActionCall struct {
	*gomock.Call
}

MockTransactionLastAddressActionCall wrap *gomock.Call

func (*MockTransactionLastAddressActionCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionLastAddressActionCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionLastAddressActionCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionLastBlockCall added in v1.9.9

type MockTransactionLastBlockCall struct {
	*gomock.Call
}

MockTransactionLastBlockCall wrap *gomock.Call

func (*MockTransactionLastBlockCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionLastBlockCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionLastBlockCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionLastNamespaceMessageCall added in v1.9.9

type MockTransactionLastNamespaceMessageCall struct {
	*gomock.Call
}

MockTransactionLastNamespaceMessageCall wrap *gomock.Call

func (*MockTransactionLastNamespaceMessageCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionLastNamespaceMessageCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionLastNamespaceMessageCall) Return added in v1.9.9

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

Add indicates an expected call of Add.

func (*MockTransactionMockRecorder) BulkSave

func (mr *MockTransactionMockRecorder) BulkSave(ctx, models any) *MockTransactionBulkSaveCall

BulkSave indicates an expected call of BulkSave.

func (*MockTransactionMockRecorder) CancelUnbondings added in v1.6.0

func (mr *MockTransactionMockRecorder) CancelUnbondings(ctx any, cancellations ...any) *MockTransactionCancelUnbondingsCall

CancelUnbondings indicates an expected call of CancelUnbondings.

func (*MockTransactionMockRecorder) Close

Close indicates an expected call of Close.

func (*MockTransactionMockRecorder) CopyFrom

func (mr *MockTransactionMockRecorder) CopyFrom(ctx, tableName, data any) *MockTransactionCopyFromCall

CopyFrom indicates an expected call of CopyFrom.

func (*MockTransactionMockRecorder) Delegation added in v1.6.3

func (mr *MockTransactionMockRecorder) Delegation(ctx, validatorId, addressId any) *MockTransactionDelegationCall

Delegation indicates an expected call of Delegation.

func (*MockTransactionMockRecorder) DeleteBalances

DeleteBalances indicates an expected call of DeleteBalances.

func (*MockTransactionMockRecorder) DeleteDelegationsByValidator added in v1.6.0

func (mr *MockTransactionMockRecorder) DeleteDelegationsByValidator(ctx any, ids ...any) *MockTransactionDeleteDelegationsByValidatorCall

DeleteDelegationsByValidator indicates an expected call of DeleteDelegationsByValidator.

func (*MockTransactionMockRecorder) DeleteProviders added in v1.2.0

func (mr *MockTransactionMockRecorder) DeleteProviders(ctx, rollupId any) *MockTransactionDeleteProvidersCall

DeleteProviders indicates an expected call of DeleteProviders.

func (*MockTransactionMockRecorder) DeleteRollup added in v1.2.0

func (mr *MockTransactionMockRecorder) DeleteRollup(ctx, rollupId any) *MockTransactionDeleteRollupCall

DeleteRollup indicates an expected call of DeleteRollup.

func (*MockTransactionMockRecorder) Exec

func (mr *MockTransactionMockRecorder) Exec(ctx, query any, params ...any) *MockTransactionExecCall

Exec indicates an expected call of Exec.

func (*MockTransactionMockRecorder) Flush

Flush indicates an expected call of Flush.

func (*MockTransactionMockRecorder) GetProposerId added in v1.1.0

func (mr *MockTransactionMockRecorder) GetProposerId(ctx, address any) *MockTransactionGetProposerIdCall

GetProposerId indicates an expected call of GetProposerId.

func (*MockTransactionMockRecorder) HandleError

HandleError indicates an expected call of HandleError.

func (*MockTransactionMockRecorder) Jail added in v1.6.0

func (mr *MockTransactionMockRecorder) Jail(ctx any, validators ...any) *MockTransactionJailCall

Jail indicates an expected call of Jail.

func (*MockTransactionMockRecorder) LastAddressAction

func (mr *MockTransactionMockRecorder) LastAddressAction(ctx, address any) *MockTransactionLastAddressActionCall

LastAddressAction indicates an expected call of LastAddressAction.

func (*MockTransactionMockRecorder) LastBlock

LastBlock indicates an expected call of LastBlock.

func (*MockTransactionMockRecorder) LastNamespaceMessage added in v1.1.0

func (mr *MockTransactionMockRecorder) LastNamespaceMessage(ctx, nsId any) *MockTransactionLastNamespaceMessageCall

LastNamespaceMessage indicates an expected call of LastNamespaceMessage.

func (*MockTransactionMockRecorder) Namespace

Namespace indicates an expected call of Namespace.

func (*MockTransactionMockRecorder) RefreshLeaderboard added in v1.9.2

RefreshLeaderboard indicates an expected call of RefreshLeaderboard.

func (*MockTransactionMockRecorder) RetentionBlockSignatures added in v1.4.0

func (mr *MockTransactionMockRecorder) RetentionBlockSignatures(ctx, height any) *MockTransactionRetentionBlockSignaturesCall

RetentionBlockSignatures indicates an expected call of RetentionBlockSignatures.

func (*MockTransactionMockRecorder) RetentionCompletedRedelegations added in v1.6.0

func (mr *MockTransactionMockRecorder) RetentionCompletedRedelegations(ctx, blockTime any) *MockTransactionRetentionCompletedRedelegationsCall

RetentionCompletedRedelegations indicates an expected call of RetentionCompletedRedelegations.

func (*MockTransactionMockRecorder) RetentionCompletedUnbondings added in v1.6.0

func (mr *MockTransactionMockRecorder) RetentionCompletedUnbondings(ctx, blockTime any) *MockTransactionRetentionCompletedUnbondingsCall

RetentionCompletedUnbondings indicates an expected call of RetentionCompletedUnbondings.

func (*MockTransactionMockRecorder) Rollback

Rollback indicates an expected call of Rollback.

func (*MockTransactionMockRecorder) RollbackAddresses

func (mr *MockTransactionMockRecorder) RollbackAddresses(ctx, height any) *MockTransactionRollbackAddressesCall

RollbackAddresses indicates an expected call of RollbackAddresses.

func (*MockTransactionMockRecorder) RollbackBlobLog added in v1.2.0

func (mr *MockTransactionMockRecorder) RollbackBlobLog(ctx, height any) *MockTransactionRollbackBlobLogCall

RollbackBlobLog indicates an expected call of RollbackBlobLog.

func (*MockTransactionMockRecorder) RollbackBlock

func (mr *MockTransactionMockRecorder) RollbackBlock(ctx, height any) *MockTransactionRollbackBlockCall

RollbackBlock indicates an expected call of RollbackBlock.

func (*MockTransactionMockRecorder) RollbackBlockSignatures added in v1.4.0

func (mr *MockTransactionMockRecorder) RollbackBlockSignatures(ctx, height any) *MockTransactionRollbackBlockSignaturesCall

RollbackBlockSignatures indicates an expected call of RollbackBlockSignatures.

func (*MockTransactionMockRecorder) RollbackBlockStats

func (mr *MockTransactionMockRecorder) RollbackBlockStats(ctx, height any) *MockTransactionRollbackBlockStatsCall

RollbackBlockStats indicates an expected call of RollbackBlockStats.

func (*MockTransactionMockRecorder) RollbackEvents

func (mr *MockTransactionMockRecorder) RollbackEvents(ctx, height any) *MockTransactionRollbackEventsCall

RollbackEvents indicates an expected call of RollbackEvents.

func (*MockTransactionMockRecorder) RollbackGrants added in v1.7.0

func (mr *MockTransactionMockRecorder) RollbackGrants(ctx, height any) *MockTransactionRollbackGrantsCall

RollbackGrants indicates an expected call of RollbackGrants.

func (*MockTransactionMockRecorder) RollbackJails added in v1.6.0

func (mr *MockTransactionMockRecorder) RollbackJails(ctx, height any) *MockTransactionRollbackJailsCall

RollbackJails indicates an expected call of RollbackJails.

func (*MockTransactionMockRecorder) RollbackMessageAddresses

func (mr *MockTransactionMockRecorder) RollbackMessageAddresses(ctx, msgIds any) *MockTransactionRollbackMessageAddressesCall

RollbackMessageAddresses indicates an expected call of RollbackMessageAddresses.

func (*MockTransactionMockRecorder) RollbackMessages

func (mr *MockTransactionMockRecorder) RollbackMessages(ctx, height any) *MockTransactionRollbackMessagesCall

RollbackMessages indicates an expected call of RollbackMessages.

func (*MockTransactionMockRecorder) RollbackNamespaceMessages

func (mr *MockTransactionMockRecorder) RollbackNamespaceMessages(ctx, height any) *MockTransactionRollbackNamespaceMessagesCall

RollbackNamespaceMessages indicates an expected call of RollbackNamespaceMessages.

func (*MockTransactionMockRecorder) RollbackNamespaces

func (mr *MockTransactionMockRecorder) RollbackNamespaces(ctx, height any) *MockTransactionRollbackNamespacesCall

RollbackNamespaces indicates an expected call of RollbackNamespaces.

func (*MockTransactionMockRecorder) RollbackRedelegations added in v1.6.0

func (mr *MockTransactionMockRecorder) RollbackRedelegations(ctx, height any) *MockTransactionRollbackRedelegationsCall

RollbackRedelegations indicates an expected call of RollbackRedelegations.

func (*MockTransactionMockRecorder) RollbackSigners

func (mr *MockTransactionMockRecorder) RollbackSigners(ctx, txIds any) *MockTransactionRollbackSignersCall

RollbackSigners indicates an expected call of RollbackSigners.

func (*MockTransactionMockRecorder) RollbackStakingLogs added in v1.6.0

func (mr *MockTransactionMockRecorder) RollbackStakingLogs(ctx, height any) *MockTransactionRollbackStakingLogsCall

RollbackStakingLogs indicates an expected call of RollbackStakingLogs.

func (*MockTransactionMockRecorder) RollbackTxs

func (mr *MockTransactionMockRecorder) RollbackTxs(ctx, height any) *MockTransactionRollbackTxsCall

RollbackTxs indicates an expected call of RollbackTxs.

func (*MockTransactionMockRecorder) RollbackUndelegations added in v1.6.0

func (mr *MockTransactionMockRecorder) RollbackUndelegations(ctx, height any) *MockTransactionRollbackUndelegationsCall

RollbackUndelegations indicates an expected call of RollbackUndelegations.

func (*MockTransactionMockRecorder) RollbackValidators

func (mr *MockTransactionMockRecorder) RollbackValidators(ctx, height any) *MockTransactionRollbackValidatorsCall

RollbackValidators indicates an expected call of RollbackValidators.

func (*MockTransactionMockRecorder) RollbackVestingAccounts added in v1.7.0

func (mr *MockTransactionMockRecorder) RollbackVestingAccounts(ctx, height any) *MockTransactionRollbackVestingAccountsCall

RollbackVestingAccounts indicates an expected call of RollbackVestingAccounts.

func (*MockTransactionMockRecorder) RollbackVestingPeriods added in v1.7.0

func (mr *MockTransactionMockRecorder) RollbackVestingPeriods(ctx, height any) *MockTransactionRollbackVestingPeriodsCall

RollbackVestingPeriods indicates an expected call of RollbackVestingPeriods.

func (*MockTransactionMockRecorder) SaveAddresses

func (mr *MockTransactionMockRecorder) SaveAddresses(ctx any, addresses ...any) *MockTransactionSaveAddressesCall

SaveAddresses indicates an expected call of SaveAddresses.

func (*MockTransactionMockRecorder) SaveBalances

func (mr *MockTransactionMockRecorder) SaveBalances(ctx any, balances ...any) *MockTransactionSaveBalancesCall

SaveBalances indicates an expected call of SaveBalances.

func (*MockTransactionMockRecorder) SaveBlobLogs added in v1.2.0

func (mr *MockTransactionMockRecorder) SaveBlobLogs(ctx any, logs ...any) *MockTransactionSaveBlobLogsCall

SaveBlobLogs indicates an expected call of SaveBlobLogs.

func (*MockTransactionMockRecorder) SaveBlockSignatures added in v1.4.0

func (mr *MockTransactionMockRecorder) SaveBlockSignatures(ctx any, signs ...any) *MockTransactionSaveBlockSignaturesCall

SaveBlockSignatures indicates an expected call of SaveBlockSignatures.

func (*MockTransactionMockRecorder) SaveConstants

func (mr *MockTransactionMockRecorder) SaveConstants(ctx any, constants ...any) *MockTransactionSaveConstantsCall

SaveConstants indicates an expected call of SaveConstants.

func (*MockTransactionMockRecorder) SaveDelegations added in v1.6.0

func (mr *MockTransactionMockRecorder) SaveDelegations(ctx any, delegations ...any) *MockTransactionSaveDelegationsCall

SaveDelegations indicates an expected call of SaveDelegations.

func (*MockTransactionMockRecorder) SaveEvents

func (mr *MockTransactionMockRecorder) SaveEvents(ctx any, events ...any) *MockTransactionSaveEventsCall

SaveEvents indicates an expected call of SaveEvents.

func (*MockTransactionMockRecorder) SaveGrants added in v1.7.0

func (mr *MockTransactionMockRecorder) SaveGrants(ctx any, grants ...any) *MockTransactionSaveGrantsCall

SaveGrants indicates an expected call of SaveGrants.

func (*MockTransactionMockRecorder) SaveJails added in v1.6.0

func (mr *MockTransactionMockRecorder) SaveJails(ctx any, jails ...any) *MockTransactionSaveJailsCall

SaveJails indicates an expected call of SaveJails.

func (*MockTransactionMockRecorder) SaveMessages

func (mr *MockTransactionMockRecorder) SaveMessages(ctx any, msgs ...any) *MockTransactionSaveMessagesCall

SaveMessages indicates an expected call of SaveMessages.

func (*MockTransactionMockRecorder) SaveMsgAddresses

func (mr *MockTransactionMockRecorder) SaveMsgAddresses(ctx any, addresses ...any) *MockTransactionSaveMsgAddressesCall

SaveMsgAddresses indicates an expected call of SaveMsgAddresses.

func (*MockTransactionMockRecorder) SaveNamespaceMessage

func (mr *MockTransactionMockRecorder) SaveNamespaceMessage(ctx any, nsMsgs ...any) *MockTransactionSaveNamespaceMessageCall

SaveNamespaceMessage indicates an expected call of SaveNamespaceMessage.

func (*MockTransactionMockRecorder) SaveNamespaces

func (mr *MockTransactionMockRecorder) SaveNamespaces(ctx any, namespaces ...any) *MockTransactionSaveNamespacesCall

SaveNamespaces indicates an expected call of SaveNamespaces.

func (*MockTransactionMockRecorder) SaveProviders added in v1.2.0

func (mr *MockTransactionMockRecorder) SaveProviders(ctx any, providers ...any) *MockTransactionSaveProvidersCall

SaveProviders indicates an expected call of SaveProviders.

func (*MockTransactionMockRecorder) SaveRedelegations added in v1.6.0

func (mr *MockTransactionMockRecorder) SaveRedelegations(ctx any, redelegations ...any) *MockTransactionSaveRedelegationsCall

SaveRedelegations indicates an expected call of SaveRedelegations.

func (*MockTransactionMockRecorder) SaveRollup added in v1.2.0

func (mr *MockTransactionMockRecorder) SaveRollup(ctx, rollup any) *MockTransactionSaveRollupCall

SaveRollup indicates an expected call of SaveRollup.

func (*MockTransactionMockRecorder) SaveSigners

func (mr *MockTransactionMockRecorder) SaveSigners(ctx any, addresses ...any) *MockTransactionSaveSignersCall

SaveSigners indicates an expected call of SaveSigners.

func (*MockTransactionMockRecorder) SaveStakingLogs added in v1.6.0

func (mr *MockTransactionMockRecorder) SaveStakingLogs(ctx any, logs ...any) *MockTransactionSaveStakingLogsCall

SaveStakingLogs indicates an expected call of SaveStakingLogs.

func (*MockTransactionMockRecorder) SaveTransactions

func (mr *MockTransactionMockRecorder) SaveTransactions(ctx any, txs ...any) *MockTransactionSaveTransactionsCall

SaveTransactions indicates an expected call of SaveTransactions.

func (*MockTransactionMockRecorder) SaveUndelegations added in v1.6.0

func (mr *MockTransactionMockRecorder) SaveUndelegations(ctx any, undelegations ...any) *MockTransactionSaveUndelegationsCall

SaveUndelegations indicates an expected call of SaveUndelegations.

func (*MockTransactionMockRecorder) SaveValidators

func (mr *MockTransactionMockRecorder) SaveValidators(ctx any, validators ...any) *MockTransactionSaveValidatorsCall

SaveValidators indicates an expected call of SaveValidators.

func (*MockTransactionMockRecorder) SaveVestingAccounts added in v1.7.0

func (mr *MockTransactionMockRecorder) SaveVestingAccounts(ctx any, accounts ...any) *MockTransactionSaveVestingAccountsCall

SaveVestingAccounts indicates an expected call of SaveVestingAccounts.

func (*MockTransactionMockRecorder) SaveVestingPeriods added in v1.7.0

func (mr *MockTransactionMockRecorder) SaveVestingPeriods(ctx any, periods ...any) *MockTransactionSaveVestingPeriodsCall

SaveVestingPeriods indicates an expected call of SaveVestingPeriods.

func (*MockTransactionMockRecorder) State

State indicates an expected call of State.

func (*MockTransactionMockRecorder) Tx

Tx indicates an expected call of Tx.

func (*MockTransactionMockRecorder) Update

Update indicates an expected call of Update.

func (*MockTransactionMockRecorder) UpdateRollup added in v1.2.0

func (mr *MockTransactionMockRecorder) UpdateRollup(ctx, rollup any) *MockTransactionUpdateRollupCall

UpdateRollup indicates an expected call of UpdateRollup.

func (*MockTransactionMockRecorder) UpdateSlashedDelegations added in v1.6.0

func (mr *MockTransactionMockRecorder) UpdateSlashedDelegations(ctx, validatorId, fraction any) *MockTransactionUpdateSlashedDelegationsCall

UpdateSlashedDelegations indicates an expected call of UpdateSlashedDelegations.

func (*MockTransactionMockRecorder) UpdateValidators added in v1.6.0

func (mr *MockTransactionMockRecorder) UpdateValidators(ctx any, validators ...any) *MockTransactionUpdateValidatorsCall

UpdateValidators indicates an expected call of UpdateValidators.

func (*MockTransactionMockRecorder) Validator added in v1.6.3

Validator indicates an expected call of Validator.

type MockTransactionNamespaceCall added in v1.9.9

type MockTransactionNamespaceCall struct {
	*gomock.Call
}

MockTransactionNamespaceCall wrap *gomock.Call

func (*MockTransactionNamespaceCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionNamespaceCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionNamespaceCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRefreshLeaderboardCall added in v1.9.9

type MockTransactionRefreshLeaderboardCall struct {
	*gomock.Call
}

MockTransactionRefreshLeaderboardCall wrap *gomock.Call

func (*MockTransactionRefreshLeaderboardCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRefreshLeaderboardCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRefreshLeaderboardCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRetentionBlockSignaturesCall added in v1.9.9

type MockTransactionRetentionBlockSignaturesCall struct {
	*gomock.Call
}

MockTransactionRetentionBlockSignaturesCall wrap *gomock.Call

func (*MockTransactionRetentionBlockSignaturesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRetentionBlockSignaturesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRetentionBlockSignaturesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRetentionCompletedRedelegationsCall added in v1.9.9

type MockTransactionRetentionCompletedRedelegationsCall struct {
	*gomock.Call
}

MockTransactionRetentionCompletedRedelegationsCall wrap *gomock.Call

func (*MockTransactionRetentionCompletedRedelegationsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRetentionCompletedRedelegationsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRetentionCompletedRedelegationsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRetentionCompletedUnbondingsCall added in v1.9.9

type MockTransactionRetentionCompletedUnbondingsCall struct {
	*gomock.Call
}

MockTransactionRetentionCompletedUnbondingsCall wrap *gomock.Call

func (*MockTransactionRetentionCompletedUnbondingsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRetentionCompletedUnbondingsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRetentionCompletedUnbondingsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackAddressesCall added in v1.9.9

type MockTransactionRollbackAddressesCall struct {
	*gomock.Call
}

MockTransactionRollbackAddressesCall wrap *gomock.Call

func (*MockTransactionRollbackAddressesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackAddressesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackAddressesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackBlobLogCall added in v1.9.9

type MockTransactionRollbackBlobLogCall struct {
	*gomock.Call
}

MockTransactionRollbackBlobLogCall wrap *gomock.Call

func (*MockTransactionRollbackBlobLogCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackBlobLogCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackBlobLogCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackBlockCall added in v1.9.9

type MockTransactionRollbackBlockCall struct {
	*gomock.Call
}

MockTransactionRollbackBlockCall wrap *gomock.Call

func (*MockTransactionRollbackBlockCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackBlockCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackBlockCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackBlockSignaturesCall added in v1.9.9

type MockTransactionRollbackBlockSignaturesCall struct {
	*gomock.Call
}

MockTransactionRollbackBlockSignaturesCall wrap *gomock.Call

func (*MockTransactionRollbackBlockSignaturesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackBlockSignaturesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackBlockSignaturesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackBlockStatsCall added in v1.9.9

type MockTransactionRollbackBlockStatsCall struct {
	*gomock.Call
}

MockTransactionRollbackBlockStatsCall wrap *gomock.Call

func (*MockTransactionRollbackBlockStatsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackBlockStatsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackBlockStatsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackCall added in v1.9.9

type MockTransactionRollbackCall struct {
	*gomock.Call
}

MockTransactionRollbackCall wrap *gomock.Call

func (*MockTransactionRollbackCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackEventsCall added in v1.9.9

type MockTransactionRollbackEventsCall struct {
	*gomock.Call
}

MockTransactionRollbackEventsCall wrap *gomock.Call

func (*MockTransactionRollbackEventsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackEventsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackEventsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackGrantsCall added in v1.9.9

type MockTransactionRollbackGrantsCall struct {
	*gomock.Call
}

MockTransactionRollbackGrantsCall wrap *gomock.Call

func (*MockTransactionRollbackGrantsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackGrantsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackGrantsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackJailsCall added in v1.9.9

type MockTransactionRollbackJailsCall struct {
	*gomock.Call
}

MockTransactionRollbackJailsCall wrap *gomock.Call

func (*MockTransactionRollbackJailsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackJailsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackJailsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackMessageAddressesCall added in v1.9.9

type MockTransactionRollbackMessageAddressesCall struct {
	*gomock.Call
}

MockTransactionRollbackMessageAddressesCall wrap *gomock.Call

func (*MockTransactionRollbackMessageAddressesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackMessageAddressesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackMessageAddressesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackMessagesCall added in v1.9.9

type MockTransactionRollbackMessagesCall struct {
	*gomock.Call
}

MockTransactionRollbackMessagesCall wrap *gomock.Call

func (*MockTransactionRollbackMessagesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackMessagesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackMessagesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackNamespaceMessagesCall added in v1.9.9

type MockTransactionRollbackNamespaceMessagesCall struct {
	*gomock.Call
}

MockTransactionRollbackNamespaceMessagesCall wrap *gomock.Call

func (*MockTransactionRollbackNamespaceMessagesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackNamespaceMessagesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackNamespaceMessagesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackNamespacesCall added in v1.9.9

type MockTransactionRollbackNamespacesCall struct {
	*gomock.Call
}

MockTransactionRollbackNamespacesCall wrap *gomock.Call

func (*MockTransactionRollbackNamespacesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackNamespacesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackNamespacesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackRedelegationsCall added in v1.9.9

type MockTransactionRollbackRedelegationsCall struct {
	*gomock.Call
}

MockTransactionRollbackRedelegationsCall wrap *gomock.Call

func (*MockTransactionRollbackRedelegationsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackRedelegationsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackRedelegationsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackSignersCall added in v1.9.9

type MockTransactionRollbackSignersCall struct {
	*gomock.Call
}

MockTransactionRollbackSignersCall wrap *gomock.Call

func (*MockTransactionRollbackSignersCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackSignersCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackSignersCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackStakingLogsCall added in v1.9.9

type MockTransactionRollbackStakingLogsCall struct {
	*gomock.Call
}

MockTransactionRollbackStakingLogsCall wrap *gomock.Call

func (*MockTransactionRollbackStakingLogsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackStakingLogsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackStakingLogsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackTxsCall added in v1.9.9

type MockTransactionRollbackTxsCall struct {
	*gomock.Call
}

MockTransactionRollbackTxsCall wrap *gomock.Call

func (*MockTransactionRollbackTxsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackTxsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackTxsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackUndelegationsCall added in v1.9.9

type MockTransactionRollbackUndelegationsCall struct {
	*gomock.Call
}

MockTransactionRollbackUndelegationsCall wrap *gomock.Call

func (*MockTransactionRollbackUndelegationsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackUndelegationsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackUndelegationsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackValidatorsCall added in v1.9.9

type MockTransactionRollbackValidatorsCall struct {
	*gomock.Call
}

MockTransactionRollbackValidatorsCall wrap *gomock.Call

func (*MockTransactionRollbackValidatorsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackValidatorsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackValidatorsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackVestingAccountsCall added in v1.9.9

type MockTransactionRollbackVestingAccountsCall struct {
	*gomock.Call
}

MockTransactionRollbackVestingAccountsCall wrap *gomock.Call

func (*MockTransactionRollbackVestingAccountsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackVestingAccountsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackVestingAccountsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionRollbackVestingPeriodsCall added in v1.9.9

type MockTransactionRollbackVestingPeriodsCall struct {
	*gomock.Call
}

MockTransactionRollbackVestingPeriodsCall wrap *gomock.Call

func (*MockTransactionRollbackVestingPeriodsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionRollbackVestingPeriodsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionRollbackVestingPeriodsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveAddressesCall added in v1.9.9

type MockTransactionSaveAddressesCall struct {
	*gomock.Call
}

MockTransactionSaveAddressesCall wrap *gomock.Call

func (*MockTransactionSaveAddressesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveAddressesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveAddressesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveBalancesCall added in v1.9.9

type MockTransactionSaveBalancesCall struct {
	*gomock.Call
}

MockTransactionSaveBalancesCall wrap *gomock.Call

func (*MockTransactionSaveBalancesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveBalancesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveBalancesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveBlobLogsCall added in v1.9.9

type MockTransactionSaveBlobLogsCall struct {
	*gomock.Call
}

MockTransactionSaveBlobLogsCall wrap *gomock.Call

func (*MockTransactionSaveBlobLogsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveBlobLogsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveBlobLogsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveBlockSignaturesCall added in v1.9.9

type MockTransactionSaveBlockSignaturesCall struct {
	*gomock.Call
}

MockTransactionSaveBlockSignaturesCall wrap *gomock.Call

func (*MockTransactionSaveBlockSignaturesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveBlockSignaturesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveBlockSignaturesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveConstantsCall added in v1.9.9

type MockTransactionSaveConstantsCall struct {
	*gomock.Call
}

MockTransactionSaveConstantsCall wrap *gomock.Call

func (*MockTransactionSaveConstantsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveConstantsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveConstantsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveDelegationsCall added in v1.9.9

type MockTransactionSaveDelegationsCall struct {
	*gomock.Call
}

MockTransactionSaveDelegationsCall wrap *gomock.Call

func (*MockTransactionSaveDelegationsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveDelegationsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveDelegationsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveEventsCall added in v1.9.9

type MockTransactionSaveEventsCall struct {
	*gomock.Call
}

MockTransactionSaveEventsCall wrap *gomock.Call

func (*MockTransactionSaveEventsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveEventsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveEventsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveGrantsCall added in v1.9.9

type MockTransactionSaveGrantsCall struct {
	*gomock.Call
}

MockTransactionSaveGrantsCall wrap *gomock.Call

func (*MockTransactionSaveGrantsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveGrantsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveGrantsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveJailsCall added in v1.9.9

type MockTransactionSaveJailsCall struct {
	*gomock.Call
}

MockTransactionSaveJailsCall wrap *gomock.Call

func (*MockTransactionSaveJailsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveJailsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveJailsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveMessagesCall added in v1.9.9

type MockTransactionSaveMessagesCall struct {
	*gomock.Call
}

MockTransactionSaveMessagesCall wrap *gomock.Call

func (*MockTransactionSaveMessagesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveMessagesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveMessagesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveMsgAddressesCall added in v1.9.9

type MockTransactionSaveMsgAddressesCall struct {
	*gomock.Call
}

MockTransactionSaveMsgAddressesCall wrap *gomock.Call

func (*MockTransactionSaveMsgAddressesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveMsgAddressesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveMsgAddressesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveNamespaceMessageCall added in v1.9.9

type MockTransactionSaveNamespaceMessageCall struct {
	*gomock.Call
}

MockTransactionSaveNamespaceMessageCall wrap *gomock.Call

func (*MockTransactionSaveNamespaceMessageCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveNamespaceMessageCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveNamespaceMessageCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveNamespacesCall added in v1.9.9

type MockTransactionSaveNamespacesCall struct {
	*gomock.Call
}

MockTransactionSaveNamespacesCall wrap *gomock.Call

func (*MockTransactionSaveNamespacesCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveNamespacesCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveNamespacesCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveProvidersCall added in v1.9.9

type MockTransactionSaveProvidersCall struct {
	*gomock.Call
}

MockTransactionSaveProvidersCall wrap *gomock.Call

func (*MockTransactionSaveProvidersCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveProvidersCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveProvidersCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveRedelegationsCall added in v1.9.9

type MockTransactionSaveRedelegationsCall struct {
	*gomock.Call
}

MockTransactionSaveRedelegationsCall wrap *gomock.Call

func (*MockTransactionSaveRedelegationsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveRedelegationsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveRedelegationsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveRollupCall added in v1.9.9

type MockTransactionSaveRollupCall struct {
	*gomock.Call
}

MockTransactionSaveRollupCall wrap *gomock.Call

func (*MockTransactionSaveRollupCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveRollupCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveRollupCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveSignersCall added in v1.9.9

type MockTransactionSaveSignersCall struct {
	*gomock.Call
}

MockTransactionSaveSignersCall wrap *gomock.Call

func (*MockTransactionSaveSignersCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveSignersCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveSignersCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveStakingLogsCall added in v1.9.9

type MockTransactionSaveStakingLogsCall struct {
	*gomock.Call
}

MockTransactionSaveStakingLogsCall wrap *gomock.Call

func (*MockTransactionSaveStakingLogsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveStakingLogsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveStakingLogsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveTransactionsCall added in v1.9.9

type MockTransactionSaveTransactionsCall struct {
	*gomock.Call
}

MockTransactionSaveTransactionsCall wrap *gomock.Call

func (*MockTransactionSaveTransactionsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveTransactionsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveTransactionsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveUndelegationsCall added in v1.9.9

type MockTransactionSaveUndelegationsCall struct {
	*gomock.Call
}

MockTransactionSaveUndelegationsCall wrap *gomock.Call

func (*MockTransactionSaveUndelegationsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveUndelegationsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveUndelegationsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveValidatorsCall added in v1.9.9

type MockTransactionSaveValidatorsCall struct {
	*gomock.Call
}

MockTransactionSaveValidatorsCall wrap *gomock.Call

func (*MockTransactionSaveValidatorsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveValidatorsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveValidatorsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveVestingAccountsCall added in v1.9.9

type MockTransactionSaveVestingAccountsCall struct {
	*gomock.Call
}

MockTransactionSaveVestingAccountsCall wrap *gomock.Call

func (*MockTransactionSaveVestingAccountsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveVestingAccountsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveVestingAccountsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionSaveVestingPeriodsCall added in v1.9.9

type MockTransactionSaveVestingPeriodsCall struct {
	*gomock.Call
}

MockTransactionSaveVestingPeriodsCall wrap *gomock.Call

func (*MockTransactionSaveVestingPeriodsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionSaveVestingPeriodsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionSaveVestingPeriodsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionStateCall added in v1.9.9

type MockTransactionStateCall struct {
	*gomock.Call
}

MockTransactionStateCall wrap *gomock.Call

func (*MockTransactionStateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionStateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionStateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionTxCall added in v1.9.9

type MockTransactionTxCall struct {
	*gomock.Call
}

MockTransactionTxCall wrap *gomock.Call

func (*MockTransactionTxCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionTxCall) DoAndReturn added in v1.9.9

func (c *MockTransactionTxCall) DoAndReturn(f func() *bun.Tx) *MockTransactionTxCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionTxCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionUpdateCall added in v1.9.9

type MockTransactionUpdateCall struct {
	*gomock.Call
}

MockTransactionUpdateCall wrap *gomock.Call

func (*MockTransactionUpdateCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionUpdateCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionUpdateCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionUpdateRollupCall added in v1.9.9

type MockTransactionUpdateRollupCall struct {
	*gomock.Call
}

MockTransactionUpdateRollupCall wrap *gomock.Call

func (*MockTransactionUpdateRollupCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionUpdateRollupCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionUpdateRollupCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionUpdateSlashedDelegationsCall added in v1.9.9

type MockTransactionUpdateSlashedDelegationsCall struct {
	*gomock.Call
}

MockTransactionUpdateSlashedDelegationsCall wrap *gomock.Call

func (*MockTransactionUpdateSlashedDelegationsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionUpdateSlashedDelegationsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionUpdateSlashedDelegationsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionUpdateValidatorsCall added in v1.9.9

type MockTransactionUpdateValidatorsCall struct {
	*gomock.Call
}

MockTransactionUpdateValidatorsCall wrap *gomock.Call

func (*MockTransactionUpdateValidatorsCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionUpdateValidatorsCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionUpdateValidatorsCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type MockTransactionValidatorCall added in v1.9.9

type MockTransactionValidatorCall struct {
	*gomock.Call
}

MockTransactionValidatorCall wrap *gomock.Call

func (*MockTransactionValidatorCall) Do added in v1.9.9

Do rewrite *gomock.Call.Do

func (*MockTransactionValidatorCall) DoAndReturn added in v1.9.9

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTransactionValidatorCall) Return added in v1.9.9

Return rewrite *gomock.Call.Return

type Storage

type Storage struct {
	Blocks    models.IBlock
	Tx        models.ITx
	Message   models.IMessage
	Event     models.IEvent
	Address   models.IAddress
	Namespace models.INamespace
	State     models.IState
	// contains filtered or unexported fields
}

func Create

func Create(t gomock.TestReporter) Storage

func (Storage) Close

func (s Storage) Close() error

func (Storage) Ctrl

func (s Storage) Ctrl() *gomock.Controller

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL