Documentation
¶
Index ¶
- type TransactionProvider
- func (_m *TransactionProvider) ScheduledTransactionsByBlockID(ctx context.Context, header *flow.Header) ([]*flow.TransactionBody, error)
- func (_m *TransactionProvider) TransactionResult(ctx context.Context, header *flow.Header, txID flow.Identifier, ...) (*access.TransactionResult, error)
- func (_m *TransactionProvider) TransactionResultByIndex(ctx context.Context, block *flow.Block, index uint32, ...) (*access.TransactionResult, error)
- func (_m *TransactionProvider) TransactionResultsByBlockID(ctx context.Context, block *flow.Block, ...) ([]*access.TransactionResult, error)
- func (_m *TransactionProvider) TransactionsByBlockID(ctx context.Context, block *flow.Block) ([]*flow.TransactionBody, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransactionProvider ¶
TransactionProvider is an autogenerated mock type for the TransactionProvider type
func NewTransactionProvider ¶
func NewTransactionProvider(t interface {
mock.TestingT
Cleanup(func())
}) *TransactionProvider
NewTransactionProvider creates a new instance of TransactionProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TransactionProvider) ScheduledTransactionsByBlockID ¶
func (_m *TransactionProvider) ScheduledTransactionsByBlockID(ctx context.Context, header *flow.Header) ([]*flow.TransactionBody, error)
ScheduledTransactionsByBlockID provides a mock function with given fields: ctx, header
func (*TransactionProvider) TransactionResult ¶
func (_m *TransactionProvider) TransactionResult(ctx context.Context, header *flow.Header, txID flow.Identifier, collectionID flow.Identifier, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)
TransactionResult provides a mock function with given fields: ctx, header, txID, collectionID, encodingVersion
func (*TransactionProvider) TransactionResultByIndex ¶
func (_m *TransactionProvider) TransactionResultByIndex(ctx context.Context, block *flow.Block, index uint32, collectionID flow.Identifier, encodingVersion entities.EventEncodingVersion) (*access.TransactionResult, error)
TransactionResultByIndex provides a mock function with given fields: ctx, block, index, collectionID, encodingVersion
func (*TransactionProvider) TransactionResultsByBlockID ¶
func (_m *TransactionProvider) TransactionResultsByBlockID(ctx context.Context, block *flow.Block, encodingVersion entities.EventEncodingVersion) ([]*access.TransactionResult, error)
TransactionResultsByBlockID provides a mock function with given fields: ctx, block, encodingVersion
func (*TransactionProvider) TransactionsByBlockID ¶
func (_m *TransactionProvider) TransactionsByBlockID(ctx context.Context, block *flow.Block) ([]*flow.TransactionBody, error)
TransactionsByBlockID provides a mock function with given fields: ctx, block