Documentation ¶
Index ¶
- type QueryClient
- func (_m *QueryClient) AllBalances(ctx context.Context, in *types.QueryAllBalancesRequest, ...) (*types.QueryAllBalancesResponse, error)
- func (_m *QueryClient) Balance(ctx context.Context, in *types.QueryBalanceRequest, opts ...grpc.CallOption) (*types.QueryBalanceResponse, error)
- func (_m *QueryClient) DenomMetadata(ctx context.Context, in *types.QueryDenomMetadataRequest, ...) (*types.QueryDenomMetadataResponse, error)
- func (_m *QueryClient) DenomsMetadata(ctx context.Context, in *types.QueryDenomsMetadataRequest, ...) (*types.QueryDenomsMetadataResponse, error)
- func (_m *QueryClient) EXPECT() *QueryClient_Expecter
- func (_m *QueryClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
- func (_m *QueryClient) SpendableBalances(ctx context.Context, in *types.QuerySpendableBalancesRequest, ...) (*types.QuerySpendableBalancesResponse, error)
- func (_m *QueryClient) SupplyOf(ctx context.Context, in *types.QuerySupplyOfRequest, opts ...grpc.CallOption) (*types.QuerySupplyOfResponse, error)
- func (_m *QueryClient) TotalSupply(ctx context.Context, in *types.QueryTotalSupplyRequest, ...) (*types.QueryTotalSupplyResponse, error)
- type QueryClient_AllBalances_Call
- func (_c *QueryClient_AllBalances_Call) Return(_a0 *types.QueryAllBalancesResponse, _a1 error) *QueryClient_AllBalances_Call
- func (_c *QueryClient_AllBalances_Call) Run(run func(ctx context.Context, in *types.QueryAllBalancesRequest, ...)) *QueryClient_AllBalances_Call
- func (_c *QueryClient_AllBalances_Call) RunAndReturn(...) *QueryClient_AllBalances_Call
- type QueryClient_Balance_Call
- type QueryClient_DenomMetadata_Call
- func (_c *QueryClient_DenomMetadata_Call) Return(_a0 *types.QueryDenomMetadataResponse, _a1 error) *QueryClient_DenomMetadata_Call
- func (_c *QueryClient_DenomMetadata_Call) Run(run func(ctx context.Context, in *types.QueryDenomMetadataRequest, ...)) *QueryClient_DenomMetadata_Call
- func (_c *QueryClient_DenomMetadata_Call) RunAndReturn(...) *QueryClient_DenomMetadata_Call
- type QueryClient_DenomsMetadata_Call
- func (_c *QueryClient_DenomsMetadata_Call) Return(_a0 *types.QueryDenomsMetadataResponse, _a1 error) *QueryClient_DenomsMetadata_Call
- func (_c *QueryClient_DenomsMetadata_Call) Run(run func(ctx context.Context, in *types.QueryDenomsMetadataRequest, ...)) *QueryClient_DenomsMetadata_Call
- func (_c *QueryClient_DenomsMetadata_Call) RunAndReturn(...) *QueryClient_DenomsMetadata_Call
- type QueryClient_Expecter
- func (_e *QueryClient_Expecter) AllBalances(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_AllBalances_Call
- func (_e *QueryClient_Expecter) Balance(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Balance_Call
- func (_e *QueryClient_Expecter) DenomMetadata(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_DenomMetadata_Call
- func (_e *QueryClient_Expecter) DenomsMetadata(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_DenomsMetadata_Call
- func (_e *QueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Params_Call
- func (_e *QueryClient_Expecter) SpendableBalances(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_SpendableBalances_Call
- func (_e *QueryClient_Expecter) SupplyOf(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_SupplyOf_Call
- func (_e *QueryClient_Expecter) TotalSupply(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_TotalSupply_Call
- type QueryClient_Params_Call
- type QueryClient_SpendableBalances_Call
- func (_c *QueryClient_SpendableBalances_Call) Return(_a0 *types.QuerySpendableBalancesResponse, _a1 error) *QueryClient_SpendableBalances_Call
- func (_c *QueryClient_SpendableBalances_Call) Run(run func(ctx context.Context, in *types.QuerySpendableBalancesRequest, ...)) *QueryClient_SpendableBalances_Call
- func (_c *QueryClient_SpendableBalances_Call) RunAndReturn(...) *QueryClient_SpendableBalances_Call
- type QueryClient_SupplyOf_Call
- type QueryClient_TotalSupply_Call
- func (_c *QueryClient_TotalSupply_Call) Return(_a0 *types.QueryTotalSupplyResponse, _a1 error) *QueryClient_TotalSupply_Call
- func (_c *QueryClient_TotalSupply_Call) Run(run func(ctx context.Context, in *types.QueryTotalSupplyRequest, ...)) *QueryClient_TotalSupply_Call
- func (_c *QueryClient_TotalSupply_Call) RunAndReturn(...) *QueryClient_TotalSupply_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryClient ¶
QueryClient is an autogenerated mock type for the QueryClient type
func NewQueryClient ¶
func NewQueryClient(t mockConstructorTestingTNewQueryClient) *QueryClient
NewQueryClient creates a new instance of QueryClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*QueryClient) AllBalances ¶
func (_m *QueryClient) AllBalances(ctx context.Context, in *types.QueryAllBalancesRequest, opts ...grpc.CallOption) (*types.QueryAllBalancesResponse, error)
AllBalances provides a mock function with given fields: ctx, in, opts
func (*QueryClient) Balance ¶
func (_m *QueryClient) Balance(ctx context.Context, in *types.QueryBalanceRequest, opts ...grpc.CallOption) (*types.QueryBalanceResponse, error)
Balance provides a mock function with given fields: ctx, in, opts
func (*QueryClient) DenomMetadata ¶
func (_m *QueryClient) DenomMetadata(ctx context.Context, in *types.QueryDenomMetadataRequest, opts ...grpc.CallOption) (*types.QueryDenomMetadataResponse, error)
DenomMetadata provides a mock function with given fields: ctx, in, opts
func (*QueryClient) DenomsMetadata ¶
func (_m *QueryClient) DenomsMetadata(ctx context.Context, in *types.QueryDenomsMetadataRequest, opts ...grpc.CallOption) (*types.QueryDenomsMetadataResponse, error)
DenomsMetadata provides a mock function with given fields: ctx, in, opts
func (*QueryClient) EXPECT ¶
func (_m *QueryClient) EXPECT() *QueryClient_Expecter
func (*QueryClient) Params ¶
func (_m *QueryClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
Params provides a mock function with given fields: ctx, in, opts
func (*QueryClient) SpendableBalances ¶
func (_m *QueryClient) SpendableBalances(ctx context.Context, in *types.QuerySpendableBalancesRequest, opts ...grpc.CallOption) (*types.QuerySpendableBalancesResponse, error)
SpendableBalances provides a mock function with given fields: ctx, in, opts
func (*QueryClient) SupplyOf ¶
func (_m *QueryClient) SupplyOf(ctx context.Context, in *types.QuerySupplyOfRequest, opts ...grpc.CallOption) (*types.QuerySupplyOfResponse, error)
SupplyOf provides a mock function with given fields: ctx, in, opts
func (*QueryClient) TotalSupply ¶
func (_m *QueryClient) TotalSupply(ctx context.Context, in *types.QueryTotalSupplyRequest, opts ...grpc.CallOption) (*types.QueryTotalSupplyResponse, error)
TotalSupply provides a mock function with given fields: ctx, in, opts
type QueryClient_AllBalances_Call ¶
QueryClient_AllBalances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllBalances'
func (*QueryClient_AllBalances_Call) Return ¶
func (_c *QueryClient_AllBalances_Call) Return(_a0 *types.QueryAllBalancesResponse, _a1 error) *QueryClient_AllBalances_Call
func (*QueryClient_AllBalances_Call) Run ¶
func (_c *QueryClient_AllBalances_Call) Run(run func(ctx context.Context, in *types.QueryAllBalancesRequest, opts ...grpc.CallOption)) *QueryClient_AllBalances_Call
func (*QueryClient_AllBalances_Call) RunAndReturn ¶
func (_c *QueryClient_AllBalances_Call) RunAndReturn(run func(context.Context, *types.QueryAllBalancesRequest, ...grpc.CallOption) (*types.QueryAllBalancesResponse, error)) *QueryClient_AllBalances_Call
type QueryClient_Balance_Call ¶
QueryClient_Balance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Balance'
func (*QueryClient_Balance_Call) Return ¶
func (_c *QueryClient_Balance_Call) Return(_a0 *types.QueryBalanceResponse, _a1 error) *QueryClient_Balance_Call
func (*QueryClient_Balance_Call) Run ¶
func (_c *QueryClient_Balance_Call) Run(run func(ctx context.Context, in *types.QueryBalanceRequest, opts ...grpc.CallOption)) *QueryClient_Balance_Call
func (*QueryClient_Balance_Call) RunAndReturn ¶
func (_c *QueryClient_Balance_Call) RunAndReturn(run func(context.Context, *types.QueryBalanceRequest, ...grpc.CallOption) (*types.QueryBalanceResponse, error)) *QueryClient_Balance_Call
type QueryClient_DenomMetadata_Call ¶
QueryClient_DenomMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DenomMetadata'
func (*QueryClient_DenomMetadata_Call) Return ¶
func (_c *QueryClient_DenomMetadata_Call) Return(_a0 *types.QueryDenomMetadataResponse, _a1 error) *QueryClient_DenomMetadata_Call
func (*QueryClient_DenomMetadata_Call) Run ¶
func (_c *QueryClient_DenomMetadata_Call) Run(run func(ctx context.Context, in *types.QueryDenomMetadataRequest, opts ...grpc.CallOption)) *QueryClient_DenomMetadata_Call
func (*QueryClient_DenomMetadata_Call) RunAndReturn ¶
func (_c *QueryClient_DenomMetadata_Call) RunAndReturn(run func(context.Context, *types.QueryDenomMetadataRequest, ...grpc.CallOption) (*types.QueryDenomMetadataResponse, error)) *QueryClient_DenomMetadata_Call
type QueryClient_DenomsMetadata_Call ¶
QueryClient_DenomsMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DenomsMetadata'
func (*QueryClient_DenomsMetadata_Call) Return ¶
func (_c *QueryClient_DenomsMetadata_Call) Return(_a0 *types.QueryDenomsMetadataResponse, _a1 error) *QueryClient_DenomsMetadata_Call
func (*QueryClient_DenomsMetadata_Call) Run ¶
func (_c *QueryClient_DenomsMetadata_Call) Run(run func(ctx context.Context, in *types.QueryDenomsMetadataRequest, opts ...grpc.CallOption)) *QueryClient_DenomsMetadata_Call
func (*QueryClient_DenomsMetadata_Call) RunAndReturn ¶
func (_c *QueryClient_DenomsMetadata_Call) RunAndReturn(run func(context.Context, *types.QueryDenomsMetadataRequest, ...grpc.CallOption) (*types.QueryDenomsMetadataResponse, error)) *QueryClient_DenomsMetadata_Call
type QueryClient_Expecter ¶
type QueryClient_Expecter struct {
// contains filtered or unexported fields
}
func (*QueryClient_Expecter) AllBalances ¶
func (_e *QueryClient_Expecter) AllBalances(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_AllBalances_Call
AllBalances is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryAllBalancesRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) Balance ¶
func (_e *QueryClient_Expecter) Balance(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Balance_Call
Balance is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryBalanceRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) DenomMetadata ¶
func (_e *QueryClient_Expecter) DenomMetadata(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_DenomMetadata_Call
DenomMetadata is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryDenomMetadataRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) DenomsMetadata ¶
func (_e *QueryClient_Expecter) DenomsMetadata(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_DenomsMetadata_Call
DenomsMetadata is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryDenomsMetadataRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) Params ¶
func (_e *QueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Params_Call
Params is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryParamsRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) SpendableBalances ¶
func (_e *QueryClient_Expecter) SpendableBalances(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_SpendableBalances_Call
SpendableBalances is a helper method to define mock.On call
- ctx context.Context
- in *types.QuerySpendableBalancesRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) SupplyOf ¶
func (_e *QueryClient_Expecter) SupplyOf(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_SupplyOf_Call
SupplyOf is a helper method to define mock.On call
- ctx context.Context
- in *types.QuerySupplyOfRequest
- opts ...grpc.CallOption
func (*QueryClient_Expecter) TotalSupply ¶
func (_e *QueryClient_Expecter) TotalSupply(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_TotalSupply_Call
TotalSupply is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryTotalSupplyRequest
- opts ...grpc.CallOption
type QueryClient_Params_Call ¶
QueryClient_Params_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Params'
func (*QueryClient_Params_Call) Return ¶
func (_c *QueryClient_Params_Call) Return(_a0 *types.QueryParamsResponse, _a1 error) *QueryClient_Params_Call
func (*QueryClient_Params_Call) Run ¶
func (_c *QueryClient_Params_Call) Run(run func(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption)) *QueryClient_Params_Call
func (*QueryClient_Params_Call) RunAndReturn ¶
func (_c *QueryClient_Params_Call) RunAndReturn(run func(context.Context, *types.QueryParamsRequest, ...grpc.CallOption) (*types.QueryParamsResponse, error)) *QueryClient_Params_Call
type QueryClient_SpendableBalances_Call ¶
QueryClient_SpendableBalances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SpendableBalances'
func (*QueryClient_SpendableBalances_Call) Return ¶
func (_c *QueryClient_SpendableBalances_Call) Return(_a0 *types.QuerySpendableBalancesResponse, _a1 error) *QueryClient_SpendableBalances_Call
func (*QueryClient_SpendableBalances_Call) Run ¶
func (_c *QueryClient_SpendableBalances_Call) Run(run func(ctx context.Context, in *types.QuerySpendableBalancesRequest, opts ...grpc.CallOption)) *QueryClient_SpendableBalances_Call
func (*QueryClient_SpendableBalances_Call) RunAndReturn ¶
func (_c *QueryClient_SpendableBalances_Call) RunAndReturn(run func(context.Context, *types.QuerySpendableBalancesRequest, ...grpc.CallOption) (*types.QuerySpendableBalancesResponse, error)) *QueryClient_SpendableBalances_Call
type QueryClient_SupplyOf_Call ¶
QueryClient_SupplyOf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SupplyOf'
func (*QueryClient_SupplyOf_Call) Return ¶
func (_c *QueryClient_SupplyOf_Call) Return(_a0 *types.QuerySupplyOfResponse, _a1 error) *QueryClient_SupplyOf_Call
func (*QueryClient_SupplyOf_Call) Run ¶
func (_c *QueryClient_SupplyOf_Call) Run(run func(ctx context.Context, in *types.QuerySupplyOfRequest, opts ...grpc.CallOption)) *QueryClient_SupplyOf_Call
func (*QueryClient_SupplyOf_Call) RunAndReturn ¶
func (_c *QueryClient_SupplyOf_Call) RunAndReturn(run func(context.Context, *types.QuerySupplyOfRequest, ...grpc.CallOption) (*types.QuerySupplyOfResponse, error)) *QueryClient_SupplyOf_Call
type QueryClient_TotalSupply_Call ¶
QueryClient_TotalSupply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TotalSupply'
func (*QueryClient_TotalSupply_Call) Return ¶
func (_c *QueryClient_TotalSupply_Call) Return(_a0 *types.QueryTotalSupplyResponse, _a1 error) *QueryClient_TotalSupply_Call
func (*QueryClient_TotalSupply_Call) Run ¶
func (_c *QueryClient_TotalSupply_Call) Run(run func(ctx context.Context, in *types.QueryTotalSupplyRequest, opts ...grpc.CallOption)) *QueryClient_TotalSupply_Call
func (*QueryClient_TotalSupply_Call) RunAndReturn ¶
func (_c *QueryClient_TotalSupply_Call) RunAndReturn(run func(context.Context, *types.QueryTotalSupplyRequest, ...grpc.CallOption) (*types.QueryTotalSupplyResponse, error)) *QueryClient_TotalSupply_Call