Documentation ¶
Index ¶
- type ConfirmationClient
- func (_m *ConfirmationClient) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error)
- func (_m *ConfirmationClient) CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)
- func (_m *ConfirmationClient) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
- func (_m *ConfirmationClient) SendTransaction(ctx context.Context, tx *types.Transaction) error
- func (_m *ConfirmationClient) StorageAt(ctx context.Context, account common.Address, key common.Hash, ...) ([]byte, 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) BalanceAt ¶ added in v0.1.21
func (_m *ConfirmationClient) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error)
BalanceAt provides a mock function with given fields: ctx, account, blockNumber
func (*ConfirmationClient) CodeAt ¶ added in v0.1.21
func (_m *ConfirmationClient) CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)
CodeAt provides a mock function with given fields: ctx, account, blockNumber
func (*ConfirmationClient) NonceAt ¶ added in v0.1.21
func (_m *ConfirmationClient) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
NonceAt provides a mock function with given fields: ctx, account, blockNumber
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) StorageAt ¶ added in v0.1.21
func (_m *ConfirmationClient) StorageAt(ctx context.Context, account common.Address, key common.Hash, blockNumber *big.Int) ([]byte, error)
StorageAt provides a mock function with given fields: ctx, account, key, blockNumber
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