Documentation ¶
Index ¶
- type Client
- func (_m *Client) BalanceAt(_a0 context.Context, _a1 common.Address, _a2 *big.Int) (*big.Int, error)
- func (_m *Client) BlockByHash(_a0 context.Context, _a1 common.Hash) (*types.Block, error)
- func (_m *Client) BlockByNumber(_a0 context.Context, _a1 *big.Int) (*types.Block, error)
- func (_m *Client) CallContract(_a0 context.Context, _a1 interfaces.CallMsg, _a2 *big.Int) ([]byte, error)
- func (_m *Client) ChainID(_a0 context.Context) (*big.Int, error)
- func (_m *Client) EstimateGas(_a0 context.Context, _a1 interfaces.CallMsg) (uint64, error)
- func (_m *Client) GetContractInfo(_a0 common.Address, _a1 bool) (string, uint8, error)
- func (_m *Client) GetNetworkName(_a0 context.Context, _a1 ...rpc.Option) (string, error)
- func (_m *Client) HeaderByHash(_a0 context.Context, _a1 common.Hash) (*types.Header, error)
- func (_m *Client) HeaderByNumber(_a0 context.Context, _a1 *big.Int) (*types.Header, error)
- func (_m *Client) IsBootstrapped(_a0 context.Context, _a1 string, _a2 ...rpc.Option) (bool, error)
- func (_m *Client) NonceAt(_a0 context.Context, _a1 common.Address, _a2 *big.Int) (uint64, error)
- func (_m *Client) Peers(_a0 context.Context, _a1 ...rpc.Option) ([]info.Peer, error)
- func (_m *Client) SendTransaction(_a0 context.Context, _a1 *types.Transaction) error
- func (_m *Client) SuggestGasPrice(_a0 context.Context) (*big.Int, error)
- func (_m *Client) TraceBlockByHash(_a0 context.Context, _a1 string) ([]*client.Call, [][]*client.FlatCall, error)
- func (_m *Client) TraceTransaction(_a0 context.Context, _a1 string) (*client.Call, []*client.FlatCall, error)
- func (_m *Client) TransactionByHash(_a0 context.Context, _a1 common.Hash) (*types.Transaction, bool, error)
- func (_m *Client) TransactionReceipt(_a0 context.Context, _a1 common.Hash) (*types.Receipt, error)
- func (_m *Client) TxPoolContent(_a0 context.Context) (*client.TxPoolContent, 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) 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 ¶
BlockByHash provides a mock function with given fields: _a0, _a1
func (*Client) BlockByNumber ¶
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) EstimateGas ¶
EstimateGas provides a mock function with given fields: _a0, _a1
func (*Client) GetContractInfo ¶
GetContractInfo provides a mock function with given fields: _a0, _a1
func (*Client) GetNetworkName ¶
GetNetworkName provides a mock function with given fields: _a0, _a1
func (*Client) HeaderByHash ¶
HeaderByHash provides a mock function with given fields: _a0, _a1
func (*Client) HeaderByNumber ¶
HeaderByNumber provides a mock function with given fields: _a0, _a1
func (*Client) IsBootstrapped ¶
IsBootstrapped provides a mock function with given fields: _a0, _a1, _a2
func (*Client) SendTransaction ¶
SendTransaction provides a mock function with given fields: _a0, _a1
func (*Client) SuggestGasPrice ¶
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 ¶
TransactionReceipt provides a mock function with given fields: _a0, _a1
func (*Client) TxPoolContent ¶
TxPoolContent provides a mock function with given fields: _a0