diff --git a/CHANGELOG.md b/CHANGELOG.md index 0760c657a55..a0deef02bbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +<<<<<<< HEAD +======= +## Unreleased + +### Features + +* [#2739](https://github.com/osmosis-labs/osmosis/pull/2739) Add pool type query +* [#2803](https://github.com/osmosis-labs/osmosis/pull/2803) Fix total pool liquidity CLI query. + +>>>>>>> ae6a366d (Add Pool Type Query (#2832)) ## v12.0.0 This release includes several cosmwasm-developer and appchain-ecosystem affecting upgrades: diff --git a/proto/osmosis/gamm/v1beta1/query.proto b/proto/osmosis/gamm/v1beta1/query.proto index 93866130a0f..33600aa5504 100644 --- a/proto/osmosis/gamm/v1beta1/query.proto +++ b/proto/osmosis/gamm/v1beta1/query.proto @@ -31,6 +31,13 @@ service Query { option (google.api.http).get = "/osmosis/gamm/v1beta1/pools/{pool_id}"; } + // PoolType returns the type of the pool. + // Returns "Balancer" as a string literal when the pool is a balancer pool. + // Errors if the pool is failed to be type caseted. + rpc PoolType(QueryPoolTypeRequest) returns (QueryPoolTypeResponse) { + option (google.api.http).get = "/osmosis/gamm/v1beta1/pool_type/{pool_id}"; + } + rpc PoolParams(QueryPoolParamsRequest) returns (QueryPoolParamsResponse) { option (google.api.http).get = "/osmosis/gamm/v1beta1/pools/{pool_id}/params"; @@ -95,6 +102,14 @@ message QueryNumPoolsResponse { uint64 num_pools = 1 [ (gogoproto.moretags) = "yaml:\"num_pools\"" ]; } +//=============================== PoolType +message QueryPoolTypeRequest { + uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; +} +message QueryPoolTypeResponse { + string pool_type = 1 [ (gogoproto.moretags) = "yaml:\"pool_type\"" ]; +} + //=============================== PoolParams message QueryPoolParamsRequest { uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; diff --git a/x/gamm/keeper/grpc_query.go b/x/gamm/keeper/grpc_query.go index f04b403e163..3af3ae40609 100644 --- a/x/gamm/keeper/grpc_query.go +++ b/x/gamm/keeper/grpc_query.go @@ -127,6 +127,19 @@ func (q Querier) NumPools(ctx context.Context, _ *types.QueryNumPoolsRequest) (* }, nil } +func (q Querier) PoolType(ctx context.Context, req *types.QueryPoolTypeRequest) (*types.QueryPoolTypeResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "empty request") + } + + sdkCtx := sdk.UnwrapSDKContext(ctx) + poolType, err := q.Keeper.GetPoolType(sdkCtx, req.PoolId) + + return &types.QueryPoolTypeResponse{ + PoolType: poolType, + }, err +} + // PoolParams queries a specified pool for its params. func (q Querier) PoolParams(ctx context.Context, req *types.QueryPoolParamsRequest) (*types.QueryPoolParamsResponse, error) { if req == nil { diff --git a/x/gamm/keeper/grpc_query_test.go b/x/gamm/keeper/grpc_query_test.go index 7f3655f15b3..5566e8cdb36 100644 --- a/x/gamm/keeper/grpc_query_test.go +++ b/x/gamm/keeper/grpc_query_test.go @@ -87,6 +87,18 @@ func (suite *KeeperTestSuite) TestQueryPools() { } } +func (suite *KeeperTestSuite) TestPoolType() { + poolId := suite.PrepareBalancerPool() + + // error when querying invalid pool ID + _, err := suite.queryClient.PoolType(gocontext.Background(), &types.QueryPoolTypeRequest{PoolId: poolId + 1}) + suite.Require().Error(err) + + res, err := suite.queryClient.PoolType(gocontext.Background(), &types.QueryPoolTypeRequest{PoolId: poolId}) + suite.Require().NoError(err) + suite.Require().Equal("Balancer", res.PoolType) +} + func (suite *KeeperTestSuite) TestQueryNumPools1() { res, err := suite.queryClient.NumPools(gocontext.Background(), &types.QueryNumPoolsRequest{}) suite.Require().NoError(err) diff --git a/x/gamm/keeper/pool.go b/x/gamm/keeper/pool.go index 95b2c1215b6..98cd123675d 100644 --- a/x/gamm/keeper/pool.go +++ b/x/gamm/keeper/pool.go @@ -237,6 +237,21 @@ func (k Keeper) GetNextPoolId(ctx sdk.Context) uint64 { return nextPoolId } +func (k Keeper) GetPoolType(ctx sdk.Context, poolId uint64) (string, error) { + pool, err := k.GetPoolAndPoke(ctx, poolId) + if err != nil { + return "", err + } + + switch pool := pool.(type) { + case *balancer.Pool: + return "Balancer", nil + default: + errMsg := fmt.Sprintf("unrecognized %s pool type: %T", types.ModuleName, pool) + return "", sdkerrors.Wrap(sdkerrors.ErrUnpackAny, errMsg) + } +} + // getNextPoolIdAndIncrement returns the next pool Id, and increments the corresponding state entry. func (k Keeper) getNextPoolIdAndIncrement(ctx sdk.Context) uint64 { nextPoolId := k.GetNextPoolId(ctx) diff --git a/x/gamm/types/query.pb.go b/x/gamm/types/query.pb.go index 8cadcf88733..12889076df2 100644 --- a/x/gamm/types/query.pb.go +++ b/x/gamm/types/query.pb.go @@ -303,6 +303,95 @@ func (m *QueryNumPoolsResponse) GetNumPools() uint64 { return 0 } +// =============================== PoolType +type QueryPoolTypeRequest struct { + PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` +} + +func (m *QueryPoolTypeRequest) Reset() { *m = QueryPoolTypeRequest{} } +func (m *QueryPoolTypeRequest) String() string { return proto.CompactTextString(m) } +func (*QueryPoolTypeRequest) ProtoMessage() {} +func (*QueryPoolTypeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d9a717df9ca609ef, []int{6} +} +func (m *QueryPoolTypeRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryPoolTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryPoolTypeRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryPoolTypeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryPoolTypeRequest.Merge(m, src) +} +func (m *QueryPoolTypeRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryPoolTypeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryPoolTypeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryPoolTypeRequest proto.InternalMessageInfo + +func (m *QueryPoolTypeRequest) GetPoolId() uint64 { + if m != nil { + return m.PoolId + } + return 0 +} + +type QueryPoolTypeResponse struct { + PoolType string `protobuf:"bytes,1,opt,name=pool_type,json=poolType,proto3" json:"pool_type,omitempty" yaml:"pool_type"` +} + +func (m *QueryPoolTypeResponse) Reset() { *m = QueryPoolTypeResponse{} } +func (m *QueryPoolTypeResponse) String() string { return proto.CompactTextString(m) } +func (*QueryPoolTypeResponse) ProtoMessage() {} +func (*QueryPoolTypeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d9a717df9ca609ef, []int{7} +} +func (m *QueryPoolTypeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryPoolTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryPoolTypeResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryPoolTypeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryPoolTypeResponse.Merge(m, src) +} +func (m *QueryPoolTypeResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryPoolTypeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryPoolTypeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryPoolTypeResponse proto.InternalMessageInfo + +func (m *QueryPoolTypeResponse) GetPoolType() string { + if m != nil { + return m.PoolType + } + return "" +} + // =============================== PoolParams type QueryPoolParamsRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` @@ -312,7 +401,7 @@ func (m *QueryPoolParamsRequest) Reset() { *m = QueryPoolParamsRequest{} func (m *QueryPoolParamsRequest) String() string { return proto.CompactTextString(m) } func (*QueryPoolParamsRequest) ProtoMessage() {} func (*QueryPoolParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{6} + return fileDescriptor_d9a717df9ca609ef, []int{8} } func (m *QueryPoolParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -356,7 +445,7 @@ func (m *QueryPoolParamsResponse) Reset() { *m = QueryPoolParamsResponse func (m *QueryPoolParamsResponse) String() string { return proto.CompactTextString(m) } func (*QueryPoolParamsResponse) ProtoMessage() {} func (*QueryPoolParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{7} + return fileDescriptor_d9a717df9ca609ef, []int{9} } func (m *QueryPoolParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -401,7 +490,7 @@ func (m *QueryTotalPoolLiquidityRequest) Reset() { *m = QueryTotalPoolLi func (m *QueryTotalPoolLiquidityRequest) String() string { return proto.CompactTextString(m) } func (*QueryTotalPoolLiquidityRequest) ProtoMessage() {} func (*QueryTotalPoolLiquidityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{8} + return fileDescriptor_d9a717df9ca609ef, []int{10} } func (m *QueryTotalPoolLiquidityRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -445,7 +534,7 @@ func (m *QueryTotalPoolLiquidityResponse) Reset() { *m = QueryTotalPoolL func (m *QueryTotalPoolLiquidityResponse) String() string { return proto.CompactTextString(m) } func (*QueryTotalPoolLiquidityResponse) ProtoMessage() {} func (*QueryTotalPoolLiquidityResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{9} + return fileDescriptor_d9a717df9ca609ef, []int{11} } func (m *QueryTotalPoolLiquidityResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -490,7 +579,7 @@ func (m *QueryTotalSharesRequest) Reset() { *m = QueryTotalSharesRequest func (m *QueryTotalSharesRequest) String() string { return proto.CompactTextString(m) } func (*QueryTotalSharesRequest) ProtoMessage() {} func (*QueryTotalSharesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{10} + return fileDescriptor_d9a717df9ca609ef, []int{12} } func (m *QueryTotalSharesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -534,7 +623,7 @@ func (m *QueryTotalSharesResponse) Reset() { *m = QueryTotalSharesRespon func (m *QueryTotalSharesResponse) String() string { return proto.CompactTextString(m) } func (*QueryTotalSharesResponse) ProtoMessage() {} func (*QueryTotalSharesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{11} + return fileDescriptor_d9a717df9ca609ef, []int{13} } func (m *QueryTotalSharesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -582,7 +671,7 @@ func (m *QuerySpotPriceRequest) Reset() { *m = QuerySpotPriceRequest{} } func (m *QuerySpotPriceRequest) String() string { return proto.CompactTextString(m) } func (*QuerySpotPriceRequest) ProtoMessage() {} func (*QuerySpotPriceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{12} + return fileDescriptor_d9a717df9ca609ef, []int{14} } func (m *QuerySpotPriceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -643,7 +732,7 @@ func (m *QuerySpotPriceResponse) Reset() { *m = QuerySpotPriceResponse{} func (m *QuerySpotPriceResponse) String() string { return proto.CompactTextString(m) } func (*QuerySpotPriceResponse) ProtoMessage() {} func (*QuerySpotPriceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{13} + return fileDescriptor_d9a717df9ca609ef, []int{15} } func (m *QuerySpotPriceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -691,7 +780,7 @@ func (m *QuerySwapExactAmountInRequest) Reset() { *m = QuerySwapExactAmo func (m *QuerySwapExactAmountInRequest) String() string { return proto.CompactTextString(m) } func (*QuerySwapExactAmountInRequest) ProtoMessage() {} func (*QuerySwapExactAmountInRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{14} + return fileDescriptor_d9a717df9ca609ef, []int{16} } func (m *QuerySwapExactAmountInRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -756,7 +845,7 @@ func (m *QuerySwapExactAmountInResponse) Reset() { *m = QuerySwapExactAm func (m *QuerySwapExactAmountInResponse) String() string { return proto.CompactTextString(m) } func (*QuerySwapExactAmountInResponse) ProtoMessage() {} func (*QuerySwapExactAmountInResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{15} + return fileDescriptor_d9a717df9ca609ef, []int{17} } func (m *QuerySwapExactAmountInResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -797,7 +886,7 @@ func (m *QuerySwapExactAmountOutRequest) Reset() { *m = QuerySwapExactAm func (m *QuerySwapExactAmountOutRequest) String() string { return proto.CompactTextString(m) } func (*QuerySwapExactAmountOutRequest) ProtoMessage() {} func (*QuerySwapExactAmountOutRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{16} + return fileDescriptor_d9a717df9ca609ef, []int{18} } func (m *QuerySwapExactAmountOutRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -862,7 +951,7 @@ func (m *QuerySwapExactAmountOutResponse) Reset() { *m = QuerySwapExactA func (m *QuerySwapExactAmountOutResponse) String() string { return proto.CompactTextString(m) } func (*QuerySwapExactAmountOutResponse) ProtoMessage() {} func (*QuerySwapExactAmountOutResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{17} + return fileDescriptor_d9a717df9ca609ef, []int{19} } func (m *QuerySwapExactAmountOutResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -898,7 +987,7 @@ func (m *QueryTotalLiquidityRequest) Reset() { *m = QueryTotalLiquidityR func (m *QueryTotalLiquidityRequest) String() string { return proto.CompactTextString(m) } func (*QueryTotalLiquidityRequest) ProtoMessage() {} func (*QueryTotalLiquidityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{18} + return fileDescriptor_d9a717df9ca609ef, []int{20} } func (m *QueryTotalLiquidityRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -935,7 +1024,7 @@ func (m *QueryTotalLiquidityResponse) Reset() { *m = QueryTotalLiquidity func (m *QueryTotalLiquidityResponse) String() string { return proto.CompactTextString(m) } func (*QueryTotalLiquidityResponse) ProtoMessage() {} func (*QueryTotalLiquidityResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{19} + return fileDescriptor_d9a717df9ca609ef, []int{21} } func (m *QueryTotalLiquidityResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -978,6 +1067,8 @@ func init() { proto.RegisterType((*QueryPoolsResponse)(nil), "osmosis.gamm.v1beta1.QueryPoolsResponse") proto.RegisterType((*QueryNumPoolsRequest)(nil), "osmosis.gamm.v1beta1.QueryNumPoolsRequest") proto.RegisterType((*QueryNumPoolsResponse)(nil), "osmosis.gamm.v1beta1.QueryNumPoolsResponse") + proto.RegisterType((*QueryPoolTypeRequest)(nil), "osmosis.gamm.v1beta1.QueryPoolTypeRequest") + proto.RegisterType((*QueryPoolTypeResponse)(nil), "osmosis.gamm.v1beta1.QueryPoolTypeResponse") proto.RegisterType((*QueryPoolParamsRequest)(nil), "osmosis.gamm.v1beta1.QueryPoolParamsRequest") proto.RegisterType((*QueryPoolParamsResponse)(nil), "osmosis.gamm.v1beta1.QueryPoolParamsResponse") proto.RegisterType((*QueryTotalPoolLiquidityRequest)(nil), "osmosis.gamm.v1beta1.QueryTotalPoolLiquidityRequest") @@ -997,90 +1088,94 @@ func init() { func init() { proto.RegisterFile("osmosis/gamm/v1beta1/query.proto", fileDescriptor_d9a717df9ca609ef) } var fileDescriptor_d9a717df9ca609ef = []byte{ - // 1322 bytes of a gzipped FileDescriptorProto + // 1382 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x97, 0xcd, 0x6f, 0x1b, 0x45, - 0x14, 0xc0, 0xb3, 0xa9, 0x93, 0xc6, 0x13, 0x9a, 0x26, 0xd3, 0xb4, 0x75, 0x37, 0xad, 0xb7, 0x0c, - 0xa2, 0x09, 0x6d, 0xb2, 0xdb, 0xa4, 0xe9, 0xa5, 0x02, 0x4a, 0x4d, 0x93, 0x36, 0x15, 0xb4, 0x61, - 0x8b, 0x40, 0xc0, 0xc1, 0xda, 0x24, 0x8b, 0xbb, 0xaa, 0xbd, 0xb3, 0xf1, 0xcc, 0x36, 0x8d, 0x50, - 0x85, 0x84, 0x10, 0x27, 0x0e, 0x48, 0x85, 0x5b, 0xa5, 0x72, 0xe0, 0x80, 0x38, 0xf3, 0x2f, 0x20, - 0x55, 0x48, 0x48, 0x45, 0x5c, 0x10, 0x07, 0x83, 0x1a, 0x0e, 0x9c, 0xfd, 0x0f, 0x80, 0x66, 0xe6, - 0xed, 0x87, 0xe3, 0x8d, 0x3f, 0x82, 0x90, 0x38, 0xc5, 0x7e, 0x9f, 0xbf, 0xf7, 0xde, 0x8c, 0xe7, - 0x05, 0x9d, 0xa6, 0xac, 0x46, 0x99, 0xc7, 0xac, 0x8a, 0x53, 0xab, 0x59, 0xf7, 0xe6, 0xd7, 0x5c, - 0xee, 0xcc, 0x5b, 0x9b, 0xa1, 0x5b, 0xdf, 0x36, 0x83, 0x3a, 0xe5, 0x14, 0x4f, 0x82, 0x85, 0x29, - 0x2c, 0x4c, 0xb0, 0xd0, 0x27, 0x2b, 0xb4, 0x42, 0xa5, 0x81, 0x25, 0x3e, 0x29, 0x5b, 0xfd, 0x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xee, 0x36, 0x82, 0x9d, 0x7b, 0x64, 0x61, 0xa6, 0x3f, 0xe5, 0x3d, 0x4e, 0x84, 0x30, + 0x66, 0xf8, 0x27, 0x0d, 0x1d, 0x5b, 0x64, 0xdc, 0xad, 0xd9, 0xdc, 0xd9, 0xb6, 0x8b, 0xe0, 0xf3, + 0xdd, 0x08, 0x76, 0xd8, 0xdd, 0x0a, 0x0b, 0xbb, 0x33, 0x02, 0xfc, 0x45, 0x89, 0x7f, 0x09, 0xbf, + 0x9c, 0x8e, 0x1f, 0x83, 0x3b, 0x40, 0x6b, 0xb2, 0x4d, 0xdb, 0x2f, 0x3b, 0xc2, 0x19, 0x3c, 0x98, + 0x65, 0xd7, 0xc3, 0x3f, 0x6b, 0xa8, 0xb0, 0x43, 0x3e, 0xb7, 0x02, 0x8e, 0x77, 0xc1, 0x16, 0xaf, + 0x3c, 0x5d, 0x27, 0x7d, 0xe7, 0x0d, 0x81, 0x2c, 0xc9, 0x94, 0x5e, 0xc5, 0xaf, 0xfc, 0x8b, 0x94, + 0x68, 0xc0, 0x4b, 0x37, 0x9e, 0x3c, 0x2b, 0x6a, 0x4f, 0x9f, 0x15, 0xb5, 0x3f, 0x9e, 0x15, 0xb5, + 0x4f, 0xb7, 0x8a, 0x03, 0x4f, 0xb7, 0x8a, 0x03, 0xbf, 0x6e, 0x15, 0x07, 0xde, 0x39, 0x97, 0x78, + 0x89, 0x21, 0xc6, 0x6c, 0xd5, 0x5e, 0x65, 0x51, 0xc0, 0xfb, 0x73, 0xf3, 0xe6, 0x03, 0x15, 0x56, + 0xbe, 0xcb, 0xab, 0xc3, 0xf2, 0x9f, 0xcf, 0xf3, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x5f, 0xcb, + 0xa3, 0x26, 0x80, 0x12, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1100,6 +1195,10 @@ type QueryClient interface { TotalLiquidity(ctx context.Context, in *QueryTotalLiquidityRequest, opts ...grpc.CallOption) (*QueryTotalLiquidityResponse, error) // Per Pool gRPC Endpoints Pool(ctx context.Context, in *QueryPoolRequest, opts ...grpc.CallOption) (*QueryPoolResponse, error) + // PoolType returns the type of the pool. + // Returns "Balancer" as a string literal when the pool is a balancer pool. + // Errors if the pool is failed to be type caseted. + PoolType(ctx context.Context, in *QueryPoolTypeRequest, opts ...grpc.CallOption) (*QueryPoolTypeResponse, error) PoolParams(ctx context.Context, in *QueryPoolParamsRequest, opts ...grpc.CallOption) (*QueryPoolParamsResponse, error) TotalPoolLiquidity(ctx context.Context, in *QueryTotalPoolLiquidityRequest, opts ...grpc.CallOption) (*QueryTotalPoolLiquidityResponse, error) TotalShares(ctx context.Context, in *QueryTotalSharesRequest, opts ...grpc.CallOption) (*QueryTotalSharesResponse, error) @@ -1155,6 +1254,15 @@ func (c *queryClient) Pool(ctx context.Context, in *QueryPoolRequest, opts ...gr return out, nil } +func (c *queryClient) PoolType(ctx context.Context, in *QueryPoolTypeRequest, opts ...grpc.CallOption) (*QueryPoolTypeResponse, error) { + out := new(QueryPoolTypeResponse) + err := c.cc.Invoke(ctx, "/osmosis.gamm.v1beta1.Query/PoolType", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) PoolParams(ctx context.Context, in *QueryPoolParamsRequest, opts ...grpc.CallOption) (*QueryPoolParamsResponse, error) { out := new(QueryPoolParamsResponse) err := c.cc.Invoke(ctx, "/osmosis.gamm.v1beta1.Query/PoolParams", in, out, opts...) @@ -1216,6 +1324,10 @@ type QueryServer interface { TotalLiquidity(context.Context, *QueryTotalLiquidityRequest) (*QueryTotalLiquidityResponse, error) // Per Pool gRPC Endpoints Pool(context.Context, *QueryPoolRequest) (*QueryPoolResponse, error) + // PoolType returns the type of the pool. + // Returns "Balancer" as a string literal when the pool is a balancer pool. + // Errors if the pool is failed to be type caseted. + PoolType(context.Context, *QueryPoolTypeRequest) (*QueryPoolTypeResponse, error) PoolParams(context.Context, *QueryPoolParamsRequest) (*QueryPoolParamsResponse, error) TotalPoolLiquidity(context.Context, *QueryTotalPoolLiquidityRequest) (*QueryTotalPoolLiquidityResponse, error) TotalShares(context.Context, *QueryTotalSharesRequest) (*QueryTotalSharesResponse, error) @@ -1243,6 +1355,9 @@ func (*UnimplementedQueryServer) TotalLiquidity(ctx context.Context, req *QueryT func (*UnimplementedQueryServer) Pool(ctx context.Context, req *QueryPoolRequest) (*QueryPoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Pool not implemented") } +func (*UnimplementedQueryServer) PoolType(ctx context.Context, req *QueryPoolTypeRequest) (*QueryPoolTypeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PoolType not implemented") +} func (*UnimplementedQueryServer) PoolParams(ctx context.Context, req *QueryPoolParamsRequest) (*QueryPoolParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PoolParams not implemented") } @@ -1338,6 +1453,24 @@ func _Query_Pool_Handler(srv interface{}, ctx context.Context, dec func(interfac return interceptor(ctx, in, info, handler) } +func _Query_PoolType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryPoolTypeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).PoolType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.gamm.v1beta1.Query/PoolType", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).PoolType(ctx, req.(*QueryPoolTypeRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_PoolParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryPoolParamsRequest) if err := dec(in); err != nil { @@ -1466,6 +1599,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "Pool", Handler: _Query_Pool_Handler, }, + { + MethodName: "PoolType", + Handler: _Query_PoolType_Handler, + }, { MethodName: "PoolParams", Handler: _Query_PoolParams_Handler, @@ -1693,6 +1830,64 @@ func (m *QueryNumPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *QueryPoolTypeRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryPoolTypeRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryPoolTypeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.PoolId != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.PoolId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *QueryPoolTypeResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryPoolTypeResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryPoolTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PoolType) > 0 { + i -= len(m.PoolType) + copy(dAtA[i:], m.PoolType) + i = encodeVarintQuery(dAtA, i, uint64(len(m.PoolType))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *QueryPoolParamsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2281,6 +2476,31 @@ func (m *QueryNumPoolsResponse) Size() (n int) { return n } +func (m *QueryPoolTypeRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PoolId != 0 { + n += 1 + sovQuery(uint64(m.PoolId)) + } + return n +} + +func (m *QueryPoolTypeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PoolType) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + func (m *QueryPoolParamsRequest) Size() (n int) { if m == nil { return 0 @@ -2973,6 +3193,157 @@ func (m *QueryNumPoolsResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryPoolTypeRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryPoolTypeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryPoolTypeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType) + } + m.PoolId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PoolId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryPoolTypeResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryPoolTypeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryPoolTypeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PoolType", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PoolType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *QueryPoolParamsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/gamm/types/query.pb.gw.go b/x/gamm/types/query.pb.gw.go index 2762a4b466b..dda499c40fc 100644 --- a/x/gamm/types/query.pb.gw.go +++ b/x/gamm/types/query.pb.gw.go @@ -159,6 +159,60 @@ func local_request_Query_Pool_0(ctx context.Context, marshaler runtime.Marshaler } +func request_Query_PoolType_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryPoolTypeRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["pool_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "pool_id") + } + + protoReq.PoolId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "pool_id", err) + } + + msg, err := client.PoolType(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_PoolType_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryPoolTypeRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["pool_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "pool_id") + } + + protoReq.PoolId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "pool_id", err) + } + + msg, err := server.PoolType(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_PoolParams_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryPoolParamsRequest var metadata runtime.ServerMetadata @@ -635,6 +689,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_PoolType_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_PoolType_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_PoolType_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_PoolParams_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -894,6 +971,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_PoolType_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_PoolType_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_PoolType_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_PoolParams_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1026,6 +1123,8 @@ var ( pattern_Query_Pool_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"osmosis", "gamm", "v1beta1", "pools", "pool_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_PoolType_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"osmosis", "gamm", "v1beta1", "pool_type", "pool_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_PoolParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"osmosis", "gamm", "v1beta1", "pools", "pool_id", "params"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_TotalPoolLiquidity_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"osmosis", "gamm", "v1beta1", "pools", "pool_id", "total_pool_liquidity"}, "", runtime.AssumeColonVerbOpt(false))) @@ -1048,6 +1147,8 @@ var ( forward_Query_Pool_0 = runtime.ForwardResponseMessage + forward_Query_PoolType_0 = runtime.ForwardResponseMessage + forward_Query_PoolParams_0 = runtime.ForwardResponseMessage forward_Query_TotalPoolLiquidity_0 = runtime.ForwardResponseMessage