diff --git a/CHANGELOG.md b/CHANGELOG.md index e3b7e552a8f..bddff023ddc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,6 +52,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### State Compatible * [#8494](https://github.com/osmosis-labs/osmosis/pull/8494) Add additional events in x/lockup, x/superfluid, x/concentratedliquidity +* [#8504](https://github.com/osmosis-labs/osmosis/pull/8504) Add missing module params query to CLI + ## v25.2.0 * [#8455](https://github.com/osmosis-labs/osmosis/pull/8455) Further comet mempool improvements diff --git a/cmd/osmosisd/cmd/root.go b/cmd/osmosisd/cmd/root.go index d435ba4b4dd..053540231bf 100644 --- a/cmd/osmosisd/cmd/root.go +++ b/cmd/osmosisd/cmd/root.go @@ -524,7 +524,7 @@ func overwriteConfigTomlValues(serverCtx *server.Context) error { }() // Check if the file is writable - if fileInfo.Mode()&os.FileMode(0200) != 0 { + if fileInfo.Mode()&os.FileMode(0o200) != 0 { // It will be re-read in server.InterceptConfigsPreRunHandler // this may panic for permissions issues. So we catch the panic. // Note that this exits with a non-zero exit code if fails to write the file. @@ -585,7 +585,7 @@ func overwriteAppTomlValues(serverCtx *server.Context) error { } // Check if the file is writable - if fileInfo.Mode()&os.FileMode(0200) != 0 { + if fileInfo.Mode()&os.FileMode(0o200) != 0 { // It will be re-read in server.InterceptConfigsPreRunHandler // this may panic for permissions issues. So we catch the panic. // Note that this exits with a non-zero exit code if fails to write the file. @@ -640,7 +640,7 @@ func initAppConfig() (string, interface{}) { WasmConfig wasmtypes.WasmConfig `mapstructure:"wasm"` } - var DefaultOsmosisMempoolConfig = OsmosisMempoolConfig{ + DefaultOsmosisMempoolConfig := OsmosisMempoolConfig{ MaxGasWantedPerTx: "60000000", MinGasPriceForArbitrageTx: ".1", MinGasPriceForHighGasTx: ".0025", @@ -816,6 +816,7 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig, t txCommand(tempApp.ModuleBasics), keys.Commands(), ) + rootCmd.AddCommand(CmdListQueries(rootCmd)) // add rosetta rootCmd.AddCommand(rosettaCmd.RosettaCommand(encodingConfig.InterfaceRegistry, encodingConfig.Marshaler)) } @@ -826,6 +827,28 @@ func addModuleInitFlags(startCmd *cobra.Command) { startCmd.Flags().Bool(FlagRejectConfigDefaults, false, "Reject some select recommended default values from being automatically set in the config.toml and app.toml") } +// CmdListQueries list all available modules' queries +func CmdListQueries(rootCmd *cobra.Command) *cobra.Command { + cmd := &cobra.Command{ + Use: "list-queries", + Short: "listing all available modules' queries", + RunE: func(cmd *cobra.Command, args []string) error { + for _, cmd := range rootCmd.Commands() { + if cmd.Name() != "query" { + continue + } + for _, cmd := range cmd.Commands() { + for _, cmd := range cmd.Commands() { + fmt.Println(cmd.CommandPath()) + } + } + } + return nil + }, + } + return cmd +} + func CmdModuleNameToAddress() *cobra.Command { cmd := &cobra.Command{ Use: "module-name-to-address [module-name]", diff --git a/proto/osmosis/gamm/v1beta1/genesis.proto b/proto/osmosis/gamm/v1beta1/genesis.proto index e98b137e8f4..d92ce8f6e2d 100644 --- a/proto/osmosis/gamm/v1beta1/genesis.proto +++ b/proto/osmosis/gamm/v1beta1/genesis.proto @@ -6,15 +6,7 @@ import "google/protobuf/any.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/base/v1beta1/coin.proto"; import "osmosis/gamm/v1beta1/shared.proto"; - -// Params holds parameters for the incentives module -message Params { - repeated cosmos.base.v1beta1.Coin pool_creation_fee = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"pool_creation_fee\"", - (gogoproto.nullable) = false - ]; -} +import "osmosis/gamm/v1beta1/params.proto"; option go_package = "github.com/osmosis-labs/osmosis/v25/x/gamm/types"; diff --git a/proto/osmosis/gamm/v1beta1/params.proto b/proto/osmosis/gamm/v1beta1/params.proto new file mode 100644 index 00000000000..046f47e1241 --- /dev/null +++ b/proto/osmosis/gamm/v1beta1/params.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package osmosis.gamm.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; + +option go_package = "github.com/osmosis-labs/osmosis/v25/x/gamm/types"; + +// Params holds parameters for the incentives module +message Params { + repeated cosmos.base.v1beta1.Coin pool_creation_fee = 1 [ + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.moretags) = "yaml:\"pool_creation_fee\"", + (gogoproto.nullable) = false + ]; +} \ No newline at end of file diff --git a/proto/osmosis/gamm/v1beta1/query.proto b/proto/osmosis/gamm/v1beta1/query.proto index 6dd9955dbb2..710e4bbdf42 100644 --- a/proto/osmosis/gamm/v1beta1/query.proto +++ b/proto/osmosis/gamm/v1beta1/query.proto @@ -11,6 +11,7 @@ import "google/api/annotations.proto"; import "google/protobuf/any.proto"; import "cosmos_proto/cosmos.proto"; import "osmosis/gamm/v1beta1/shared.proto"; +import "osmosis/gamm/v1beta1/params.proto"; option go_package = "github.com/osmosis-labs/osmosis/v25/x/gamm/types"; @@ -124,8 +125,17 @@ service Query { option (google.api.http).get = "/osmosis/gamm/v1beta1/cfmm_concentrated_pool_links"; } + + // Params returns gamm module params. + rpc Params(ParamsRequest) returns (ParamsResponse) { + option (google.api.http).get = "/osmosis/gamm/v1beta1/params"; + } } +//=============================== Params +message ParamsRequest {} +message ParamsResponse { Params params = 1 [ (gogoproto.nullable) = false ]; } + //=============================== Pool // Deprecated: please use the alternative in x/poolmanager message QueryPoolRequest { diff --git a/proto/osmosis/incentives/query.proto b/proto/osmosis/incentives/query.proto index 25eba82758a..bb0fdd8bf2d 100644 --- a/proto/osmosis/incentives/query.proto +++ b/proto/osmosis/incentives/query.proto @@ -9,6 +9,7 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "osmosis/incentives/gauge.proto"; import "osmosis/lockup/lock.proto"; import "osmosis/incentives/group.proto"; +import "osmosis/incentives/params.proto"; option go_package = "github.com/osmosis-labs/osmosis/v25/x/incentives/types"; @@ -95,6 +96,10 @@ service Query { "/osmosis/incentives/v1beta1/current_weight_by_group_gauge_id/" "{group_gauge_id}"; } + // Params returns incentives module params. + rpc Params(ParamsRequest) returns (ParamsResponse) { + option (google.api.http).get = "/osmosis/incentives/v1beta1/params"; + } } message ModuleToDistributeCoinsRequest {} @@ -236,4 +241,7 @@ message GaugeWeight { (gogoproto.moretags) = "yaml:\"weight_ratio\"", (gogoproto.nullable) = false ]; -} \ No newline at end of file +} + +message ParamsRequest {} +message ParamsResponse { Params params = 1 [ (gogoproto.nullable) = false ]; } \ No newline at end of file diff --git a/x/gamm/client/cli/query.go b/x/gamm/client/cli/query.go index 6ae558e105c..e3ee9cc4608 100644 --- a/x/gamm/client/cli/query.go +++ b/x/gamm/client/cli/query.go @@ -30,6 +30,10 @@ func GetQueryCmd() *cobra.Command { osmocli.AddQueryCmd(cmd, types.NewQueryClient, GetCmdEstimateSwapExactAmountOut) osmocli.AddQueryCmd(cmd, types.NewQueryClient, GetConcentratedPoolIdLinkFromCFMMRequest) osmocli.AddQueryCmd(cmd, types.NewQueryClient, GetCFMMConcentratedPoolLinksRequest) + cmd.AddCommand( + osmocli.GetParams[*types.ParamsRequest]( + types.ModuleName, types.NewQueryClient), + ) cmd.AddCommand( GetCmdNumPools(), GetCmdPoolParams(), diff --git a/x/gamm/keeper/grpc_query.go b/x/gamm/keeper/grpc_query.go index 3f84126d107..4bf6a1020be 100644 --- a/x/gamm/keeper/grpc_query.go +++ b/x/gamm/keeper/grpc_query.go @@ -44,6 +44,17 @@ func NewV2Querier(k Keeper) QuerierV2 { return QuerierV2{Keeper: k} } +func (q Querier) Params(ctx context.Context, req *types.ParamsRequest) (*types.ParamsResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "empty request") + } + sdkCtx := sdk.UnwrapSDKContext(ctx) + params := q.Keeper.GetParams(sdkCtx) + return &types.ParamsResponse{ + Params: params, + }, nil +} + // Pool checks if a pool exists and their respective poolWeights. // Deprecated: use x/poolmanager's Pool query. // nolint: staticcheck diff --git a/x/gamm/keeper/grpc_query_test.go b/x/gamm/keeper/grpc_query_test.go index 5959126778f..89b2588712b 100644 --- a/x/gamm/keeper/grpc_query_test.go +++ b/x/gamm/keeper/grpc_query_test.go @@ -17,6 +17,17 @@ import ( poolmanagertypes "github.com/osmosis-labs/osmosis/v25/x/poolmanager/types" ) +func (s *KeeperTestSuite) TestParams() { + queryClient := s.queryClient + ctx := s.Ctx + + expectedParams := s.App.GAMMKeeper.GetParams(s.Ctx) + + params, err := queryClient.Params(ctx, &types.ParamsRequest{}) + s.Require().NoError(err) + s.Require().Equal(expectedParams, params.Params) +} + func (s *KeeperTestSuite) TestCalcExitPoolCoinsFromShares() { queryClient := s.queryClient ctx := s.Ctx diff --git a/x/gamm/types/genesis.pb.go b/x/gamm/types/genesis.pb.go index 90999e4c7fa..ee72f82a791 100644 --- a/x/gamm/types/genesis.pb.go +++ b/x/gamm/types/genesis.pb.go @@ -6,9 +6,8 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - types1 "github.com/cosmos/cosmos-sdk/codec/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" + types "github.com/cosmos/cosmos-sdk/codec/types" + _ "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" migration "github.com/osmosis-labs/osmosis/v25/x/gamm/types/migration" @@ -28,54 +27,9 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// Params holds parameters for the incentives module -type Params struct { - PoolCreationFee github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=pool_creation_fee,json=poolCreationFee,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"pool_creation_fee" yaml:"pool_creation_fee"` -} - -func (m *Params) Reset() { *m = Params{} } -func (m *Params) String() string { return proto.CompactTextString(m) } -func (*Params) ProtoMessage() {} -func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_5a324eb7f1dd793e, []int{0} -} -func (m *Params) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Params.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 *Params) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params.Merge(m, src) -} -func (m *Params) XXX_Size() int { - return m.Size() -} -func (m *Params) XXX_DiscardUnknown() { - xxx_messageInfo_Params.DiscardUnknown(m) -} - -var xxx_messageInfo_Params proto.InternalMessageInfo - -func (m *Params) GetPoolCreationFee() github_com_cosmos_cosmos_sdk_types.Coins { - if m != nil { - return m.PoolCreationFee - } - return nil -} - // GenesisState defines the gamm module's genesis state. type GenesisState struct { - Pools []*types1.Any `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools,omitempty"` + Pools []*types.Any `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools,omitempty"` // will be renamed to next_pool_id in an upcoming version NextPoolNumber uint64 `protobuf:"varint,2,opt,name=next_pool_number,json=nextPoolNumber,proto3" json:"next_pool_number,omitempty"` Params Params `protobuf:"bytes,3,opt,name=params,proto3" json:"params"` @@ -86,7 +40,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_5a324eb7f1dd793e, []int{1} + return fileDescriptor_5a324eb7f1dd793e, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -115,7 +69,7 @@ func (m *GenesisState) XXX_DiscardUnknown() { var xxx_messageInfo_GenesisState proto.InternalMessageInfo -func (m *GenesisState) GetPools() []*types1.Any { +func (m *GenesisState) GetPools() []*types.Any { if m != nil { return m.Pools } @@ -144,7 +98,6 @@ func (m *GenesisState) GetMigrationRecords() *migration.MigrationRecords { } func init() { - proto.RegisterType((*Params)(nil), "osmosis.gamm.v1beta1.Params") proto.RegisterType((*GenesisState)(nil), "osmosis.gamm.v1beta1.GenesisState") } @@ -153,72 +106,30 @@ func init() { } var fileDescriptor_5a324eb7f1dd793e = []byte{ - // 444 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xcf, 0x6e, 0xd3, 0x40, - 0x10, 0xc6, 0xe3, 0x36, 0x8d, 0x84, 0x8b, 0xa0, 0xb5, 0x72, 0x70, 0x2b, 0xe4, 0x04, 0x1f, 0x90, - 0x2f, 0xd9, 0xa5, 0x41, 0xbd, 0xf4, 0x46, 0x2a, 0x81, 0x40, 0x80, 0x2a, 0xf7, 0xc6, 0x25, 0x5a, - 0x3b, 0x53, 0xd7, 0xc2, 0xeb, 0x89, 0x76, 0x37, 0x55, 0x7d, 0xe3, 0x11, 0x90, 0xb8, 0xf3, 0x00, - 0x9c, 0x79, 0x88, 0x8a, 0x53, 0x8f, 0x9c, 0x02, 0x4a, 0xde, 0x80, 0x27, 0x40, 0xfb, 0xc7, 0x08, - 0xd1, 0x9c, 0xec, 0x99, 0xf9, 0xcd, 0xb7, 0x33, 0xdf, 0xf8, 0x31, 0x4a, 0x8e, 0xb2, 0x94, 0xb4, - 0x60, 0x9c, 0xd3, 0xab, 0xa3, 0x0c, 0x14, 0x3b, 0xa2, 0x05, 0xd4, 0x20, 0x4b, 0x49, 0xe6, 0x02, - 0x15, 0x06, 0x7d, 0xc7, 0x10, 0xcd, 0x10, 0xc7, 0x1c, 0xf6, 0x0b, 0x2c, 0xd0, 0x00, 0x54, 0xff, - 0x59, 0xf6, 0xf0, 0xa0, 0x40, 0x2c, 0x2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x86, 0x5e, - 0xd2, 0x4d, 0x1f, 0xe8, 0xbc, 0x66, 0xdf, 0x99, 0x6c, 0x70, 0xe2, 0xf7, 0xe6, 0xc6, 0x91, 0x70, - 0x7b, 0xe8, 0x25, 0xbb, 0xe3, 0x47, 0x64, 0xd3, 0x21, 0x89, 0x75, 0x6d, 0xd2, 0xd5, 0xeb, 0xa7, - 0xae, 0x23, 0x38, 0xf7, 0xf7, 0x79, 0x59, 0x08, 0xbb, 0xbc, 0x80, 0x1c, 0xc5, 0x4c, 0x86, 0x5d, - 0x23, 0xf3, 0x64, 0xb3, 0xcc, 0xdb, 0x16, 0x4f, 0x2d, 0x9d, 0xee, 0xf1, 0xff, 0x32, 0x93, 0xd7, - 0x37, 0xab, 0xc8, 0xbb, 0x5d, 0x45, 0xde, 0xaf, 0x55, 0xe4, 0x7d, 0x5a, 0x47, 0x9d, 0xdb, 0x75, - 0xd4, 0xf9, 0xb1, 0x8e, 0x3a, 0xef, 0x9f, 0xfe, 0xe3, 0xab, 0x53, 0x1f, 0x55, 0x2c, 0x93, 0x6d, - 0x40, 0xaf, 0xc6, 0xc7, 0xf4, 0xda, 0x9e, 0xdf, 0xb8, 0x9c, 0xf5, 0x8c, 0x4d, 0xcf, 0xfe, 0x04, - 0x00, 0x00, 0xff, 0xff, 0xbf, 0xb0, 0xca, 0x68, 0xc1, 0x02, 0x00, 0x00, -} - -func (m *Params) 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 *Params) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PoolCreationFee) > 0 { - for iNdEx := len(m.PoolCreationFee) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PoolCreationFee[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenesis(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil + // 363 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4e, 0xf2, 0x40, + 0x14, 0xc5, 0x5b, 0xfe, 0x25, 0x5f, 0xf9, 0x62, 0xb0, 0x61, 0x51, 0x89, 0xa9, 0xc8, 0xc2, 0x74, + 0xc3, 0x8c, 0x60, 0xd8, 0xb8, 0x93, 0x8d, 0xd1, 0x44, 0x43, 0xca, 0xce, 0x4d, 0x33, 0x2d, 0xe3, + 0xd0, 0xa4, 0xd3, 0xdb, 0x74, 0x06, 0x02, 0x3b, 0x1f, 0xc1, 0x87, 0xf1, 0x21, 0x88, 0x2b, 0x96, + 0xae, 0x8c, 0x81, 0x17, 0x31, 0xed, 0xb4, 0x2e, 0x0c, 0x71, 0xd7, 0x73, 0xef, 0xef, 0x9e, 0x9e, + 0x39, 0x46, 0x0f, 0x04, 0x07, 0x11, 0x0a, 0xcc, 0x08, 0xe7, 0x78, 0x39, 0xf0, 0xa9, 0x24, 0x03, + 0xcc, 0x68, 0x4c, 0x45, 0x28, 0x50, 0x92, 0x82, 0x04, 0xb3, 0x5d, 0x30, 0x28, 0x63, 0x50, 0xc1, + 0x74, 0xda, 0x0c, 0x18, 0xe4, 0x00, 0xce, 0xbe, 0x14, 0xdb, 0x39, 0x61, 0x00, 0x2c, 0xa2, 0x38, + 0x57, 0xfe, 0xe2, 0x19, 0x93, 0x78, 0x5d, 0xae, 0x82, 0xdc, 0xc7, 0x53, 0x37, 0x4a, 0x14, 0x2b, + 0x5b, 0x29, 0xec, 0x13, 0x41, 0x7f, 0x42, 0x04, 0x10, 0xc6, 0xc5, 0xfe, 0xfc, 0x60, 0x4a, 0x31, + 0x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xb9, 0x4e, 0xa8, 0xf0, 0x1b, 0x79, 0x4d, 0x57, 0xdf, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x5a, 0x07, 0xb3, 0x16, 0x43, 0x02, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -296,21 +207,6 @@ func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } -func (m *Params) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.PoolCreationFee) > 0 { - for _, e := range m.PoolCreationFee { - l = e.Size() - n += 1 + l + sovGenesis(uint64(l)) - } - } - return n -} - func (m *GenesisState) Size() (n int) { if m == nil { return 0 @@ -341,90 +237,6 @@ func sovGenesis(x uint64) (n int) { func sozGenesis(x uint64) (n int) { return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *Params) 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 ErrIntOverflowGenesis - } - 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: Params: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PoolCreationFee", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PoolCreationFee = append(m.PoolCreationFee, types.Coin{}) - if err := m.PoolCreationFee[len(m.PoolCreationFee)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenesis(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenesis - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *GenesisState) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -483,7 +295,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Pools = append(m.Pools, &types1.Any{}) + m.Pools = append(m.Pools, &types.Any{}) if err := m.Pools[len(m.Pools)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } diff --git a/x/gamm/types/params.pb.go b/x/gamm/types/params.pb.go new file mode 100644 index 00000000000..cc321423d11 --- /dev/null +++ b/x/gamm/types/params.pb.go @@ -0,0 +1,338 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: osmosis/gamm/v1beta1/params.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// Params holds parameters for the incentives module +type Params struct { + PoolCreationFee github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=pool_creation_fee,json=poolCreationFee,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"pool_creation_fee" yaml:"pool_creation_fee"` +} + +func (m *Params) Reset() { *m = Params{} } +func (m *Params) String() string { return proto.CompactTextString(m) } +func (*Params) ProtoMessage() {} +func (*Params) Descriptor() ([]byte, []int) { + return fileDescriptor_8e29150f8b2a668b, []int{0} +} +func (m *Params) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Params.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 *Params) XXX_Merge(src proto.Message) { + xxx_messageInfo_Params.Merge(m, src) +} +func (m *Params) XXX_Size() int { + return m.Size() +} +func (m *Params) XXX_DiscardUnknown() { + xxx_messageInfo_Params.DiscardUnknown(m) +} + +var xxx_messageInfo_Params proto.InternalMessageInfo + +func (m *Params) GetPoolCreationFee() github_com_cosmos_cosmos_sdk_types.Coins { + if m != nil { + return m.PoolCreationFee + } + return nil +} + +func init() { + proto.RegisterType((*Params)(nil), "osmosis.gamm.v1beta1.Params") +} + +func init() { proto.RegisterFile("osmosis/gamm/v1beta1/params.proto", fileDescriptor_8e29150f8b2a668b) } + +var fileDescriptor_8e29150f8b2a668b = []byte{ + // 278 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xcc, 0x2f, 0xce, 0xcd, + 0x2f, 0xce, 0x2c, 0xd6, 0x4f, 0x4f, 0xcc, 0xcd, 0xd5, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49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0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, + 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x01, 0x92, 0xa1, 0xd0, + 0xc0, 0xd2, 0xcd, 0x49, 0x4c, 0x2a, 0x86, 0x71, 0xf4, 0xcb, 0x8c, 0x4c, 0xf5, 0x2b, 0x20, 0x41, + 0x0c, 0xb6, 0x22, 0x89, 0x0d, 0xec, 0x67, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x48, 0x4f, + 0xcd, 0x3b, 0x7f, 0x01, 0x00, 0x00, +} + +func (m *Params) 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 *Params) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PoolCreationFee) > 0 { + for iNdEx := len(m.PoolCreationFee) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PoolCreationFee[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarintParams(dAtA []byte, offset int, v uint64) int { + offset -= sovParams(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Params) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.PoolCreationFee) > 0 { + for _, e := range m.PoolCreationFee { + l = e.Size() + n += 1 + l + sovParams(uint64(l)) + } + } + return n +} + +func sovParams(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozParams(x uint64) (n int) { + return sovParams(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Params) 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 ErrIntOverflowParams + } + 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: Params: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PoolCreationFee", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PoolCreationFee = append(m.PoolCreationFee, types.Coin{}) + if err := m.PoolCreationFee[len(m.PoolCreationFee)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipParams(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthParams + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipParams(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthParams + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupParams + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthParams + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/gamm/types/query.pb.go b/x/gamm/types/query.pb.go index 9e1b5313a8a..5f21ab647c2 100644 --- a/x/gamm/types/query.pb.go +++ b/x/gamm/types/query.pb.go @@ -37,6 +37,87 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// =============================== Params +type ParamsRequest struct { +} + +func (m *ParamsRequest) Reset() { *m = ParamsRequest{} } +func (m *ParamsRequest) String() string { return proto.CompactTextString(m) } +func (*ParamsRequest) ProtoMessage() {} +func (*ParamsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d9a717df9ca609ef, []int{0} +} +func (m *ParamsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ParamsRequest.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 *ParamsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParamsRequest.Merge(m, src) +} +func (m *ParamsRequest) XXX_Size() int { + return m.Size() +} +func (m *ParamsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ParamsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ParamsRequest proto.InternalMessageInfo + +type ParamsResponse struct { + 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) { + return fileDescriptor_d9a717df9ca609ef, []int{1} +} +func (m *ParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ParamsResponse.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 *ParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParamsResponse.Merge(m, src) +} +func (m *ParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *ParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ParamsResponse proto.InternalMessageInfo + +func (m *ParamsResponse) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + // =============================== Pool // Deprecated: please use the alternative in x/poolmanager // @@ -49,7 +130,7 @@ func (m *QueryPoolRequest) Reset() { *m = QueryPoolRequest{} } func (m *QueryPoolRequest) String() string { return proto.CompactTextString(m) } func (*QueryPoolRequest) ProtoMessage() {} func (*QueryPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{0} + return fileDescriptor_d9a717df9ca609ef, []int{2} } func (m *QueryPoolRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -96,7 +177,7 @@ func (m *QueryPoolResponse) Reset() { *m = QueryPoolResponse{} } func (m *QueryPoolResponse) String() string { return proto.CompactTextString(m) } func (*QueryPoolResponse) ProtoMessage() {} func (*QueryPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{1} + return fileDescriptor_d9a717df9ca609ef, []int{3} } func (m *QueryPoolResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -142,7 +223,7 @@ func (m *QueryPoolsRequest) Reset() { *m = QueryPoolsRequest{} } func (m *QueryPoolsRequest) String() string { return proto.CompactTextString(m) } func (*QueryPoolsRequest) ProtoMessage() {} func (*QueryPoolsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{2} + return fileDescriptor_d9a717df9ca609ef, []int{4} } func (m *QueryPoolsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -188,7 +269,7 @@ func (m *QueryPoolsResponse) Reset() { *m = QueryPoolsResponse{} } func (m *QueryPoolsResponse) String() string { return proto.CompactTextString(m) } func (*QueryPoolsResponse) ProtoMessage() {} func (*QueryPoolsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{3} + return fileDescriptor_d9a717df9ca609ef, []int{5} } func (m *QueryPoolsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -241,7 +322,7 @@ func (m *QueryNumPoolsRequest) Reset() { *m = QueryNumPoolsRequest{} } func (m *QueryNumPoolsRequest) String() string { return proto.CompactTextString(m) } func (*QueryNumPoolsRequest) ProtoMessage() {} func (*QueryNumPoolsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{4} + return fileDescriptor_d9a717df9ca609ef, []int{6} } func (m *QueryNumPoolsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -279,7 +360,7 @@ func (m *QueryNumPoolsResponse) Reset() { *m = QueryNumPoolsResponse{} } func (m *QueryNumPoolsResponse) String() string { return proto.CompactTextString(m) } func (*QueryNumPoolsResponse) ProtoMessage() {} func (*QueryNumPoolsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{5} + return fileDescriptor_d9a717df9ca609ef, []int{7} } func (m *QueryNumPoolsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -324,7 +405,7 @@ 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} + return fileDescriptor_d9a717df9ca609ef, []int{8} } func (m *QueryPoolTypeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -368,7 +449,7 @@ 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} + return fileDescriptor_d9a717df9ca609ef, []int{9} } func (m *QueryPoolTypeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -414,7 +495,7 @@ func (m *QueryCalcJoinPoolSharesRequest) Reset() { *m = QueryCalcJoinPoo func (m *QueryCalcJoinPoolSharesRequest) String() string { return proto.CompactTextString(m) } func (*QueryCalcJoinPoolSharesRequest) ProtoMessage() {} func (*QueryCalcJoinPoolSharesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{8} + return fileDescriptor_d9a717df9ca609ef, []int{10} } func (m *QueryCalcJoinPoolSharesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -466,7 +547,7 @@ func (m *QueryCalcJoinPoolSharesResponse) Reset() { *m = QueryCalcJoinPo func (m *QueryCalcJoinPoolSharesResponse) String() string { return proto.CompactTextString(m) } func (*QueryCalcJoinPoolSharesResponse) ProtoMessage() {} func (*QueryCalcJoinPoolSharesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{9} + return fileDescriptor_d9a717df9ca609ef, []int{11} } func (m *QueryCalcJoinPoolSharesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -514,7 +595,7 @@ func (m *QueryCalcExitPoolCoinsFromSharesRequest) Reset() { func (m *QueryCalcExitPoolCoinsFromSharesRequest) String() string { return proto.CompactTextString(m) } func (*QueryCalcExitPoolCoinsFromSharesRequest) ProtoMessage() {} func (*QueryCalcExitPoolCoinsFromSharesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{10} + return fileDescriptor_d9a717df9ca609ef, []int{12} } func (m *QueryCalcExitPoolCoinsFromSharesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -560,7 +641,7 @@ func (m *QueryCalcExitPoolCoinsFromSharesResponse) Reset() { func (m *QueryCalcExitPoolCoinsFromSharesResponse) String() string { return proto.CompactTextString(m) } func (*QueryCalcExitPoolCoinsFromSharesResponse) ProtoMessage() {} func (*QueryCalcExitPoolCoinsFromSharesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{11} + return fileDescriptor_d9a717df9ca609ef, []int{13} } func (m *QueryCalcExitPoolCoinsFromSharesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -605,7 +686,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{12} + return fileDescriptor_d9a717df9ca609ef, []int{14} } func (m *QueryPoolParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -649,7 +730,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{13} + return fileDescriptor_d9a717df9ca609ef, []int{15} } func (m *QueryPoolParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -697,7 +778,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{14} + return fileDescriptor_d9a717df9ca609ef, []int{16} } func (m *QueryTotalPoolLiquidityRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -744,7 +825,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{15} + return fileDescriptor_d9a717df9ca609ef, []int{17} } func (m *QueryTotalPoolLiquidityResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -789,7 +870,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{16} + return fileDescriptor_d9a717df9ca609ef, []int{18} } func (m *QueryTotalSharesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -833,7 +914,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{17} + return fileDescriptor_d9a717df9ca609ef, []int{19} } func (m *QueryTotalSharesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -879,7 +960,7 @@ func (m *QueryCalcJoinPoolNoSwapSharesRequest) Reset() { *m = QueryCalcJ func (m *QueryCalcJoinPoolNoSwapSharesRequest) String() string { return proto.CompactTextString(m) } func (*QueryCalcJoinPoolNoSwapSharesRequest) ProtoMessage() {} func (*QueryCalcJoinPoolNoSwapSharesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{18} + return fileDescriptor_d9a717df9ca609ef, []int{20} } func (m *QueryCalcJoinPoolNoSwapSharesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -931,7 +1012,7 @@ func (m *QueryCalcJoinPoolNoSwapSharesResponse) Reset() { *m = QueryCalc func (m *QueryCalcJoinPoolNoSwapSharesResponse) String() string { return proto.CompactTextString(m) } func (*QueryCalcJoinPoolNoSwapSharesResponse) ProtoMessage() {} func (*QueryCalcJoinPoolNoSwapSharesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{19} + return fileDescriptor_d9a717df9ca609ef, []int{21} } func (m *QueryCalcJoinPoolNoSwapSharesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -983,7 +1064,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{20} + return fileDescriptor_d9a717df9ca609ef, []int{22} } func (m *QuerySpotPriceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1053,7 +1134,7 @@ func (m *QueryPoolsWithFilterRequest) Reset() { *m = QueryPoolsWithFilte func (m *QueryPoolsWithFilterRequest) String() string { return proto.CompactTextString(m) } func (*QueryPoolsWithFilterRequest) ProtoMessage() {} func (*QueryPoolsWithFilterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{21} + return fileDescriptor_d9a717df9ca609ef, []int{23} } func (m *QueryPoolsWithFilterRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1113,7 +1194,7 @@ func (m *QueryPoolsWithFilterResponse) Reset() { *m = QueryPoolsWithFilt func (m *QueryPoolsWithFilterResponse) String() string { return proto.CompactTextString(m) } func (*QueryPoolsWithFilterResponse) ProtoMessage() {} func (*QueryPoolsWithFilterResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{22} + return fileDescriptor_d9a717df9ca609ef, []int{24} } func (m *QueryPoolsWithFilterResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1169,7 +1250,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{23} + return fileDescriptor_d9a717df9ca609ef, []int{25} } func (m *QuerySpotPriceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1219,7 +1300,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{24} + return fileDescriptor_d9a717df9ca609ef, []int{26} } func (m *QuerySwapExactAmountInRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1285,7 +1366,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{25} + return fileDescriptor_d9a717df9ca609ef, []int{27} } func (m *QuerySwapExactAmountInResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1328,7 +1409,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{26} + return fileDescriptor_d9a717df9ca609ef, []int{28} } func (m *QuerySwapExactAmountOutRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1394,7 +1475,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{27} + return fileDescriptor_d9a717df9ca609ef, []int{29} } func (m *QuerySwapExactAmountOutResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1430,7 +1511,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{28} + return fileDescriptor_d9a717df9ca609ef, []int{30} } func (m *QueryTotalLiquidityRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1467,7 +1548,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{29} + return fileDescriptor_d9a717df9ca609ef, []int{31} } func (m *QueryTotalLiquidityResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1516,7 +1597,7 @@ func (m *QueryConcentratedPoolIdLinkFromCFMMRequest) String() string { } func (*QueryConcentratedPoolIdLinkFromCFMMRequest) ProtoMessage() {} func (*QueryConcentratedPoolIdLinkFromCFMMRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{30} + return fileDescriptor_d9a717df9ca609ef, []int{32} } func (m *QueryConcentratedPoolIdLinkFromCFMMRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1564,7 +1645,7 @@ func (m *QueryConcentratedPoolIdLinkFromCFMMResponse) String() string { } func (*QueryConcentratedPoolIdLinkFromCFMMResponse) ProtoMessage() {} func (*QueryConcentratedPoolIdLinkFromCFMMResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{31} + return fileDescriptor_d9a717df9ca609ef, []int{33} } func (m *QueryConcentratedPoolIdLinkFromCFMMResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1608,7 +1689,7 @@ func (m *QueryCFMMConcentratedPoolLinksRequest) Reset() { *m = QueryCFMM func (m *QueryCFMMConcentratedPoolLinksRequest) String() string { return proto.CompactTextString(m) } func (*QueryCFMMConcentratedPoolLinksRequest) ProtoMessage() {} func (*QueryCFMMConcentratedPoolLinksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{32} + return fileDescriptor_d9a717df9ca609ef, []int{34} } func (m *QueryCFMMConcentratedPoolLinksRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1647,7 +1728,7 @@ func (m *QueryCFMMConcentratedPoolLinksResponse) Reset() { func (m *QueryCFMMConcentratedPoolLinksResponse) String() string { return proto.CompactTextString(m) } func (*QueryCFMMConcentratedPoolLinksResponse) ProtoMessage() {} func (*QueryCFMMConcentratedPoolLinksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d9a717df9ca609ef, []int{33} + return fileDescriptor_d9a717df9ca609ef, []int{35} } func (m *QueryCFMMConcentratedPoolLinksResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1684,6 +1765,8 @@ func (m *QueryCFMMConcentratedPoolLinksResponse) GetMigrationRecords() *migratio } func init() { + proto.RegisterType((*ParamsRequest)(nil), "osmosis.gamm.v1beta1.ParamsRequest") + proto.RegisterType((*ParamsResponse)(nil), "osmosis.gamm.v1beta1.ParamsResponse") proto.RegisterType((*QueryPoolRequest)(nil), "osmosis.gamm.v1beta1.QueryPoolRequest") proto.RegisterType((*QueryPoolResponse)(nil), "osmosis.gamm.v1beta1.QueryPoolResponse") proto.RegisterType((*QueryPoolsRequest)(nil), "osmosis.gamm.v1beta1.QueryPoolsRequest") @@ -1723,138 +1806,142 @@ func init() { func init() { proto.RegisterFile("osmosis/gamm/v1beta1/query.proto", fileDescriptor_d9a717df9ca609ef) } var fileDescriptor_d9a717df9ca609ef = []byte{ - // 2094 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0x4d, 0x6c, 0x1b, 0xc7, - 0x15, 0xd6, 0xc8, 0xb2, 0x22, 0x3d, 0xdb, 0xfa, 0x99, 0xc8, 0x31, 0x4d, 0xd9, 0xa4, 0x33, 0x4d, - 0x24, 0xc5, 0x96, 0x96, 0x92, 0x2c, 0x23, 0xa9, 0x6a, 0x27, 0x96, 0x14, 0xc9, 0x96, 0x61, 0x59, - 0xca, 0x3a, 0x40, 0xd1, 0x16, 0xed, 0x62, 0x45, 0xae, 0xa8, 0x8d, 0xb8, 0x3b, 0x34, 0x77, 0x36, - 0x96, 0x10, 0x18, 0x01, 0x7a, 0x28, 0x9c, 0x5e, 0x52, 0xa0, 0x6d, 0x4e, 0x45, 0x7b, 0x09, 0x8a, - 0xb6, 0xe7, 0x02, 0x3d, 0xf5, 0x50, 0xf4, 0x62, 0xf4, 0x64, 0xb4, 0x3d, 0x14, 0x3d, 0xb0, 0x85, - 0xdd, 0xf6, 0x5e, 0x5d, 0x7a, 0x2d, 0xe6, 0x67, 0x97, 0x4b, 0x72, 0xb9, 0xfc, 0x09, 0x0c, 0x24, - 0x27, 0x89, 0x33, 0xef, 0xbd, 0xf9, 0xbe, 0xf7, 0xde, 0xbc, 0x7d, 0xf3, 0xe0, 0x12, 0xf5, 0x1c, - 0xea, 0xd9, 0x5e, 0xae, 0x68, 0x3a, 0x4e, 0xee, 0xc3, 0x85,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40, 0xe3, 0x9b, 0x49, 0xf5, 0xb0, 0x93, 0x26, 0x3f, 0xbd, 0xf2, 0x05, 0x2c, - 0x28, 0xca, 0x3b, 0x82, 0xf2, 0x1d, 0x7c, 0x3b, 0x9e, 0x72, 0x5c, 0x67, 0x6f, 0x94, 0x6c, 0xf7, - 0xc0, 0xd8, 0xab, 0x50, 0xc7, 0xe0, 0xaf, 0x86, 0xdc, 0x47, 0xd1, 0xa7, 0xc4, 0x23, 0xfc, 0x67, - 0x04, 0xe7, 0x5b, 0x36, 0xec, 0x38, 0xf1, 0x43, 0xdb, 0xe6, 0x3d, 0x90, 0xbe, 0xde, 0x9b, 0x72, - 0x67, 0xa5, 0x41, 0xb0, 0x68, 0xe6, 0xcb, 0xc9, 0x7a, 0xab, 0x77, 0x9e, 0x3c, 0xcb, 0xa0, 0xa7, - 0xcf, 0x32, 0xe8, 0x9f, 0xcf, 0x32, 0xe8, 0x47, 0xcf, 0x33, 0x7d, 0x4f, 0x9f, 0x67, 0xfa, 0xfe, - 0xf6, 0x3c, 0xd3, 0xf7, 0xed, 0xf9, 0xc8, 0x5b, 0x4e, 0xd9, 0x9d, 0x2b, 0x99, 0xbb, 0x5e, 0x78, - 0xc8, 0x87, 0x8b, 0xd7, 0x72, 0x87, 0xf2, 0x28, 0xf1, 0xb2, 0xdb, 0x1d, 0x14, 0x53, 0xa7, 0xab, - 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xc5, 0x70, 0x3e, 0x6b, 0x4d, 0x1f, 0x00, 0x00, + // 2150 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0x4d, 0x6c, 0x1b, 0xc7, + 0xf5, 0xd7, 0xca, 0xb2, 0x22, 0x3d, 0x5b, 0x5f, 0x13, 0x39, 0xa6, 0x28, 0x99, 0x74, 0x26, 0x8e, + 0xa4, 0xd8, 0x12, 0x29, 0xc9, 0x32, 0x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af, 0xe7, 0x4f, 0x73, 0xae, 0x2d, 0x55, 0x10, 0x0b, 0x69, 0xdf, 0x8c, 0x48, 0xf3, + 0xad, 0x26, 0x9b, 0x00, 0x61, 0xd0, 0x52, 0xbd, 0x42, 0xe6, 0x74, 0x0e, 0xfd, 0xcd, 0x23, 0x9c, + 0x93, 0x67, 0x32, 0x34, 0xb6, 0x64, 0x20, 0xaf, 0x1a, 0xe1, 0xa4, 0x3f, 0x52, 0x80, 0x44, 0xa5, + 0x23, 0xd8, 0x6b, 0x70, 0x9a, 0xeb, 0xe7, 0x1e, 0x3c, 0xd5, 0x0e, 0x5a, 0x49, 0x4d, 0x6e, 0xc5, + 0xa0, 0x9a, 0x69, 0x89, 0x4a, 0xea, 0xac, 0x83, 0x95, 0x86, 0x71, 0x81, 0xea, 0x9e, 0x67, 0x45, + 0xcd, 0x16, 0xfe, 0xb8, 0x07, 0xe7, 0x1a, 0xf6, 0x10, 0xf4, 0x22, 0x0c, 0xda, 0x9e, 0xa5, 0xf9, + 0xc0, 0x79, 0xa4, 0xc6, 0x8f, 0x6b, 0xd9, 0x51, 0x19, 0xa9, 0x60, 0x8b, 0xaa, 0x03, 0x36, 0xb2, + 0x0a, 0x79, 0xeb, 0xa8, 0x8b, 0xaf, 0xbc, 0x7f, 0x54, 0x31, 0xba, 0x09, 0x3b, 0xbd, 0x83, 0xa0, + 0x42, 0x21, 0x21, 0x28, 0x41, 0xcc, 0x8e, 0x2a, 0x86, 0x90, 0x33, 0x18, 0x05, 0x15, 0x6c, 0x51, + 0x75, 0xa0, 0x82, 0xac, 0xf4, 0x37, 0x0a, 0x64, 0x84, 0xb0, 0x75, 0xbd, 0x5c, 0xb8, 0xe3, 0x98, + 0x36, 0x17, 0xfa, 0x80, 0xe7, 0x89, 0xdb, 0x0d, 0x36, 0xb2, 0x0f, 0x83, 0xcc, 0x39, 0x30, 0x6c, + 0x57, 0x33, 0x79, 0x50, 0x78, 0x40, 0x27, 0xea, 0x82, 0xe2, 0x87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7, 0x40, 0xfa, 0x7a, 0x77, 0xcc, 0xed, 0x95, + 0x06, 0x61, 0x45, 0xb3, 0xbd, 0x65, 0x01, 0xfb, 0x08, 0xfa, 0xf1, 0xb6, 0x78, 0x2d, 0xe9, 0x1f, + 0xba, 0x3e, 0xd0, 0x4b, 0xc9, 0x44, 0x08, 0xe8, 0x92, 0x00, 0x94, 0x21, 0x53, 0xf9, 0x84, 0x7f, + 0x3d, 0xaf, 0xdd, 0x79, 0xf2, 0x2c, 0xa3, 0x3c, 0x7d, 0x96, 0x51, 0xfe, 0xfe, 0x2c, 0xa3, 0xfc, + 0xe0, 0x79, 0xa6, 0xe7, 0xe9, 0xf3, 0x4c, 0xcf, 0x5f, 0x9e, 0x67, 0x7a, 0xbe, 0xb1, 0x10, 0x79, + 0x46, 0xa2, 0x84, 0xf9, 0xb2, 0xbe, 0xeb, 0x06, 0xe2, 0x3e, 0x5c, 0xba, 0x96, 0x3f, 0x94, 0x42, + 0xc5, 0xa3, 0x72, 0xb7, 0x5f, 0x0c, 0xbc, 0xae, 0xfe, 0x37, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x7a, + 0xc3, 0x3f, 0x4a, 0x20, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1904,6 +1991,8 @@ type QueryClient interface { // CFMMConcentratedPoolLinks returns migration links between CFMM and // Concentrated pools. CFMMConcentratedPoolLinks(ctx context.Context, in *QueryCFMMConcentratedPoolLinksRequest, opts ...grpc.CallOption) (*QueryCFMMConcentratedPoolLinksResponse, error) + // Params returns gamm module params. + Params(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error) } type queryClient struct { @@ -2073,6 +2162,15 @@ func (c *queryClient) CFMMConcentratedPoolLinks(ctx context.Context, in *QueryCF return out, nil } +func (c *queryClient) Params(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error) { + out := new(ParamsResponse) + err := c.cc.Invoke(ctx, "/osmosis.gamm.v1beta1.Query/Params", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // QueryServer is the server API for Query service. type QueryServer interface { Pools(context.Context, *QueryPoolsRequest) (*QueryPoolsResponse, error) @@ -2110,6 +2208,8 @@ type QueryServer interface { // CFMMConcentratedPoolLinks returns migration links between CFMM and // Concentrated pools. CFMMConcentratedPoolLinks(context.Context, *QueryCFMMConcentratedPoolLinksRequest) (*QueryCFMMConcentratedPoolLinksResponse, error) + // Params returns gamm module params. + Params(context.Context, *ParamsRequest) (*ParamsResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -2167,6 +2267,9 @@ func (*UnimplementedQueryServer) ConcentratedPoolIdLinkFromCFMM(ctx context.Cont func (*UnimplementedQueryServer) CFMMConcentratedPoolLinks(ctx context.Context, req *QueryCFMMConcentratedPoolLinksRequest) (*QueryCFMMConcentratedPoolLinksResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CFMMConcentratedPoolLinks not implemented") } +func (*UnimplementedQueryServer) Params(ctx context.Context, req *ParamsRequest) (*ParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") +} func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) @@ -2478,6 +2581,24 @@ func _Query_CFMMConcentratedPoolLinks_Handler(srv interface{}, ctx context.Conte return interceptor(ctx, in, info, handler) } +func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ParamsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Params(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.gamm.v1beta1.Query/Params", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Params(ctx, req.(*ParamsRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "osmosis.gamm.v1beta1.Query", HandlerType: (*QueryServer)(nil), @@ -2550,11 +2671,71 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "CFMMConcentratedPoolLinks", Handler: _Query_CFMMConcentratedPoolLinks_Handler, }, + { + MethodName: "Params", + Handler: _Query_Params_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "osmosis/gamm/v1beta1/query.proto", } +func (m *ParamsRequest) 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 *ParamsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *ParamsResponse) 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 *ParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.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 *QueryPoolRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -3796,6 +3977,26 @@ func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } +func (m *ParamsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *ParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + func (m *QueryPoolRequest) Size() (n int) { if m == nil { return 0 @@ -4299,6 +4500,139 @@ 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 { + 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: ParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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 *ParamsResponse) 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: ParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", 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 + } + if err := m.Params.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 *QueryPoolRequest) 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 4414d6ba8bd..62fbb8371ab 100644 --- a/x/gamm/types/query.pb.gw.go +++ b/x/gamm/types/query.pb.gw.go @@ -843,6 +843,24 @@ func local_request_Query_CFMMConcentratedPoolLinks_0(ctx context.Context, marsha } +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 metadata runtime.ServerMetadata + + msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +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 metadata runtime.ServerMetadata + + msg, err := server.Params(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -1217,6 +1235,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_Params_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_Params_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_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1578,6 +1619,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_Params_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_Params_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_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1613,6 +1674,8 @@ var ( pattern_Query_ConcentratedPoolIdLinkFromCFMM_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", "concentrated_pool_id_link_from_cfmm", "cfmm_pool_id"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_CFMMConcentratedPoolLinks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"osmosis", "gamm", "v1beta1", "cfmm_concentrated_pool_links"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"osmosis", "gamm", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( @@ -1647,4 +1710,6 @@ var ( forward_Query_ConcentratedPoolIdLinkFromCFMM_0 = runtime.ForwardResponseMessage forward_Query_CFMMConcentratedPoolLinks_0 = runtime.ForwardResponseMessage + + forward_Query_Params_0 = runtime.ForwardResponseMessage ) diff --git a/x/incentives/client/cli/query.go b/x/incentives/client/cli/query.go index b1f4a5fbc49..4c8f81c551e 100644 --- a/x/incentives/client/cli/query.go +++ b/x/incentives/client/cli/query.go @@ -34,6 +34,10 @@ func GetQueryCmd() *cobra.Command { osmocli.AddQueryCmd(cmd, qcGetter, GetCmdAllGroupsWithGauge) osmocli.AddQueryCmd(cmd, qcGetter, GetCmdGroupByGroupGaugeID) osmocli.AddQueryCmd(cmd, qcGetter, GetCmdCurrentWeightByGroupGaugeID) + cmd.AddCommand( + osmocli.GetParams[*types.ParamsRequest]( + types.ModuleName, types.NewQueryClient), + ) cmd.AddCommand(GetCmdRewardsEst()) return cmd diff --git a/x/incentives/keeper/grpc_query.go b/x/incentives/keeper/grpc_query.go index f274ccc2781..139c3b4f0cf 100644 --- a/x/incentives/keeper/grpc_query.go +++ b/x/incentives/keeper/grpc_query.go @@ -236,6 +236,17 @@ func (q Querier) CurrentWeightByGroupGaugeID(goCtx context.Context, req *types.Q return &types.QueryCurrentWeightByGroupGaugeIDResponse{GaugeWeight: gaugeWeights}, nil } +func (q Querier) Params(goCtx context.Context, req *types.ParamsRequest) (*types.ParamsResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "empty request") + } + ctx := sdk.UnwrapSDKContext(goCtx) + params := q.Keeper.GetParams(ctx) + return &types.ParamsResponse{ + Params: params, + }, nil +} + // getGaugeFromIDJsonBytes returns gauges from the json bytes of gaugeIDs. func (q Querier) getGaugeFromIDJsonBytes(ctx sdk.Context, refValue []byte) ([]types.Gauge, error) { gauges := []types.Gauge{} diff --git a/x/incentives/keeper/grpc_query_test.go b/x/incentives/keeper/grpc_query_test.go index f261592fded..c043ec344a2 100644 --- a/x/incentives/keeper/grpc_query_test.go +++ b/x/incentives/keeper/grpc_query_test.go @@ -215,6 +215,16 @@ func (s *KeeperTestSuite) TestGRPCActiveGaugesPerDenom() { s.Require().NoError(err) } +// TestGRPCParams tests querying params via gRPC returns the correct response. +func (s *KeeperTestSuite) TestGRPCParams() { + s.SetupTest() + + expectedParams := s.App.IncentivesKeeper.GetParams(s.Ctx) + res, err := s.querier.Params(s.Ctx, &types.ParamsRequest{}) + s.Require().NoError(err) + s.Require().Equal(expectedParams, res.Params) +} + // TestGRPCUpcomingGauges tests querying upcoming gauges via gRPC returns the correct response. func (s *KeeperTestSuite) TestGRPCUpcomingGauges() { s.SetupTest() diff --git a/x/incentives/types/query.pb.go b/x/incentives/types/query.pb.go index 5958f6d03a0..8f80baca65f 100644 --- a/x/incentives/types/query.pb.go +++ b/x/incentives/types/query.pb.go @@ -1378,6 +1378,86 @@ func (m *GaugeWeight) GetGaugeId() uint64 { return 0 } +type ParamsRequest struct { +} + +func (m *ParamsRequest) Reset() { *m = ParamsRequest{} } +func (m *ParamsRequest) String() string { return proto.CompactTextString(m) } +func (*ParamsRequest) ProtoMessage() {} +func (*ParamsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_8124258a89427f98, []int{29} +} +func (m *ParamsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ParamsRequest.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 *ParamsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParamsRequest.Merge(m, src) +} +func (m *ParamsRequest) XXX_Size() int { + return m.Size() +} +func (m *ParamsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ParamsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ParamsRequest proto.InternalMessageInfo + +type ParamsResponse struct { + 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) { + return fileDescriptor_8124258a89427f98, []int{30} +} +func (m *ParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ParamsResponse.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 *ParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParamsResponse.Merge(m, src) +} +func (m *ParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *ParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ParamsResponse proto.InternalMessageInfo + +func (m *ParamsResponse) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + func init() { proto.RegisterType((*ModuleToDistributeCoinsRequest)(nil), "osmosis.incentives.ModuleToDistributeCoinsRequest") proto.RegisterType((*ModuleToDistributeCoinsResponse)(nil), "osmosis.incentives.ModuleToDistributeCoinsResponse") @@ -1408,105 +1488,111 @@ func init() { proto.RegisterType((*QueryCurrentWeightByGroupGaugeIDRequest)(nil), "osmosis.incentives.QueryCurrentWeightByGroupGaugeIDRequest") proto.RegisterType((*QueryCurrentWeightByGroupGaugeIDResponse)(nil), "osmosis.incentives.QueryCurrentWeightByGroupGaugeIDResponse") proto.RegisterType((*GaugeWeight)(nil), "osmosis.incentives.GaugeWeight") + proto.RegisterType((*ParamsRequest)(nil), "osmosis.incentives.ParamsRequest") + proto.RegisterType((*ParamsResponse)(nil), "osmosis.incentives.ParamsResponse") } func init() { proto.RegisterFile("osmosis/incentives/query.proto", fileDescriptor_8124258a89427f98) } var fileDescriptor_8124258a89427f98 = []byte{ - // 1484 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x97, 0xcd, 0x6f, 0xd4, 0xc6, - 0x1b, 0xc7, 0x33, 0x79, 0x01, 0xf2, 0x24, 0xbf, 0x40, 0x26, 0xbc, 0x24, 0x1b, 0xd8, 0xcd, 0x6f, - 0x0a, 0x61, 0x81, 0xc6, 0x66, 0x13, 0x02, 0x14, 0xda, 0xaa, 0x2c, 0xa1, 0x14, 0x09, 0x04, 0xac, - 0x8a, 0xa2, 0x56, 0x42, 0x96, 0x77, 0x3d, 0x75, 0xac, 0xec, 0x7a, 0x96, 0xb5, 0x4d, 0x58, 0x45, - 0xb9, 0x54, 0x95, 0x7a, 0xa8, 0x84, 0x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 0x6d, 0xdd, 0xe7, - 0x5f, 0xe6, 0x13, 0x31, 0xf2, 0x0b, 0x27, 0x73, 0x24, 0xeb, 0xbb, 0xcc, 0xa9, 0xed, 0x05, 0x49, - 0xfa, 0xf7, 0x38, 0xfd, 0x39, 0x7c, 0x36, 0xf5, 0xa2, 0xe2, 0x0a, 0xad, 0xdc, 0xd4, 0xa2, 0x52, - 0x4d, 0xdc, 0x9d, 0xff, 0x20, 0x98, 0x4e, 0xd1, 0x65, 0xf8, 0x7c, 0x22, 0x57, 0x6f, 0x79, 0x98, - 0x79, 0xfb, 0xc5, 0x82, 0x65, 0x73, 0xb7, 0x78, 0x73, 0xd7, 0xf1, 0xb5, 0xb4, 0xe6, 0x2a, 0x22, - 0x91, 0x94, 0x8b, 0x71, 0x5d, 0x46, 0xd7, 0x1b, 0xc5, 0x1b, 0x8f, 0x9e, 0x66, 0xd1, 0xe3, 0xa7, - 0x59, 0xf4, 0xd7, 0xd3, 0x2c, 0xfa, 0xf2, 0x59, 0xb6, 0xef, 0xf1, 0xb3, 0x6c, 0xdf, 0x1f, 0xcf, - 0xb2, 0x7d, 0x1f, 0x9f, 0x0e, 0x7d, 0xec, 0xc9, 0x92, 0x73, 0x55, 0xbd, 0xec, 0xb4, 0xea, 0xdf, - 0x9d, 0x5f, 0x54, 0xef, 0x85, 0x29, 0xf8, 0x07, 0x60, 0x79, 0x07, 0xff, 0x16, 0x5b, 0xf8, 0x37, - 0x00, 0x00, 0xff, 0xff, 0xb2, 0x1e, 0xdf, 0x1f, 0x57, 0x16, 0x00, 0x00, + // 1543 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x97, 0xcf, 0x6f, 0x13, 0x47, + 0x1b, 0xc7, 0xb3, 0xf9, 0x05, 0x79, 0x12, 0x12, 0x32, 0x04, 0x48, 0x1c, 0xb0, 0xf3, 0xce, 0x0b, + 0xc1, 0xc0, 0x9b,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, 0x3c, 0xdd, 0xf7, 0xe4, 0x79, 0xba, 0xef, 0xb7, 0xe7, 0xe9, 0xbe, 0x0f, 0xcf, 0x84, + 0x3e, 0x63, 0x45, 0x9e, 0x85, 0xb2, 0x51, 0x74, 0x9b, 0x49, 0xef, 0x2e, 0x2e, 0x6b, 0xf7, 0xc2, + 0xa9, 0xd9, 0xa7, 0x6d, 0x71, 0x98, 0x7d, 0x65, 0x2e, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x39, + 0x45, 0x87, 0xf3, 0x52, 0x17, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1554,6 +1640,8 @@ type QueryClient interface { // CurrentWeightByGroupGaugeID returns the current weight since the // the last epoch given a group gauge ID CurrentWeightByGroupGaugeID(ctx context.Context, in *QueryCurrentWeightByGroupGaugeIDRequest, opts ...grpc.CallOption) (*QueryCurrentWeightByGroupGaugeIDResponse, error) + // Params returns incentives module params. + Params(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error) } type queryClient struct { @@ -1690,6 +1778,15 @@ func (c *queryClient) CurrentWeightByGroupGaugeID(ctx context.Context, in *Query return out, nil } +func (c *queryClient) Params(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error) { + out := new(ParamsResponse) + err := c.cc.Invoke(ctx, "/osmosis.incentives.Query/Params", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // QueryServer is the server API for Query service. type QueryServer interface { // ModuleToDistributeCoins returns coins that are going to be distributed @@ -1725,6 +1822,8 @@ type QueryServer interface { // CurrentWeightByGroupGaugeID returns the current weight since the // the last epoch given a group gauge ID CurrentWeightByGroupGaugeID(context.Context, *QueryCurrentWeightByGroupGaugeIDRequest) (*QueryCurrentWeightByGroupGaugeIDResponse, error) + // Params returns incentives module params. + Params(context.Context, *ParamsRequest) (*ParamsResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -1773,6 +1872,9 @@ func (*UnimplementedQueryServer) GroupByGroupGaugeID(ctx context.Context, req *Q func (*UnimplementedQueryServer) CurrentWeightByGroupGaugeID(ctx context.Context, req *QueryCurrentWeightByGroupGaugeIDRequest) (*QueryCurrentWeightByGroupGaugeIDResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CurrentWeightByGroupGaugeID not implemented") } +func (*UnimplementedQueryServer) Params(ctx context.Context, req *ParamsRequest) (*ParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") +} func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) @@ -2030,6 +2132,24 @@ func _Query_CurrentWeightByGroupGaugeID_Handler(srv interface{}, ctx context.Con return interceptor(ctx, in, info, handler) } +func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ParamsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Params(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/osmosis.incentives.Query/Params", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Params(ctx, req.(*ParamsRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "osmosis.incentives.Query", HandlerType: (*QueryServer)(nil), @@ -2090,6 +2210,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "CurrentWeightByGroupGaugeID", Handler: _Query_CurrentWeightByGroupGaugeID_Handler, }, + { + MethodName: "Params", + Handler: _Query_Params_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "osmosis/incentives/query.proto", @@ -3144,6 +3268,62 @@ func (m *GaugeWeight) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *ParamsRequest) 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 *ParamsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *ParamsResponse) 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 *ParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.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 encodeVarintQuery(dAtA []byte, offset int, v uint64) int { offset -= sovQuery(v) base := offset @@ -3570,6 +3750,26 @@ func (m *GaugeWeight) Size() (n int) { return n } +func (m *ParamsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *ParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -6164,6 +6364,139 @@ func (m *GaugeWeight) Unmarshal(dAtA []byte) error { } return nil } +func (m *ParamsRequest) 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: ParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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 *ParamsResponse) 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: ParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", 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 + } + if err := m.Params.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 skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/incentives/types/query.pb.gw.go b/x/incentives/types/query.pb.gw.go index 3df49bf5893..14102094181 100644 --- a/x/incentives/types/query.pb.gw.go +++ b/x/incentives/types/query.pb.gw.go @@ -537,6 +537,24 @@ func local_request_Query_CurrentWeightByGroupGaugeID_0(ctx context.Context, mars } +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 metadata runtime.ServerMetadata + + msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +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 metadata runtime.ServerMetadata + + msg, err := server.Params(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -865,6 +883,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_Params_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_Params_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_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1186,6 +1227,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_Params_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_Params_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_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1217,6 +1278,8 @@ var ( pattern_Query_GroupByGroupGaugeID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"osmosis", "incentives", "v1beta1", "group_by_group_gauge_id", "id"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_CurrentWeightByGroupGaugeID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"osmosis", "incentives", "v1beta1", "current_weight_by_group_gauge_id", "group_gauge_id"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"osmosis", "incentives", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( @@ -1247,4 +1310,6 @@ var ( forward_Query_GroupByGroupGaugeID_0 = runtime.ForwardResponseMessage forward_Query_CurrentWeightByGroupGaugeID_0 = runtime.ForwardResponseMessage + + forward_Query_Params_0 = runtime.ForwardResponseMessage ) diff --git a/x/twap/client/cli/query.go b/x/twap/client/cli/query.go index 0412bdf3a8f..35a34036572 100644 --- a/x/twap/client/cli/query.go +++ b/x/twap/client/cli/query.go @@ -30,6 +30,10 @@ func GetQueryCmd() *cobra.Command { cmd := osmocli.QueryIndexCmd(types.ModuleName) cmd.AddCommand(GetQueryArithmeticCommand()) cmd.AddCommand(GetQueryGeometricCommand()) + cmd.AddCommand( + osmocli.GetParams[*queryproto.ParamsRequest]( + types.ModuleName, queryproto.NewQueryClient), + ) return cmd }