Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: alchemysdk/alchemysdk.go
Generated by this command:
mockgen -source=alchemysdk/alchemysdk.go
Package mock_alchemysdk is a generated GoMock package.
Index ¶
- type MockAlchemyAAService
- func (m *MockAlchemyAAService) CreateRequestAndSign(callData []byte, rgap alchemysdk.JSONRPCResponseGasAndPaymaster, chainID int64, ...) ([]byte, error)
- func (m *MockAlchemyAAService) CreateRequestGasAndPaymasterData(callData []byte, sender, senderScw common.Address, nonce uint64, ...) (alchemysdk.JSONRPCRequestGasAndPaymaster, error)
- func (m *MockAlchemyAAService) CreateRequestGetUserOperationReceipt(operationHash string, id int) ([]byte, error)
- func (m *MockAlchemyAAService) CreateRequestStep1(callData []byte, rgap alchemysdk.JSONRPCResponseGasAndPaymaster, chainID int64, ...) ([]byte, alchemysdk.UserOperation, error)
- func (m *MockAlchemyAAService) CreateRequestStep2(alchemyRequestId int, signedByUserData []byte, uo alchemysdk.UserOperation, ...) ([]byte, error)
- func (m *MockAlchemyAAService) DecodeResponseGetUserOperationReceipt(response []byte) (*alchemysdk.JSONRPCResponseGetOp, error)
- func (m *MockAlchemyAAService) DecodeResponseSendRequest(response []byte) (string, error)
- func (m *MockAlchemyAAService) EXPECT() *MockAlchemyAAServiceMockRecorder
- func (m *MockAlchemyAAService) Init(a *app.App) error
- func (m *MockAlchemyAAService) Name() string
- func (m *MockAlchemyAAService) SendRequest(apiKey string, jsonDATA []byte) ([]byte, error)
- type MockAlchemyAAServiceMockRecorder
- func (mr *MockAlchemyAAServiceMockRecorder) CreateRequestAndSign(...) *gomock.Call
- func (mr *MockAlchemyAAServiceMockRecorder) CreateRequestGasAndPaymasterData(...) *gomock.Call
- func (mr *MockAlchemyAAServiceMockRecorder) CreateRequestGetUserOperationReceipt(operationHash, id any) *gomock.Call
- func (mr *MockAlchemyAAServiceMockRecorder) CreateRequestStep1(callData, rgap, chainID, entryPointAddr, sender, nonce any) *gomock.Call
- func (mr *MockAlchemyAAServiceMockRecorder) CreateRequestStep2(alchemyRequestId, signedByUserData, uo, entryPointAddr any) *gomock.Call
- func (mr *MockAlchemyAAServiceMockRecorder) DecodeResponseGetUserOperationReceipt(response any) *gomock.Call
- func (mr *MockAlchemyAAServiceMockRecorder) DecodeResponseSendRequest(response any) *gomock.Call
- func (mr *MockAlchemyAAServiceMockRecorder) Init(a any) *gomock.Call
- func (mr *MockAlchemyAAServiceMockRecorder) Name() *gomock.Call
- func (mr *MockAlchemyAAServiceMockRecorder) SendRequest(apiKey, jsonDATA any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAlchemyAAService ¶
type MockAlchemyAAService struct {
// contains filtered or unexported fields
}
MockAlchemyAAService is a mock of AlchemyAAService interface.
func NewMockAlchemyAAService ¶
func NewMockAlchemyAAService(ctrl *gomock.Controller) *MockAlchemyAAService
NewMockAlchemyAAService creates a new mock instance.
func (*MockAlchemyAAService) CreateRequestAndSign ¶
func (m *MockAlchemyAAService) CreateRequestAndSign(callData []byte, rgap alchemysdk.JSONRPCResponseGasAndPaymaster, chainID int64, entryPointAddr, sender, senderScw common.Address, nonce uint64, id int, myPK string, factoryAddr common.Address, appendEntryPoint bool) ([]byte, error)
CreateRequestAndSign mocks base method.
func (*MockAlchemyAAService) CreateRequestGasAndPaymasterData ¶
func (m *MockAlchemyAAService) CreateRequestGasAndPaymasterData(callData []byte, sender, senderScw common.Address, nonce uint64, policyID string, entryPointAddr, factoryAddr common.Address, id int) (alchemysdk.JSONRPCRequestGasAndPaymaster, error)
CreateRequestGasAndPaymasterData mocks base method.
func (*MockAlchemyAAService) CreateRequestGetUserOperationReceipt ¶
func (m *MockAlchemyAAService) CreateRequestGetUserOperationReceipt(operationHash string, id int) ([]byte, error)
CreateRequestGetUserOperationReceipt mocks base method.
func (*MockAlchemyAAService) CreateRequestStep1 ¶
func (m *MockAlchemyAAService) CreateRequestStep1(callData []byte, rgap alchemysdk.JSONRPCResponseGasAndPaymaster, chainID int64, entryPointAddr, sender common.Address, nonce uint64) ([]byte, alchemysdk.UserOperation, error)
CreateRequestStep1 mocks base method.
func (*MockAlchemyAAService) CreateRequestStep2 ¶
func (m *MockAlchemyAAService) CreateRequestStep2(alchemyRequestId int, signedByUserData []byte, uo alchemysdk.UserOperation, entryPointAddr common.Address) ([]byte, error)
CreateRequestStep2 mocks base method.
func (*MockAlchemyAAService) DecodeResponseGetUserOperationReceipt ¶
func (m *MockAlchemyAAService) DecodeResponseGetUserOperationReceipt(response []byte) (*alchemysdk.JSONRPCResponseGetOp, error)
DecodeResponseGetUserOperationReceipt mocks base method.
func (*MockAlchemyAAService) DecodeResponseSendRequest ¶
func (m *MockAlchemyAAService) DecodeResponseSendRequest(response []byte) (string, error)
DecodeResponseSendRequest mocks base method.
func (*MockAlchemyAAService) EXPECT ¶
func (m *MockAlchemyAAService) EXPECT() *MockAlchemyAAServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAlchemyAAService) Init ¶
func (m *MockAlchemyAAService) Init(a *app.App) error
Init mocks base method.
func (*MockAlchemyAAService) Name ¶
func (m *MockAlchemyAAService) Name() string
Name mocks base method.
func (*MockAlchemyAAService) SendRequest ¶
func (m *MockAlchemyAAService) SendRequest(apiKey string, jsonDATA []byte) ([]byte, error)
SendRequest mocks base method.
type MockAlchemyAAServiceMockRecorder ¶
type MockAlchemyAAServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAlchemyAAServiceMockRecorder is the mock recorder for MockAlchemyAAService.
func (*MockAlchemyAAServiceMockRecorder) CreateRequestAndSign ¶
func (mr *MockAlchemyAAServiceMockRecorder) CreateRequestAndSign(callData, rgap, chainID, entryPointAddr, sender, senderScw, nonce, id, myPK, factoryAddr, appendEntryPoint any) *gomock.Call
CreateRequestAndSign indicates an expected call of CreateRequestAndSign.
func (*MockAlchemyAAServiceMockRecorder) CreateRequestGasAndPaymasterData ¶
func (mr *MockAlchemyAAServiceMockRecorder) CreateRequestGasAndPaymasterData(callData, sender, senderScw, nonce, policyID, entryPointAddr, factoryAddr, id any) *gomock.Call
CreateRequestGasAndPaymasterData indicates an expected call of CreateRequestGasAndPaymasterData.
func (*MockAlchemyAAServiceMockRecorder) CreateRequestGetUserOperationReceipt ¶
func (mr *MockAlchemyAAServiceMockRecorder) CreateRequestGetUserOperationReceipt(operationHash, id any) *gomock.Call
CreateRequestGetUserOperationReceipt indicates an expected call of CreateRequestGetUserOperationReceipt.
func (*MockAlchemyAAServiceMockRecorder) CreateRequestStep1 ¶
func (mr *MockAlchemyAAServiceMockRecorder) CreateRequestStep1(callData, rgap, chainID, entryPointAddr, sender, nonce any) *gomock.Call
CreateRequestStep1 indicates an expected call of CreateRequestStep1.
func (*MockAlchemyAAServiceMockRecorder) CreateRequestStep2 ¶
func (mr *MockAlchemyAAServiceMockRecorder) CreateRequestStep2(alchemyRequestId, signedByUserData, uo, entryPointAddr any) *gomock.Call
CreateRequestStep2 indicates an expected call of CreateRequestStep2.
func (*MockAlchemyAAServiceMockRecorder) DecodeResponseGetUserOperationReceipt ¶
func (mr *MockAlchemyAAServiceMockRecorder) DecodeResponseGetUserOperationReceipt(response any) *gomock.Call
DecodeResponseGetUserOperationReceipt indicates an expected call of DecodeResponseGetUserOperationReceipt.
func (*MockAlchemyAAServiceMockRecorder) DecodeResponseSendRequest ¶
func (mr *MockAlchemyAAServiceMockRecorder) DecodeResponseSendRequest(response any) *gomock.Call
DecodeResponseSendRequest indicates an expected call of DecodeResponseSendRequest.
func (*MockAlchemyAAServiceMockRecorder) Init ¶
func (mr *MockAlchemyAAServiceMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockAlchemyAAServiceMockRecorder) Name ¶
func (mr *MockAlchemyAAServiceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockAlchemyAAServiceMockRecorder) SendRequest ¶
func (mr *MockAlchemyAAServiceMockRecorder) SendRequest(apiKey, jsonDATA any) *gomock.Call
SendRequest indicates an expected call of SendRequest.