Documentation ¶
Index ¶
- type MockEthClient
- func (m *MockEthClient) CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)
- func (m *MockEthClient) EstimateGas(ctx context.Context, call ethereum.CallMsg) (uint64, error)
- func (m *MockEthClient) NetworkID(ctx context.Context) (*big.Int, error)
- func (m *MockEthClient) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error)
- func (m *MockEthClient) SendTransaction(ctx context.Context, tx *types.Transaction) error
- func (m *MockEthClient) SuggestGasPrice(ctx context.Context) (*big.Int, error)
- func (m *MockEthClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- type MockWebSocketConnection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEthClient ¶
func (*MockEthClient) EstimateGas ¶
func (m *MockEthClient) EstimateGas(ctx context.Context, call ethereum.CallMsg) (uint64, error)
func (*MockEthClient) PendingNonceAt ¶
func (*MockEthClient) SendTransaction ¶
func (m *MockEthClient) SendTransaction(ctx context.Context, tx *types.Transaction) error
func (*MockEthClient) SuggestGasPrice ¶
func (*MockEthClient) TransactionReceipt ¶
type MockWebSocketConnection ¶
func (*MockWebSocketConnection) WriteMessage ¶
func (m *MockWebSocketConnection) WriteMessage(messageType int, data []byte) error
Click to show internal directories.
Click to hide internal directories.