Documentation ¶
Index ¶
- type Client
- func (_m *Client) Balance(_a0 context.Context, _a1 *types.AccountIdentifier, ...) (*types.AccountBalanceResponse, error)
- func (_m *Client) Block(_a0 context.Context, _a1 *types.PartialBlockIdentifier) (*types.Block, error)
- func (_m *Client) BlockHeader(ctx context.Context, number *big.Int) (*coretypes.Header, error)
- func (_m *Client) Call(ctx context.Context, request *types.CallRequest) (*types.CallResponse, error)
- func (_m *Client) EstimateGas(ctx context.Context, msg ethereum.CallMsg) (uint64, error)
- func (_m *Client) PendingNonceAt(_a0 context.Context, _a1 common.Address) (uint64, error)
- func (_m *Client) SendTransaction(ctx context.Context, tx *coretypes.Transaction) error
- func (_m *Client) Status(_a0 context.Context) (*types.BlockIdentifier, int64, *types.SyncStatus, []*types.Peer, error)
- func (_m *Client) SuggestGasTipCap(ctx context.Context) (*big.Int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) Balance ¶
func (_m *Client) Balance(_a0 context.Context, _a1 *types.AccountIdentifier, _a2 *types.PartialBlockIdentifier, _a3 []*types.Currency) (*types.AccountBalanceResponse, error)
Balance provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Client) Block ¶
func (_m *Client) Block(_a0 context.Context, _a1 *types.PartialBlockIdentifier) (*types.Block, error)
Block provides a mock function with given fields: _a0, _a1
func (*Client) BlockHeader ¶
BlockHeader provides a mock function with given fields: ctx, number
func (*Client) Call ¶
func (_m *Client) Call(ctx context.Context, request *types.CallRequest) (*types.CallResponse, error)
Call provides a mock function with given fields: ctx, request
func (*Client) EstimateGas ¶
EstimateGas provides a mock function with given fields: ctx, msg
func (*Client) PendingNonceAt ¶
PendingNonceAt provides a mock function with given fields: _a0, _a1
func (*Client) SendTransaction ¶
SendTransaction provides a mock function with given fields: ctx, tx
Click to show internal directories.
Click to hide internal directories.