diff --git a/CHANGELOG.md b/CHANGELOG.md index 53d92e64a3d..8e5f40299fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -77,6 +77,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Features +* [#6766](https://github.com/osmosis-labs/osmosis/pull/6766) CLI: Query pool by coin denom * [#6468](https://github.com/osmosis-labs/osmosis/pull/6468) feat: remove osmo multihop discount * [#6420](https://github.com/osmosis-labs/osmosis/pull/6420) feat[CL]: Creates a governance set whitelist of addresses that can bypass the normal pool creation restrictions on concentrated liquidity pools * [#6623](https://github.com/osmosis-labs/osmosis/pull/6420) feat: transfer cl positions to new owner diff --git a/proto/osmosis/poolmanager/v1beta1/query.proto b/proto/osmosis/poolmanager/v1beta1/query.proto index 8fc3724315d..80c2d8f6833 100644 --- a/proto/osmosis/poolmanager/v1beta1/query.proto +++ b/proto/osmosis/poolmanager/v1beta1/query.proto @@ -91,6 +91,12 @@ service Query { rpc AllPools(AllPoolsRequest) returns (AllPoolsResponse) { option (google.api.http).get = "/osmosis/poolmanager/v1beta1/all-pools"; } + // ListPoolsByDenom return all pools by denom + rpc ListPoolsByDenom(ListPoolsByDenomRequest) + returns (ListPoolsByDenomResponse) { + option (google.api.http).get = + "/osmosis/poolmanager/v1beta1/list-pools-by-denom"; + } // SpotPrice defines a gRPC query handler that returns the spot price given // a base denomination and a quote denomination. @@ -238,6 +244,17 @@ message AllPoolsResponse { [ (cosmos_proto.accepts_interface) = "PoolI" ]; } +// ======================================================= +// ListPoolsByDenomRequest +message ListPoolsByDenomRequest { + string denom = 1 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; +} + +message ListPoolsByDenomResponse { + repeated google.protobuf.Any pools = 1 + [ (cosmos_proto.accepts_interface) = "PoolI" ]; +} +// ========================================================== // SpotPriceRequest defines the gRPC request structure for a SpotPrice // query. message SpotPriceRequest { diff --git a/scripts/setup_superfluid.sh b/scripts/setup_superfluid.sh old mode 100644 new mode 100755 index ee5f4c94bee..ead323b8959 --- a/scripts/setup_superfluid.sh +++ b/scripts/setup_superfluid.sh @@ -33,4 +33,4 @@ sleep 7 osmosisd tx gov vote 1 yes --from=validator1 --keyring-backend=test --chain-id=testing --yes --home=$HOME/.osmosisd/validator1 sleep 7 osmosisd tx gov vote 1 yes --from=validator2 --keyring-backend=test --chain-id=testing --yes --home=$HOME/.osmosisd/validator2 -sleep 7 +sleep 7 \ No newline at end of file diff --git a/x/poolmanager/client/cli/query.go b/x/poolmanager/client/cli/query.go index 50fc6f3e825..e22b76144e6 100644 --- a/x/poolmanager/client/cli/query.go +++ b/x/poolmanager/client/cli/query.go @@ -32,6 +32,7 @@ func GetQueryCmd() *cobra.Command { osmocli.AddQueryCmd(cmd, queryproto.NewQueryClient, GetCmdTotalVolumeForPool) osmocli.AddQueryCmd(cmd, queryproto.NewQueryClient, GetCmdTradingPairTakerFee) osmocli.AddQueryCmd(cmd, queryproto.NewQueryClient, GetCmdEstimateTradeBasedOnPriceImpact) + osmocli.AddQueryCmd(cmd, queryproto.NewQueryClient, GetCmdListPoolsByDenom) cmd.AddCommand( osmocli.GetParams[*queryproto.ParamsRequest]( types.ModuleName, queryproto.NewQueryClient), @@ -105,6 +106,15 @@ func GetCmdSpotPrice() (*osmocli.QueryDescriptor, *queryproto.SpotPriceRequest) `, }, &queryproto.SpotPriceRequest{} } +func GetCmdListPoolsByDenom() (*osmocli.QueryDescriptor, *queryproto.ListPoolsByDenomRequest) { + return &osmocli.QueryDescriptor{ + Use: "list-pools-by-denom", + Short: "Query list-pools-by-denom", + Long: `Query list-pools-by-denom +{{.CommandPrefix}} list-pools-by-denom uosmo +`, + }, &queryproto.ListPoolsByDenomRequest{} +} func EstimateSwapExactAmountInParseArgs(args []string, fs *flag.FlagSet) (proto.Message, error) { poolID, err := strconv.Atoi(args[0]) diff --git a/x/poolmanager/client/grpc/grpc_query.go b/x/poolmanager/client/grpc/grpc_query.go index a47c7e9b9d3..4bdc58d6da4 100644 --- a/x/poolmanager/client/grpc/grpc_query.go +++ b/x/poolmanager/client/grpc/grpc_query.go @@ -71,6 +71,16 @@ func (q Querier) SpotPrice(grpcCtx context.Context, return q.Q.SpotPrice(ctx, *req) } +func (q Querier) ListPoolsByDenom(grpcCtx context.Context, + req *queryproto.ListPoolsByDenomRequest, +) (*queryproto.ListPoolsByDenomResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "empty request") + } + ctx := sdk.UnwrapSDKContext(grpcCtx) + return q.Q.ListPoolsByDenom(ctx, *req) +} + func (q Querier) Pool(grpcCtx context.Context, req *queryproto.PoolRequest, ) (*queryproto.PoolResponse, error) { diff --git a/x/poolmanager/client/query_proto_wrap.go b/x/poolmanager/client/query_proto_wrap.go index 31b51941f9f..cb8aa62cbc7 100644 --- a/x/poolmanager/client/query_proto_wrap.go +++ b/x/poolmanager/client/query_proto_wrap.go @@ -212,6 +212,30 @@ func (q Querier) AllPools(ctx sdk.Context, req queryproto.AllPoolsRequest) (*que }, nil } +// ListPoolsByDenom returns a list of pools filtered by denom +func (q Querier) ListPoolsByDenom(ctx sdk.Context, req queryproto.ListPoolsByDenomRequest) (*queryproto.ListPoolsByDenomResponse, error) { + if req.Denom == "" { + return nil, status.Error(codes.InvalidArgument, "invalid denom") + } + pools, err := q.K.ListPoolsByDenom(ctx, req.Denom) + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + + var anyPools []*codectypes.Any + for _, pool := range pools { + any, err := codectypes.NewAnyWithValue(pool.AsSerializablePool()) + if err != nil { + return nil, err + } + anyPools = append(anyPools, any) + } + + return &queryproto.ListPoolsByDenomResponse{ + Pools: anyPools, + }, nil +} + // SpotPrice returns the spot price of the pool with the given quote and base asset denoms. 18 decimals. func (q Querier) SpotPrice(ctx sdk.Context, req queryproto.SpotPriceRequest) (*queryproto.SpotPriceResponse, error) { if req.BaseAssetDenom == "" { diff --git a/x/poolmanager/client/queryproto/query.pb.go b/x/poolmanager/client/queryproto/query.pb.go index 0dd8f730ace..56e52299dac 100644 --- a/x/poolmanager/client/queryproto/query.pb.go +++ b/x/poolmanager/client/queryproto/query.pb.go @@ -841,6 +841,97 @@ func (m *AllPoolsResponse) GetPools() []*types1.Any { return nil } +// ======================================================= +// ListPoolsByDenomRequest +type ListPoolsByDenomRequest struct { + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` +} + +func (m *ListPoolsByDenomRequest) Reset() { *m = ListPoolsByDenomRequest{} } +func (m *ListPoolsByDenomRequest) String() string { return proto.CompactTextString(m) } +func (*ListPoolsByDenomRequest) ProtoMessage() {} +func (*ListPoolsByDenomRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_6256a4106f701b7d, []int{16} +} +func (m *ListPoolsByDenomRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListPoolsByDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListPoolsByDenomRequest.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 *ListPoolsByDenomRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListPoolsByDenomRequest.Merge(m, src) +} +func (m *ListPoolsByDenomRequest) XXX_Size() int { + return m.Size() +} +func (m *ListPoolsByDenomRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListPoolsByDenomRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListPoolsByDenomRequest proto.InternalMessageInfo + +func (m *ListPoolsByDenomRequest) GetDenom() string { + if m != nil { + return m.Denom + } + return "" +} + +type ListPoolsByDenomResponse struct { + Pools []*types1.Any `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools,omitempty"` +} + +func (m *ListPoolsByDenomResponse) Reset() { *m = ListPoolsByDenomResponse{} } +func (m *ListPoolsByDenomResponse) String() string { return proto.CompactTextString(m) } +func (*ListPoolsByDenomResponse) ProtoMessage() {} +func (*ListPoolsByDenomResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_6256a4106f701b7d, []int{17} +} +func (m *ListPoolsByDenomResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListPoolsByDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListPoolsByDenomResponse.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 *ListPoolsByDenomResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListPoolsByDenomResponse.Merge(m, src) +} +func (m *ListPoolsByDenomResponse) XXX_Size() int { + return m.Size() +} +func (m *ListPoolsByDenomResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListPoolsByDenomResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListPoolsByDenomResponse proto.InternalMessageInfo + +func (m *ListPoolsByDenomResponse) GetPools() []*types1.Any { + if m != nil { + return m.Pools + } + return nil +} + +// ========================================================== // SpotPriceRequest defines the gRPC request structure for a SpotPrice // query. type SpotPriceRequest struct { @@ -853,7 +944,7 @@ func (m *SpotPriceRequest) Reset() { *m = SpotPriceRequest{} } func (m *SpotPriceRequest) String() string { return proto.CompactTextString(m) } func (*SpotPriceRequest) ProtoMessage() {} func (*SpotPriceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6256a4106f701b7d, []int{16} + return fileDescriptor_6256a4106f701b7d, []int{18} } func (m *SpotPriceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -914,7 +1005,7 @@ func (m *SpotPriceResponse) Reset() { *m = SpotPriceResponse{} } func (m *SpotPriceResponse) String() string { return proto.CompactTextString(m) } func (*SpotPriceResponse) ProtoMessage() {} func (*SpotPriceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6256a4106f701b7d, []int{17} + return fileDescriptor_6256a4106f701b7d, []int{19} } func (m *SpotPriceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -959,7 +1050,7 @@ func (m *TotalPoolLiquidityRequest) Reset() { *m = TotalPoolLiquidityReq func (m *TotalPoolLiquidityRequest) String() string { return proto.CompactTextString(m) } func (*TotalPoolLiquidityRequest) ProtoMessage() {} func (*TotalPoolLiquidityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6256a4106f701b7d, []int{18} + return fileDescriptor_6256a4106f701b7d, []int{20} } func (m *TotalPoolLiquidityRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1003,7 +1094,7 @@ func (m *TotalPoolLiquidityResponse) Reset() { *m = TotalPoolLiquidityRe func (m *TotalPoolLiquidityResponse) String() string { return proto.CompactTextString(m) } func (*TotalPoolLiquidityResponse) ProtoMessage() {} func (*TotalPoolLiquidityResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6256a4106f701b7d, []int{19} + return fileDescriptor_6256a4106f701b7d, []int{21} } func (m *TotalPoolLiquidityResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1047,7 +1138,7 @@ func (m *TotalLiquidityRequest) Reset() { *m = TotalLiquidityRequest{} } func (m *TotalLiquidityRequest) String() string { return proto.CompactTextString(m) } func (*TotalLiquidityRequest) ProtoMessage() {} func (*TotalLiquidityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6256a4106f701b7d, []int{20} + return fileDescriptor_6256a4106f701b7d, []int{22} } func (m *TotalLiquidityRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1084,7 +1175,7 @@ func (m *TotalLiquidityResponse) Reset() { *m = TotalLiquidityResponse{} func (m *TotalLiquidityResponse) String() string { return proto.CompactTextString(m) } func (*TotalLiquidityResponse) ProtoMessage() {} func (*TotalLiquidityResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6256a4106f701b7d, []int{21} + return fileDescriptor_6256a4106f701b7d, []int{23} } func (m *TotalLiquidityResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1129,7 +1220,7 @@ func (m *TotalVolumeForPoolRequest) Reset() { *m = TotalVolumeForPoolReq func (m *TotalVolumeForPoolRequest) String() string { return proto.CompactTextString(m) } func (*TotalVolumeForPoolRequest) ProtoMessage() {} func (*TotalVolumeForPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6256a4106f701b7d, []int{22} + return fileDescriptor_6256a4106f701b7d, []int{24} } func (m *TotalVolumeForPoolRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1173,7 +1264,7 @@ func (m *TotalVolumeForPoolResponse) Reset() { *m = TotalVolumeForPoolRe func (m *TotalVolumeForPoolResponse) String() string { return proto.CompactTextString(m) } func (*TotalVolumeForPoolResponse) ProtoMessage() {} func (*TotalVolumeForPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6256a4106f701b7d, []int{23} + return fileDescriptor_6256a4106f701b7d, []int{25} } func (m *TotalVolumeForPoolResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1219,7 +1310,7 @@ func (m *TradingPairTakerFeeRequest) Reset() { *m = TradingPairTakerFeeR func (m *TradingPairTakerFeeRequest) String() string { return proto.CompactTextString(m) } func (*TradingPairTakerFeeRequest) ProtoMessage() {} func (*TradingPairTakerFeeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6256a4106f701b7d, []int{24} + return fileDescriptor_6256a4106f701b7d, []int{26} } func (m *TradingPairTakerFeeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1270,7 +1361,7 @@ func (m *TradingPairTakerFeeResponse) Reset() { *m = TradingPairTakerFee func (m *TradingPairTakerFeeResponse) String() string { return proto.CompactTextString(m) } func (*TradingPairTakerFeeResponse) ProtoMessage() {} func (*TradingPairTakerFeeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6256a4106f701b7d, []int{25} + return fileDescriptor_6256a4106f701b7d, []int{27} } func (m *TradingPairTakerFeeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1326,7 +1417,7 @@ func (m *EstimateTradeBasedOnPriceImpactRequest) Reset() { func (m *EstimateTradeBasedOnPriceImpactRequest) String() string { return proto.CompactTextString(m) } func (*EstimateTradeBasedOnPriceImpactRequest) ProtoMessage() {} func (*EstimateTradeBasedOnPriceImpactRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6256a4106f701b7d, []int{26} + return fileDescriptor_6256a4106f701b7d, []int{28} } func (m *EstimateTradeBasedOnPriceImpactRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1395,7 +1486,7 @@ func (m *EstimateTradeBasedOnPriceImpactResponse) Reset() { func (m *EstimateTradeBasedOnPriceImpactResponse) String() string { return proto.CompactTextString(m) } func (*EstimateTradeBasedOnPriceImpactResponse) ProtoMessage() {} func (*EstimateTradeBasedOnPriceImpactResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6256a4106f701b7d, []int{27} + return fileDescriptor_6256a4106f701b7d, []int{29} } func (m *EstimateTradeBasedOnPriceImpactResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1455,6 +1546,8 @@ func init() { proto.RegisterType((*PoolResponse)(nil), "osmosis.poolmanager.v1beta1.PoolResponse") proto.RegisterType((*AllPoolsRequest)(nil), "osmosis.poolmanager.v1beta1.AllPoolsRequest") proto.RegisterType((*AllPoolsResponse)(nil), "osmosis.poolmanager.v1beta1.AllPoolsResponse") + proto.RegisterType((*ListPoolsByDenomRequest)(nil), "osmosis.poolmanager.v1beta1.ListPoolsByDenomRequest") + proto.RegisterType((*ListPoolsByDenomResponse)(nil), "osmosis.poolmanager.v1beta1.ListPoolsByDenomResponse") proto.RegisterType((*SpotPriceRequest)(nil), "osmosis.poolmanager.v1beta1.SpotPriceRequest") proto.RegisterType((*SpotPriceResponse)(nil), "osmosis.poolmanager.v1beta1.SpotPriceResponse") proto.RegisterType((*TotalPoolLiquidityRequest)(nil), "osmosis.poolmanager.v1beta1.TotalPoolLiquidityRequest") @@ -1474,130 +1567,135 @@ func init() { } var fileDescriptor_6256a4106f701b7d = []byte{ - // 1964 bytes of a gzipped FileDescriptorProto + // 2046 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xcd, 0x73, 0x1b, 0x49, - 0x15, 0xcf, 0xc8, 0x8a, 0xd7, 0x7a, 0x8e, 0x65, 0xa7, 0x13, 0x27, 0xb6, 0x12, 0x2c, 0x6f, 0x67, - 0xc9, 0x7a, 0xe3, 0x78, 0x14, 0xdb, 0x59, 0x12, 0x02, 0xbb, 0x59, 0xcb, 0x76, 0x36, 0x82, 0x85, - 0x98, 0x89, 0xf7, 0x83, 0x85, 0x30, 0x35, 0xb6, 0x3a, 0xca, 0x10, 0xcd, 0xb4, 0xa2, 0xe9, 0x71, - 0xec, 0xa2, 0xf6, 0x42, 0x15, 0x05, 0x27, 0x6a, 0x81, 0xc3, 0x1e, 0x38, 0x50, 0x1c, 0xb8, 0xf0, - 0x71, 0x83, 0xff, 0x21, 0xb5, 0x55, 0x50, 0xa9, 0x82, 0x2a, 0x28, 0x0e, 0x82, 0x4a, 0x38, 0x50, - 0x05, 0xc5, 0x41, 0xfc, 0x03, 0x54, 0x7f, 0xcc, 0x48, 0x1a, 0x4b, 0xa3, 0x91, 0x9c, 0x03, 0x27, - 0x4b, 0xdd, 0xef, 0xbd, 0x7e, 0xbf, 0x5f, 0xbf, 0xd7, 0xdd, 0x3f, 0x19, 0x5e, 0xa5, 0x9e, 0x43, - 0x3d, 0xdb, 0x2b, 0xd4, 0x28, 0xad, 0x3a, 0x96, 0x6b, 0x55, 0x48, 0xbd, 0xb0, 0xb7, 0xbc, 0x43, - 0x98, 0xb5, 0x5c, 0x78, 0xe4, 0x93, 0xfa, 0x81, 0x5e, 0xab, 0x53, 0x46, 0xd1, 0x39, 0x65, 0xa8, - 0xb7, 0x19, 0xea, 0x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x1f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1638,6 +1736,8 @@ type QueryClient interface { Pool(ctx context.Context, in *PoolRequest, opts ...grpc.CallOption) (*PoolResponse, error) // AllPools returns all pools on the Osmosis chain sorted by IDs. AllPools(ctx context.Context, in *AllPoolsRequest, opts ...grpc.CallOption) (*AllPoolsResponse, error) + // ListPoolsByDenom return all pools by denom + ListPoolsByDenom(ctx context.Context, in *ListPoolsByDenomRequest, opts ...grpc.CallOption) (*ListPoolsByDenomResponse, error) // SpotPrice defines a gRPC query handler that returns the spot price given // a base denomination and a quote denomination. SpotPrice(ctx context.Context, in *SpotPriceRequest, opts ...grpc.CallOption) (*SpotPriceResponse, error) @@ -1753,6 +1853,15 @@ func (c *queryClient) AllPools(ctx context.Context, in *AllPoolsRequest, opts .. return out, nil } +func (c *queryClient) ListPoolsByDenom(ctx context.Context, in *ListPoolsByDenomRequest, opts ...grpc.CallOption) (*ListPoolsByDenomResponse, error) { + out := new(ListPoolsByDenomResponse) + err := c.cc.Invoke(ctx, "/osmosis.poolmanager.v1beta1.Query/ListPoolsByDenom", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) SpotPrice(ctx context.Context, in *SpotPriceRequest, opts ...grpc.CallOption) (*SpotPriceResponse, error) { out := new(SpotPriceResponse) err := c.cc.Invoke(ctx, "/osmosis.poolmanager.v1beta1.Query/SpotPrice", in, out, opts...) @@ -1835,6 +1944,8 @@ type QueryServer interface { Pool(context.Context, *PoolRequest) (*PoolResponse, error) // AllPools returns all pools on the Osmosis chain sorted by IDs. AllPools(context.Context, *AllPoolsRequest) (*AllPoolsResponse, error) + // ListPoolsByDenom return all pools by denom + ListPoolsByDenom(context.Context, *ListPoolsByDenomRequest) (*ListPoolsByDenomResponse, error) // SpotPrice defines a gRPC query handler that returns the spot price given // a base denomination and a quote denomination. SpotPrice(context.Context, *SpotPriceRequest) (*SpotPriceResponse, error) @@ -1886,6 +1997,9 @@ func (*UnimplementedQueryServer) Pool(ctx context.Context, req *PoolRequest) (*P func (*UnimplementedQueryServer) AllPools(ctx context.Context, req *AllPoolsRequest) (*AllPoolsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AllPools not implemented") } +func (*UnimplementedQueryServer) ListPoolsByDenom(ctx context.Context, req *ListPoolsByDenomRequest) (*ListPoolsByDenomResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListPoolsByDenom not implemented") +} func (*UnimplementedQueryServer) SpotPrice(ctx context.Context, req *SpotPriceRequest) (*SpotPriceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SpotPrice not implemented") } @@ -2089,6 +2203,24 @@ func _Query_AllPools_Handler(srv interface{}, ctx context.Context, dec func(inte return interceptor(ctx, in, info, handler) } +func _Query_ListPoolsByDenom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListPoolsByDenomRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).ListPoolsByDenom(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.poolmanager.v1beta1.Query/ListPoolsByDenom", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).ListPoolsByDenom(ctx, req.(*ListPoolsByDenomRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_SpotPrice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SpotPriceRequest) if err := dec(in); err != nil { @@ -2241,6 +2373,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "AllPools", Handler: _Query_AllPools_Handler, }, + { + MethodName: "ListPoolsByDenom", + Handler: _Query_ListPoolsByDenom_Handler, + }, { MethodName: "SpotPrice", Handler: _Query_SpotPrice_Handler, @@ -2872,6 +3008,73 @@ func (m *AllPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *ListPoolsByDenomRequest) 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 *ListPoolsByDenomRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListPoolsByDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Denom) > 0 { + i -= len(m.Denom) + copy(dAtA[i:], m.Denom) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Denom))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ListPoolsByDenomResponse) 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 *ListPoolsByDenomResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListPoolsByDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Pools) > 0 { + for iNdEx := len(m.Pools) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Pools[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *SpotPriceRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -3577,6 +3780,34 @@ func (m *AllPoolsResponse) Size() (n int) { return n } +func (m *ListPoolsByDenomRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Denom) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *ListPoolsByDenomResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Pools) > 0 { + for _, e := range m.Pools { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + return n +} + func (m *SpotPriceRequest) Size() (n int) { if m == nil { return 0 @@ -5420,6 +5651,172 @@ func (m *AllPoolsResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *ListPoolsByDenomRequest) 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: ListPoolsByDenomRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListPoolsByDenomRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Denom", 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.Denom = 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 *ListPoolsByDenomResponse) 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: ListPoolsByDenomResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListPoolsByDenomResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pools", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Pools = append(m.Pools, &types1.Any{}) + if err := m.Pools[len(m.Pools)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + 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 *SpotPriceRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/poolmanager/client/queryproto/query.pb.gw.go b/x/poolmanager/client/queryproto/query.pb.gw.go index a22f9280715..5053847b8d3 100644 --- a/x/poolmanager/client/queryproto/query.pb.gw.go +++ b/x/poolmanager/client/queryproto/query.pb.gw.go @@ -573,6 +573,42 @@ func local_request_Query_AllPools_0(ctx context.Context, marshaler runtime.Marsh } +var ( + filter_Query_ListPoolsByDenom_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_ListPoolsByDenom_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ListPoolsByDenomRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ListPoolsByDenom_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListPoolsByDenom(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_ListPoolsByDenom_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ListPoolsByDenomRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ListPoolsByDenom_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListPoolsByDenom(ctx, &protoReq) + return msg, metadata, err + +} + var ( filter_Query_SpotPrice_0 = &utilities.DoubleArray{Encoding: map[string]int{"pool_id": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} ) @@ -1115,6 +1151,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_ListPoolsByDenom_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_ListPoolsByDenom_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_ListPoolsByDenom_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_SpotPrice_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1494,6 +1553,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_ListPoolsByDenom_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_ListPoolsByDenom_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_ListPoolsByDenom_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_SpotPrice_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1638,6 +1717,8 @@ var ( pattern_Query_AllPools_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"osmosis", "poolmanager", "v1beta1", "all-pools"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_ListPoolsByDenom_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"osmosis", "poolmanager", "v1beta1", "list-pools-by-denom"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_SpotPrice_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"osmosis", "poolmanager", "pools", "pool_id", "prices"}, "", 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", "poolmanager", "v1beta1", "pools", "pool_id", "total_pool_liquidity"}, "", runtime.AssumeColonVerbOpt(false))) @@ -1672,6 +1753,8 @@ var ( forward_Query_AllPools_0 = runtime.ForwardResponseMessage + forward_Query_ListPoolsByDenom_0 = runtime.ForwardResponseMessage + forward_Query_SpotPrice_0 = runtime.ForwardResponseMessage forward_Query_TotalPoolLiquidity_0 = runtime.ForwardResponseMessage diff --git a/x/poolmanager/router.go b/x/poolmanager/router.go index 12a9f375951..0deaf1ff015 100644 --- a/x/poolmanager/router.go +++ b/x/poolmanager/router.go @@ -545,6 +545,38 @@ func (k Keeper) AllPools( return sortedPools, nil } +// ListPoolsByDenom returns all pools by denom sorted by their ids +// from every pool module registered in the +// pool manager keeper. +func (k Keeper) ListPoolsByDenom( + ctx sdk.Context, + denom string, +) ([]types.PoolI, error) { + less := func(i, j types.PoolI) bool { + return i.GetId() < j.GetId() + } + var sortedPools []types.PoolI + for _, poolModule := range k.poolModules { + currentModulePools, err := poolModule.GetPools(ctx) + if err != nil { + return nil, err + } + + var poolsByDenom []types.PoolI + for _, pool := range currentModulePools { + coins, err := k.GetTotalPoolLiquidity(ctx, pool.GetId()) + if err != nil { + return nil, err + } + if coins.AmountOf(denom).GT(osmomath.ZeroInt()) { + poolsByDenom = append(poolsByDenom, pool) + } + } + sortedPools = osmoutils.MergeSlices(sortedPools, poolsByDenom, less) + } + return sortedPools, nil +} + // createMultihopExpectedSwapOuts defines the output denom and output amount for the last pool in // the routeStep of pools the caller is intending to hop through in a fixed-output multihop tx. It estimates the input // amount for this last pool and then chains that input as the output of the previous pool in the routeStep, repeating diff --git a/x/poolmanager/router_test.go b/x/poolmanager/router_test.go index a9b84f3966a..bf8b4028d6c 100644 --- a/x/poolmanager/router_test.go +++ b/x/poolmanager/router_test.go @@ -3814,3 +3814,82 @@ func (s *KeeperTestSuite) testSwapExactAmpountInVolumeTracked(noTakerFeeVariant totalVolume = s.App.PoolManagerKeeper.GetTotalVolumeForPool(s.Ctx, concentratedPool.GetId()) s.Require().Equal(tokenIn.String(), totalVolume.String()) } + +func (suite *KeeperTestSuite) TestListPoolsByDenom() { + suite.Setup() + + tests := map[string]struct { + denom string + poolCoins []sdk.Coins + expectedNumPools int + expectedError bool + poolType []types.PoolType + }{ + "Single pool, pool contain denom": { + poolType: []types.PoolType{types.Balancer}, + poolCoins: []sdk.Coins{ + sdk.NewCoins(sdk.NewCoin(BAR, defaultInitPoolAmount), sdk.NewCoin(UOSMO, defaultInitPoolAmount)), // pool 1 bar-uosmo + }, + denom: BAR, + expectedNumPools: 1, + }, + "Single pool, pool does not contain denom": { + poolType: []types.PoolType{types.Balancer}, + poolCoins: []sdk.Coins{ + sdk.NewCoins(sdk.NewCoin(BAR, defaultInitPoolAmount), sdk.NewCoin(UOSMO, defaultInitPoolAmount)), // pool 1 bar-uosmo + }, + denom: FOO, + expectedNumPools: 0, + }, + "Two pools, pools contains denom": { + poolType: []types.PoolType{types.Balancer, types.Balancer}, + poolCoins: []sdk.Coins{ + sdk.NewCoins(sdk.NewCoin(BAR, defaultInitPoolAmount), sdk.NewCoin(UOSMO, defaultInitPoolAmount)), // pool 1 bar-uosmo + sdk.NewCoins(sdk.NewCoin(BAR, defaultInitPoolAmount), sdk.NewCoin(FOO, defaultInitPoolAmount)), // pool 2. baz-foo + }, + denom: BAR, + expectedNumPools: 2, + }, + "Two pools, pools does not contains denom": { + poolType: []types.PoolType{types.Balancer, types.Concentrated}, + poolCoins: []sdk.Coins{ + sdk.NewCoins(sdk.NewCoin(BAR, defaultInitPoolAmount), sdk.NewCoin(UOSMO, defaultInitPoolAmount)), // pool 1 bar-uosmo + sdk.NewCoins(sdk.NewCoin(BAZ, defaultInitPoolAmount), sdk.NewCoin(UOSMO, defaultInitPoolAmount)), // pool 2. baz-foo + }, + denom: FOO, + expectedNumPools: 0, + }, + "Many pools": { + poolType: []types.PoolType{types.Concentrated, types.Balancer, types.Concentrated, types.Balancer}, + poolCoins: []sdk.Coins{ + sdk.NewCoins(sdk.NewCoin(BAR, defaultInitPoolAmount), sdk.NewCoin(UOSMO, defaultInitPoolAmount)), // pool 1 bar-uosmo + sdk.NewCoins(sdk.NewCoin(BAZ, defaultInitPoolAmount), sdk.NewCoin(FOO, defaultInitPoolAmount)), // pool 2. baz-foo + sdk.NewCoins(sdk.NewCoin(BAR, defaultInitPoolAmount), sdk.NewCoin(BAZ, defaultInitPoolAmount)), // pool 3. bar-baz + sdk.NewCoins(sdk.NewCoin(BAZ, defaultInitPoolAmount), sdk.NewCoin(UOSMO, defaultInitPoolAmount)), // pool 4. baz-uosmo + }, + denom: BAR, + expectedNumPools: 2, + }, + } + + for name, tc := range tests { + suite.Run(name, func() { + suite.SetupTest() + ctx := suite.Ctx + poolManagerKeeper := suite.App.PoolManagerKeeper + + for i := range tc.poolType { + suite.FundAcc(suite.TestAccs[0], tc.poolCoins[i]) + suite.CreatePoolFromTypeWithCoins(tc.poolType[i], tc.poolCoins[i]) + } + + poolsResult, err := poolManagerKeeper.ListPoolsByDenom(ctx, tc.denom) + if tc.expectedError { + suite.Require().Error(err) + } else { + suite.Require().NoError(err) + suite.Require().Equal(tc.expectedNumPools, len(poolsResult)) + } + }) + } +}