Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClientAPI
- func (m *MockClientAPI) ConnectWallet(arg0 context.Context, arg1 string) (wallet.Wallet, *jsonrpc.ErrorDetails)
- func (m *MockClientAPI) EXPECT() *MockClientAPIMockRecorder
- func (m *MockClientAPI) GetChainID(arg0 context.Context) (jsonrpc.Result, *jsonrpc.ErrorDetails)
- func (m *MockClientAPI) ListKeys(arg0 context.Context, arg1 api.ConnectedWallet) (jsonrpc.Result, *jsonrpc.ErrorDetails)
- func (m *MockClientAPI) SendTransaction(arg0 context.Context, arg1 jsonrpc.Params, arg2 api.ConnectedWallet) (jsonrpc.Result, *jsonrpc.ErrorDetails)
- func (m *MockClientAPI) SignTransaction(arg0 context.Context, arg1 jsonrpc.Params, arg2 api.ConnectedWallet) (jsonrpc.Result, *jsonrpc.ErrorDetails)
- type MockClientAPIMockRecorder
- func (mr *MockClientAPIMockRecorder) ConnectWallet(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) GetChainID(arg0 interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) ListKeys(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) SendTransaction(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientAPIMockRecorder) SignTransaction(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientAPI ¶
type MockClientAPI struct {
// contains filtered or unexported fields
}
MockClientAPI is a mock of ClientAPI interface.
func NewMockClientAPI ¶
func NewMockClientAPI(ctrl *gomock.Controller) *MockClientAPI
NewMockClientAPI creates a new mock instance.
func (*MockClientAPI) ConnectWallet ¶
func (m *MockClientAPI) ConnectWallet(arg0 context.Context, arg1 string) (wallet.Wallet, *jsonrpc.ErrorDetails)
ConnectWallet mocks base method.
func (*MockClientAPI) EXPECT ¶
func (m *MockClientAPI) EXPECT() *MockClientAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientAPI) GetChainID ¶
func (m *MockClientAPI) GetChainID(arg0 context.Context) (jsonrpc.Result, *jsonrpc.ErrorDetails)
GetChainID mocks base method.
func (*MockClientAPI) ListKeys ¶
func (m *MockClientAPI) ListKeys(arg0 context.Context, arg1 api.ConnectedWallet) (jsonrpc.Result, *jsonrpc.ErrorDetails)
ListKeys mocks base method.
func (*MockClientAPI) SendTransaction ¶
func (m *MockClientAPI) SendTransaction(arg0 context.Context, arg1 jsonrpc.Params, arg2 api.ConnectedWallet) (jsonrpc.Result, *jsonrpc.ErrorDetails)
SendTransaction mocks base method.
func (*MockClientAPI) SignTransaction ¶
func (m *MockClientAPI) SignTransaction(arg0 context.Context, arg1 jsonrpc.Params, arg2 api.ConnectedWallet) (jsonrpc.Result, *jsonrpc.ErrorDetails)
SignTransaction mocks base method.
type MockClientAPIMockRecorder ¶
type MockClientAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockClientAPIMockRecorder is the mock recorder for MockClientAPI.
func (*MockClientAPIMockRecorder) ConnectWallet ¶
func (mr *MockClientAPIMockRecorder) ConnectWallet(arg0, arg1 interface{}) *gomock.Call
ConnectWallet indicates an expected call of ConnectWallet.
func (*MockClientAPIMockRecorder) GetChainID ¶
func (mr *MockClientAPIMockRecorder) GetChainID(arg0 interface{}) *gomock.Call
GetChainID indicates an expected call of GetChainID.
func (*MockClientAPIMockRecorder) ListKeys ¶
func (mr *MockClientAPIMockRecorder) ListKeys(arg0, arg1 interface{}) *gomock.Call
ListKeys indicates an expected call of ListKeys.
func (*MockClientAPIMockRecorder) SendTransaction ¶
func (mr *MockClientAPIMockRecorder) SendTransaction(arg0, arg1, arg2 interface{}) *gomock.Call
SendTransaction indicates an expected call of SendTransaction.
func (*MockClientAPIMockRecorder) SignTransaction ¶
func (mr *MockClientAPIMockRecorder) SignTransaction(arg0, arg1, arg2 interface{}) *gomock.Call
SignTransaction indicates an expected call of SignTransaction.