Documentation ¶
Overview ¶
Package mock_accountabstraction is a generated GoMock package.
Index ¶
- type MockAccountAbstractionService
- func (m *MockAccountAbstractionService) AdminMintAccessTokens(ctx context.Context, scw common.Address, amount *big.Int) (string, error)
- func (m *MockAccountAbstractionService) AdminNameRegister(ctx context.Context, in *nameserviceproto.NameRegisterRequest) (string, error)
- func (m *MockAccountAbstractionService) AdminNameRenew(ctx context.Context, in *nameserviceproto.NameRenewRequest) (string, error)
- func (m *MockAccountAbstractionService) EXPECT() *MockAccountAbstractionServiceMockRecorder
- func (m *MockAccountAbstractionService) GetDataNameRegister(ctx context.Context, in *nameserviceproto.NameRegisterRequest) ([]byte, []byte, error)
- func (m *MockAccountAbstractionService) GetDataNameRegisterForSpace(ctx context.Context, in *nameserviceproto.NameRegisterForSpaceRequest) ([]byte, []byte, error)
- func (m *MockAccountAbstractionService) GetNamesCountLeft(ctx context.Context, scw common.Address) (uint64, error)
- func (m *MockAccountAbstractionService) GetOperation(ctx context.Context, operationID string) (*accountabstraction.OperationInfo, error)
- func (m *MockAccountAbstractionService) GetSmartWalletAddress(ctx context.Context, eoa common.Address) (common.Address, error)
- func (m *MockAccountAbstractionService) Init(a *app.App) error
- func (m *MockAccountAbstractionService) IsScwDeployed(ctx context.Context, scw common.Address) (bool, error)
- func (m *MockAccountAbstractionService) Name() string
- func (m *MockAccountAbstractionService) SendUserOperation(ctx context.Context, contextData, signedByUserData []byte) (string, error)
- type MockAccountAbstractionServiceMockRecorder
- func (mr *MockAccountAbstractionServiceMockRecorder) AdminMintAccessTokens(ctx, scw, amount any) *gomock.Call
- func (mr *MockAccountAbstractionServiceMockRecorder) AdminNameRegister(ctx, in any) *gomock.Call
- func (mr *MockAccountAbstractionServiceMockRecorder) AdminNameRenew(ctx, in any) *gomock.Call
- func (mr *MockAccountAbstractionServiceMockRecorder) GetDataNameRegister(ctx, in any) *gomock.Call
- func (mr *MockAccountAbstractionServiceMockRecorder) GetDataNameRegisterForSpace(ctx, in any) *gomock.Call
- func (mr *MockAccountAbstractionServiceMockRecorder) GetNamesCountLeft(ctx, scw any) *gomock.Call
- func (mr *MockAccountAbstractionServiceMockRecorder) GetOperation(ctx, operationID any) *gomock.Call
- func (mr *MockAccountAbstractionServiceMockRecorder) GetSmartWalletAddress(ctx, eoa any) *gomock.Call
- func (mr *MockAccountAbstractionServiceMockRecorder) Init(a any) *gomock.Call
- func (mr *MockAccountAbstractionServiceMockRecorder) IsScwDeployed(ctx, scw any) *gomock.Call
- func (mr *MockAccountAbstractionServiceMockRecorder) Name() *gomock.Call
- func (mr *MockAccountAbstractionServiceMockRecorder) SendUserOperation(ctx, contextData, signedByUserData any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountAbstractionService ¶
type MockAccountAbstractionService struct {
// contains filtered or unexported fields
}
MockAccountAbstractionService is a mock of AccountAbstractionService interface.
func NewMockAccountAbstractionService ¶
func NewMockAccountAbstractionService(ctrl *gomock.Controller) *MockAccountAbstractionService
NewMockAccountAbstractionService creates a new mock instance.
func (*MockAccountAbstractionService) AdminMintAccessTokens ¶
func (m *MockAccountAbstractionService) AdminMintAccessTokens(ctx context.Context, scw common.Address, amount *big.Int) (string, error)
AdminMintAccessTokens mocks base method.
func (*MockAccountAbstractionService) AdminNameRegister ¶ added in v0.1.4
func (m *MockAccountAbstractionService) AdminNameRegister(ctx context.Context, in *nameserviceproto.NameRegisterRequest) (string, error)
AdminNameRegister mocks base method.
func (*MockAccountAbstractionService) AdminNameRenew ¶ added in v0.4.0
func (m *MockAccountAbstractionService) AdminNameRenew(ctx context.Context, in *nameserviceproto.NameRenewRequest) (string, error)
AdminNameRenew mocks base method.
func (*MockAccountAbstractionService) EXPECT ¶
func (m *MockAccountAbstractionService) EXPECT() *MockAccountAbstractionServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountAbstractionService) GetDataNameRegister ¶
func (m *MockAccountAbstractionService) GetDataNameRegister(ctx context.Context, in *nameserviceproto.NameRegisterRequest) ([]byte, []byte, error)
GetDataNameRegister mocks base method.
func (*MockAccountAbstractionService) GetDataNameRegisterForSpace ¶ added in v0.1.0
func (m *MockAccountAbstractionService) GetDataNameRegisterForSpace(ctx context.Context, in *nameserviceproto.NameRegisterForSpaceRequest) ([]byte, []byte, error)
GetDataNameRegisterForSpace mocks base method.
func (*MockAccountAbstractionService) GetNamesCountLeft ¶
func (m *MockAccountAbstractionService) GetNamesCountLeft(ctx context.Context, scw common.Address) (uint64, error)
GetNamesCountLeft mocks base method.
func (*MockAccountAbstractionService) GetOperation ¶
func (m *MockAccountAbstractionService) GetOperation(ctx context.Context, operationID string) (*accountabstraction.OperationInfo, error)
GetOperation mocks base method.
func (*MockAccountAbstractionService) GetSmartWalletAddress ¶
func (m *MockAccountAbstractionService) GetSmartWalletAddress(ctx context.Context, eoa common.Address) (common.Address, error)
GetSmartWalletAddress mocks base method.
func (*MockAccountAbstractionService) Init ¶
func (m *MockAccountAbstractionService) Init(a *app.App) error
Init mocks base method.
func (*MockAccountAbstractionService) IsScwDeployed ¶
func (m *MockAccountAbstractionService) IsScwDeployed(ctx context.Context, scw common.Address) (bool, error)
IsScwDeployed mocks base method.
func (*MockAccountAbstractionService) Name ¶
func (m *MockAccountAbstractionService) Name() string
Name mocks base method.
func (*MockAccountAbstractionService) SendUserOperation ¶
func (m *MockAccountAbstractionService) SendUserOperation(ctx context.Context, contextData, signedByUserData []byte) (string, error)
SendUserOperation mocks base method.
type MockAccountAbstractionServiceMockRecorder ¶
type MockAccountAbstractionServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountAbstractionServiceMockRecorder is the mock recorder for MockAccountAbstractionService.
func (*MockAccountAbstractionServiceMockRecorder) AdminMintAccessTokens ¶
func (mr *MockAccountAbstractionServiceMockRecorder) AdminMintAccessTokens(ctx, scw, amount any) *gomock.Call
AdminMintAccessTokens indicates an expected call of AdminMintAccessTokens.
func (*MockAccountAbstractionServiceMockRecorder) AdminNameRegister ¶ added in v0.1.4
func (mr *MockAccountAbstractionServiceMockRecorder) AdminNameRegister(ctx, in any) *gomock.Call
AdminNameRegister indicates an expected call of AdminNameRegister.
func (*MockAccountAbstractionServiceMockRecorder) AdminNameRenew ¶ added in v0.4.0
func (mr *MockAccountAbstractionServiceMockRecorder) AdminNameRenew(ctx, in any) *gomock.Call
AdminNameRenew indicates an expected call of AdminNameRenew.
func (*MockAccountAbstractionServiceMockRecorder) GetDataNameRegister ¶
func (mr *MockAccountAbstractionServiceMockRecorder) GetDataNameRegister(ctx, in any) *gomock.Call
GetDataNameRegister indicates an expected call of GetDataNameRegister.
func (*MockAccountAbstractionServiceMockRecorder) GetDataNameRegisterForSpace ¶ added in v0.1.0
func (mr *MockAccountAbstractionServiceMockRecorder) GetDataNameRegisterForSpace(ctx, in any) *gomock.Call
GetDataNameRegisterForSpace indicates an expected call of GetDataNameRegisterForSpace.
func (*MockAccountAbstractionServiceMockRecorder) GetNamesCountLeft ¶
func (mr *MockAccountAbstractionServiceMockRecorder) GetNamesCountLeft(ctx, scw any) *gomock.Call
GetNamesCountLeft indicates an expected call of GetNamesCountLeft.
func (*MockAccountAbstractionServiceMockRecorder) GetOperation ¶
func (mr *MockAccountAbstractionServiceMockRecorder) GetOperation(ctx, operationID any) *gomock.Call
GetOperation indicates an expected call of GetOperation.
func (*MockAccountAbstractionServiceMockRecorder) GetSmartWalletAddress ¶
func (mr *MockAccountAbstractionServiceMockRecorder) GetSmartWalletAddress(ctx, eoa any) *gomock.Call
GetSmartWalletAddress indicates an expected call of GetSmartWalletAddress.
func (*MockAccountAbstractionServiceMockRecorder) Init ¶
func (mr *MockAccountAbstractionServiceMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockAccountAbstractionServiceMockRecorder) IsScwDeployed ¶
func (mr *MockAccountAbstractionServiceMockRecorder) IsScwDeployed(ctx, scw any) *gomock.Call
IsScwDeployed indicates an expected call of IsScwDeployed.
func (*MockAccountAbstractionServiceMockRecorder) Name ¶
func (mr *MockAccountAbstractionServiceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockAccountAbstractionServiceMockRecorder) SendUserOperation ¶
func (mr *MockAccountAbstractionServiceMockRecorder) SendUserOperation(ctx, contextData, signedByUserData any) *gomock.Call
SendUserOperation indicates an expected call of SendUserOperation.