From 4216f19fcdd4de656f8e41c2fb405d3642d0a781 Mon Sep 17 00:00:00 2001 From: Adam Tucker Date: Wed, 9 Mar 2022 16:37:52 -0600 Subject: [PATCH] Add Superfluid Params Query (#1063) * sf params * query proto change * added generated proto * keeper updates (cherry picked from commit 9f64276800ebea4cc397417b8bae31ace53a2279) --- proto/osmosis/superfluid/query.proto | 6 +- x/superfluid/client/cli/query.go | 33 +++ x/superfluid/keeper/grpc_query.go | 4 +- x/superfluid/keeper/grpc_query_test.go | 2 +- x/superfluid/types/query.pb.go | 296 ++++++++++++------------- x/superfluid/types/query.pb.gw.go | 4 +- 6 files changed, 189 insertions(+), 156 deletions(-) diff --git a/proto/osmosis/superfluid/query.proto b/proto/osmosis/superfluid/query.proto index cc2a3541e25..eb0e510a884 100644 --- a/proto/osmosis/superfluid/query.proto +++ b/proto/osmosis/superfluid/query.proto @@ -16,7 +16,7 @@ option go_package = "github.com/osmosis-labs/osmosis/v7/x/superfluid/types"; // Query defines the gRPC querier service. service Query { // Params returns the total set of minting parameters. - rpc Params(ParamsRequest) returns (ParamsResponse) { + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { option (google.api.http).get = "/osmosis/superfluid/v1beta1/params"; } @@ -114,8 +114,8 @@ service Query { // } } -message ParamsRequest {} -message ParamsResponse { +message QueryParamsRequest {} +message QueryParamsResponse { // params defines the parameters of the module. Params params = 1 [ (gogoproto.nullable) = false ]; } diff --git a/x/superfluid/client/cli/query.go b/x/superfluid/client/cli/query.go index adbb0d61b2d..80f37909950 100644 --- a/x/superfluid/client/cli/query.go +++ b/x/superfluid/client/cli/query.go @@ -24,6 +24,7 @@ func GetQueryCmd(queryRoute string) *cobra.Command { } cmd.AddCommand( + GetCmdQueryParams(), GetCmdAllSuperfluidAssets(), GetCmdAssetMultiplier(), GetCmdAllIntermediaryAccounts(), @@ -37,6 +38,38 @@ func GetQueryCmd(queryRoute string) *cobra.Command { return cmd } +// GetCmdQueryParams implements a command to fetch superfluid parameters. +func GetCmdQueryParams() *cobra.Command { + cmd := &cobra.Command{ + Use: "params", + Short: "Query the current superfluid parameters", + Args: cobra.NoArgs, + Long: strings.TrimSpace(`Query parameters for the superfluid module: + +$ query superfluid params +`), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + queryClient := types.NewQueryClient(clientCtx) + + params := &types.QueryParamsRequest{} + res, err := queryClient.Params(cmd.Context(), params) + if err != nil { + return err + } + + return clientCtx.PrintProto(&res.Params) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} + // GetCmdAllSuperfluidAssets returns all superfluid enabled assets func GetCmdAllSuperfluidAssets() *cobra.Command { cmd := &cobra.Command{ diff --git a/x/superfluid/keeper/grpc_query.go b/x/superfluid/keeper/grpc_query.go index 70634fd02c9..34e93037e06 100644 --- a/x/superfluid/keeper/grpc_query.go +++ b/x/superfluid/keeper/grpc_query.go @@ -14,12 +14,12 @@ import ( var _ types.QueryServer = Keeper{} // Params returns the superfluid module params -func (k Keeper) Params(goCtx context.Context, req *types.ParamsRequest) (*types.ParamsResponse, error) { +func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) params := k.GetParams(ctx) - return &types.ParamsResponse{ + return &types.QueryParamsResponse{ Params: params, }, nil } diff --git a/x/superfluid/keeper/grpc_query_test.go b/x/superfluid/keeper/grpc_query_test.go index 56dd151b787..f724f0caeaf 100644 --- a/x/superfluid/keeper/grpc_query_test.go +++ b/x/superfluid/keeper/grpc_query_test.go @@ -9,7 +9,7 @@ import ( func (suite *KeeperTestSuite) TestGRPCParams() { suite.SetupTest() - res, err := suite.App.SuperfluidKeeper.Params(sdk.WrapSDKContext(suite.Ctx), &types.ParamsRequest{}) + res, err := suite.App.SuperfluidKeeper.Params(sdk.WrapSDKContext(suite.Ctx), &types.QueryParamsRequest{}) suite.Require().NoError(err) suite.Require().True(res.Params.MinimumRiskFactor.Equal(types.DefaultParams().MinimumRiskFactor)) } diff --git a/x/superfluid/types/query.pb.go b/x/superfluid/types/query.pb.go index bf3262d2476..3a043b10694 100644 --- a/x/superfluid/types/query.pb.go +++ b/x/superfluid/types/query.pb.go @@ -35,21 +35,21 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -type ParamsRequest struct { +type QueryParamsRequest struct { } -func (m *ParamsRequest) Reset() { *m = ParamsRequest{} } -func (m *ParamsRequest) String() string { return proto.CompactTextString(m) } -func (*ParamsRequest) ProtoMessage() {} -func (*ParamsRequest) Descriptor() ([]byte, []int) { +func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } +func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } +func (*QueryParamsRequest) ProtoMessage() {} +func (*QueryParamsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_e3d9448e4ed3943f, []int{0} } -func (m *ParamsRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ParamsRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -59,35 +59,35 @@ func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *ParamsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParamsRequest.Merge(m, src) +func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryParamsRequest.Merge(m, src) } -func (m *ParamsRequest) XXX_Size() int { +func (m *QueryParamsRequest) XXX_Size() int { return m.Size() } -func (m *ParamsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ParamsRequest.DiscardUnknown(m) +func (m *QueryParamsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) } -var xxx_messageInfo_ParamsRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo -type ParamsResponse struct { +type QueryParamsResponse struct { // params defines the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` } -func (m *ParamsResponse) Reset() { *m = ParamsResponse{} } -func (m *ParamsResponse) String() string { return proto.CompactTextString(m) } -func (*ParamsResponse) ProtoMessage() {} -func (*ParamsResponse) Descriptor() ([]byte, []int) { +func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } +func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } +func (*QueryParamsResponse) ProtoMessage() {} +func (*QueryParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_e3d9448e4ed3943f, []int{1} } -func (m *ParamsResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ParamsResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -97,19 +97,19 @@ func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *ParamsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParamsResponse.Merge(m, src) +func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryParamsResponse.Merge(m, src) } -func (m *ParamsResponse) XXX_Size() int { +func (m *QueryParamsResponse) XXX_Size() int { return m.Size() } -func (m *ParamsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ParamsResponse.DiscardUnknown(m) +func (m *QueryParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) } -var xxx_messageInfo_ParamsResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo -func (m *ParamsResponse) GetParams() Params { +func (m *QueryParamsResponse) GetParams() Params { if m != nil { return m.Params } @@ -1230,8 +1230,8 @@ func (m *EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) GetTotalDele } func init() { - proto.RegisterType((*ParamsRequest)(nil), "osmosis.superfluid.ParamsRequest") - proto.RegisterType((*ParamsResponse)(nil), "osmosis.superfluid.ParamsResponse") + proto.RegisterType((*QueryParamsRequest)(nil), "osmosis.superfluid.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "osmosis.superfluid.QueryParamsResponse") proto.RegisterType((*AssetTypeRequest)(nil), "osmosis.superfluid.AssetTypeRequest") proto.RegisterType((*AssetTypeResponse)(nil), "osmosis.superfluid.AssetTypeResponse") proto.RegisterType((*AllAssetsRequest)(nil), "osmosis.superfluid.AllAssetsRequest") @@ -1260,102 +1260,102 @@ func init() { func init() { proto.RegisterFile("osmosis/superfluid/query.proto", fileDescriptor_e3d9448e4ed3943f) } var fileDescriptor_e3d9448e4ed3943f = []byte{ - // 1512 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x4b, 0x8f, 0x14, 0xd5, - 0x17, 0x9f, 0xea, 0x81, 0x19, 0x38, 0xe4, 0x0f, 0xc3, 0x85, 0xbf, 0x34, 0x25, 0xf4, 0x40, 0x0d, - 0x8f, 0x76, 0x80, 0x2a, 0x19, 0x1c, 0x18, 0x51, 0x08, 0x3d, 0x0c, 0xe0, 0x98, 0x41, 0xb0, 0x61, - 0x86, 0xc4, 0x47, 0x2a, 0xd5, 0x5d, 0x97, 0x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xec, 0x1b, 0x2b, 0x9a, 0x89, 0x6d, 0x4f, 0xb5, 0x22, 0x2e, 0x9e, 0x8c, 0xa9, - 0x34, 0x17, 0x2f, 0x11, 0xcb, 0x39, 0x17, 0x09, 0x25, 0x35, 0xd7, 0x1d, 0x57, 0xaf, 0x16, 0x9d, - 0x0c, 0xba, 0x74, 0x4f, 0x80, 0xbd, 0x31, 0xbe, 0x79, 0xdb, 0xc3, 0xae, 0x85, 0x75, 0x43, 0x73, - 0x5b, 0x95, 0x7a, 0xdd, 0xf1, 0x6d, 0x6f, 0xde, 0xbe, 0xee, 0xa4, 0x23, 0x41, 0x3b, 0x61, 0xc3, - 0x8a, 0x66, 0xaa, 0x9a, 0xae, 0xbb, 0xc5, 0x02, 0x25, 0x8c, 0xae, 0x68, 0x66, 0x45, 0xd7, 0xdd, - 0x80, 0xd4, 0xd0, 0xfc, 0x06, 0x56, 0x0d, 0xbd, 0x38, 0xbc, 0x47, 0x28, 0xaf, 0xab, 0x8e, 0xd2, - 0xf7, 0x79, 0x1d, 0x15, 0x61, 0x34, 0x90, 0xc0, 0x84, 0x14, 0xd7, 0x31, 0x21, 0xfe, 0x2a, 0xdd, - 0x80, 0x52, 0xc5, 0x34, 0x53, 0x7c, 0x08, 0x73, 0x18, 0xd4, 0x47, 0x5c, 0xcf, 0x3c, 0x1e, 0x07, - 0x64, 0x56, 0xfc, 0x72, 0x50, 0xfc, 0x32, 0xeb, 0x0f, 0xbc, 0xf8, 0xe5, 0xcb, 0x5a, 0x23, 0x2c, - 0xc3, 0x6a, 0x42, 0x52, 0xfa, 0x41, 0x80, 0xf1, 0x4c, 0x53, 0x3c, 0x17, 0xd7, 0x60, 0x83, 0xc6, - 0xcf, 0x78, 0x71, 0x4c, 0xe7, 0x17, 0x47, 0x46, 0xf0, 0x78, 0xb9, 0x44, 0xca, 0xd0, 0x85, 0x36, - 0x10, 0x05, 0x0a, 0xe2, 0x60, 0x57, 0x10, 0xcc, 0xab, 0x36, 0x14, 0xa7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d, 0x24, 0x37, 0x99, 0xac, 0x69, 0x12, 0x9d, 0xca, 0x77, - 0xba, 0xcb, 0xd8, 0x2b, 0x9e, 0x1e, 0x54, 0x9c, 0xa3, 0xfe, 0x90, 0xa2, 0xbe, 0x86, 0x16, 0x7b, - 0x44, 0xed, 0x27, 0x15, 0xaa, 0xb5, 0x96, 0x1a, 0x21, 0x4f, 0x0d, 0xc2, 0xdf, 0x02, 0xec, 0xef, - 0x69, 0xc4, 0x42, 0x67, 0xfa, 0x48, 0x5e, 0xea, 0x98, 0x23, 0x56, 0xfe, 0x85, 0x06, 0x1e, 0x8d, - 0x8b, 0x34, 0x1a, 0x17, 0xd0, 0xb9, 0xfe, 0x6b, 0x20, 0x88, 0x45, 0x3c, 0x65, 0xb1, 0x6f, 0x4d, - 0xdf, 0x16, 0xe0, 0x68, 0xdf, 0x53, 0x13, 0x5a, 0x48, 0xc3, 0x31, 0xe8, 0xf0, 0x27, 0x5e, 0x5c, - 0x23, 0x6d, 0x3c, 0x42, 0x1f, 0xd0, 0x08, 0x2d, 0xa1, 0xab, 0x79, 0x11, 0xc2, 0x5c, 0xbd, 0x9a, - 0xd7, 0x10, 0x52, 0x02, 0x36, 0x7b, 0xe9, 0xe1, 0xd3, 0x92, 0xf0, 0xe8, 0x69, 0x49, 0xf8, 0xed, - 0x69, 0x49, 0xf8, 0xe2, 0x59, 0x69, 0xe8, 0xd1, 0xb3, 0xd2, 0xd0, 0x2f, 0xcf, 0x4a, 0x43, 0xef, - 0x4d, 0x27, 0x06, 0x40, 0x6e, 0xf9, 0x88, 0xa9, 0xd5, 0x48, 0xe4, 0xc6, 0xca, 0x09, 0xe5, 0x56, - 0xd2, 0x17, 0x3a, 0x13, 0xd6, 0x46, 0xe8, 0xe7, 0xe3, 0x63, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, - 0xe5, 0xdf, 0x57, 0x68, 0x96, 0x17, 0x00, 0x00, + // 1516 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xdd, 0x6f, 0x14, 0x55, + 0x14, 0xef, 0xdd, 0x42, 0x0b, 0x87, 0x04, 0xca, 0x05, 0x65, 0x19, 0x61, 0x0b, 0x53, 0x68, 0xd7, + 0x02, 0x33, 0x52, 0x2c, 0x54, 0x14, 0xc2, 0x96, 0x02, 0x36, 0x29, 0x16, 0x17, 0x5a, 0x12, 0x3f, + 0x32, 0x99, 0xdd, 0xb9, 0x2c, 0x13, 0x66, 0x67, 0xb6, 0x7b, 0x67, 0x2a, 0x1b, 0x42, 0x8c, 0x18, + 0x13, 0x89, 0x2f, 0x26, 0xfc, 0x03, 0xbe, 0x98, 0xa8, 0x0f, 0xc6, 0x3f, 0xc0, 0x17, 0xe3, 0x0b, + 0x89, 0x31, 0x21, 0xf1, 0xc5, 0xf8, 0x00, 0x06, 0x7c, 0xf5, 0xc5, 0x47, 0x7d, 0x31, 0x73, 0xef, + 0x9d, 0x8f, 0xed, 0xce, 0xcc, 0xee, 0x56, 0x84, 0xa7, 0x9d, 0xb9, 0xe7, 0xf3, 0x77, 0xce, 0xb9, + 0x67, 0xcf, 0x19, 0x28, 0x38, 0xb4, 0xee, 0x50, 0x93, 0xaa, 0xd4, 0x6b, 0x90, 0xe6, 0x35, 0xcb, + 0x33, 0x0d, 0x75, 0xc5, 0x23, 0xcd, 0x96, 0xd2, 0x68, 0x3a, 0xae, 0x83, 0xb1, 0xa0, 0x2b, 0x11, + 0x5d, 0xda, 0x59, 0x73, 0x6a, 0x0e, 0x23, 0xab, 0xfe, 0x13, 0xe7, 0x94, 0x0a, 0x55, 0xc6, 0xaa, + 0x56, 0x74, 0x4a, 0xd4, 0xd5, 0xa3, 0x15, 0xe2, 0xea, 0x47, 0xd5, 0xaa, 0x63, 0xda, 0x82, 0xbe, + 0xa7, 0xe6, 0x38, 0x35, 0x8b, 0xa8, 0x7a, 0xc3, 0x54, 0x75, 0xdb, 0x76, 0x5c, 0xdd, 0x35, 0x1d, + 0x9b, 0x0a, 0xea, 0xa8, 0xa0, 0xb2, 0xb7, 0x8a, 0x77, 0x4d, 0x75, 0xcd, 0x3a, 0xa1, 0xae, 0x5e, + 0x6f, 0x04, 0xea, 0xd7, 0x32, 0x18, 0x5e, 0x93, 0x69, 0x10, 0xf4, 0xb1, 0x04, 0x20, 0xd1, 0x63, + 0x60, 0x25, 0x81, 0xa9, 0xa1, 0x37, 0xf5, 0x7a, 0xe0, 0xc6, 0xee, 0x80, 0xc1, 0x72, 0xaa, 0x37, + 0xbc, 0x06, 0xfb, 0x11, 0xa4, 0xc9, 0x38, 0x3e, 0x16, 0xa2, 0x10, 0x65, 0x43, 0xaf, 0x99, 0x76, + 0xcc, 0x19, 0x79, 0x27, 0xe0, 0xb7, 0x7d, 0x8e, 0x4b, 0x4c, 0x77, 0x99, 0xac, 0x78, 0x84, 0xba, + 0xf2, 0x22, 0xec, 0x68, 0x3b, 0xa5, 0x0d, 0xc7, 0xa6, 0x04, 0xcf, 0xc0, 0x10, 0xf7, 0x21, 0x8f, + 0xf6, 0xa1, 0xe2, 0x96, 0x29, 0x49, 0xe9, 0x8c, 0xb9, 0xc2, 0x65, 0x66, 0x37, 0xdc, 0x7f, 0x38, + 0x3a, 0x50, 0x16, 0xfc, 0x72, 0x11, 0x46, 0x4a, 0x94, 0x12, 0xf7, 0x4a, 0xab, 0x41, 0x84, 0x11, + 0xbc, 0x13, 0x36, 0x1a, 0xc4, 0x76, 0xea, 0x4c, 0xd9, 0xe6, 0x32, 0x7f, 0x91, 0xdf, 0x85, 0xed, + 0x31, 0x4e, 0x61, 0xf8, 0x3c, 0x80, 0xee, 0x1f, 0x6a, 0x6e, 0xab, 0x41, 0x18, 0xff, 0xd6, 0xa9, + 0x89, 0x24, 0xe3, 0x97, 0xc3, 0xc7, 0x48, 0xc9, 0x66, 0x3d, 0x78, 0x94, 0x31, 0x8c, 0x94, 0x2c, + 0x8b, 0x91, 0x42, 0xac, 0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, 0x0a, 0xef, 0x14, 0xe2, 0x1a, + 0x28, 0x97, 0xf4, 0x5a, 0x50, 0x86, 0xe5, 0x98, 0xa4, 0xfc, 0x23, 0x82, 0xd1, 0x54, 0x53, 0x22, + 0x17, 0x57, 0x61, 0x93, 0x2e, 0xce, 0x44, 0x71, 0x4c, 0x67, 0x17, 0x47, 0x4a, 0xf0, 0x44, 0xb9, + 0x84, 0xca, 0xf0, 0x85, 0x36, 0x10, 0x39, 0x06, 0x62, 0xa2, 0x2b, 0x08, 0xee, 0x55, 0x1b, 0x8a, + 0xd3, 0x30, 0x76, 0xd6, 0xb1, 0x6d, 0x52, 0x75, 0x49, 0x92, 0xf1, 0x20, 0x68, 0xbb, 0x60, 0xd8, + 0x6f, 0x1a, 0x7e, 0x2a, 0x10, 0x4b, 0xc5, 0x90, 0xff, 0x3a, 0x6f, 0xc8, 0x1f, 0xc0, 0x81, 0x6c, + 0x79, 0x11, 0x89, 0x45, 0x18, 0x16, 0xce, 0x8b, 0x90, 0xaf, 0x2f, 0x10, 0xe5, 0x40, 0x8b, 0x3c, + 0x06, 0xfb, 0xaf, 0x38, 0xae, 0x6e, 0x45, 0x22, 0x73, 0xc4, 0x22, 0x35, 0xde, 0x7e, 0x83, 0xfb, + 0xfa, 0x15, 0x02, 0x39, 0x8b, 0x4b, 0x38, 0xf7, 0x11, 0x82, 0x11, 0xd7, 0x67, 0x8b, 0x11, 0x79, + 0x99, 0xce, 0x2e, 0xf9, 0x81, 0xff, 0xed, 0xe1, 0xe8, 0x78, 0xcd, 0x74, 0xaf, 0x7b, 0x15, 0xa5, + 0xea, 0xd4, 0x55, 0xd1, 0x32, 0xf9, 0xcf, 0x11, 0x6a, 0xdc, 0x50, 0xfd, 0x56, 0x43, 0x95, 0x79, + 0xdb, 0xfd, 0xeb, 0xe1, 0xe8, 0x58, 0x4b, 0xaf, 0x5b, 0x27, 0x65, 0xa6, 0x4f, 0x8b, 0xb0, 0x69, + 0x46, 0xa4, 0x5b, 0x2e,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61, 0xe0, 0xc1, 0x93, 0xc2, 0xc0, 0xaf, + 0x4f, 0x0a, 0x03, 0xef, 0x4c, 0xc7, 0x66, 0x41, 0x61, 0xf9, 0x88, 0xa5, 0x57, 0x68, 0xe8, 0xc6, + 0xea, 0x09, 0xf5, 0x66, 0xdc, 0x17, 0x36, 0x1e, 0x56, 0x86, 0xd8, 0x37, 0xe5, 0x63, 0xff, 0x06, + 0x00, 0x00, 0xff, 0xff, 0xd7, 0xc7, 0xdc, 0x64, 0xab, 0x17, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1371,7 +1371,7 @@ const _ = grpc.SupportPackageIsVersion4 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { // Params returns the total set of minting parameters. - Params(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error) + Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Returns superfluid asset type AssetType(ctx context.Context, in *AssetTypeRequest, opts ...grpc.CallOption) (*AssetTypeResponse, error) // Returns all superfluid asset types @@ -1408,8 +1408,8 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { return &queryClient{cc} } -func (c *queryClient) Params(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error) { - out := new(ParamsResponse) +func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { + out := new(QueryParamsResponse) err := c.cc.Invoke(ctx, "/osmosis.superfluid.Query/Params", in, out, opts...) if err != nil { return nil, err @@ -1519,7 +1519,7 @@ func (c *queryClient) EstimateSuperfluidDelegatedAmountByValidatorDenom(ctx cont // QueryServer is the server API for Query service. type QueryServer interface { // Params returns the total set of minting parameters. - Params(context.Context, *ParamsRequest) (*ParamsResponse, error) + Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Returns superfluid asset type AssetType(context.Context, *AssetTypeRequest) (*AssetTypeResponse, error) // Returns all superfluid asset types @@ -1552,7 +1552,7 @@ type QueryServer interface { type UnimplementedQueryServer struct { } -func (*UnimplementedQueryServer) Params(ctx context.Context, req *ParamsRequest) (*ParamsResponse, error) { +func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } func (*UnimplementedQueryServer) AssetType(ctx context.Context, req *AssetTypeRequest) (*AssetTypeResponse, error) { @@ -1594,7 +1594,7 @@ func RegisterQueryServer(s grpc1.Server, srv QueryServer) { } func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ParamsRequest) + in := new(QueryParamsRequest) if err := dec(in); err != nil { return nil, err } @@ -1606,7 +1606,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf FullMethod: "/osmosis.superfluid.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Params(ctx, req.(*ParamsRequest)) + return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) } return interceptor(ctx, in, info, handler) } @@ -1866,7 +1866,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ Metadata: "osmosis/superfluid/query.proto", } -func (m *ParamsRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1876,12 +1876,12 @@ func (m *ParamsRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ParamsRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1889,7 +1889,7 @@ func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ParamsResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1899,12 +1899,12 @@ func (m *ParamsResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ParamsResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2780,7 +2780,7 @@ func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } -func (m *ParamsRequest) Size() (n int) { +func (m *QueryParamsRequest) Size() (n int) { if m == nil { return 0 } @@ -2789,7 +2789,7 @@ func (m *ParamsRequest) Size() (n int) { return n } -func (m *ParamsResponse) Size() (n int) { +func (m *QueryParamsResponse) Size() (n int) { if m == nil { return 0 } @@ -3160,7 +3160,7 @@ func sovQuery(x uint64) (n int) { func sozQuery(x uint64) (n int) { return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *ParamsRequest) Unmarshal(dAtA []byte) error { +func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3183,10 +3183,10 @@ func (m *ParamsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ParamsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -3210,7 +3210,7 @@ func (m *ParamsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *ParamsResponse) Unmarshal(dAtA []byte) error { +func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3233,10 +3233,10 @@ func (m *ParamsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ParamsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: diff --git a/x/superfluid/types/query.pb.gw.go b/x/superfluid/types/query.pb.gw.go index 2813cdaaeab..b4b5fbe3e8d 100644 --- a/x/superfluid/types/query.pb.gw.go +++ b/x/superfluid/types/query.pb.gw.go @@ -32,7 +32,7 @@ var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ParamsRequest + var protoReq QueryParamsRequest var metadata runtime.ServerMetadata msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -41,7 +41,7 @@ func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, cl } func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ParamsRequest + var protoReq QueryParamsRequest var metadata runtime.ServerMetadata msg, err := server.Params(ctx, &protoReq)