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) Call(ctx context.Context, request *types.CallRequest) (*types.CallResponse, error)
- func (_m *Client) GetMempool(ctx context.Context) (*types.MempoolResponse, 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) SuggestGasPrice(ctx context.Context) (*big.Int, error)
- func (_m *Client) Transaction(_a0 context.Context, _a1 *types.BlockIdentifier, ...) (*types.Transaction, 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) (*types.AccountBalanceResponse, error)
Balance provides a mock function with given fields: _a0, _a1, _a2
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) 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) GetMempool ¶
GetMempool provides a mock function with given fields: ctx
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
func (*Client) Status ¶
func (_m *Client) Status(_a0 context.Context) (*types.BlockIdentifier, int64, *types.SyncStatus, []*types.Peer, error)
Status provides a mock function with given fields: _a0
func (*Client) SuggestGasPrice ¶
SuggestGasPrice provides a mock function with given fields: ctx
func (*Client) Transaction ¶
func (_m *Client) Transaction(_a0 context.Context, _a1 *types.BlockIdentifier, _a2 *types.TransactionIdentifier) (*types.Transaction, error)
Transaction provides a mock function with given fields: _a0, _a1, _a2