services

package
v0.0.0-...-565925e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Client) Balance

Balance provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Client) BaseFee

func (_m *Client) BaseFee(ctx context.Context) (*big.Int, error)

BaseFee provides a mock function with given fields: ctx

func (*Client) Block

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) CallContract

func (_m *Client) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)

CallContract provides a mock function with given fields: ctx, call, blockNumber

func (*Client) CodeAt

func (_m *Client) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)

CodeAt provides a mock function with given fields: ctx, contract, blockNumber

func (*Client) EstimateGas

func (_m *Client) EstimateGas(ctx context.Context, msg ethereum.CallMsg) (uint64, error)

EstimateGas provides a mock function with given fields: ctx, msg

func (*Client) FilterLogs

func (_m *Client) FilterLogs(ctx context.Context, query ethereum.FilterQuery) ([]coretypes.Log, error)

FilterLogs provides a mock function with given fields: ctx, query

func (*Client) HeaderByNumber

func (_m *Client) HeaderByNumber(ctx context.Context, number *big.Int) (*coretypes.Header, error)

HeaderByNumber provides a mock function with given fields: ctx, number

func (*Client) PendingCodeAt

func (_m *Client) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error)

PendingCodeAt provides a mock function with given fields: ctx, account

func (*Client) PendingNonceAt

func (_m *Client) PendingNonceAt(_a0 context.Context, _a1 common.Address) (uint64, error)

PendingNonceAt provides a mock function with given fields: _a0, _a1

func (*Client) SendTransaction

func (_m *Client) SendTransaction(ctx context.Context, tx *coretypes.Transaction) error

SendTransaction provides a mock function with given fields: ctx, tx

func (*Client) Status

Status provides a mock function with given fields: _a0

func (*Client) SubscribeFilterLogs

func (_m *Client) SubscribeFilterLogs(ctx context.Context, query ethereum.FilterQuery, ch chan<- coretypes.Log) (ethereum.Subscription, error)

SubscribeFilterLogs provides a mock function with given fields: ctx, query, ch

func (*Client) SuggestGasPrice

func (_m *Client) SuggestGasPrice(ctx context.Context) (*big.Int, error)

SuggestGasPrice provides a mock function with given fields: ctx

func (*Client) SuggestGasTipCap

func (_m *Client) SuggestGasTipCap(ctx context.Context) (*big.Int, error)

SuggestGasTipCap provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL