Documentation ¶
Index ¶
- type Helper
- func (_m *Helper) AddBlockchainTX(ctx context.Context, tx *core.Transaction, blockchainTXID string) error
- func (_m *Helper) GetBlockchainEventByIDCached(ctx context.Context, id *fftypes.UUID) (*core.BlockchainEvent, error)
- func (_m *Helper) GetTransactionByIDCached(ctx context.Context, id *fftypes.UUID) (*core.Transaction, error)
- func (_m *Helper) InsertOrGetBlockchainEvent(ctx context.Context, event *core.BlockchainEvent) (*core.BlockchainEvent, error)
- func (_m *Helper) PersistTransaction(ctx context.Context, id *fftypes.UUID, txType fftypes.FFEnum, ...) (bool, error)
- func (_m *Helper) SubmitNewTransaction(ctx context.Context, 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 *core.Transaction, blockchainTXID string) error
AddBlockchainTX provides a mock function with given fields: ctx, tx, blockchainTXID
func (*Helper) GetBlockchainEventByIDCached ¶ added in v1.0.0
func (_m *Helper) GetBlockchainEventByIDCached(ctx context.Context, id *fftypes.UUID) (*core.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) (*core.Transaction, error)
GetTransactionByIDCached provides a mock function with given fields: ctx, id
func (*Helper) InsertOrGetBlockchainEvent ¶ added in v1.1.0
func (_m *Helper) InsertOrGetBlockchainEvent(ctx context.Context, event *core.BlockchainEvent) (*core.BlockchainEvent, error)
InsertOrGetBlockchainEvent provides a mock function with given fields: ctx, event
Click to show internal directories.
Click to hide internal directories.