Documentation ¶
Overview ¶
Package ethrpc2test is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) EstimateGas(ctx context.Context, msg ethereum.CallMsg) (uint64, error)
- func (m *MockClient) NetworkID(ctx context.Context) (*big.Int, error)
- func (m *MockClient) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
- func (m *MockClient) SendTransaction(ctx context.Context, tx *types.Transaction) error
- func (m *MockClient) SuggestGasPrice(ctx context.Context) (*big.Int, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) EstimateGas(ctx, msg interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) NetworkID(ctx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) NonceAt(ctx, account, blockNumber interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SendTransaction(ctx, tx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SuggestGasPrice(ctx interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) EstimateGas ¶
EstimateGas mocks base method.
func (*MockClient) NonceAt ¶
func (m *MockClient) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
NonceAt mocks base method.
func (*MockClient) SendTransaction ¶
func (m *MockClient) SendTransaction(ctx context.Context, tx *types.Transaction) error
SendTransaction mocks base method.
func (*MockClient) SuggestGasPrice ¶
SuggestGasPrice mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) EstimateGas ¶
func (mr *MockClientMockRecorder) EstimateGas(ctx, msg interface{}) *gomock.Call
EstimateGas indicates an expected call of EstimateGas.
func (*MockClientMockRecorder) NetworkID ¶
func (mr *MockClientMockRecorder) NetworkID(ctx interface{}) *gomock.Call
NetworkID indicates an expected call of NetworkID.
func (*MockClientMockRecorder) NonceAt ¶
func (mr *MockClientMockRecorder) NonceAt(ctx, account, blockNumber interface{}) *gomock.Call
NonceAt indicates an expected call of NonceAt.
func (*MockClientMockRecorder) SendTransaction ¶
func (mr *MockClientMockRecorder) SendTransaction(ctx, tx interface{}) *gomock.Call
SendTransaction indicates an expected call of SendTransaction.
func (*MockClientMockRecorder) SuggestGasPrice ¶
func (mr *MockClientMockRecorder) SuggestGasPrice(ctx interface{}) *gomock.Call
SuggestGasPrice indicates an expected call of SuggestGasPrice.