client

package
v0.0.0-...-778b29f Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: BSD-3-Clause Imports: 9 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 (*Client) BalanceAt

func (_m *Client) BalanceAt(_a0 context.Context, _a1 common.Address, _a2 *big.Int) (*big.Int, error)

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

func (*Client) BlockByHash

func (_m *Client) BlockByHash(_a0 context.Context, _a1 common.Hash) (*types.Block, error)

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

func (*Client) BlockByNumber

func (_m *Client) BlockByNumber(_a0 context.Context, _a1 *big.Int) (*types.Block, error)

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

func (*Client) CallContract

func (_m *Client) CallContract(_a0 context.Context, _a1 interfaces.CallMsg, _a2 *big.Int) ([]byte, error)

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

func (*Client) ChainID

func (_m *Client) ChainID(_a0 context.Context) (*big.Int, error)

ChainID provides a mock function with given fields: _a0

func (*Client) EstimateGas

func (_m *Client) EstimateGas(_a0 context.Context, _a1 interfaces.CallMsg) (uint64, error)

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

func (*Client) GetContractInfo

func (_m *Client) GetContractInfo(_a0 common.Address, _a1 bool) (string, uint8, error)

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

func (*Client) GetNetworkName

func (_m *Client) GetNetworkName(_a0 context.Context, _a1 ...rpc.Option) (string, error)

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

func (*Client) HeaderByHash

func (_m *Client) HeaderByHash(_a0 context.Context, _a1 common.Hash) (*types.Header, error)

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

func (*Client) HeaderByNumber

func (_m *Client) HeaderByNumber(_a0 context.Context, _a1 *big.Int) (*types.Header, error)

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

func (*Client) IsBootstrapped

func (_m *Client) IsBootstrapped(_a0 context.Context, _a1 string, _a2 ...rpc.Option) (bool, error)

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

func (*Client) NonceAt

func (_m *Client) NonceAt(_a0 context.Context, _a1 common.Address, _a2 *big.Int) (uint64, error)

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

func (*Client) Peers

func (_m *Client) Peers(_a0 context.Context, _a1 ...rpc.Option) ([]info.Peer, error)

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

func (*Client) SendTransaction

func (_m *Client) SendTransaction(_a0 context.Context, _a1 *types.Transaction) error

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

func (*Client) SuggestGasPrice

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

SuggestGasPrice provides a mock function with given fields: _a0

func (*Client) TraceBlockByHash

func (_m *Client) TraceBlockByHash(_a0 context.Context, _a1 string) ([]*client.Call, [][]*client.FlatCall, error)

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

func (*Client) TraceTransaction

func (_m *Client) TraceTransaction(_a0 context.Context, _a1 string) (*client.Call, []*client.FlatCall, error)

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

func (*Client) TransactionByHash

func (_m *Client) TransactionByHash(_a0 context.Context, _a1 common.Hash) (*types.Transaction, bool, error)

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

func (*Client) TransactionReceipt

func (_m *Client) TransactionReceipt(_a0 context.Context, _a1 common.Hash) (*types.Receipt, error)

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

func (*Client) TxPoolContent

func (_m *Client) TxPoolContent(_a0 context.Context) (*client.TxPoolContent, error)

TxPoolContent provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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