Documentation ¶
Index ¶
- type ConfirmationClient
- func (_m *ConfirmationClient) SendTransaction(ctx context.Context, tx *types.Transaction) error
- func (_m *ConfirmationClient) TransactionByHash(ctx context.Context, txHash common.Hash) (*types.Transaction, bool, error)
- func (_m *ConfirmationClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfirmationClient ¶
ConfirmationClient is an autogenerated mock type for the ConfirmationClient type
func NewConfirmationClient ¶ added in v0.0.14
func NewConfirmationClient(t mockConstructorTestingTNewConfirmationClient) *ConfirmationClient
NewConfirmationClient creates a new instance of ConfirmationClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ConfirmationClient) SendTransaction ¶
func (_m *ConfirmationClient) SendTransaction(ctx context.Context, tx *types.Transaction) error
SendTransaction provides a mock function with given fields: ctx, tx
func (*ConfirmationClient) TransactionByHash ¶
func (_m *ConfirmationClient) TransactionByHash(ctx context.Context, txHash common.Hash) (*types.Transaction, bool, error)
TransactionByHash provides a mock function with given fields: ctx, txHash
func (*ConfirmationClient) TransactionReceipt ¶
func (_m *ConfirmationClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
TransactionReceipt provides a mock function with given fields: ctx, txHash
Click to show internal directories.
Click to hide internal directories.