Documentation ¶
Index ¶
- type Helper
- func (_m *Helper) AddBlockchainTX(ctx context.Context, tx *fftypes.Transaction, blockchainTXID string) error
- func (_m *Helper) EnrichEvent(ctx context.Context, event *fftypes.Event) (*fftypes.EnrichedEvent, error)
- func (_m *Helper) GetBlockchainEventByIDCached(ctx context.Context, id *fftypes.UUID) (*fftypes.BlockchainEvent, error)
- func (_m *Helper) GetTransactionByIDCached(ctx context.Context, id *fftypes.UUID) (*fftypes.Transaction, error)
- func (_m *Helper) InsertBlockchainEvent(ctx context.Context, chainEvent *fftypes.BlockchainEvent) error
- func (_m *Helper) PersistTransaction(ctx context.Context, ns string, id *fftypes.UUID, txType fftypes.FFEnum, ...) (bool, error)
- func (_m *Helper) SubmitNewTransaction(ctx context.Context, ns string, txType fftypes.FFEnum) (*fftypes.UUID, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helper ¶
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
Click to show internal directories.
Click to hide internal directories.