txcommonmocks

package
v1.0.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
	mock.Mock
}

Helper is an autogenerated mock type for the Helper type

func (*Helper) AddBlockchainTX added in v0.12.0

func (_m *Helper) AddBlockchainTX(ctx context.Context, tx *fftypes.Transaction, blockchainTXID string) error

AddBlockchainTX provides a mock function with given fields: ctx, tx, blockchainTXID

func (*Helper) EnrichEvent added in v0.14.0

func (_m *Helper) EnrichEvent(ctx context.Context, event *fftypes.Event) (*fftypes.EnrichedEvent, error)

EnrichEvent provides a mock function with given fields: ctx, event

func (*Helper) GetBlockchainEventByIDCached added in v1.0.0

func (_m *Helper) GetBlockchainEventByIDCached(ctx context.Context, id *fftypes.UUID) (*fftypes.BlockchainEvent, error)

GetBlockchainEventByIDCached provides a mock function with given fields: ctx, id

func (*Helper) GetTransactionByIDCached added in v0.14.0

func (_m *Helper) GetTransactionByIDCached(ctx context.Context, id *fftypes.UUID) (*fftypes.Transaction, error)

GetTransactionByIDCached provides a mock function with given fields: ctx, id

func (*Helper) InsertBlockchainEvent added in v1.0.0

func (_m *Helper) InsertBlockchainEvent(ctx context.Context, chainEvent *fftypes.BlockchainEvent) error

InsertBlockchainEvent provides a mock function with given fields: ctx, chainEvent

func (*Helper) PersistTransaction

func (_m *Helper) PersistTransaction(ctx context.Context, ns string, id *fftypes.UUID, txType fftypes.FFEnum, blockchainTXID string) (bool, error)

PersistTransaction provides a mock function with given fields: ctx, ns, id, txType, blockchainTXID

func (*Helper) SubmitNewTransaction added in v0.12.0

func (_m *Helper) SubmitNewTransaction(ctx context.Context, ns string, txType fftypes.FFEnum) (*fftypes.UUID, error)

SubmitNewTransaction provides a mock function with given fields: ctx, ns, txType

Jump to

Keyboard shortcuts

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