Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Index ¶
- func MockDocumentLoader() (*jld.DocumentLoader, error)
- type MockAuthQueryClient
- func (m *MockAuthQueryClient) Account(arg0 context.Context, arg1 *types.QueryAccountRequest, arg2 ...grpc.CallOption) (*types.QueryAccountResponse, error)
- func (m *MockAuthQueryClient) AccountAddressByID(arg0 context.Context, arg1 *types.QueryAccountAddressByIDRequest, ...) (*types.QueryAccountAddressByIDResponse, error)
- func (m *MockAuthQueryClient) AccountInfo(arg0 context.Context, arg1 *types.QueryAccountInfoRequest, ...) (*types.QueryAccountInfoResponse, error)
- func (m *MockAuthQueryClient) Accounts(arg0 context.Context, arg1 *types.QueryAccountsRequest, ...) (*types.QueryAccountsResponse, error)
- func (m *MockAuthQueryClient) AddressBytesToString(arg0 context.Context, arg1 *types.AddressBytesToStringRequest, ...) (*types.AddressBytesToStringResponse, error)
- func (m *MockAuthQueryClient) AddressStringToBytes(arg0 context.Context, arg1 *types.AddressStringToBytesRequest, ...) (*types.AddressStringToBytesResponse, error)
- func (m *MockAuthQueryClient) Bech32Prefix(arg0 context.Context, arg1 *types.Bech32PrefixRequest, arg2 ...grpc.CallOption) (*types.Bech32PrefixResponse, error)
- func (m *MockAuthQueryClient) EXPECT() *MockAuthQueryClientMockRecorder
- func (m *MockAuthQueryClient) ModuleAccountByName(arg0 context.Context, arg1 *types.QueryModuleAccountByNameRequest, ...) (*types.QueryModuleAccountByNameResponse, error)
- func (m *MockAuthQueryClient) ModuleAccounts(arg0 context.Context, arg1 *types.QueryModuleAccountsRequest, ...) (*types.QueryModuleAccountsResponse, error)
- func (m *MockAuthQueryClient) Params(arg0 context.Context, arg1 *types.QueryParamsRequest, arg2 ...grpc.CallOption) (*types.QueryParamsResponse, error)
- type MockAuthQueryClientMockRecorder
- func (mr *MockAuthQueryClientMockRecorder) Account(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockAuthQueryClientMockRecorder) AccountAddressByID(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockAuthQueryClientMockRecorder) AccountInfo(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockAuthQueryClientMockRecorder) Accounts(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockAuthQueryClientMockRecorder) AddressBytesToString(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockAuthQueryClientMockRecorder) AddressStringToBytes(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockAuthQueryClientMockRecorder) Bech32Prefix(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockAuthQueryClientMockRecorder) ModuleAccountByName(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockAuthQueryClientMockRecorder) ModuleAccounts(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockAuthQueryClientMockRecorder) Params(arg0, arg1 any, arg2 ...any) *gomock.Call
- type MockClaim
- type MockClaimMockRecorder
- type MockCognitariumQueryClient
- func (m *MockCognitariumQueryClient) Construct(arg0 context.Context, arg1 *schema.QueryMsg_Construct, arg2 ...grpc.CallOption) (*schema.ConstructResponse, error)
- func (m *MockCognitariumQueryClient) Describe(arg0 context.Context, arg1 *schema.QueryMsg_Describe, arg2 ...grpc.CallOption) (*schema.DescribeResponse, error)
- func (m *MockCognitariumQueryClient) EXPECT() *MockCognitariumQueryClientMockRecorder
- func (m *MockCognitariumQueryClient) Select(arg0 context.Context, arg1 *schema.QueryMsg_Select, arg2 ...grpc.CallOption) (*schema.SelectResponse, error)
- func (m *MockCognitariumQueryClient) Store(arg0 context.Context, arg1 *schema.QueryMsg_Store, arg2 ...grpc.CallOption) (*schema.StoreResponse, error)
- type MockCognitariumQueryClientMockRecorder
- func (mr *MockCognitariumQueryClientMockRecorder) Construct(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockCognitariumQueryClientMockRecorder) Describe(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockCognitariumQueryClientMockRecorder) Select(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockCognitariumQueryClientMockRecorder) Store(arg0, arg1 any, arg2 ...any) *gomock.Call
- type MockDataverseQueryClient
- type MockDataverseQueryClientMockRecorder
- type MockDataverseTxClient
- type MockDataverseTxClientMockRecorder
- type MockDescriptor
- type MockDescriptorMockRecorder
- type MockKeyring
- func (m *MockKeyring) Addr() string
- func (m *MockKeyring) Alg() string
- func (m *MockKeyring) DID() string
- func (m *MockKeyring) DIDKeyID() string
- func (m *MockKeyring) EXPECT() *MockKeyringMockRecorder
- func (m *MockKeyring) PubKey() types.PubKey
- func (m *MockKeyring) Sign(msg []byte) ([]byte, error)
- type MockKeyringMockRecorder
- func (mr *MockKeyringMockRecorder) Addr() *gomock.Call
- func (mr *MockKeyringMockRecorder) Alg() *gomock.Call
- func (mr *MockKeyringMockRecorder) DID() *gomock.Call
- func (mr *MockKeyringMockRecorder) DIDKeyID() *gomock.Call
- func (mr *MockKeyringMockRecorder) PubKey() *gomock.Call
- func (mr *MockKeyringMockRecorder) Sign(msg any) *gomock.Call
- type MockLawStoneQueryClient
- func (m *MockLawStoneQueryClient) Ask(arg0 context.Context, arg1 *schema.QueryMsg_Ask, arg2 ...grpc.CallOption) (*schema.AskResponse, error)
- func (m *MockLawStoneQueryClient) EXPECT() *MockLawStoneQueryClientMockRecorder
- func (m *MockLawStoneQueryClient) Program(arg0 context.Context, arg1 *schema.QueryMsg_Program, arg2 ...grpc.CallOption) (*schema.ProgramResponse, error)
- func (m *MockLawStoneQueryClient) ProgramCode(arg0 context.Context, arg1 *schema.QueryMsg_ProgramCode, ...) (*string, error)
- type MockLawStoneQueryClientMockRecorder
- type MockParser
- type MockParserMockRecorder
- type MockProxy
- type MockProxyMockRecorder
- type MockQueryClient
- func (m *MockQueryClient) AskGovPermittedActions(arg0 context.Context, arg1, arg2 string) ([]string, error)
- func (m *MockQueryClient) AskGovTellAction(arg0 context.Context, arg1, arg2, arg3 string) (bool, error)
- func (m *MockQueryClient) EXPECT() *MockQueryClientMockRecorder
- func (m *MockQueryClient) GetResourceGovAddr(arg0 context.Context, arg1 string) (string, error)
- type MockQueryClientMockRecorder
- type MockTransaction
- type MockTransactionMockRecorder
- type MockTxClient
- type MockTxClientMockRecorder
- type MockTxServiceClient
- func (m *MockTxServiceClient) BroadcastTx(arg0 context.Context, arg1 *tx.BroadcastTxRequest, arg2 ...grpc.CallOption) (*tx.BroadcastTxResponse, error)
- func (m *MockTxServiceClient) EXPECT() *MockTxServiceClientMockRecorder
- func (m *MockTxServiceClient) GetBlockWithTxs(arg0 context.Context, arg1 *tx.GetBlockWithTxsRequest, arg2 ...grpc.CallOption) (*tx.GetBlockWithTxsResponse, error)
- func (m *MockTxServiceClient) GetTx(arg0 context.Context, arg1 *tx.GetTxRequest, arg2 ...grpc.CallOption) (*tx.GetTxResponse, error)
- func (m *MockTxServiceClient) GetTxsEvent(arg0 context.Context, arg1 *tx.GetTxsEventRequest, arg2 ...grpc.CallOption) (*tx.GetTxsEventResponse, error)
- func (m *MockTxServiceClient) Simulate(arg0 context.Context, arg1 *tx.SimulateRequest, arg2 ...grpc.CallOption) (*tx.SimulateResponse, error)
- func (m *MockTxServiceClient) TxDecode(arg0 context.Context, arg1 *tx.TxDecodeRequest, arg2 ...grpc.CallOption) (*tx.TxDecodeResponse, error)
- func (m *MockTxServiceClient) TxDecodeAmino(arg0 context.Context, arg1 *tx.TxDecodeAminoRequest, arg2 ...grpc.CallOption) (*tx.TxDecodeAminoResponse, error)
- func (m *MockTxServiceClient) TxEncode(arg0 context.Context, arg1 *tx.TxEncodeRequest, arg2 ...grpc.CallOption) (*tx.TxEncodeResponse, error)
- func (m *MockTxServiceClient) TxEncodeAmino(arg0 context.Context, arg1 *tx.TxEncodeAminoRequest, arg2 ...grpc.CallOption) (*tx.TxEncodeAminoResponse, error)
- type MockTxServiceClientMockRecorder
- func (mr *MockTxServiceClientMockRecorder) BroadcastTx(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockTxServiceClientMockRecorder) GetBlockWithTxs(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockTxServiceClientMockRecorder) GetTx(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockTxServiceClientMockRecorder) GetTxsEvent(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockTxServiceClientMockRecorder) Simulate(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockTxServiceClientMockRecorder) TxDecode(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockTxServiceClientMockRecorder) TxDecodeAmino(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockTxServiceClientMockRecorder) TxEncode(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockTxServiceClientMockRecorder) TxEncodeAmino(arg0, arg1 any, arg2 ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MockDocumentLoader ¶
func MockDocumentLoader() (*jld.DocumentLoader, error)
Types ¶
type MockAuthQueryClient ¶
type MockAuthQueryClient struct {
// contains filtered or unexported fields
}
MockAuthQueryClient is a mock of QueryClient interface.
func NewMockAuthQueryClient ¶
func NewMockAuthQueryClient(ctrl *gomock.Controller) *MockAuthQueryClient
NewMockAuthQueryClient creates a new mock instance.
func (*MockAuthQueryClient) Account ¶
func (m *MockAuthQueryClient) Account(arg0 context.Context, arg1 *types.QueryAccountRequest, arg2 ...grpc.CallOption) (*types.QueryAccountResponse, error)
Account mocks base method.
func (*MockAuthQueryClient) AccountAddressByID ¶
func (m *MockAuthQueryClient) AccountAddressByID(arg0 context.Context, arg1 *types.QueryAccountAddressByIDRequest, arg2 ...grpc.CallOption) (*types.QueryAccountAddressByIDResponse, error)
AccountAddressByID mocks base method.
func (*MockAuthQueryClient) AccountInfo ¶
func (m *MockAuthQueryClient) AccountInfo(arg0 context.Context, arg1 *types.QueryAccountInfoRequest, arg2 ...grpc.CallOption) (*types.QueryAccountInfoResponse, error)
AccountInfo mocks base method.
func (*MockAuthQueryClient) Accounts ¶
func (m *MockAuthQueryClient) Accounts(arg0 context.Context, arg1 *types.QueryAccountsRequest, arg2 ...grpc.CallOption) (*types.QueryAccountsResponse, error)
Accounts mocks base method.
func (*MockAuthQueryClient) AddressBytesToString ¶
func (m *MockAuthQueryClient) AddressBytesToString(arg0 context.Context, arg1 *types.AddressBytesToStringRequest, arg2 ...grpc.CallOption) (*types.AddressBytesToStringResponse, error)
AddressBytesToString mocks base method.
func (*MockAuthQueryClient) AddressStringToBytes ¶
func (m *MockAuthQueryClient) AddressStringToBytes(arg0 context.Context, arg1 *types.AddressStringToBytesRequest, arg2 ...grpc.CallOption) (*types.AddressStringToBytesResponse, error)
AddressStringToBytes mocks base method.
func (*MockAuthQueryClient) Bech32Prefix ¶
func (m *MockAuthQueryClient) Bech32Prefix(arg0 context.Context, arg1 *types.Bech32PrefixRequest, arg2 ...grpc.CallOption) (*types.Bech32PrefixResponse, error)
Bech32Prefix mocks base method.
func (*MockAuthQueryClient) EXPECT ¶
func (m *MockAuthQueryClient) EXPECT() *MockAuthQueryClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthQueryClient) ModuleAccountByName ¶
func (m *MockAuthQueryClient) ModuleAccountByName(arg0 context.Context, arg1 *types.QueryModuleAccountByNameRequest, arg2 ...grpc.CallOption) (*types.QueryModuleAccountByNameResponse, error)
ModuleAccountByName mocks base method.
func (*MockAuthQueryClient) ModuleAccounts ¶
func (m *MockAuthQueryClient) ModuleAccounts(arg0 context.Context, arg1 *types.QueryModuleAccountsRequest, arg2 ...grpc.CallOption) (*types.QueryModuleAccountsResponse, error)
ModuleAccounts mocks base method.
func (*MockAuthQueryClient) Params ¶
func (m *MockAuthQueryClient) Params(arg0 context.Context, arg1 *types.QueryParamsRequest, arg2 ...grpc.CallOption) (*types.QueryParamsResponse, error)
Params mocks base method.
type MockAuthQueryClientMockRecorder ¶
type MockAuthQueryClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthQueryClientMockRecorder is the mock recorder for MockAuthQueryClient.
func (*MockAuthQueryClientMockRecorder) Account ¶
func (mr *MockAuthQueryClientMockRecorder) Account(arg0, arg1 any, arg2 ...any) *gomock.Call
Account indicates an expected call of Account.
func (*MockAuthQueryClientMockRecorder) AccountAddressByID ¶
func (mr *MockAuthQueryClientMockRecorder) AccountAddressByID(arg0, arg1 any, arg2 ...any) *gomock.Call
AccountAddressByID indicates an expected call of AccountAddressByID.
func (*MockAuthQueryClientMockRecorder) AccountInfo ¶
func (mr *MockAuthQueryClientMockRecorder) AccountInfo(arg0, arg1 any, arg2 ...any) *gomock.Call
AccountInfo indicates an expected call of AccountInfo.
func (*MockAuthQueryClientMockRecorder) Accounts ¶
func (mr *MockAuthQueryClientMockRecorder) Accounts(arg0, arg1 any, arg2 ...any) *gomock.Call
Accounts indicates an expected call of Accounts.
func (*MockAuthQueryClientMockRecorder) AddressBytesToString ¶
func (mr *MockAuthQueryClientMockRecorder) AddressBytesToString(arg0, arg1 any, arg2 ...any) *gomock.Call
AddressBytesToString indicates an expected call of AddressBytesToString.
func (*MockAuthQueryClientMockRecorder) AddressStringToBytes ¶
func (mr *MockAuthQueryClientMockRecorder) AddressStringToBytes(arg0, arg1 any, arg2 ...any) *gomock.Call
AddressStringToBytes indicates an expected call of AddressStringToBytes.
func (*MockAuthQueryClientMockRecorder) Bech32Prefix ¶
func (mr *MockAuthQueryClientMockRecorder) Bech32Prefix(arg0, arg1 any, arg2 ...any) *gomock.Call
Bech32Prefix indicates an expected call of Bech32Prefix.
func (*MockAuthQueryClientMockRecorder) ModuleAccountByName ¶
func (mr *MockAuthQueryClientMockRecorder) ModuleAccountByName(arg0, arg1 any, arg2 ...any) *gomock.Call
ModuleAccountByName indicates an expected call of ModuleAccountByName.
func (*MockAuthQueryClientMockRecorder) ModuleAccounts ¶
func (mr *MockAuthQueryClientMockRecorder) ModuleAccounts(arg0, arg1 any, arg2 ...any) *gomock.Call
ModuleAccounts indicates an expected call of ModuleAccounts.
type MockClaim ¶
type MockClaim struct {
// contains filtered or unexported fields
}
MockClaim is a mock of Claim interface.
func NewMockClaim ¶
func NewMockClaim(ctrl *gomock.Controller) *MockClaim
NewMockClaim creates a new mock instance.
func (*MockClaim) EXPECT ¶
func (m *MockClaim) EXPECT() *MockClaimMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClaim) From ¶
func (m *MockClaim) From(vc *verifiable.Credential) error
From mocks base method.
type MockClaimMockRecorder ¶
type MockClaimMockRecorder struct {
// contains filtered or unexported fields
}
MockClaimMockRecorder is the mock recorder for MockClaim.
type MockCognitariumQueryClient ¶
type MockCognitariumQueryClient struct {
// contains filtered or unexported fields
}
MockCognitariumQueryClient is a mock of QueryClient interface.
func NewMockCognitariumQueryClient ¶
func NewMockCognitariumQueryClient(ctrl *gomock.Controller) *MockCognitariumQueryClient
NewMockCognitariumQueryClient creates a new mock instance.
func (*MockCognitariumQueryClient) Construct ¶
func (m *MockCognitariumQueryClient) Construct(arg0 context.Context, arg1 *schema.QueryMsg_Construct, arg2 ...grpc.CallOption) (*schema.ConstructResponse, error)
Construct mocks base method.
func (*MockCognitariumQueryClient) Describe ¶
func (m *MockCognitariumQueryClient) Describe(arg0 context.Context, arg1 *schema.QueryMsg_Describe, arg2 ...grpc.CallOption) (*schema.DescribeResponse, error)
Describe mocks base method.
func (*MockCognitariumQueryClient) EXPECT ¶
func (m *MockCognitariumQueryClient) EXPECT() *MockCognitariumQueryClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCognitariumQueryClient) Select ¶
func (m *MockCognitariumQueryClient) Select(arg0 context.Context, arg1 *schema.QueryMsg_Select, arg2 ...grpc.CallOption) (*schema.SelectResponse, error)
Select mocks base method.
func (*MockCognitariumQueryClient) Store ¶
func (m *MockCognitariumQueryClient) Store(arg0 context.Context, arg1 *schema.QueryMsg_Store, arg2 ...grpc.CallOption) (*schema.StoreResponse, error)
Store mocks base method.
type MockCognitariumQueryClientMockRecorder ¶
type MockCognitariumQueryClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCognitariumQueryClientMockRecorder is the mock recorder for MockCognitariumQueryClient.
func (*MockCognitariumQueryClientMockRecorder) Construct ¶
func (mr *MockCognitariumQueryClientMockRecorder) Construct(arg0, arg1 any, arg2 ...any) *gomock.Call
Construct indicates an expected call of Construct.
func (*MockCognitariumQueryClientMockRecorder) Describe ¶
func (mr *MockCognitariumQueryClientMockRecorder) Describe(arg0, arg1 any, arg2 ...any) *gomock.Call
Describe indicates an expected call of Describe.
type MockDataverseQueryClient ¶
type MockDataverseQueryClient struct {
// contains filtered or unexported fields
}
MockDataverseQueryClient is a mock of QueryClient interface.
func NewMockDataverseQueryClient ¶
func NewMockDataverseQueryClient(ctrl *gomock.Controller) *MockDataverseQueryClient
NewMockDataverseQueryClient creates a new mock instance.
func (*MockDataverseQueryClient) Dataverse ¶
func (m *MockDataverseQueryClient) Dataverse(arg0 context.Context, arg1 *schema.QueryMsg_Dataverse, arg2 ...grpc.CallOption) (*schema.DataverseResponse, error)
Dataverse mocks base method.
func (*MockDataverseQueryClient) EXPECT ¶
func (m *MockDataverseQueryClient) EXPECT() *MockDataverseQueryClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDataverseQueryClientMockRecorder ¶
type MockDataverseQueryClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDataverseQueryClientMockRecorder is the mock recorder for MockDataverseQueryClient.
type MockDataverseTxClient ¶
type MockDataverseTxClient struct {
// contains filtered or unexported fields
}
MockDataverseTxClient is a mock of TxClient interface.
func NewMockDataverseTxClient ¶
func NewMockDataverseTxClient(ctrl *gomock.Controller) *MockDataverseTxClient
NewMockDataverseTxClient creates a new mock instance.
func (*MockDataverseTxClient) EXPECT ¶
func (m *MockDataverseTxClient) EXPECT() *MockDataverseTxClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDataverseTxClient) SubmitClaims ¶
func (m *MockDataverseTxClient) SubmitClaims(ctx context.Context, credential *verifiable.Credential) (*types.TxResponse, error)
SubmitClaims mocks base method.
type MockDataverseTxClientMockRecorder ¶
type MockDataverseTxClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDataverseTxClientMockRecorder is the mock recorder for MockDataverseTxClient.
func (*MockDataverseTxClientMockRecorder) SubmitClaims ¶
func (mr *MockDataverseTxClientMockRecorder) SubmitClaims(ctx, credential any) *gomock.Call
SubmitClaims indicates an expected call of SubmitClaims.
type MockDescriptor ¶
type MockDescriptor struct {
// contains filtered or unexported fields
}
MockDescriptor is a mock of Descriptor interface.
func NewMockDescriptor ¶
func NewMockDescriptor(ctrl *gomock.Controller) *MockDescriptor
NewMockDescriptor creates a new mock instance.
func (*MockDescriptor) EXPECT ¶
func (m *MockDescriptor) EXPECT() *MockDescriptorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDescriptor) Generate ¶
func (m *MockDescriptor) Generate() (*bytes.Buffer, error)
Generate mocks base method.
func (*MockDescriptor) IssuedAt ¶
func (m *MockDescriptor) IssuedAt() *time.Time
IssuedAt mocks base method.
func (*MockDescriptor) ProofPurpose ¶
func (m *MockDescriptor) ProofPurpose() string
ProofPurpose mocks base method.
type MockDescriptorMockRecorder ¶
type MockDescriptorMockRecorder struct {
// contains filtered or unexported fields
}
MockDescriptorMockRecorder is the mock recorder for MockDescriptor.
func (*MockDescriptorMockRecorder) Generate ¶
func (mr *MockDescriptorMockRecorder) Generate() *gomock.Call
Generate indicates an expected call of Generate.
func (*MockDescriptorMockRecorder) IssuedAt ¶
func (mr *MockDescriptorMockRecorder) IssuedAt() *gomock.Call
IssuedAt indicates an expected call of IssuedAt.
func (*MockDescriptorMockRecorder) ProofPurpose ¶
func (mr *MockDescriptorMockRecorder) ProofPurpose() *gomock.Call
ProofPurpose indicates an expected call of ProofPurpose.
type MockKeyring ¶
type MockKeyring struct {
// contains filtered or unexported fields
}
MockKeyring is a mock of Keyring interface.
func NewMockKeyring ¶
func NewMockKeyring(ctrl *gomock.Controller) *MockKeyring
NewMockKeyring creates a new mock instance.
func (*MockKeyring) EXPECT ¶
func (m *MockKeyring) EXPECT() *MockKeyringMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKeyringMockRecorder ¶
type MockKeyringMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyringMockRecorder is the mock recorder for MockKeyring.
func (*MockKeyringMockRecorder) Addr ¶
func (mr *MockKeyringMockRecorder) Addr() *gomock.Call
Addr indicates an expected call of Addr.
func (*MockKeyringMockRecorder) Alg ¶
func (mr *MockKeyringMockRecorder) Alg() *gomock.Call
Alg indicates an expected call of Alg.
func (*MockKeyringMockRecorder) DID ¶
func (mr *MockKeyringMockRecorder) DID() *gomock.Call
DID indicates an expected call of DID.
func (*MockKeyringMockRecorder) DIDKeyID ¶
func (mr *MockKeyringMockRecorder) DIDKeyID() *gomock.Call
DIDKeyID indicates an expected call of DIDKeyID.
func (*MockKeyringMockRecorder) PubKey ¶
func (mr *MockKeyringMockRecorder) PubKey() *gomock.Call
PubKey indicates an expected call of PubKey.
type MockLawStoneQueryClient ¶
type MockLawStoneQueryClient struct {
// contains filtered or unexported fields
}
MockLawStoneQueryClient is a mock of QueryClient interface.
func NewMockLawStoneQueryClient ¶
func NewMockLawStoneQueryClient(ctrl *gomock.Controller) *MockLawStoneQueryClient
NewMockLawStoneQueryClient creates a new mock instance.
func (*MockLawStoneQueryClient) Ask ¶
func (m *MockLawStoneQueryClient) Ask(arg0 context.Context, arg1 *schema.QueryMsg_Ask, arg2 ...grpc.CallOption) (*schema.AskResponse, error)
Ask mocks base method.
func (*MockLawStoneQueryClient) EXPECT ¶
func (m *MockLawStoneQueryClient) EXPECT() *MockLawStoneQueryClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLawStoneQueryClient) Program ¶
func (m *MockLawStoneQueryClient) Program(arg0 context.Context, arg1 *schema.QueryMsg_Program, arg2 ...grpc.CallOption) (*schema.ProgramResponse, error)
Program mocks base method.
func (*MockLawStoneQueryClient) ProgramCode ¶
func (m *MockLawStoneQueryClient) ProgramCode(arg0 context.Context, arg1 *schema.QueryMsg_ProgramCode, arg2 ...grpc.CallOption) (*string, error)
ProgramCode mocks base method.
type MockLawStoneQueryClientMockRecorder ¶
type MockLawStoneQueryClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLawStoneQueryClientMockRecorder is the mock recorder for MockLawStoneQueryClient.
func (*MockLawStoneQueryClientMockRecorder) Ask ¶
func (mr *MockLawStoneQueryClientMockRecorder) Ask(arg0, arg1 any, arg2 ...any) *gomock.Call
Ask indicates an expected call of Ask.
func (*MockLawStoneQueryClientMockRecorder) Program ¶
func (mr *MockLawStoneQueryClientMockRecorder) Program(arg0, arg1 any, arg2 ...any) *gomock.Call
Program indicates an expected call of Program.
func (*MockLawStoneQueryClientMockRecorder) ProgramCode ¶
func (mr *MockLawStoneQueryClientMockRecorder) ProgramCode(arg0, arg1 any, arg2 ...any) *gomock.Call
ProgramCode indicates an expected call of ProgramCode.
type MockParser ¶
type MockParser[T credential.Claim] struct { // contains filtered or unexported fields }
MockParser is a mock of Parser interface.
func NewMockParser ¶
func NewMockParser[T credential.Claim](ctrl *gomock.Controller) *MockParser[T]
NewMockParser creates a new mock instance.
func (*MockParser[T]) EXPECT ¶
func (m *MockParser[T]) EXPECT() *MockParserMockRecorder[T]
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockParser[T]) ParseSigned ¶
func (m *MockParser[T]) ParseSigned(raw []byte) (T, error)
ParseSigned mocks base method.
type MockParserMockRecorder ¶
type MockParserMockRecorder[T credential.Claim] struct { // contains filtered or unexported fields }
MockParserMockRecorder is the mock recorder for MockParser.
func (*MockParserMockRecorder[T]) ParseSigned ¶
func (mr *MockParserMockRecorder[T]) ParseSigned(raw any) *gomock.Call
ParseSigned indicates an expected call of ParseSigned.
type MockProxy ¶
type MockProxy struct {
// contains filtered or unexported fields
}
MockProxy is a mock of Proxy interface.
func NewMockProxy ¶
func NewMockProxy(ctrl *gomock.Controller) *MockProxy
NewMockProxy creates a new mock instance.
func (*MockProxy) Authenticate ¶
Authenticate mocks base method.
func (*MockProxy) EXPECT ¶
func (m *MockProxy) EXPECT() *MockProxyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProxyMockRecorder ¶
type MockProxyMockRecorder struct {
// contains filtered or unexported fields
}
MockProxyMockRecorder is the mock recorder for MockProxy.
func (*MockProxyMockRecorder) Authenticate ¶
func (mr *MockProxyMockRecorder) Authenticate(ctx, credential any) *gomock.Call
Authenticate indicates an expected call of Authenticate.
type MockQueryClient ¶
type MockQueryClient struct {
// contains filtered or unexported fields
}
MockQueryClient is a mock of QueryClient interface.
func NewMockQueryClient ¶
func NewMockQueryClient(ctrl *gomock.Controller) *MockQueryClient
NewMockQueryClient creates a new mock instance.
func (*MockQueryClient) AskGovPermittedActions ¶
func (m *MockQueryClient) AskGovPermittedActions(arg0 context.Context, arg1, arg2 string) ([]string, error)
AskGovPermittedActions mocks base method.
func (*MockQueryClient) AskGovTellAction ¶
func (m *MockQueryClient) AskGovTellAction(arg0 context.Context, arg1, arg2, arg3 string) (bool, error)
AskGovTellAction mocks base method.
func (*MockQueryClient) EXPECT ¶
func (m *MockQueryClient) EXPECT() *MockQueryClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockQueryClient) GetResourceGovAddr ¶
GetResourceGovAddr mocks base method.
type MockQueryClientMockRecorder ¶
type MockQueryClientMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryClientMockRecorder is the mock recorder for MockQueryClient.
func (*MockQueryClientMockRecorder) AskGovPermittedActions ¶
func (mr *MockQueryClientMockRecorder) AskGovPermittedActions(arg0, arg1, arg2 any) *gomock.Call
AskGovPermittedActions indicates an expected call of AskGovPermittedActions.
func (*MockQueryClientMockRecorder) AskGovTellAction ¶
func (mr *MockQueryClientMockRecorder) AskGovTellAction(arg0, arg1, arg2, arg3 any) *gomock.Call
AskGovTellAction indicates an expected call of AskGovTellAction.
func (*MockQueryClientMockRecorder) GetResourceGovAddr ¶
func (mr *MockQueryClientMockRecorder) GetResourceGovAddr(arg0, arg1 any) *gomock.Call
GetResourceGovAddr indicates an expected call of GetResourceGovAddr.
type MockTransaction ¶
type MockTransaction struct {
// contains filtered or unexported fields
}
MockTransaction is a mock of Transaction interface.
func NewMockTransaction ¶
func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction
NewMockTransaction creates a new mock instance.
func (*MockTransaction) EXPECT ¶
func (m *MockTransaction) EXPECT() *MockTransactionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransaction) GetSignedTx ¶
func (m *MockTransaction) GetSignedTx(ctx context.Context, accNum, accSeq uint64, chainID string) ([]byte, error)
GetSignedTx mocks base method.
func (*MockTransaction) Sender ¶
func (m *MockTransaction) Sender() string
Sender mocks base method.
type MockTransactionMockRecorder ¶
type MockTransactionMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionMockRecorder is the mock recorder for MockTransaction.
func (*MockTransactionMockRecorder) GetSignedTx ¶
func (mr *MockTransactionMockRecorder) GetSignedTx(ctx, accNum, accSeq, chainID any) *gomock.Call
GetSignedTx indicates an expected call of GetSignedTx.
func (*MockTransactionMockRecorder) Sender ¶
func (mr *MockTransactionMockRecorder) Sender() *gomock.Call
Sender indicates an expected call of Sender.
type MockTxClient ¶
type MockTxClient struct {
// contains filtered or unexported fields
}
MockTxClient is a mock of Client interface.
func NewMockTxClient ¶
func NewMockTxClient(ctrl *gomock.Controller) *MockTxClient
NewMockTxClient creates a new mock instance.
func (*MockTxClient) EXPECT ¶
func (m *MockTxClient) EXPECT() *MockTxClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTxClient) SendTx ¶
func (m *MockTxClient) SendTx(ctx context.Context, transaction tx.Transaction) (*types.TxResponse, error)
SendTx mocks base method.
type MockTxClientMockRecorder ¶
type MockTxClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTxClientMockRecorder is the mock recorder for MockTxClient.
type MockTxServiceClient ¶
type MockTxServiceClient struct {
// contains filtered or unexported fields
}
MockTxServiceClient is a mock of ServiceClient interface.
func NewMockTxServiceClient ¶
func NewMockTxServiceClient(ctrl *gomock.Controller) *MockTxServiceClient
NewMockTxServiceClient creates a new mock instance.
func (*MockTxServiceClient) BroadcastTx ¶
func (m *MockTxServiceClient) BroadcastTx(arg0 context.Context, arg1 *tx.BroadcastTxRequest, arg2 ...grpc.CallOption) (*tx.BroadcastTxResponse, error)
BroadcastTx mocks base method.
func (*MockTxServiceClient) EXPECT ¶
func (m *MockTxServiceClient) EXPECT() *MockTxServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTxServiceClient) GetBlockWithTxs ¶
func (m *MockTxServiceClient) GetBlockWithTxs(arg0 context.Context, arg1 *tx.GetBlockWithTxsRequest, arg2 ...grpc.CallOption) (*tx.GetBlockWithTxsResponse, error)
GetBlockWithTxs mocks base method.
func (*MockTxServiceClient) GetTx ¶
func (m *MockTxServiceClient) GetTx(arg0 context.Context, arg1 *tx.GetTxRequest, arg2 ...grpc.CallOption) (*tx.GetTxResponse, error)
GetTx mocks base method.
func (*MockTxServiceClient) GetTxsEvent ¶
func (m *MockTxServiceClient) GetTxsEvent(arg0 context.Context, arg1 *tx.GetTxsEventRequest, arg2 ...grpc.CallOption) (*tx.GetTxsEventResponse, error)
GetTxsEvent mocks base method.
func (*MockTxServiceClient) Simulate ¶
func (m *MockTxServiceClient) Simulate(arg0 context.Context, arg1 *tx.SimulateRequest, arg2 ...grpc.CallOption) (*tx.SimulateResponse, error)
Simulate mocks base method.
func (*MockTxServiceClient) TxDecode ¶
func (m *MockTxServiceClient) TxDecode(arg0 context.Context, arg1 *tx.TxDecodeRequest, arg2 ...grpc.CallOption) (*tx.TxDecodeResponse, error)
TxDecode mocks base method.
func (*MockTxServiceClient) TxDecodeAmino ¶
func (m *MockTxServiceClient) TxDecodeAmino(arg0 context.Context, arg1 *tx.TxDecodeAminoRequest, arg2 ...grpc.CallOption) (*tx.TxDecodeAminoResponse, error)
TxDecodeAmino mocks base method.
func (*MockTxServiceClient) TxEncode ¶
func (m *MockTxServiceClient) TxEncode(arg0 context.Context, arg1 *tx.TxEncodeRequest, arg2 ...grpc.CallOption) (*tx.TxEncodeResponse, error)
TxEncode mocks base method.
func (*MockTxServiceClient) TxEncodeAmino ¶
func (m *MockTxServiceClient) TxEncodeAmino(arg0 context.Context, arg1 *tx.TxEncodeAminoRequest, arg2 ...grpc.CallOption) (*tx.TxEncodeAminoResponse, error)
TxEncodeAmino mocks base method.
type MockTxServiceClientMockRecorder ¶
type MockTxServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTxServiceClientMockRecorder is the mock recorder for MockTxServiceClient.
func (*MockTxServiceClientMockRecorder) BroadcastTx ¶
func (mr *MockTxServiceClientMockRecorder) BroadcastTx(arg0, arg1 any, arg2 ...any) *gomock.Call
BroadcastTx indicates an expected call of BroadcastTx.
func (*MockTxServiceClientMockRecorder) GetBlockWithTxs ¶
func (mr *MockTxServiceClientMockRecorder) GetBlockWithTxs(arg0, arg1 any, arg2 ...any) *gomock.Call
GetBlockWithTxs indicates an expected call of GetBlockWithTxs.
func (*MockTxServiceClientMockRecorder) GetTx ¶
func (mr *MockTxServiceClientMockRecorder) GetTx(arg0, arg1 any, arg2 ...any) *gomock.Call
GetTx indicates an expected call of GetTx.
func (*MockTxServiceClientMockRecorder) GetTxsEvent ¶
func (mr *MockTxServiceClientMockRecorder) GetTxsEvent(arg0, arg1 any, arg2 ...any) *gomock.Call
GetTxsEvent indicates an expected call of GetTxsEvent.
func (*MockTxServiceClientMockRecorder) Simulate ¶
func (mr *MockTxServiceClientMockRecorder) Simulate(arg0, arg1 any, arg2 ...any) *gomock.Call
Simulate indicates an expected call of Simulate.
func (*MockTxServiceClientMockRecorder) TxDecode ¶
func (mr *MockTxServiceClientMockRecorder) TxDecode(arg0, arg1 any, arg2 ...any) *gomock.Call
TxDecode indicates an expected call of TxDecode.
func (*MockTxServiceClientMockRecorder) TxDecodeAmino ¶
func (mr *MockTxServiceClientMockRecorder) TxDecodeAmino(arg0, arg1 any, arg2 ...any) *gomock.Call
TxDecodeAmino indicates an expected call of TxDecodeAmino.
func (*MockTxServiceClientMockRecorder) TxEncode ¶
func (mr *MockTxServiceClientMockRecorder) TxEncode(arg0, arg1 any, arg2 ...any) *gomock.Call
TxEncode indicates an expected call of TxEncode.
func (*MockTxServiceClientMockRecorder) TxEncodeAmino ¶
func (mr *MockTxServiceClientMockRecorder) TxEncodeAmino(arg0, arg1 any, arg2 ...any) *gomock.Call
TxEncodeAmino indicates an expected call of TxEncodeAmino.